@strands.gg/accui 2.17.56 → 2.17.58
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/package.json +2 -2
- package/dist/StrandsUIPlugin-CiAAY2sN.cjs.js +0 -143
- package/dist/StrandsUIPlugin-Dar_Az2V.es.js +0 -20430
- package/dist/StrandsUIPlugin-fHS0GmiX.cjs.js +0 -143
- package/dist/StrandsUIPlugin-hYC1FxeG.es.js +0 -20577
- package/dist/accui.css +0 -1
- package/dist/index.cjs.js +0 -5
- package/dist/index.es.js +0 -12931
- package/dist/nuxt/module.cjs.js +0 -23
- package/dist/nuxt/module.es.js +0 -182
- package/dist/nuxt/runtime/composables/useAuthenticatedFetch.cjs.js +0 -1
- package/dist/nuxt/runtime/composables/useAuthenticatedFetch.es.js +0 -103
- package/dist/nuxt/runtime/composables/useStrandsAuth.cjs.js +0 -1
- package/dist/nuxt/runtime/composables/useStrandsAuth.d.ts +0 -111
- package/dist/nuxt/runtime/composables/useStrandsAuth.es.js +0 -100
- package/dist/nuxt/runtime/composables/useStrandsOAuth.d.ts +0 -8
- package/dist/nuxt/runtime/middleware/auth.global.cjs.js +0 -1
- package/dist/nuxt/runtime/middleware/auth.global.es.js +0 -35
- package/dist/nuxt/runtime/plugin.client.cjs.js +0 -1
- package/dist/nuxt/runtime/plugin.client.es.js +0 -21
- package/dist/nuxt/runtime/plugin.server.cjs.js +0 -1
- package/dist/nuxt/runtime/plugin.server.es.js +0 -15
- package/dist/nuxt/runtime/plugins/auth-interceptor.client.cjs.js +0 -1
- package/dist/nuxt/runtime/plugins/auth-interceptor.client.d.ts +0 -9
- package/dist/nuxt/runtime/plugins/auth-interceptor.client.es.js +0 -46
- package/dist/nuxt/types.d.ts +0 -51
- package/dist/nuxt.cjs.js +0 -1
- package/dist/nuxt.es.js +0 -11
- package/dist/robots.txt +0 -4
- package/dist/shared/defaults.d.ts +0 -2
- package/dist/sitemap.xml +0 -9
- package/dist/types/composables.d.ts +0 -97
- package/dist/types/index.d.ts +0 -263
- package/dist/types/oauth.d.ts +0 -420
- package/dist/useDarkMode-BdG1G2mj.es.js +0 -102
- package/dist/useDarkMode-BvBnG5kF.cjs.js +0 -1
- package/dist/useDarkMode-Dd0Q5Nnz.cjs.js +0 -1
- package/dist/useDarkMode-FTkHLBsX.es.js +0 -102
- package/dist/useDarkMode-OZ_A8-6H.es.js +0 -102
- package/dist/useStrandsAuth-CetpoBNk.cjs.js +0 -1
- package/dist/useStrandsAuth-DEWj1bFC.cjs.js +0 -1
- package/dist/useStrandsAuth-DTJ5fn33.es.js +0 -666
- package/dist/useStrandsAuth-Z7P9ujqQ.es.js +0 -666
- package/dist/useStrandsAuth-wzl2F9DE.es.js +0 -702
- package/dist/useStrandsConfig-B2UXxIbT.es.js +0 -213
- package/dist/useStrandsConfig-BGJg1LlC.es.js +0 -213
- package/dist/useStrandsConfig-BYOAEt9d.cjs.js +0 -1
- package/dist/vite.cjs.js +0 -29
- package/dist/vite.es.js +0 -92
- package/dist/vue/components/index.d.ts +0 -29
- package/dist/vue/composables/useAuthenticatedFetch.d.ts +0 -22
- package/dist/vue/composables/useDarkMode.d.ts +0 -53
- package/dist/vue/composables/useStrandsOAuth.d.ts +0 -10
- package/dist/vue/ui/UiButton/index.d.ts +0 -11
- package/dist/vue/ui/UiMegaMenu/index.d.ts +0 -4
- package/dist/vue/ui/index.d.ts +0 -62
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
export type ThemeMode = 'light' | 'dark' | 'system';
|
|
2
|
-
interface UseDarkModeOptions {
|
|
3
|
-
/** Skip auto-initialization via onMounted (used by useGlobalDarkMode) */
|
|
4
|
-
skipAutoInit?: boolean;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* Dark mode composable
|
|
8
|
-
*/
|
|
9
|
-
export declare function useDarkMode(options?: UseDarkModeOptions): {
|
|
10
|
-
currentTheme: import("vue").ComputedRef<ThemeMode>;
|
|
11
|
-
isDark: import("vue").ComputedRef<boolean>;
|
|
12
|
-
themeLabel: import("vue").ComputedRef<"Light" | "Dark" | "System">;
|
|
13
|
-
setTheme: (theme: ThemeMode) => void;
|
|
14
|
-
toggle: () => void;
|
|
15
|
-
cycleTheme: () => void;
|
|
16
|
-
initialize: () => void;
|
|
17
|
-
themeOptions: ({
|
|
18
|
-
value: "light";
|
|
19
|
-
label: string;
|
|
20
|
-
icon: string;
|
|
21
|
-
} | {
|
|
22
|
-
value: "dark";
|
|
23
|
-
label: string;
|
|
24
|
-
icon: string;
|
|
25
|
-
} | {
|
|
26
|
-
value: "system";
|
|
27
|
-
label: string;
|
|
28
|
-
icon: string;
|
|
29
|
-
})[];
|
|
30
|
-
};
|
|
31
|
-
export declare function useGlobalDarkMode(): {
|
|
32
|
-
currentTheme: import("vue").ComputedRef<ThemeMode>;
|
|
33
|
-
isDark: import("vue").ComputedRef<boolean>;
|
|
34
|
-
themeLabel: import("vue").ComputedRef<"Light" | "Dark" | "System">;
|
|
35
|
-
setTheme: (theme: ThemeMode) => void;
|
|
36
|
-
toggle: () => void;
|
|
37
|
-
cycleTheme: () => void;
|
|
38
|
-
initialize: () => void;
|
|
39
|
-
themeOptions: ({
|
|
40
|
-
value: "light";
|
|
41
|
-
label: string;
|
|
42
|
-
icon: string;
|
|
43
|
-
} | {
|
|
44
|
-
value: "dark";
|
|
45
|
-
label: string;
|
|
46
|
-
icon: string;
|
|
47
|
-
} | {
|
|
48
|
-
value: "system";
|
|
49
|
-
label: string;
|
|
50
|
-
icon: string;
|
|
51
|
-
})[];
|
|
52
|
-
};
|
|
53
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { StrandsOAuthConfig, UseStrandsOAuthReturn } from '../../types';
|
|
2
|
-
/**
|
|
3
|
-
* Composable for OAuth2 authentication with Strands Auth
|
|
4
|
-
*
|
|
5
|
-
* This composable handles the OAuth2 Authorization Code flow with PKCE
|
|
6
|
-
* for third-party applications integrating with Strands Auth.
|
|
7
|
-
*
|
|
8
|
-
* @param config - OAuth2 client configuration
|
|
9
|
-
*/
|
|
10
|
-
export declare function useStrandsOAuth(config: StrandsOAuthConfig): UseStrandsOAuthReturn;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import UiButton from '../UiButton.vue';
|
|
2
|
-
import UiButtonContent from './UiButton.Content.vue';
|
|
3
|
-
import UiButtonAnchor from './UiButton.Anchor.vue';
|
|
4
|
-
import UiButtonNuxt from './UiButton.Nuxt.vue';
|
|
5
|
-
declare const CompoundUiButton: typeof UiButton & {
|
|
6
|
-
Content: typeof UiButtonContent;
|
|
7
|
-
Anchor: typeof UiButtonAnchor;
|
|
8
|
-
Nuxt: typeof UiButtonNuxt;
|
|
9
|
-
};
|
|
10
|
-
export default CompoundUiButton;
|
|
11
|
-
export { UiButtonContent, UiButtonAnchor, UiButtonNuxt };
|
package/dist/vue/ui/index.d.ts
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
export { default as StrandsUiApp } from './UiApp.vue';
|
|
2
|
-
export { default as StrandsUiAlert } from './UiAlert.vue';
|
|
3
|
-
export { default as StrandsUiButton } from './UiButton';
|
|
4
|
-
export { default as StrandsUiCard } from './UiCard.vue';
|
|
5
|
-
export { default as StrandsUiInput } from './UiInput.vue';
|
|
6
|
-
export { default as StrandsUiLink } from './UiLink.vue';
|
|
7
|
-
export { default as StrandsUiTabs } from './UiTabs.vue';
|
|
8
|
-
export { default as StrandsUiLoader } from './UiLoader.vue';
|
|
9
|
-
export { default as StrandsUiToggle } from './UiToggle.vue';
|
|
10
|
-
export { default as StrandsUiAvatarEditor } from './UiAvatarEditor.vue';
|
|
11
|
-
export { default as StrandsUiLevelProgress } from './UiLevelProgress.vue';
|
|
12
|
-
export { default as StrandsUiModal } from './UiModal.vue';
|
|
13
|
-
export { default as StrandsUiColorPicker } from './UiColorPicker.vue';
|
|
14
|
-
export { default as StrandsUiTooltip } from './UiTooltip.vue';
|
|
15
|
-
export { default as StrandsUiDivider } from './UiDivider.vue';
|
|
16
|
-
export { default as StrandsUiTable } from './UiTable.vue';
|
|
17
|
-
export { default as StrandsUiHero } from './UiHero.vue';
|
|
18
|
-
export { default as StrandsUiThemeToggle } from './UiThemeToggle.vue';
|
|
19
|
-
export { default as StrandsUiSlider } from './UiSlider.vue';
|
|
20
|
-
export { default as StrandsUiRadioGroup } from './UiRadioGroup.vue';
|
|
21
|
-
export { default as StrandsUiCheckboxGroup } from './UiCheckboxGroup.vue';
|
|
22
|
-
export { default as StrandsUiPill } from './UiPill.vue';
|
|
23
|
-
export { default as StrandsUiMegaMenu } from './UiMegaMenu.vue';
|
|
24
|
-
export { default as StrandsUiMegaMenuItem } from './UiMegaMenu/UiMegaMenu.Item.vue';
|
|
25
|
-
export { default as StrandsUiMegaMenuPanel } from './UiMegaMenu/UiMegaMenu.Panel.vue';
|
|
26
|
-
export { default as StrandsUiMegaMenuGroup } from './UiMegaMenu/UiMegaMenu.Group.vue';
|
|
27
|
-
export { default as UiApp } from './UiApp.vue';
|
|
28
|
-
export { default as UiAlert } from './UiAlert.vue';
|
|
29
|
-
export { default as UiButton } from './UiButton';
|
|
30
|
-
export { default as UiCard } from './UiCard.vue';
|
|
31
|
-
export { default as UiInput } from './UiInput.vue';
|
|
32
|
-
export { default as UiLink } from './UiLink.vue';
|
|
33
|
-
export { default as UiTabs } from './UiTabs.vue';
|
|
34
|
-
export { default as UiLoader } from './UiLoader.vue';
|
|
35
|
-
export { default as UiToggle } from './UiToggle.vue';
|
|
36
|
-
export { default as UiAvatarEditor } from './UiAvatarEditor.vue';
|
|
37
|
-
export { default as UiAvatarEditorSimple } from './UiAvatarEditor.vue';
|
|
38
|
-
export { default as UiLevelProgress } from './UiLevelProgress.vue';
|
|
39
|
-
export { default as UiModal } from './UiModal.vue';
|
|
40
|
-
export { default as UiColorPicker } from './UiColorPicker.vue';
|
|
41
|
-
export { default as UiTooltip } from './UiTooltip.vue';
|
|
42
|
-
export { default as UiDivider } from './UiDivider.vue';
|
|
43
|
-
export { default as UiTable } from './UiTable.vue';
|
|
44
|
-
export { default as UiHero } from './UiHero.vue';
|
|
45
|
-
export { default as UiThemeToggle } from './UiThemeToggle.vue';
|
|
46
|
-
export { default as UiSlider } from './UiSlider.vue';
|
|
47
|
-
export { default as UiRadioGroup } from './UiRadioGroup.vue';
|
|
48
|
-
export { default as UiCheckboxGroup } from './UiCheckboxGroup.vue';
|
|
49
|
-
export { default as UiPill } from './UiPill.vue';
|
|
50
|
-
export { default as UiMegaMenu } from './UiMegaMenu.vue';
|
|
51
|
-
export { default as UiMegaMenuItem } from './UiMegaMenu/UiMegaMenu.Item.vue';
|
|
52
|
-
export { default as UiMegaMenuPanel } from './UiMegaMenu/UiMegaMenu.Panel.vue';
|
|
53
|
-
export { default as UiMegaMenuGroup } from './UiMegaMenu/UiMegaMenu.Group.vue';
|
|
54
|
-
export type ButtonVariant = 'primary' | 'ghost' | 'outline';
|
|
55
|
-
export type ButtonSize = 'sm' | 'md' | 'lg';
|
|
56
|
-
export type InputType = 'text' | 'email' | 'password' | 'number' | 'tel' | 'url';
|
|
57
|
-
export type CardVariant = 'default' | 'modern' | 'minimal';
|
|
58
|
-
export type LinkVariant = 'primary' | 'ghost' | 'underline';
|
|
59
|
-
export type AlertVariant = 'success' | 'error' | 'warning' | 'info';
|
|
60
|
-
export type PillVariant = 'filled' | 'outline' | 'ghost' | 'dot' | 'dot-only';
|
|
61
|
-
export type PillSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
62
|
-
export type PillColor = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info' | 'neutral';
|