@speckle/ui-components 2.23.10 → 2.23.11

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,3 +1 @@
1
- {
2
- "vitest.disableWorkspaceWarning": true
3
- }
1
+ {}
@@ -1,5 +1,5 @@
1
1
  import { PropAnyComponent, AlertAction, AlertColor } from '../../helpers/common/components';
2
- type Size = 'default' | 'xs';
2
+ type Size = 'default' | 'xs' | '2xs';
3
3
  type __VLS_Props = {
4
4
  color?: AlertColor;
5
5
  withDismiss?: boolean;
@@ -10,6 +10,7 @@ import { Optional } from '../../../../shared/dist/esm/index';
10
10
  * checked state
11
11
  */
12
12
  type ValueType = Optional<string | true> | string[];
13
+ type Size = 'sm' | 'base';
13
14
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
14
15
  /**
15
16
  * Input name/id. In a radio group, all radios must have the same name and different values.
@@ -100,6 +101,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
100
101
  type: BooleanConstructor;
101
102
  default: boolean;
102
103
  };
104
+ size: {
105
+ type: PropType<Optional<Size>>;
106
+ default: string;
107
+ };
103
108
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
104
109
  "update:modelValue": (val: ValueType) => any;
105
110
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -192,9 +197,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
192
197
  type: BooleanConstructor;
193
198
  default: boolean;
194
199
  };
200
+ size: {
201
+ type: PropType<Optional<Size>>;
202
+ default: string;
203
+ };
195
204
  }>> & Readonly<{
196
205
  "onUpdate:modelValue"?: ((val: ValueType) => any) | undefined;
197
206
  }>, {
207
+ size: Optional<Size>;
198
208
  disabled: boolean;
199
209
  description: Optional<string>;
200
210
  label: Optional<string>;
@@ -8,15 +8,17 @@ declare const _default: <Value extends string>(__VLS_props: NonNullable<Awaited<
8
8
  options: {
9
9
  value: Value;
10
10
  title: string;
11
+ subtitle?: string;
11
12
  introduction?: string;
12
- icon: ConcreteComponent;
13
+ icon?: ConcreteComponent;
13
14
  help?: string;
14
15
  }[];
15
16
  disabled?: boolean;
17
+ isStacked?: boolean;
16
18
  }) & Partial<{}>> & import('vue').PublicProps;
17
19
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
18
20
  attrs: any;
19
- slots: {};
21
+ slots: Partial<Record<Value, (_: {}) => any>>;
20
22
  emit: (evt: "update:modelValue", value: Value) => void;
21
23
  }>) => import('vue').VNode & {
22
24
  __ctx?: Awaited<typeof __VLS_setup>;
@@ -3,7 +3,7 @@ type __VLS_Props = {
3
3
  title?: string;
4
4
  collapsible?: boolean;
5
5
  collapsed?: boolean;
6
- icon?: 'add' | 'edit';
6
+ icon?: 'add' | 'edit' | 'view';
7
7
  iconText?: string;
8
8
  iconClick?: () => void;
9
9
  noHover?: boolean;
@@ -7,6 +7,7 @@ type __VLS_Props = {
7
7
  active?: boolean;
8
8
  tooltipText?: string;
9
9
  extraPadding?: boolean;
10
+ colorClasses?: string;
10
11
  };
11
12
  declare function __VLS_template(): {
12
13
  attrs: Partial<{}>;
@@ -6,6 +6,7 @@ type __VLS_Props = {
6
6
  maxCount?: number;
7
7
  hideTooltips?: boolean;
8
8
  maxAvatars?: number;
9
+ onHiddenCountClick?: () => void;
9
10
  };
10
11
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
11
12
  size: UserAvatarSize;
@@ -14,6 +15,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
14
15
  maxCount: number;
15
16
  hideTooltips: boolean;
16
17
  maxAvatars: number;
18
+ onHiddenCountClick: () => void;
17
19
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
18
20
  elementToWatchForChanges: HTMLDivElement;
19
21
  itemContainer: HTMLDivElement;