gantri-components 2.177.0 → 2.178.0
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/components/color-picker/components/color-picker-item/color-picker-item.styles.d.ts +2 -2
- package/dist/components/table/components/table-row/helpers/get-row-component-props/get-row-component-props.d.ts +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/styles/button-css-variables.d.ts +7 -0
- package/dist/styles/css-variables.d.ts +6 -0
- package/dist/styles/index.d.ts +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DefaultTheme } from 'styled-components';
|
|
2
|
+
import { ButtonVariant } from '../components/button/button.types';
|
|
3
|
+
export interface ButtonCSSVariables {
|
|
4
|
+
[key: string]: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const generateButtonCSSVariables: (theme: DefaultTheme) => ButtonCSSVariables;
|
|
7
|
+
export declare const getButtonCSSVariable: (variant: ButtonVariant, property: string, fallbackColor: string) => string;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DefaultTheme } from 'styled-components';
|
|
2
|
+
export interface CSSVariables {
|
|
3
|
+
[key: string]: string;
|
|
4
|
+
}
|
|
5
|
+
export declare const generateCSSVariables: (theme: DefaultTheme) => CSSVariables;
|
|
6
|
+
export declare const cssVariablesToString: (variables: CSSVariables) => string;
|
package/dist/styles/index.d.ts
CHANGED
|
@@ -4,3 +4,7 @@ export { ThemeProvider } from './theme-provider';
|
|
|
4
4
|
export * from './animations';
|
|
5
5
|
export { media } from './media';
|
|
6
6
|
export * from './hooks';
|
|
7
|
+
export { generateCSSVariables, cssVariablesToString } from './css-variables';
|
|
8
|
+
export type { CSSVariables } from './css-variables';
|
|
9
|
+
export { generateButtonCSSVariables, getButtonCSSVariable } from './button-css-variables';
|
|
10
|
+
export type { ButtonCSSVariables } from './button-css-variables';
|