@thekestongroup/ui 0.19.0 → 0.20.0
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/components/SegmentedControl/SegmentedControl.vue.d.ts +1 -1
- package/dist/components/ThemeSwitcher/ThemeSwitcher.vue.d.ts +4 -3
- package/dist/keston-ui.js +358 -351
- package/package.json +1 -1
- package/src/components/Footer/Footer.vue +1 -1
- package/src/components/SegmentedControl/SegmentedControl.vue +25 -22
- package/src/components/ThemeSwitcher/ThemeSwitcher.stories.ts +9 -0
- package/src/components/ThemeSwitcher/ThemeSwitcher.vue +7 -4
|
@@ -24,7 +24,7 @@ export interface SegmentedControlProps {
|
|
|
24
24
|
options: SegmentedOption[];
|
|
25
25
|
/**
|
|
26
26
|
* Icons only: each option's label becomes its accessible name and shows
|
|
27
|
-
*
|
|
27
|
+
* in a Tooltip on hover or keyboard focus. Every option needs an icon.
|
|
28
28
|
*/
|
|
29
29
|
iconOnly?: boolean;
|
|
30
30
|
size?: 'sm' | 'md';
|
|
@@ -13,13 +13,14 @@ export interface ThemeSwitcherProps {
|
|
|
13
13
|
disabled?: boolean;
|
|
14
14
|
/**
|
|
15
15
|
* select: a dropdown (Settings, the account menu). segmented: Light / Dark
|
|
16
|
-
* / System side by side with icons, small:
|
|
16
|
+
* / System side by side with icons, small. icons: the same with only the
|
|
17
|
+
* sun, moon and monitor, each named in a tooltip: for the footer.
|
|
17
18
|
*/
|
|
18
|
-
appearance?: 'select' | 'segmented';
|
|
19
|
+
appearance?: 'select' | 'segmented' | 'icons';
|
|
19
20
|
class?: HTMLAttributes['class'];
|
|
20
21
|
}
|
|
21
22
|
declare const __VLS_export: import('vue').DefineComponent<ThemeSwitcherProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ThemeSwitcherProps> & Readonly<{}>, {
|
|
22
|
-
appearance: "select" | "segmented";
|
|
23
|
+
appearance: "select" | "segmented" | "icons";
|
|
23
24
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
24
25
|
declare const _default: typeof __VLS_export;
|
|
25
26
|
export default _default;
|