@dynamicforms/vuetify-inputs 0.2.1 → 0.2.2

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/index.d.ts CHANGED
@@ -131,7 +131,7 @@ export declare interface BaseProps<T = any> {
131
131
  clearable?: boolean;
132
132
  }
133
133
 
134
- export declare type BreakpointNames = 'xl' | 'lg' | 'md' | 'sm' | 'xs';
134
+ export declare type BreakpointNames = typeof responsiveBreakpoints[number];
135
135
 
136
136
  export declare type BreakpointsJSON<T extends Record<string, any>> = T & Partial<Record<BreakpointNames, T>>;
137
137
 
@@ -379,12 +379,14 @@ declare interface Props_9 extends BaseProps {
379
379
  maxRows?: number;
380
380
  }
381
381
 
382
+ export declare const responsiveBreakpoints: readonly ["xs", "sm", "md", "lg", "xl"];
383
+
382
384
  export declare class ResponsiveLabelRenderOptions extends ResponsiveRenderOptions<LabelRenderOptions> {
383
385
  protected cleanBreakpoint(bp?: LabelRenderOptions, defaultIfEmpty?: boolean): LabelRenderOptions | null;
384
386
  }
385
387
 
386
388
  export declare abstract class ResponsiveRenderOptions<T extends Record<string, any>> {
387
- private readonly _value;
389
+ protected readonly _value: BreakpointsJSON<T>;
388
390
  constructor(data?: BreakpointsJSON<T>);
389
391
  getOptionsForBreakpoint(breakpoint: BreakpointNames): T;
390
392
  protected abstract cleanBreakpoint(bp?: T, defaultIfEmpty?: boolean): T | null;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dynamicforms/vuetify-inputs",
3
3
  "private": false,
4
- "version": "0.2.1",
4
+ "version": "0.2.2",
5
5
  "type": "module",
6
6
  "description": "Visual components for data entry using @dynamicforms/vue-forms",
7
7
  "author": "Jure Erznožnik",