@stacksjs/components 0.2.97 → 0.2.98
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/index.js +4 -4
- package/dist/ui/sidebar/index.d.ts +3 -9
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
// ../../../../../../../tmp/stx-components-build-
|
|
2
|
+
// ../../../../../../../tmp/stx-components-build-KK6j3J/stubs/stub-0.js
|
|
3
3
|
var stub_0_default = { __stx: true, src: "./components/CodeBlock.stx" };
|
|
4
|
-
// ../../../../../../../tmp/stx-components-build-
|
|
4
|
+
// ../../../../../../../tmp/stx-components-build-KK6j3J/stubs/stub-1.js
|
|
5
5
|
var stub_1_default = { __stx: true, src: "./components/Footer.stx" };
|
|
6
|
-
// ../../../../../../../tmp/stx-components-build-
|
|
6
|
+
// ../../../../../../../tmp/stx-components-build-KK6j3J/stubs/stub-2.js
|
|
7
7
|
var stub_2_default = { __stx: true, src: "./components/Hero.stx" };
|
|
8
|
-
// ../../../../../../../tmp/stx-components-build-
|
|
8
|
+
// ../../../../../../../tmp/stx-components-build-KK6j3J/stubs/stub-3.js
|
|
9
9
|
var stub_3_default = { __stx: true, src: "./components/Installation.stx" };
|
|
10
10
|
// src/composables/useCopyCode.ts
|
|
11
11
|
function useCopyCode(options) {
|
|
@@ -98,15 +98,9 @@ export declare interface SidebarFooterProps {
|
|
|
98
98
|
* `macos-tahoe` and `macos-latest` are aliases of `macos`. The remaining
|
|
99
99
|
* names are legacy looks kept for backwards compatibility.
|
|
100
100
|
*/
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
| 'tahoe'
|
|
105
|
-
| 'vibrancy'
|
|
106
|
-
| 'solid'
|
|
107
|
-
| 'transparent'
|
|
108
|
-
| 'workspace'
|
|
109
|
-
| 'desktop';
|
|
101
|
+
declare type MacOSSidebarTheme = 'macos' | 'macos-tahoe' | 'macos-latest' | 'tahoe';
|
|
102
|
+
declare type LegacySidebarTheme = 'vibrancy' | 'solid' | 'transparent' | 'workspace' | 'desktop';
|
|
103
|
+
export type SidebarThemeChoice = MacOSSidebarTheme | LegacySidebarTheme;
|
|
110
104
|
export { default as Sidebar } from './Sidebar.stx';
|
|
111
105
|
export { default as SidebarFooter } from './SidebarFooter.stx';
|
|
112
106
|
export { default as SidebarHeader } from './SidebarHeader.stx';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/components",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.98",
|
|
5
5
|
"description": "A modern component library built with STX, featuring headwind utility classes and TypeScript syntax highlighting.",
|
|
6
6
|
"author": "Chris Breuer <chris@stacksjs.org>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"@cwcss/crosswind": "^0.2.6",
|
|
65
|
-
"@stacksjs/stx": "0.2.
|
|
66
|
-
"bun-plugin-stx": "0.2.
|
|
65
|
+
"@stacksjs/stx": "0.2.98",
|
|
66
|
+
"bun-plugin-stx": "0.2.98",
|
|
67
67
|
"ts-syntax-highlighter": "^0.2.1"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|