beeple-toolkit 1.0.33 → 1.0.35

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.
@@ -8,6 +8,7 @@ type __VLS_Slots = {} & {
8
8
  };
9
9
  declare const __VLS_base: import("vue").DefineComponent<ContextCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ContextCardProps> & Readonly<{}>, {
10
10
  color: "light" | "dark";
11
+ isOpen: boolean;
11
12
  position: "top-left" | "top-middle" | "top-right" | "bottom-left" | "bottom-middle" | "bottom-right" | "left-top" | "left-middle" | "left-bottom" | "right-top" | "right-middle" | "right-bottom";
12
13
  delay: number;
13
14
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -9,6 +9,7 @@ declare const __VLS_base: import("vue").DefineComponent<ProgressBarProps, {}, {}
9
9
  confirmed: number;
10
10
  size: ProgressBarSize;
11
11
  color: "light" | "dark";
12
+ isOpen: boolean;
12
13
  delay: number;
13
14
  needed: number;
14
15
  unconfirmed: number;
@@ -0,0 +1,19 @@
1
+ import type { ScrollbarProps } from '../types';
2
+ import './scrollbar.css';
3
+ declare var __VLS_1: {};
4
+ type __VLS_Slots = {} & {
5
+ default?: (props: typeof __VLS_1) => any;
6
+ };
7
+ declare const __VLS_base: import("vue").DefineComponent<ScrollbarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ScrollbarProps> & Readonly<{}>, {
8
+ direction: import("..").ScrollbarDirection;
9
+ showScrolledIndicator: boolean;
10
+ idleTimeout: number;
11
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
15
+ type __VLS_WithSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1 @@
1
+ export { default } from './Scrollbar.vue';
@@ -1,17 +1,19 @@
1
1
  import type { TeamCardProps, TeamCardColor } from '../types';
2
2
  import './teamCard.css';
3
- declare var __VLS_18: {};
3
+ declare var __VLS_19: {};
4
4
  type __VLS_Slots = {} & {
5
- 'progress-bar-tooltip'?: (props: typeof __VLS_18) => any;
5
+ 'progress-bar-tooltip'?: (props: typeof __VLS_19) => any;
6
6
  };
7
7
  declare const __VLS_base: import("vue").DefineComponent<TeamCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
8
  click: (event: MouseEvent) => any;
9
9
  "add-collaborator": () => any;
10
+ "update:needed": (value: number) => any;
10
11
  "menu-action": (action: "copy" | "move" | "delete" | "edit") => any;
11
12
  "update:status": (status: "published" | "unpublished") => any;
12
13
  }, string, import("vue").PublicProps, Readonly<TeamCardProps> & Readonly<{
13
14
  onClick?: ((event: MouseEvent) => any) | undefined;
14
15
  "onAdd-collaborator"?: (() => any) | undefined;
16
+ "onUpdate:needed"?: ((value: number) => any) | undefined;
15
17
  "onMenu-action"?: ((action: "copy" | "move" | "delete" | "edit") => any) | undefined;
16
18
  "onUpdate:status"?: ((status: "published" | "unpublished") => any) | undefined;
17
19
  }>, {
@@ -10,6 +10,10 @@ type __VLS_Props = {
10
10
  teamSummary?: TeamCardSummaryType;
11
11
  users?: TeamCardUser[];
12
12
  showUsers?: boolean;
13
+ moreLabel?: string;
14
+ minNeeded?: number;
15
+ maxNeeded?: number;
16
+ saving?: boolean;
13
17
  translations?: TeamCardTranslations;
14
18
  };
15
19
  declare var __VLS_8: {};
@@ -18,8 +22,10 @@ type __VLS_Slots = {} & {
18
22
  };
19
23
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
24
  "add-collaborator": () => any;
25
+ "update:needed": (value: number) => any;
21
26
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
22
27
  "onAdd-collaborator"?: (() => any) | undefined;
28
+ "onUpdate:needed"?: ((value: number) => any) | undefined;
23
29
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
30
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
25
31
  declare const _default: typeof __VLS_export;
@@ -0,0 +1,23 @@
1
+ import type { TeamCardTranslations } from '../types';
2
+ type __VLS_Props = {
3
+ isOpen: boolean;
4
+ modelValue: number;
5
+ triggerEl: HTMLElement | null;
6
+ min?: number;
7
+ max?: number;
8
+ loading?: boolean;
9
+ translations?: TeamCardTranslations;
10
+ };
11
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ close: () => any;
13
+ confirm: (value: number) => any;
14
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
15
+ onClose?: (() => any) | undefined;
16
+ onConfirm?: ((value: number) => any) | undefined;
17
+ }>, {
18
+ min: number;
19
+ max: number;
20
+ loading: boolean;
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
+ declare const _default: typeof __VLS_export;
23
+ export default _default;
@@ -11,6 +11,8 @@ export declare const EVA_ICONS: readonly ["activity-outline", "alert-circle-outl
11
11
  export type EvaIconName = (typeof EVA_ICONS)[number];
12
12
  export declare const CUSTOM_ICONS: Record<string, DefineComponent>;
13
13
  export type CustomIconName = keyof typeof CUSTOM_ICONS;
14
+ export declare const SCROLLBAR_DIRECTIONS: readonly ["vertical", "horizontal", "both"];
15
+ export type ScrollbarDirection = (typeof SCROLLBAR_DIRECTIONS)[number];
14
16
  export declare const KEYBOARD_INPUT_THEMES: readonly ["light", "dark"];
15
17
  export type KeyboardInputTheme = (typeof KEYBOARD_INPUT_THEMES)[number];
16
18
  export declare const KEYBOARD_INPUT_SIZES: readonly ["small", "medium"];
@@ -15,6 +15,7 @@ import Menu from './Menu/Menu.vue';
15
15
  import Modal from './Modal/Modal.vue';
16
16
  import ProgressBar from './ProgressBar/ProgressBar.vue';
17
17
  import RadioInput from './RadioInput/RadioInput.vue';
18
+ import Scrollbar from './Scrollbar/Scrollbar.vue';
18
19
  import Slider from './Slider/Slider.vue';
19
20
  import StatusDot from './StatusDot/StatusDot.vue';
20
21
  import Subtitle from './Typography/Subtitle.vue';
@@ -30,6 +31,6 @@ import Tooltip from './Tooltip/Tooltip.vue';
30
31
  import '../styles/variables.css';
31
32
  export { useToastStore } from '../stores/toast';
32
33
  export type { Toast as ToastItem, ToastType, ToastOptions } from '../stores/toast';
33
- export type { ButtonType, ButtonSize, EvaIconName, Size, ProgressBarSize } from './constants';
34
- export type { AvatarProps, BreadcrumbItem, BreadcrumbsProps, ButtonProps, DatePickerProps, DatePickerVariant, DropDownOption, DropDownProps, CheckboxInputProps, ContextCardProps, IconProps, InputProps, KeyboardInputProps, LabelProps, ModalProps, MenuProps, ProgressBarProps, RadioInputProps, SliderProps, StatusDotProps, SubtitleProps, SwitchProps, TextProps, TextareaProps, FilterButtonProps, TeamCardColor, TeamCardLabel, TeamCardProps, TeamCardSummary, TeamCardStatus, TeamCardUser, TimeInputProps, TitleProps, TooltipProps, } from './types';
35
- export { Avatar, Breadcrumbs, Button, CheckboxInput, ContextCard, DatePicker, DatePickerPanel, DropDown, FilterButton, Icon, Input, KeyboardInput, Label, Modal, Menu, ProgressBar, RadioInput, Slider, StatusDot, Subtitle, Switch, Text, Textarea, TimeInput, TeamCard, Title, Toast, ToastContainer, Tooltip, };
34
+ export type { ButtonType, ButtonSize, EvaIconName, Size, ProgressBarSize, ScrollbarDirection, } from './constants';
35
+ export type { AvatarProps, BreadcrumbItem, BreadcrumbsProps, ButtonProps, DatePickerProps, DatePickerVariant, DropDownOption, DropDownProps, CheckboxInputProps, ContextCardProps, IconProps, InputProps, KeyboardInputProps, LabelProps, ModalProps, MenuProps, ProgressBarProps, RadioInputProps, ScrollbarProps, SliderProps, StatusDotProps, SubtitleProps, SwitchProps, TextProps, TextareaProps, FilterButtonProps, TeamCardColor, TeamCardLabel, TeamCardProps, TeamCardSummary, TeamCardStatus, TeamCardUser, TimeInputProps, TitleProps, TooltipProps, } from './types';
36
+ export { Avatar, Breadcrumbs, Button, CheckboxInput, ContextCard, DatePicker, DatePickerPanel, DropDown, FilterButton, Icon, Input, KeyboardInput, Label, Modal, Menu, ProgressBar, RadioInput, Scrollbar, Slider, StatusDot, Subtitle, Switch, Text, Textarea, TimeInput, TeamCard, Title, Toast, ToastContainer, Tooltip, };
@@ -1,4 +1,4 @@
1
- import type { ButtonType, ButtonSize, EvaIconName, Size, ProgressBarSize } from './constants';
1
+ import type { ButtonType, ButtonSize, EvaIconName, Size, ProgressBarSize, ScrollbarDirection } from './constants';
2
2
  import type { DefineComponent } from 'vue';
3
3
  import type { DatePickerLocale } from './DatePicker/locales';
4
4
  export interface ButtonProps {
@@ -188,6 +188,11 @@ export interface LabelProps {
188
188
  leadingIcon?: string;
189
189
  trailingIcon?: string;
190
190
  }
191
+ export interface ScrollbarProps {
192
+ direction?: ScrollbarDirection;
193
+ showScrolledIndicator?: boolean;
194
+ idleTimeout?: number;
195
+ }
191
196
  export interface TooltipProps {
192
197
  title?: string;
193
198
  disabled?: boolean;
@@ -336,7 +341,12 @@ export interface TeamCardTranslations {
336
341
  published?: string;
337
342
  notPublished?: string;
338
343
  addCollaborator?: string;
339
- more?: string;
344
+ clickProgressBar?: string;
345
+ collaborators?: string;
346
+ decrease?: string;
347
+ increase?: string;
348
+ cancel?: string;
349
+ confirm?: string;
340
350
  enrolments?: string;
341
351
  confirmed?: string;
342
352
  unconfirmed?: string;
@@ -365,6 +375,10 @@ export interface TeamCardProps {
365
375
  users?: TeamCardUser[];
366
376
  showUsers?: boolean;
367
377
  selected?: boolean;
378
+ moreLabel?: string;
379
+ minNeeded?: number;
380
+ maxNeeded?: number;
381
+ saving?: boolean;
368
382
  translations?: TeamCardTranslations;
369
383
  }
370
384
  export type { DatePickerLocale } from './DatePicker/locales';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beeple-toolkit",
3
- "version": "1.0.33",
3
+ "version": "1.0.35",
4
4
  "description": "Vue 3 component library beeple-toolkit",
5
5
  "keywords": [
6
6
  "vue",