@pantograph/vue 0.34.12 → 0.34.14

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.
@@ -2,10 +2,12 @@ import { ClassValue } from 'clsx';
2
2
  import { InputSize, InputStatus } from './BaseInput.model';
3
3
  import { IconSize } from '../../Icon';
4
4
  import { Ref } from 'vue';
5
+ import { Direction } from '../../ConfigProvider';
5
6
  /**
6
7
  * Props for the BaseInput component
7
8
  */
8
9
  export interface BaseInputProps {
10
+ dir?: Direction;
9
11
  /**
10
12
  * Whether the input is read-only
11
13
  */
@@ -1,10 +1,12 @@
1
1
  import { CheckboxRootEmits, CheckboxRootProps } from 'reka-ui';
2
2
  import { CheckboxSize } from './Checkbox.model';
3
3
  import { ClassValue } from 'clsx';
4
+ import { Direction } from '../ConfigProvider';
4
5
  /**
5
6
  * Props for the Checkbox component
6
7
  */
7
8
  export interface CheckboxProps extends Omit<CheckboxRootProps, 'as' | 'asChild' | 'value'> {
9
+ dir?: Direction;
8
10
  /** deprecated */
9
11
  checked?: CheckboxRootProps['modelValue'];
10
12
  /**
@@ -1,6 +1,7 @@
1
1
  import { PrimitiveProps } from 'reka-ui';
2
2
  import { CheckboxSize } from '../Checkbox/Checkbox.model';
3
3
  import { Ref } from 'vue';
4
+ import { Direction } from '../ConfigProvider';
4
5
  export type CheckboxGroupEmits = {
5
6
  'update:modelValue': [value: any];
6
7
  change: [value: any];
@@ -30,6 +31,7 @@ type Value = (number | string)[];
30
31
  * Props for the CheckboxGroup component
31
32
  */
32
33
  export type CheckboxGroupProps = PrimitiveProps & {
34
+ dir?: Direction;
33
35
  /**
34
36
  * Model value for the checkbox group
35
37
  */
@@ -107,9 +107,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<In
107
107
  focus: (option?: FocusOptions | undefined) => void;
108
108
  blur: () => void | undefined;
109
109
  select: () => void | undefined;
110
- setSelectionRange: (start: number, end: number, direction?: "none" | "forward" | "backward" | undefined) => void | undefined; /**
111
- * InputGroup context
112
- */
110
+ setSelectionRange: (start: number, end: number, direction?: "none" | "forward" | "backward" | undefined) => void | undefined;
113
111
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
114
112
  blur: (event: InputEvent) => any;
115
113
  change: (value?: string | null | undefined) => any;
@@ -22,6 +22,7 @@ export declare const usePopoverContext: ({ slots, prefix, props, emit, emitsAsPr
22
22
  size?: string | null | undefined;
23
23
  noPadding?: string | null | undefined;
24
24
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
25
+ asChild: import('vue').ShallowRef<boolean, boolean>;
25
26
  rootOpenProp: import('vue').ComputedRef<{
26
27
  open: boolean | undefined;
27
28
  'onUpdate:open': (value: boolean) => void;