beeple-toolkit 1.0.40 → 1.0.41

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,8 +1,8 @@
1
- import type { StatusDotProps } from '../types';
1
+ import type { StatusDotProps, StatusDotNamedColor } from '../types';
2
2
  import './statusDot.css';
3
3
  declare const __VLS_export: import("vue").DefineComponent<StatusDotProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StatusDotProps> & Readonly<{}>, {
4
4
  size: "small" | "medium";
5
- color: "success" | "warning" | "danger" | "primary";
5
+ color: StatusDotNamedColor | (string & {});
6
6
  variant: "label-left" | "label-right" | "dot-only";
7
7
  isShadow: boolean;
8
8
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -29,6 +29,7 @@ declare const __VLS_base: import("vue").DefineComponent<TeamCardProps, {}, {}, {
29
29
  }>, {
30
30
  color: TeamCardColor;
31
31
  showUsers: boolean;
32
+ showUserColor: boolean;
32
33
  selected: boolean;
33
34
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
35
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -3,6 +3,7 @@ type __VLS_Props = {
3
3
  teamSummary?: TeamCardSummaryItem[];
4
4
  users?: TeamCardUser[];
5
5
  showUsers?: boolean;
6
+ showUserColor?: boolean;
6
7
  moreLabel?: string;
7
8
  minNeeded?: number;
8
9
  maxNeeded?: number;
@@ -209,8 +209,9 @@ export interface ContextCardProps {
209
209
  maxWidth?: number;
210
210
  isOpen?: boolean;
211
211
  }
212
+ export type StatusDotNamedColor = 'success' | 'warning' | 'danger' | 'primary';
212
213
  export interface StatusDotProps {
213
- color?: 'success' | 'warning' | 'danger' | 'primary';
214
+ color?: StatusDotNamedColor | (string & {});
214
215
  label?: string;
215
216
  variant?: 'label-left' | 'label-right' | 'dot-only';
216
217
  size?: 'small' | 'medium';
@@ -330,8 +331,7 @@ export type TeamCardUserStatus = 'confirmed' | 'pending' | 'draft' | 'ai-schedul
330
331
  export interface TeamCardUser {
331
332
  fullName: string;
332
333
  photo?: string;
333
- statusColor?: string;
334
- statusLabel?: string;
334
+ color?: string;
335
335
  userStatus?: TeamCardUserStatus;
336
336
  }
337
337
  export interface TeamCardLabel {
@@ -386,6 +386,7 @@ export interface TeamCardProps {
386
386
  teamSummary?: TeamCardSummaryItem[];
387
387
  users?: TeamCardUser[];
388
388
  showUsers?: boolean;
389
+ showUserColor?: boolean;
389
390
  selected?: boolean;
390
391
  moreLabel?: string;
391
392
  minNeeded?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beeple-toolkit",
3
- "version": "1.0.40",
3
+ "version": "1.0.41",
4
4
  "description": "Vue 3 component library beeple-toolkit",
5
5
  "keywords": [
6
6
  "vue",