@qasa/qds-ui 0.10.0-next.14 → 0.10.0-next.15

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,9 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  import type { Theme } from '../../theme';
3
3
  import type { HTMLQdsProps } from '../../types';
4
+ import { type ResponsiveProp } from '../../hooks/use-responsive-prop';
4
5
  interface SpacerOptions {
5
6
  axis?: 'x' | 'y';
6
- size: keyof Theme['spacing'];
7
+ size: ResponsiveProp<keyof Theme['spacing']>;
7
8
  }
8
9
  export interface SpacerProps extends HTMLQdsProps<'span'>, SpacerOptions {
9
10
  }
package/dist/index.d.ts CHANGED
@@ -5129,7 +5129,7 @@ declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAtt
5129
5129
 
5130
5130
  interface SpacerOptions {
5131
5131
  axis?: 'x' | 'y';
5132
- size: keyof Theme['spacing'];
5132
+ size: ResponsiveProp<keyof Theme['spacing']>;
5133
5133
  }
5134
5134
  interface SpacerProps extends HTMLQdsProps<'span'>, SpacerOptions {
5135
5135
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qasa/qds-ui",
3
- "version": "0.10.0-next.14",
3
+ "version": "0.10.0-next.15",
4
4
  "license": "UNLICENSED",
5
5
  "repository": {
6
6
  "type": "git",