@ctrliq/quantic-react 1.85.1 → 1.85.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/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/Drawer.js +24 -0
- package/dist/cjs/Drawer.js.map +1 -0
- package/dist/cjs/LayoutPane.js +20 -0
- package/dist/cjs/LayoutPane.js.map +1 -0
- package/dist/cjs/LogOutputLine.js +16 -0
- package/dist/cjs/LogOutputLine.js.map +1 -0
- package/dist/cjs/LogOutputSearch.js +22 -0
- package/dist/cjs/LogOutputSearch.js.map +1 -0
- package/dist/cjs/index.js +20 -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/Drawer.js +22 -0
- package/dist/esm/Drawer.js.map +1 -0
- package/dist/esm/LayoutPane.js +18 -0
- package/dist/esm/LayoutPane.js.map +1 -0
- package/dist/esm/LogOutputLine.js +14 -0
- package/dist/esm/LogOutputLine.js.map +1 -0
- package/dist/esm/LogOutputSearch.js +20 -0
- package/dist/esm/LogOutputSearch.js.map +1 -0
- package/dist/esm/index.js +7 -1
- 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/Drawer.d.ts +14 -0
- package/dist/types/LayoutPane.d.ts +10 -0
- package/dist/types/LogOutputLine.d.ts +2 -0
- package/dist/types/LogOutputSearch.d.ts +12 -0
- package/dist/types/index.d.ts +7 -1
- package/dist/types/react-ssr.d.ts +3 -0
- package/generated/BrandIconStratumOutline.ts +13 -0
- package/generated/BrandIconStratumSolid.ts +13 -0
- package/generated/Drawer.ts +21 -0
- package/generated/LayoutPane.ts +17 -0
- package/generated/LogOutputLine.ts +13 -0
- package/generated/LogOutputSearch.ts +19 -0
- package/generated/index.ts +8 -0
- package/generated/react-ssr.ts +35 -2
- package/package.json +10 -3
|
@@ -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;;;;"}
|
|
@@ -0,0 +1,24 @@
|
|
|
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 Drawer = react.createComponent({
|
|
9
|
+
react: reactSsr.react,
|
|
10
|
+
tagName: 'quantic-drawer',
|
|
11
|
+
elementClass: quanticComponents.Drawer,
|
|
12
|
+
events: {
|
|
13
|
+
onOpenChanged: 'open-changed',
|
|
14
|
+
onBeforeOpen: 'before-open',
|
|
15
|
+
onAfterOpen: 'after-open',
|
|
16
|
+
onBeforeClose: 'before-close',
|
|
17
|
+
onAfterClose: 'after-close',
|
|
18
|
+
onResize: 'resize',
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
Drawer.displayName = 'Drawer';
|
|
22
|
+
|
|
23
|
+
exports.Drawer = Drawer;
|
|
24
|
+
//# sourceMappingURL=Drawer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Drawer.js","sources":["../../generated/Drawer.ts"],"sourcesContent":[null],"names":["createComponent","react","DrawerLit"],"mappings":";;;;;;AAIS,MAAA,MAAO,GAAMA,qBAAc,CAAA;AAEpC,WAAAC,cAAO;IACL,OAAK,EAAA,gBAAA;AACL,IAAA,YAAS,EAAAC,wBAAA;AACT,IAAA,MAAA,EAAA;AACA,QAAA,aAAQ,EAAA,cAAA;AACN,QAAA,YAAA,eAAe;AACf,QAAA,WAAA,cAAc;AACd,QAAA,aAAa,EAAA,cAA4C;AACzD,QAAA,YAAA,eAAe;AACf,QAAA,QAAA,EAAA,QAAc;AACd;AACD,CAAA;AACF,MAAE,CAAA,WAAA,GAAA,QAAA;;;;"}
|
|
@@ -0,0 +1,20 @@
|
|
|
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 LayoutPane = react.createComponent({
|
|
9
|
+
react: reactSsr.react,
|
|
10
|
+
tagName: 'quantic-layout-pane',
|
|
11
|
+
elementClass: quanticComponents.LayoutPane,
|
|
12
|
+
events: {
|
|
13
|
+
onOpenChanged: 'open-changed',
|
|
14
|
+
onResize: 'resize',
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
LayoutPane.displayName = 'LayoutPane';
|
|
18
|
+
|
|
19
|
+
exports.LayoutPane = LayoutPane;
|
|
20
|
+
//# sourceMappingURL=LayoutPane.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LayoutPane.js","sources":["../../generated/LayoutPane.ts"],"sourcesContent":[null],"names":["react","LayoutPaneLit"],"mappings":";;;;;;AAIS,MAAA,kCAA2B,CAAA;AAEpC,WAAAA,cAAO;IACL,OAAK,EAAA,qBAAA;AACL,IAAA,YAAS,EAAAC,4BAAA;AACT,IAAA,MAAA,EAAA;AACA,QAAA,aAAQ,EAAA,cAAA;AACN,QAAA,QAAA,EAAA,QAAe;AACf;AACD,CAAA;AACF,UAAE,CAAA,WAAA,GAAA,YAAA;;;;"}
|
|
@@ -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 LogOutputLine = react.createComponent({
|
|
9
|
+
react: reactSsr.react,
|
|
10
|
+
tagName: 'quantic-log-output-line',
|
|
11
|
+
elementClass: quanticComponents.LogOutputLine
|
|
12
|
+
});
|
|
13
|
+
LogOutputLine.displayName = 'LogOutputLine';
|
|
14
|
+
|
|
15
|
+
exports.LogOutputLine = LogOutputLine;
|
|
16
|
+
//# sourceMappingURL=LogOutputLine.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LogOutputLine.js","sources":["../../generated/LogOutputLine.ts"],"sourcesContent":[null],"names":["react","LogOutputLineLit"],"mappings":";;;;;;AAIS,MAAA,qCAA2B,CAAA;AAEpC,WAAAA,cAAO;IACL,OAAK,EAAA,yBAAA;AACL,IAAA,YAAS,EAAAC;AACT,CAAA;AACD,aAAE,CAAA,WAAA,GAAA,eAAA;;;;"}
|
|
@@ -0,0 +1,22 @@
|
|
|
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 LogOutputSearch = react.createComponent({
|
|
9
|
+
react: reactSsr.react,
|
|
10
|
+
tagName: 'quantic-log-output-search',
|
|
11
|
+
elementClass: quanticComponents.LogOutputSearch,
|
|
12
|
+
events: {
|
|
13
|
+
onValueChanged: 'value-changed',
|
|
14
|
+
onPreviousMatch: 'previous-match',
|
|
15
|
+
onNextMatch: 'next-match',
|
|
16
|
+
onOpenChanged: 'open-changed',
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
LogOutputSearch.displayName = 'LogOutputSearch';
|
|
20
|
+
|
|
21
|
+
exports.LogOutputSearch = LogOutputSearch;
|
|
22
|
+
//# sourceMappingURL=LogOutputSearch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LogOutputSearch.js","sources":["../../generated/LogOutputSearch.ts"],"sourcesContent":[null],"names":["react","LogOutputSearchLit"],"mappings":";;;;;;AAIS,MAAA,uCAA2B,CAAA;AAEpC,WAAAA,cAAO;IACL,OAAK,EAAA,2BAAA;AACL,IAAA,YAAS,EAAAC,iCAAA;AACT,IAAA,MAAA,EAAA;AACA,QAAA,cAAQ,EAAA,eAAA;AACN,QAAA,iBAAgB,gBAA4D;AAC5E,QAAA,WAAA,EAAA,YAAiB;AACjB,QAAA,aAAa,EAAA,cAA4C;AACzD;AACD,CAAA;AACF,eAAE,CAAA,WAAA,GAAA,iBAAA;;;;"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -27,6 +27,7 @@ var DialogActions = require('./DialogActions.js');
|
|
|
27
27
|
var DialogBackdropElement = require('./DialogBackdropElement.js');
|
|
28
28
|
var DialogTitle = require('./DialogTitle.js');
|
|
29
29
|
var Dialog = require('./Dialog.js');
|
|
30
|
+
var Drawer = require('./Drawer.js');
|
|
30
31
|
var DropdownMenu = require('./DropdownMenu.js');
|
|
31
32
|
var DropdownMenuGroup = require('./DropdownMenuGroup.js');
|
|
32
33
|
var DropdownMenuItem = require('./DropdownMenuItem.js');
|
|
@@ -54,6 +55,8 @@ var BrandIconRlcProOutline = require('./BrandIconRlcProOutline.js');
|
|
|
54
55
|
var BrandIconRlcProSolid = require('./BrandIconRlcProSolid.js');
|
|
55
56
|
var BrandIconRockyLinuxOutline = require('./BrandIconRockyLinuxOutline.js');
|
|
56
57
|
var BrandIconRockyLinuxSolid = require('./BrandIconRockyLinuxSolid.js');
|
|
58
|
+
var BrandIconStratumOutline = require('./BrandIconStratumOutline.js');
|
|
59
|
+
var BrandIconStratumSolid = require('./BrandIconStratumSolid.js');
|
|
57
60
|
var BrandIconSupportOutline = require('./BrandIconSupportOutline.js');
|
|
58
61
|
var BrandIconSupportSolid = require('./BrandIconSupportSolid.js');
|
|
59
62
|
var BrandIconWarewulfOutline = require('./BrandIconWarewulfOutline.js');
|
|
@@ -1655,6 +1658,7 @@ var LucideIconZoomOut = require('./LucideIconZoomOut.js');
|
|
|
1655
1658
|
var IconLabel = require('./IconLabel.js');
|
|
1656
1659
|
var InlineEdit = require('./InlineEdit.js');
|
|
1657
1660
|
var LayoutLogo = require('./LayoutLogo.js');
|
|
1661
|
+
var LayoutPane = require('./LayoutPane.js');
|
|
1658
1662
|
var Layout = require('./Layout.js');
|
|
1659
1663
|
var NavbarMenuItem = require('./NavbarMenuItem.js');
|
|
1660
1664
|
var Navbar = require('./Navbar.js');
|
|
@@ -1662,6 +1666,8 @@ var Page = require('./Page.js');
|
|
|
1662
1666
|
var SidebarMenuItemGroup = require('./SidebarMenuItemGroup.js');
|
|
1663
1667
|
var SidebarMenuItem = require('./SidebarMenuItem.js');
|
|
1664
1668
|
var Sidebar = require('./Sidebar.js');
|
|
1669
|
+
var LogOutputLine = require('./LogOutputLine.js');
|
|
1670
|
+
var LogOutputSearch = require('./LogOutputSearch.js');
|
|
1665
1671
|
var LogOutput = require('./LogOutput.js');
|
|
1666
1672
|
var NumberInput = require('./NumberInput.js');
|
|
1667
1673
|
var OptionCardGroup = require('./OptionCardGroup.js');
|
|
@@ -1736,6 +1742,7 @@ exports.DialogActions = DialogActions.DialogActions;
|
|
|
1736
1742
|
exports.DialogBackdropElement = DialogBackdropElement.DialogBackdropElement;
|
|
1737
1743
|
exports.DialogTitle = DialogTitle.DialogTitle;
|
|
1738
1744
|
exports.Dialog = Dialog.Dialog;
|
|
1745
|
+
exports.Drawer = Drawer.Drawer;
|
|
1739
1746
|
exports.DropdownMenu = DropdownMenu.DropdownMenu;
|
|
1740
1747
|
exports.DropdownMenuGroup = DropdownMenuGroup.DropdownMenuGroup;
|
|
1741
1748
|
exports.DropdownMenuItem = DropdownMenuItem.DropdownMenuItem;
|
|
@@ -1763,6 +1770,8 @@ exports.BrandIconRlcProOutline = BrandIconRlcProOutline.BrandIconRlcProOutline;
|
|
|
1763
1770
|
exports.BrandIconRlcProSolid = BrandIconRlcProSolid.BrandIconRlcProSolid;
|
|
1764
1771
|
exports.BrandIconRockyLinuxOutline = BrandIconRockyLinuxOutline.BrandIconRockyLinuxOutline;
|
|
1765
1772
|
exports.BrandIconRockyLinuxSolid = BrandIconRockyLinuxSolid.BrandIconRockyLinuxSolid;
|
|
1773
|
+
exports.BrandIconStratumOutline = BrandIconStratumOutline.BrandIconStratumOutline;
|
|
1774
|
+
exports.BrandIconStratumSolid = BrandIconStratumSolid.BrandIconStratumSolid;
|
|
1766
1775
|
exports.BrandIconSupportOutline = BrandIconSupportOutline.BrandIconSupportOutline;
|
|
1767
1776
|
exports.BrandIconSupportSolid = BrandIconSupportSolid.BrandIconSupportSolid;
|
|
1768
1777
|
exports.BrandIconWarewulfOutline = BrandIconWarewulfOutline.BrandIconWarewulfOutline;
|
|
@@ -3364,6 +3373,7 @@ exports.LucideIconZoomOut = LucideIconZoomOut.LucideIconZoomOut;
|
|
|
3364
3373
|
exports.IconLabel = IconLabel.IconLabel;
|
|
3365
3374
|
exports.InlineEdit = InlineEdit.InlineEdit;
|
|
3366
3375
|
exports.LayoutLogo = LayoutLogo.LayoutLogo;
|
|
3376
|
+
exports.LayoutPane = LayoutPane.LayoutPane;
|
|
3367
3377
|
exports.Layout = Layout.Layout;
|
|
3368
3378
|
exports.NavbarMenuItem = NavbarMenuItem.NavbarMenuItem;
|
|
3369
3379
|
exports.Navbar = Navbar.Navbar;
|
|
@@ -3371,6 +3381,8 @@ exports.Page = Page.Page;
|
|
|
3371
3381
|
exports.SidebarMenuItemGroup = SidebarMenuItemGroup.SidebarMenuItemGroup;
|
|
3372
3382
|
exports.SidebarMenuItem = SidebarMenuItem.SidebarMenuItem;
|
|
3373
3383
|
exports.Sidebar = Sidebar.Sidebar;
|
|
3384
|
+
exports.LogOutputLine = LogOutputLine.LogOutputLine;
|
|
3385
|
+
exports.LogOutputSearch = LogOutputSearch.LogOutputSearch;
|
|
3374
3386
|
exports.LogOutput = LogOutput.LogOutput;
|
|
3375
3387
|
exports.NumberInput = NumberInput.NumberInput;
|
|
3376
3388
|
exports.OptionCardGroup = OptionCardGroup.OptionCardGroup;
|
|
@@ -3518,6 +3530,14 @@ Object.defineProperty(exports, "DialogSize", {
|
|
|
3518
3530
|
enumerable: true,
|
|
3519
3531
|
get: function () { return quanticComponents.DialogSize; }
|
|
3520
3532
|
});
|
|
3533
|
+
Object.defineProperty(exports, "DrawerPlacement", {
|
|
3534
|
+
enumerable: true,
|
|
3535
|
+
get: function () { return quanticComponents.DrawerPlacement; }
|
|
3536
|
+
});
|
|
3537
|
+
Object.defineProperty(exports, "DrawerSize", {
|
|
3538
|
+
enumerable: true,
|
|
3539
|
+
get: function () { return quanticComponents.DrawerSize; }
|
|
3540
|
+
});
|
|
3521
3541
|
Object.defineProperty(exports, "DropdownMenuSize", {
|
|
3522
3542
|
enumerable: true,
|
|
3523
3543
|
get: function () { return quanticComponents.DropdownMenuSize; }
|
package/dist/cjs/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/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;;;;"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { Drawer as Drawer$1 } from '@ctrliq/quantic-components';
|
|
4
|
+
import { react } from './react-ssr.js';
|
|
5
|
+
|
|
6
|
+
const Drawer = createComponent({
|
|
7
|
+
react,
|
|
8
|
+
tagName: 'quantic-drawer',
|
|
9
|
+
elementClass: Drawer$1,
|
|
10
|
+
events: {
|
|
11
|
+
onOpenChanged: 'open-changed',
|
|
12
|
+
onBeforeOpen: 'before-open',
|
|
13
|
+
onAfterOpen: 'after-open',
|
|
14
|
+
onBeforeClose: 'before-close',
|
|
15
|
+
onAfterClose: 'after-close',
|
|
16
|
+
onResize: 'resize',
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
Drawer.displayName = 'Drawer';
|
|
20
|
+
|
|
21
|
+
export { Drawer };
|
|
22
|
+
//# sourceMappingURL=Drawer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Drawer.js","sources":["../../generated/Drawer.ts"],"sourcesContent":[null],"names":["DrawerLit"],"mappings":";;;;AAIS,MAAA,MAAO,GAAM,eAAc,CAAA;AAEpC,IAAA,KAAO;IACL,OAAK,EAAA,gBAAA;AACL,IAAA,YAAS,EAAAA,QAAA;AACT,IAAA,MAAA,EAAA;AACA,QAAA,aAAQ,EAAA,cAAA;AACN,QAAA,YAAA,eAAe;AACf,QAAA,WAAA,cAAc;AACd,QAAA,aAAa,EAAA,cAA4C;AACzD,QAAA,YAAA,eAAe;AACf,QAAA,QAAA,EAAA,QAAc;AACd;AACD,CAAA;AACF,MAAE,CAAA,WAAA,GAAA,QAAA;;;;"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LayoutPane as LayoutPane$1 } from '@ctrliq/quantic-components';
|
|
4
|
+
import { react } from './react-ssr.js';
|
|
5
|
+
|
|
6
|
+
const LayoutPane = createComponent({
|
|
7
|
+
react,
|
|
8
|
+
tagName: 'quantic-layout-pane',
|
|
9
|
+
elementClass: LayoutPane$1,
|
|
10
|
+
events: {
|
|
11
|
+
onOpenChanged: 'open-changed',
|
|
12
|
+
onResize: 'resize',
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
LayoutPane.displayName = 'LayoutPane';
|
|
16
|
+
|
|
17
|
+
export { LayoutPane };
|
|
18
|
+
//# sourceMappingURL=LayoutPane.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LayoutPane.js","sources":["../../generated/LayoutPane.ts"],"sourcesContent":[null],"names":["LayoutPaneLit"],"mappings":";;;;AAIS,MAAA,4BAA2B,CAAA;AAEpC,IAAA,KAAO;IACL,OAAK,EAAA,qBAAA;AACL,IAAA,YAAS,EAAAA,YAAA;AACT,IAAA,MAAA,EAAA;AACA,QAAA,aAAQ,EAAA,cAAA;AACN,QAAA,QAAA,EAAA,QAAe;AACf;AACD,CAAA;AACF,UAAE,CAAA,WAAA,GAAA,YAAA;;;;"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LogOutputLine as LogOutputLine$1 } from '@ctrliq/quantic-components';
|
|
4
|
+
import { react } from './react-ssr.js';
|
|
5
|
+
|
|
6
|
+
const LogOutputLine = createComponent({
|
|
7
|
+
react,
|
|
8
|
+
tagName: 'quantic-log-output-line',
|
|
9
|
+
elementClass: LogOutputLine$1
|
|
10
|
+
});
|
|
11
|
+
LogOutputLine.displayName = 'LogOutputLine';
|
|
12
|
+
|
|
13
|
+
export { LogOutputLine };
|
|
14
|
+
//# sourceMappingURL=LogOutputLine.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LogOutputLine.js","sources":["../../generated/LogOutputLine.ts"],"sourcesContent":[null],"names":["LogOutputLineLit"],"mappings":";;;;AAIS,MAAA,+BAA2B,CAAA;AAEpC,IAAA,KAAO;IACL,OAAK,EAAA,yBAAA;AACL,IAAA,YAAS,EAAAA;AACT,CAAA;AACD,aAAE,CAAA,WAAA,GAAA,eAAA;;;;"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LogOutputSearch as LogOutputSearch$1 } from '@ctrliq/quantic-components';
|
|
4
|
+
import { react } from './react-ssr.js';
|
|
5
|
+
|
|
6
|
+
const LogOutputSearch = createComponent({
|
|
7
|
+
react,
|
|
8
|
+
tagName: 'quantic-log-output-search',
|
|
9
|
+
elementClass: LogOutputSearch$1,
|
|
10
|
+
events: {
|
|
11
|
+
onValueChanged: 'value-changed',
|
|
12
|
+
onPreviousMatch: 'previous-match',
|
|
13
|
+
onNextMatch: 'next-match',
|
|
14
|
+
onOpenChanged: 'open-changed',
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
LogOutputSearch.displayName = 'LogOutputSearch';
|
|
18
|
+
|
|
19
|
+
export { LogOutputSearch };
|
|
20
|
+
//# sourceMappingURL=LogOutputSearch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LogOutputSearch.js","sources":["../../generated/LogOutputSearch.ts"],"sourcesContent":[null],"names":["LogOutputSearchLit"],"mappings":";;;;AAIS,MAAA,iCAA2B,CAAA;AAEpC,IAAA,KAAO;IACL,OAAK,EAAA,2BAAA;AACL,IAAA,YAAS,EAAAA,iBAAA;AACT,IAAA,MAAA,EAAA;AACA,QAAA,cAAQ,EAAA,eAAA;AACN,QAAA,iBAAgB,gBAA4D;AAC5E,QAAA,WAAA,EAAA,YAAiB;AACjB,QAAA,aAAa,EAAA,cAA4C;AACzD;AACD,CAAA;AACF,eAAE,CAAA,WAAA,GAAA,iBAAA;;;;"}
|
package/dist/esm/index.js
CHANGED
|
@@ -25,6 +25,7 @@ export { DialogActions } from './DialogActions.js';
|
|
|
25
25
|
export { DialogBackdropElement } from './DialogBackdropElement.js';
|
|
26
26
|
export { DialogTitle } from './DialogTitle.js';
|
|
27
27
|
export { Dialog } from './Dialog.js';
|
|
28
|
+
export { Drawer } from './Drawer.js';
|
|
28
29
|
export { DropdownMenu } from './DropdownMenu.js';
|
|
29
30
|
export { DropdownMenuGroup } from './DropdownMenuGroup.js';
|
|
30
31
|
export { DropdownMenuItem } from './DropdownMenuItem.js';
|
|
@@ -52,6 +53,8 @@ export { BrandIconRlcProOutline } from './BrandIconRlcProOutline.js';
|
|
|
52
53
|
export { BrandIconRlcProSolid } from './BrandIconRlcProSolid.js';
|
|
53
54
|
export { BrandIconRockyLinuxOutline } from './BrandIconRockyLinuxOutline.js';
|
|
54
55
|
export { BrandIconRockyLinuxSolid } from './BrandIconRockyLinuxSolid.js';
|
|
56
|
+
export { BrandIconStratumOutline } from './BrandIconStratumOutline.js';
|
|
57
|
+
export { BrandIconStratumSolid } from './BrandIconStratumSolid.js';
|
|
55
58
|
export { BrandIconSupportOutline } from './BrandIconSupportOutline.js';
|
|
56
59
|
export { BrandIconSupportSolid } from './BrandIconSupportSolid.js';
|
|
57
60
|
export { BrandIconWarewulfOutline } from './BrandIconWarewulfOutline.js';
|
|
@@ -1653,6 +1656,7 @@ export { LucideIconZoomOut } from './LucideIconZoomOut.js';
|
|
|
1653
1656
|
export { IconLabel } from './IconLabel.js';
|
|
1654
1657
|
export { InlineEdit } from './InlineEdit.js';
|
|
1655
1658
|
export { LayoutLogo } from './LayoutLogo.js';
|
|
1659
|
+
export { LayoutPane } from './LayoutPane.js';
|
|
1656
1660
|
export { Layout } from './Layout.js';
|
|
1657
1661
|
export { NavbarMenuItem } from './NavbarMenuItem.js';
|
|
1658
1662
|
export { Navbar } from './Navbar.js';
|
|
@@ -1660,6 +1664,8 @@ export { Page } from './Page.js';
|
|
|
1660
1664
|
export { SidebarMenuItemGroup } from './SidebarMenuItemGroup.js';
|
|
1661
1665
|
export { SidebarMenuItem } from './SidebarMenuItem.js';
|
|
1662
1666
|
export { Sidebar } from './Sidebar.js';
|
|
1667
|
+
export { LogOutputLine } from './LogOutputLine.js';
|
|
1668
|
+
export { LogOutputSearch } from './LogOutputSearch.js';
|
|
1663
1669
|
export { LogOutput } from './LogOutput.js';
|
|
1664
1670
|
export { NumberInput } from './NumberInput.js';
|
|
1665
1671
|
export { OptionCardGroup } from './OptionCardGroup.js';
|
|
@@ -1703,5 +1709,5 @@ export { Toggle } from './Toggle.js';
|
|
|
1703
1709
|
export { TooltipPopup } from './TooltipPopup.js';
|
|
1704
1710
|
export { Tooltip } from './Tooltip.js';
|
|
1705
1711
|
export { Truncate } from './Truncate.js';
|
|
1706
|
-
export { AlertType, BadgeColor, BadgeSize, ButtonBarSize, ButtonGroupSize, ButtonGrow, ButtonSize, ButtonVariant, CapacityBarColor, CapacityBarSize, CardGroupDensity, CardSize, CardTitleVariant, CardVariant, CellAlign, CheckboxGroupGap, CheckboxGroupVariant, CheckboxSize, ClusterAlign, ClusterAxis, ClusterGap, CodeInputSize, ComboboxSize, DialogBackdrop, DialogRole, DialogSize, DropdownMenuSize, FieldGroupLayout, FieldGroupSize, FieldHintPosition, FieldSize, FieldValidationStatus, FieldsetSize, FieldsetVariant, GridDensity, IconLabelSize, IconName, IconSize, LOG_OUTPUT_DEFAULTS, LayoutVariant, NumberInputSize, OptionCardSize, OptionCardType, OptionCardVariant, PaginationSize, PanelGroupGap, PanelHeaderSize, PanelHeaderVariant, PanelVariant, PopoverPlacement, PopoverTrigger, ProgressColor, ProgressSize, ProseAs, RadioGroupGap, RadioGroupVariant, RadioSize, SelectSize, SidebarMenuItemVariant, SortDirection, SparklineColor, SparklineVariant, SpinnerColor, SpinnerSize, StatusTagColor, TableSize, TableVariant, TabsOrientation, TabsSize, TagSize, TextInputSize, TextSize, TextVariant, TextareaResize, TextareaSize, ToastType, ToggleSize, TooltipPlacement, TooltipSize } from '@ctrliq/quantic-components';
|
|
1712
|
+
export { AlertType, BadgeColor, BadgeSize, ButtonBarSize, ButtonGroupSize, ButtonGrow, ButtonSize, ButtonVariant, CapacityBarColor, CapacityBarSize, CardGroupDensity, CardSize, CardTitleVariant, CardVariant, CellAlign, CheckboxGroupGap, CheckboxGroupVariant, CheckboxSize, ClusterAlign, ClusterAxis, ClusterGap, CodeInputSize, ComboboxSize, DialogBackdrop, DialogRole, DialogSize, DrawerPlacement, DrawerSize, DropdownMenuSize, FieldGroupLayout, FieldGroupSize, FieldHintPosition, FieldSize, FieldValidationStatus, FieldsetSize, FieldsetVariant, GridDensity, IconLabelSize, IconName, IconSize, LOG_OUTPUT_DEFAULTS, LayoutVariant, NumberInputSize, OptionCardSize, OptionCardType, OptionCardVariant, PaginationSize, PanelGroupGap, PanelHeaderSize, PanelHeaderVariant, PanelVariant, PopoverPlacement, PopoverTrigger, ProgressColor, ProgressSize, ProseAs, RadioGroupGap, RadioGroupVariant, RadioSize, SelectSize, SidebarMenuItemVariant, SortDirection, SparklineColor, SparklineVariant, SpinnerColor, SpinnerSize, StatusTagColor, TableSize, TableVariant, TabsOrientation, TabsSize, TagSize, TextInputSize, TextSize, TextVariant, TextareaResize, TextareaSize, ToastType, ToggleSize, TooltipPlacement, TooltipSize } from '@ctrliq/quantic-components';
|
|
1707
1713
|
//# sourceMappingURL=index.js.map
|
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;;;;"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type EventName } from '@lit/react';
|
|
2
|
+
import { Drawer as DrawerLit } from '@ctrliq/quantic-components';
|
|
3
|
+
export declare const Drawer: import("@lit/react").ReactWebComponent<DrawerLit, {
|
|
4
|
+
onOpenChanged: EventName<CustomEvent<{
|
|
5
|
+
open: boolean;
|
|
6
|
+
}>>;
|
|
7
|
+
onBeforeOpen: EventName<CustomEvent<void>>;
|
|
8
|
+
onAfterOpen: EventName<CustomEvent<void>>;
|
|
9
|
+
onBeforeClose: EventName<CustomEvent<void>>;
|
|
10
|
+
onAfterClose: EventName<CustomEvent<void>>;
|
|
11
|
+
onResize: EventName<CustomEvent<{
|
|
12
|
+
size: number;
|
|
13
|
+
}>>;
|
|
14
|
+
}>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type EventName } from '@lit/react';
|
|
2
|
+
import { LayoutPane as LayoutPaneLit } from '@ctrliq/quantic-components';
|
|
3
|
+
export declare const LayoutPane: import("@lit/react").ReactWebComponent<LayoutPaneLit, {
|
|
4
|
+
onOpenChanged: EventName<CustomEvent<{
|
|
5
|
+
open: boolean;
|
|
6
|
+
}>>;
|
|
7
|
+
onResize: EventName<CustomEvent<{
|
|
8
|
+
size: number;
|
|
9
|
+
}>>;
|
|
10
|
+
}>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type EventName } from '@lit/react';
|
|
2
|
+
import { LogOutputSearch as LogOutputSearchLit } from '@ctrliq/quantic-components';
|
|
3
|
+
export declare const LogOutputSearch: import("@lit/react").ReactWebComponent<LogOutputSearchLit, {
|
|
4
|
+
onValueChanged: EventName<CustomEvent<{
|
|
5
|
+
value: string;
|
|
6
|
+
}>>;
|
|
7
|
+
onPreviousMatch: EventName<CustomEvent<void>>;
|
|
8
|
+
onNextMatch: EventName<CustomEvent<void>>;
|
|
9
|
+
onOpenChanged: EventName<CustomEvent<{
|
|
10
|
+
open: boolean;
|
|
11
|
+
}>>;
|
|
12
|
+
}>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export * from './DialogActions';
|
|
|
25
25
|
export * from './DialogBackdropElement';
|
|
26
26
|
export * from './DialogTitle';
|
|
27
27
|
export * from './Dialog';
|
|
28
|
+
export * from './Drawer';
|
|
28
29
|
export * from './DropdownMenu';
|
|
29
30
|
export * from './DropdownMenuGroup';
|
|
30
31
|
export * from './DropdownMenuItem';
|
|
@@ -52,6 +53,8 @@ export * from './BrandIconRlcProOutline';
|
|
|
52
53
|
export * from './BrandIconRlcProSolid';
|
|
53
54
|
export * from './BrandIconRockyLinuxOutline';
|
|
54
55
|
export * from './BrandIconRockyLinuxSolid';
|
|
56
|
+
export * from './BrandIconStratumOutline';
|
|
57
|
+
export * from './BrandIconStratumSolid';
|
|
55
58
|
export * from './BrandIconSupportOutline';
|
|
56
59
|
export * from './BrandIconSupportSolid';
|
|
57
60
|
export * from './BrandIconWarewulfOutline';
|
|
@@ -1653,6 +1656,7 @@ export * from './LucideIconZoomOut';
|
|
|
1653
1656
|
export * from './IconLabel';
|
|
1654
1657
|
export * from './InlineEdit';
|
|
1655
1658
|
export * from './LayoutLogo';
|
|
1659
|
+
export * from './LayoutPane';
|
|
1656
1660
|
export * from './Layout';
|
|
1657
1661
|
export * from './NavbarMenuItem';
|
|
1658
1662
|
export * from './Navbar';
|
|
@@ -1660,6 +1664,8 @@ export * from './Page';
|
|
|
1660
1664
|
export * from './SidebarMenuItemGroup';
|
|
1661
1665
|
export * from './SidebarMenuItem';
|
|
1662
1666
|
export * from './Sidebar';
|
|
1667
|
+
export * from './LogOutputLine';
|
|
1668
|
+
export * from './LogOutputSearch';
|
|
1663
1669
|
export * from './LogOutput';
|
|
1664
1670
|
export * from './NumberInput';
|
|
1665
1671
|
export * from './OptionCardGroup';
|
|
@@ -1703,4 +1709,4 @@ export * from './Toggle';
|
|
|
1703
1709
|
export * from './TooltipPopup';
|
|
1704
1710
|
export * from './Tooltip';
|
|
1705
1711
|
export * from './Truncate';
|
|
1706
|
-
export { AlertType, BadgeColor, BadgeSize, ButtonBarSize, ButtonGroupSize, ButtonGrow, ButtonSize, ButtonVariant, CapacityBarColor, CapacityBarSize, CardGroupDensity, CardSize, CardTitleVariant, CardVariant, CellAlign, CheckboxGroupGap, CheckboxGroupVariant, CheckboxSize, ClusterAlign, ClusterAxis, ClusterGap, CodeInputSize, ComboboxSize, DialogBackdrop, DialogRole, DialogSize, DropdownMenuSize, FieldGroupLayout, FieldGroupSize, FieldHintPosition, FieldSize, FieldValidationStatus, FieldsetSize, FieldsetVariant, GridDensity, IconLabelSize, IconName, IconSize, LOG_OUTPUT_DEFAULTS, LayoutVariant, NumberInputSize, OptionCardSize, OptionCardType, OptionCardVariant, PaginationSize, PanelGroupGap, PanelHeaderSize, PanelHeaderVariant, PanelVariant, PopoverPlacement, PopoverTrigger, ProgressColor, ProgressSize, ProseAs, RadioGroupGap, RadioGroupVariant, RadioSize, SelectSize, SidebarMenuItemVariant, SortDirection, SparklineColor, SparklineVariant, SpinnerColor, SpinnerSize, StatusTagColor, TableSize, TableVariant, TabsOrientation, TabsSize, TagSize, TextInputSize, TextSize, TextVariant, TextareaResize, TextareaSize, ToastType, ToggleSize, TooltipPlacement, TooltipSize, } from '@ctrliq/quantic-components';
|
|
1712
|
+
export { AlertType, BadgeColor, BadgeSize, ButtonBarSize, ButtonGroupSize, ButtonGrow, ButtonSize, ButtonVariant, CapacityBarColor, CapacityBarSize, CardGroupDensity, CardSize, CardTitleVariant, CardVariant, CellAlign, CheckboxGroupGap, CheckboxGroupVariant, CheckboxSize, ClusterAlign, ClusterAxis, ClusterGap, CodeInputSize, ComboboxSize, DialogBackdrop, DialogRole, DialogSize, DrawerPlacement, DrawerSize, DropdownMenuSize, FieldGroupLayout, FieldGroupSize, FieldHintPosition, FieldSize, FieldValidationStatus, FieldsetSize, FieldsetVariant, GridDensity, IconLabelSize, IconName, IconSize, LOG_OUTPUT_DEFAULTS, LayoutVariant, NumberInputSize, OptionCardSize, OptionCardType, OptionCardVariant, PaginationSize, PanelGroupGap, PanelHeaderSize, PanelHeaderVariant, PanelVariant, PopoverPlacement, PopoverTrigger, ProgressColor, ProgressSize, ProseAs, RadioGroupGap, RadioGroupVariant, RadioSize, SelectSize, SidebarMenuItemVariant, SortDirection, SparklineColor, SparklineVariant, SpinnerColor, SpinnerSize, StatusTagColor, TableSize, TableVariant, TabsOrientation, TabsSize, TagSize, TextInputSize, TextSize, TextVariant, TextareaResize, TextareaSize, ToastType, ToggleSize, TooltipPlacement, TooltipSize, } from '@ctrliq/quantic-components';
|
|
@@ -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';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import { createComponent, type EventName } from '@lit/react';
|
|
4
|
+
import { Drawer as DrawerLit } from '@ctrliq/quantic-components';
|
|
5
|
+
import { react } from './react-ssr';
|
|
6
|
+
|
|
7
|
+
export const Drawer = createComponent({
|
|
8
|
+
react,
|
|
9
|
+
tagName: 'quantic-drawer',
|
|
10
|
+
elementClass: DrawerLit,
|
|
11
|
+
events: {
|
|
12
|
+
onOpenChanged: 'open-changed' as EventName<CustomEvent<{ open: boolean }>>,
|
|
13
|
+
onBeforeOpen: 'before-open' as EventName<CustomEvent<void>>,
|
|
14
|
+
onAfterOpen: 'after-open' as EventName<CustomEvent<void>>,
|
|
15
|
+
onBeforeClose: 'before-close' as EventName<CustomEvent<void>>,
|
|
16
|
+
onAfterClose: 'after-close' as EventName<CustomEvent<void>>,
|
|
17
|
+
onResize: 'resize' as EventName<CustomEvent<{ size: number }>>,
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
Drawer.displayName = 'Drawer';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import { createComponent, type EventName } from '@lit/react';
|
|
4
|
+
import { LayoutPane as LayoutPaneLit } from '@ctrliq/quantic-components';
|
|
5
|
+
import { react } from './react-ssr';
|
|
6
|
+
|
|
7
|
+
export const LayoutPane = createComponent({
|
|
8
|
+
react,
|
|
9
|
+
tagName: 'quantic-layout-pane',
|
|
10
|
+
elementClass: LayoutPaneLit,
|
|
11
|
+
events: {
|
|
12
|
+
onOpenChanged: 'open-changed' as EventName<CustomEvent<{ open: boolean }>>,
|
|
13
|
+
onResize: 'resize' as EventName<CustomEvent<{ size: number }>>,
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
LayoutPane.displayName = 'LayoutPane';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import { createComponent, type EventName } from '@lit/react';
|
|
4
|
+
import { LogOutputLine as LogOutputLineLit } from '@ctrliq/quantic-components';
|
|
5
|
+
import { react } from './react-ssr';
|
|
6
|
+
|
|
7
|
+
export const LogOutputLine = createComponent({
|
|
8
|
+
react,
|
|
9
|
+
tagName: 'quantic-log-output-line',
|
|
10
|
+
elementClass: LogOutputLineLit
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
LogOutputLine.displayName = 'LogOutputLine';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import { createComponent, type EventName } from '@lit/react';
|
|
4
|
+
import { LogOutputSearch as LogOutputSearchLit } from '@ctrliq/quantic-components';
|
|
5
|
+
import { react } from './react-ssr';
|
|
6
|
+
|
|
7
|
+
export const LogOutputSearch = createComponent({
|
|
8
|
+
react,
|
|
9
|
+
tagName: 'quantic-log-output-search',
|
|
10
|
+
elementClass: LogOutputSearchLit,
|
|
11
|
+
events: {
|
|
12
|
+
onValueChanged: 'value-changed' as EventName<CustomEvent<{ value: string }>>,
|
|
13
|
+
onPreviousMatch: 'previous-match' as EventName<CustomEvent<void>>,
|
|
14
|
+
onNextMatch: 'next-match' as EventName<CustomEvent<void>>,
|
|
15
|
+
onOpenChanged: 'open-changed' as EventName<CustomEvent<{ open: boolean }>>,
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
LogOutputSearch.displayName = 'LogOutputSearch';
|
package/generated/index.ts
CHANGED
|
@@ -25,6 +25,7 @@ export * from './DialogActions';
|
|
|
25
25
|
export * from './DialogBackdropElement';
|
|
26
26
|
export * from './DialogTitle';
|
|
27
27
|
export * from './Dialog';
|
|
28
|
+
export * from './Drawer';
|
|
28
29
|
export * from './DropdownMenu';
|
|
29
30
|
export * from './DropdownMenuGroup';
|
|
30
31
|
export * from './DropdownMenuItem';
|
|
@@ -52,6 +53,8 @@ export * from './BrandIconRlcProOutline';
|
|
|
52
53
|
export * from './BrandIconRlcProSolid';
|
|
53
54
|
export * from './BrandIconRockyLinuxOutline';
|
|
54
55
|
export * from './BrandIconRockyLinuxSolid';
|
|
56
|
+
export * from './BrandIconStratumOutline';
|
|
57
|
+
export * from './BrandIconStratumSolid';
|
|
55
58
|
export * from './BrandIconSupportOutline';
|
|
56
59
|
export * from './BrandIconSupportSolid';
|
|
57
60
|
export * from './BrandIconWarewulfOutline';
|
|
@@ -1653,6 +1656,7 @@ export * from './LucideIconZoomOut';
|
|
|
1653
1656
|
export * from './IconLabel';
|
|
1654
1657
|
export * from './InlineEdit';
|
|
1655
1658
|
export * from './LayoutLogo';
|
|
1659
|
+
export * from './LayoutPane';
|
|
1656
1660
|
export * from './Layout';
|
|
1657
1661
|
export * from './NavbarMenuItem';
|
|
1658
1662
|
export * from './Navbar';
|
|
@@ -1660,6 +1664,8 @@ export * from './Page';
|
|
|
1660
1664
|
export * from './SidebarMenuItemGroup';
|
|
1661
1665
|
export * from './SidebarMenuItem';
|
|
1662
1666
|
export * from './Sidebar';
|
|
1667
|
+
export * from './LogOutputLine';
|
|
1668
|
+
export * from './LogOutputSearch';
|
|
1663
1669
|
export * from './LogOutput';
|
|
1664
1670
|
export * from './NumberInput';
|
|
1665
1671
|
export * from './OptionCardGroup';
|
|
@@ -1731,6 +1737,8 @@ export {
|
|
|
1731
1737
|
DialogBackdrop,
|
|
1732
1738
|
DialogRole,
|
|
1733
1739
|
DialogSize,
|
|
1740
|
+
DrawerPlacement,
|
|
1741
|
+
DrawerSize,
|
|
1734
1742
|
DropdownMenuSize,
|
|
1735
1743
|
FieldGroupLayout,
|
|
1736
1744
|
FieldGroupSize,
|
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,6 +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.3",
|
|
4
5
|
"publishConfig": {
|
|
5
6
|
"registry": "https://registry.npmjs.org/",
|
|
6
7
|
"access": "public"
|
|
@@ -17,7 +18,8 @@
|
|
|
17
18
|
},
|
|
18
19
|
"types": "./dist/types/index.d.ts",
|
|
19
20
|
"dependencies": {
|
|
20
|
-
"@lit-labs/ssr-react": "0.3.4"
|
|
21
|
+
"@lit-labs/ssr-react": "0.3.4",
|
|
22
|
+
"style-to-js": "2.0.2"
|
|
21
23
|
},
|
|
22
24
|
"devDependencies": {
|
|
23
25
|
"change-case": "5.4.4",
|
|
@@ -28,8 +30,12 @@
|
|
|
28
30
|
"@rollup/plugin-typescript": "12.3.0",
|
|
29
31
|
"rollup": "4.62.2",
|
|
30
32
|
"@types/react": "^19.2.17",
|
|
31
|
-
"react": "^19.2.
|
|
33
|
+
"@types/react-dom": "^19.2.4",
|
|
34
|
+
"react": "^19.2.8",
|
|
32
35
|
"typescript": "5.9.3",
|
|
36
|
+
"lit": "^3.3.0",
|
|
37
|
+
"react-dom": "^19.2.8",
|
|
38
|
+
"vitest": "3.2.7",
|
|
33
39
|
"@ctrliq/quantic-components": "0.0.0",
|
|
34
40
|
"@ctrliq/quantic-tokens": "0.0.0"
|
|
35
41
|
},
|
|
@@ -45,6 +51,7 @@
|
|
|
45
51
|
"build:types": "tsc --project tsconfig.types.json",
|
|
46
52
|
"build": "pnpm run generate && pnpm run build:js && pnpm run build:types",
|
|
47
53
|
"typecheck": "pnpm run generate && tsc",
|
|
54
|
+
"test": "vitest run",
|
|
48
55
|
"release": "semantic-release"
|
|
49
56
|
}
|
|
50
57
|
}
|