@qasa/qds-ui 0.14.1 → 0.15.1
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.mts +12 -9
- package/dist/index.d.ts +12 -9
- package/dist/index.js +90 -90
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -854,8 +854,7 @@ interface QdsProviderProps {
|
|
|
854
854
|
}
|
|
855
855
|
declare function QdsProvider({ children, themeOverrides, cacheOptions, locale }: QdsProviderProps): react_jsx_runtime.JSX.Element;
|
|
856
856
|
|
|
857
|
-
type
|
|
858
|
-
type BreakpointsConfig$1<T> = PartialRecord<keyof Breakpoints$1, T> & {
|
|
857
|
+
type BreakpointsConfig$1<T> = PartialRecord<keyof Theme['breakpoints'], T> & {
|
|
859
858
|
base: T;
|
|
860
859
|
};
|
|
861
860
|
type ResponsiveProp<T> = T | BreakpointsConfig$1<T>;
|
|
@@ -3790,13 +3789,14 @@ declare const getSizeStyles$2: (theme: {
|
|
|
3790
3789
|
blue30: string;
|
|
3791
3790
|
blue20: string;
|
|
3792
3791
|
blue10: string;
|
|
3793
|
-
yellow90: string;
|
|
3794
|
-
* Size of the label
|
|
3795
|
-
*/
|
|
3792
|
+
yellow90: string;
|
|
3796
3793
|
yellow80: string;
|
|
3797
3794
|
yellow70: string;
|
|
3798
3795
|
yellow60: string;
|
|
3799
3796
|
yellow50: string;
|
|
3797
|
+
/**
|
|
3798
|
+
* Size of the label
|
|
3799
|
+
*/
|
|
3800
3800
|
yellow40: string;
|
|
3801
3801
|
yellow30: string;
|
|
3802
3802
|
yellow20: string;
|
|
@@ -4682,6 +4682,10 @@ declare const getSizeStyles: (theme: {
|
|
|
4682
4682
|
brandPrimary: string;
|
|
4683
4683
|
brandPrimaryHover: string;
|
|
4684
4684
|
brandPrimaryActive: string;
|
|
4685
|
+
/**
|
|
4686
|
+
* Sets the color of the text
|
|
4687
|
+
* @default 'normal'
|
|
4688
|
+
*/
|
|
4685
4689
|
brandSecondary: string;
|
|
4686
4690
|
brandSecondaryHover: string;
|
|
4687
4691
|
brandSecondaryActive: string;
|
|
@@ -4826,9 +4830,7 @@ declare const getSizeStyles: (theme: {
|
|
|
4826
4830
|
sm: {
|
|
4827
4831
|
fontFamily: string;
|
|
4828
4832
|
fontWeight: string;
|
|
4829
|
-
fontSize: string;
|
|
4830
|
-
* Truncates the text after a specific number of lines
|
|
4831
|
-
*/
|
|
4833
|
+
fontSize: string;
|
|
4832
4834
|
lineHeight: string;
|
|
4833
4835
|
letterSpacing: string;
|
|
4834
4836
|
fontFeatureSettings: string;
|
|
@@ -5197,9 +5199,10 @@ declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAtt
|
|
|
5197
5199
|
Option: react.ForwardRefExoticComponent<SelectOptionProps & react.RefAttributes<HTMLOptionElement>>;
|
|
5198
5200
|
};
|
|
5199
5201
|
|
|
5202
|
+
type Spacing = keyof Theme['spacing'];
|
|
5200
5203
|
interface SpacerOptions {
|
|
5201
5204
|
axis?: 'x' | 'y';
|
|
5202
|
-
size: ResponsiveProp<
|
|
5205
|
+
size: ResponsiveProp<Spacing>;
|
|
5203
5206
|
}
|
|
5204
5207
|
interface SpacerProps extends HTMLQdsProps<'span'>, SpacerOptions {
|
|
5205
5208
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -854,8 +854,7 @@ interface QdsProviderProps {
|
|
|
854
854
|
}
|
|
855
855
|
declare function QdsProvider({ children, themeOverrides, cacheOptions, locale }: QdsProviderProps): react_jsx_runtime.JSX.Element;
|
|
856
856
|
|
|
857
|
-
type
|
|
858
|
-
type BreakpointsConfig$1<T> = PartialRecord<keyof Breakpoints$1, T> & {
|
|
857
|
+
type BreakpointsConfig$1<T> = PartialRecord<keyof Theme['breakpoints'], T> & {
|
|
859
858
|
base: T;
|
|
860
859
|
};
|
|
861
860
|
type ResponsiveProp<T> = T | BreakpointsConfig$1<T>;
|
|
@@ -3790,13 +3789,14 @@ declare const getSizeStyles$2: (theme: {
|
|
|
3790
3789
|
blue30: string;
|
|
3791
3790
|
blue20: string;
|
|
3792
3791
|
blue10: string;
|
|
3793
|
-
yellow90: string;
|
|
3794
|
-
* Size of the label
|
|
3795
|
-
*/
|
|
3792
|
+
yellow90: string;
|
|
3796
3793
|
yellow80: string;
|
|
3797
3794
|
yellow70: string;
|
|
3798
3795
|
yellow60: string;
|
|
3799
3796
|
yellow50: string;
|
|
3797
|
+
/**
|
|
3798
|
+
* Size of the label
|
|
3799
|
+
*/
|
|
3800
3800
|
yellow40: string;
|
|
3801
3801
|
yellow30: string;
|
|
3802
3802
|
yellow20: string;
|
|
@@ -4682,6 +4682,10 @@ declare const getSizeStyles: (theme: {
|
|
|
4682
4682
|
brandPrimary: string;
|
|
4683
4683
|
brandPrimaryHover: string;
|
|
4684
4684
|
brandPrimaryActive: string;
|
|
4685
|
+
/**
|
|
4686
|
+
* Sets the color of the text
|
|
4687
|
+
* @default 'normal'
|
|
4688
|
+
*/
|
|
4685
4689
|
brandSecondary: string;
|
|
4686
4690
|
brandSecondaryHover: string;
|
|
4687
4691
|
brandSecondaryActive: string;
|
|
@@ -4826,9 +4830,7 @@ declare const getSizeStyles: (theme: {
|
|
|
4826
4830
|
sm: {
|
|
4827
4831
|
fontFamily: string;
|
|
4828
4832
|
fontWeight: string;
|
|
4829
|
-
fontSize: string;
|
|
4830
|
-
* Truncates the text after a specific number of lines
|
|
4831
|
-
*/
|
|
4833
|
+
fontSize: string;
|
|
4832
4834
|
lineHeight: string;
|
|
4833
4835
|
letterSpacing: string;
|
|
4834
4836
|
fontFeatureSettings: string;
|
|
@@ -5197,9 +5199,10 @@ declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAtt
|
|
|
5197
5199
|
Option: react.ForwardRefExoticComponent<SelectOptionProps & react.RefAttributes<HTMLOptionElement>>;
|
|
5198
5200
|
};
|
|
5199
5201
|
|
|
5202
|
+
type Spacing = keyof Theme['spacing'];
|
|
5200
5203
|
interface SpacerOptions {
|
|
5201
5204
|
axis?: 'x' | 'y';
|
|
5202
|
-
size: ResponsiveProp<
|
|
5205
|
+
size: ResponsiveProp<Spacing>;
|
|
5203
5206
|
}
|
|
5204
5207
|
interface SpacerProps extends HTMLQdsProps<'span'>, SpacerOptions {
|
|
5205
5208
|
}
|