@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.
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/spacer/spacer.d.ts +2 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/spacer/spacer.d.ts +2 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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
|
}
|