tera-system-ui 0.1.73 → 0.1.74
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { default as SideNavigation } from './SideNavigation.svelte';
|
|
2
2
|
export { default as SideNavigationLayout } from './SideNavigationLayout.svelte';
|
|
3
3
|
export { default as SideNavigationGroup } from './SideNavigationGroup.svelte';
|
|
4
|
-
export { toggleSideNavigation, isSideNavigationGroup } from './SideNavigation
|
|
5
|
-
export type { SideNavigationItem, SideNavigationGroup as SideNavigationGroupItem, SideNavigationEntry, SideNavigationProps } from "./SideNavigation
|
|
4
|
+
export { toggleSideNavigation, isSideNavigationGroup } from './SideNavigation';
|
|
5
|
+
export type { SideNavigationItem, SideNavigationGroup as SideNavigationGroupItem, SideNavigationEntry, SideNavigationProps } from "./SideNavigation";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { default as SideNavigation } from './SideNavigation.svelte';
|
|
2
2
|
export { default as SideNavigationLayout } from './SideNavigationLayout.svelte';
|
|
3
3
|
export { default as SideNavigationGroup } from './SideNavigationGroup.svelte';
|
|
4
|
-
export { toggleSideNavigation, isSideNavigationGroup } from './SideNavigation
|
|
4
|
+
export { toggleSideNavigation, isSideNavigationGroup } from './SideNavigation';
|
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export { Button } from './components/button/index.js';
|
|
|
8
8
|
export { Card } from './components/card/index.js';
|
|
9
9
|
export { Checkbox } from './components/checkbox/index.js';
|
|
10
10
|
export { Combobox } from './components/combobox/index.js';
|
|
11
|
+
export { Root, Empty, Group, Item, LinkItem, Input, List, Separator, Shortcut, Loading, Command, CommandEmpty, CommandGroup, CommandItem, CommandLinkItem, CommandInput, CommandList, CommandSeparator, CommandShortcut, CommandLoading } from './components/command/index.js';
|
|
11
12
|
export { DateRangePicker } from './components/date-range-picker/index.js';
|
|
12
13
|
export { Dialog } from './components/dialog/index.js';
|
|
13
14
|
export { Drawer } from './components/drawer/index.js';
|
|
@@ -23,7 +24,7 @@ export { FeatureCard, StatBlock, PricingCard, TestimonialCard } from './componen
|
|
|
23
24
|
export { Popover } from './components/popover/index.js';
|
|
24
25
|
export { PopoverResponsive } from './components/popover-responsive/index.js';
|
|
25
26
|
export { Select } from './components/select/index.js';
|
|
26
|
-
export { SideNavigation, SideNavigationLayout, SideNavigationGroup } from './components/side-navigation/index.js';
|
|
27
|
+
export { SideNavigation, SideNavigationLayout, SideNavigationGroup, toggleSideNavigation, isSideNavigationGroup } from './components/side-navigation/index.js';
|
|
27
28
|
export { Skeleton } from './components/skeleton/index.js';
|
|
28
29
|
export { Slider } from './components/slider/index.js';
|
|
29
30
|
export { Spinner } from './components/spinner/index.js';
|
package/dist/index.js
CHANGED
|
@@ -8,6 +8,7 @@ export { Button } from './components/button/index.js';
|
|
|
8
8
|
export { Card } from './components/card/index.js';
|
|
9
9
|
export { Checkbox } from './components/checkbox/index.js';
|
|
10
10
|
export { Combobox } from './components/combobox/index.js';
|
|
11
|
+
export { Root, Empty, Group, Item, LinkItem, Input, List, Separator, Shortcut, Loading, Command, CommandEmpty, CommandGroup, CommandItem, CommandLinkItem, CommandInput, CommandList, CommandSeparator, CommandShortcut, CommandLoading } from './components/command/index.js';
|
|
11
12
|
export { DateRangePicker } from './components/date-range-picker/index.js';
|
|
12
13
|
export { Dialog } from './components/dialog/index.js';
|
|
13
14
|
export { Drawer } from './components/drawer/index.js';
|
|
@@ -23,7 +24,7 @@ export { FeatureCard, StatBlock, PricingCard, TestimonialCard } from './componen
|
|
|
23
24
|
export { Popover } from './components/popover/index.js';
|
|
24
25
|
export { PopoverResponsive } from './components/popover-responsive/index.js';
|
|
25
26
|
export { Select } from './components/select/index.js';
|
|
26
|
-
export { SideNavigation, SideNavigationLayout, SideNavigationGroup } from './components/side-navigation/index.js';
|
|
27
|
+
export { SideNavigation, SideNavigationLayout, SideNavigationGroup, toggleSideNavigation, isSideNavigationGroup } from './components/side-navigation/index.js';
|
|
27
28
|
export { Skeleton } from './components/skeleton/index.js';
|
|
28
29
|
export { Slider } from './components/slider/index.js';
|
|
29
30
|
export { Spinner } from './components/spinner/index.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tera-system-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.74",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "vite dev",
|
|
6
6
|
"build": "npm run customPrepublish && npm run generate-index && npm run generate-llms && vite build && npm run package && npm run copy-docs && npm run copy-llms && npm run postpublish",
|
|
@@ -46,21 +46,20 @@ function extractExportNames(filePath) {
|
|
|
46
46
|
const types = [];
|
|
47
47
|
|
|
48
48
|
// Regular expressions to match the export names
|
|
49
|
-
|
|
50
|
-
const namedExportRegex = /^(?!\s*\/\/)\s*export\s*{(
|
|
49
|
+
// Handles both `export { default as X }` and `export { A, B, C as D }` (excludes `export type`)
|
|
50
|
+
const namedExportRegex = /^(?!\s*\/\/)\s*export\s*(?!type[\s{])\{([^}]+)\}/gm;
|
|
51
51
|
// Match: export type { TypeName1, TypeName2 } from '...' (handles multi-line)
|
|
52
52
|
const typeExportRegex = /export\s+type\s*\{([^}]+)\}\s*from/gm;
|
|
53
53
|
|
|
54
54
|
let match;
|
|
55
55
|
|
|
56
|
-
// Find all matches for `export { default as
|
|
57
|
-
while ((match = defaultExportRegex.exec(fileContent)) !== null) {
|
|
58
|
-
components.push(match[1]);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
// Find all matches for `export { namedExport }`
|
|
56
|
+
// Find all matches for `export { namedExport1, namedExport2, ... }` and `export { default as X }`
|
|
62
57
|
while ((match = namedExportRegex.exec(fileContent)) !== null) {
|
|
63
|
-
|
|
58
|
+
const names = match[1].split(',').map(t => {
|
|
59
|
+
const parts = t.trim().split(/\s+as\s+/);
|
|
60
|
+
return (parts[1] || parts[0]).trim();
|
|
61
|
+
}).filter(t => t && t !== 'default');
|
|
62
|
+
components.push(...names);
|
|
64
63
|
}
|
|
65
64
|
|
|
66
65
|
// Find all matches for `export type { ... }`
|