tera-system-ui 0.1.72 → 0.1.73

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.js';
5
+ export type { SideNavigationItem, SideNavigationGroup as SideNavigationGroupItem, SideNavigationEntry, SideNavigationProps } from "./SideNavigation.js";
@@ -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.js';
package/dist/index.d.ts CHANGED
@@ -55,7 +55,7 @@ export type { LightDarkToggleProps } from './components/light-dark-toggle/index.
55
55
  export type { PopoverProps } from './components/popover/index.js';
56
56
  export type { PopoverResponsiveProps } from './components/popover-responsive/index.js';
57
57
  export type { SelectProps, SelectOption } from './components/select/index.js';
58
- export type { SideNavigationItem, SideNavigationGroup, SideNavigationEntry, SideNavigationProps } from './components/side-navigation/index.js';
58
+ export type { SideNavigationItem, SideNavigationGroupItem, SideNavigationEntry, SideNavigationProps } from './components/side-navigation/index.js';
59
59
  export type { SliderProps } from './components/slider/index.js';
60
60
  export type { StarRatingProps } from './components/star-rating/index.js';
61
61
  export type { SwitchProps } from './components/switch/index.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tera-system-ui",
3
- "version": "0.1.72",
3
+ "version": "0.1.73",
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",
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
  import fs from "fs";
3
3
 
4
4
  import path from "path";
@@ -65,7 +65,10 @@ function extractExportNames(filePath) {
65
65
 
66
66
  // Find all matches for `export type { ... }`
67
67
  while ((match = typeExportRegex.exec(fileContent)) !== null) {
68
- const typeNames = match[1].split(',').map(t => t.trim().split(/\s+as\s+/)[0].trim()).filter(t => t);
68
+ const typeNames = match[1].split(',').map(t => {
69
+ const parts = t.trim().split(/\s+as\s+/);
70
+ return (parts[1] || parts[0]).trim();
71
+ }).filter(t => t);
69
72
  types.push(...typeNames);
70
73
  }
71
74