@cube-dev/ui-kit 0.6.7 → 0.6.9

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,7 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { AllBaseProps, BaseStyleProps, Props } from './components/types';
3
3
  import { Styles, StylesInterface } from './styles/types';
4
- import { BASE_STYLES } from './styles/list';
5
4
  import { ResponsiveStyleValue } from './utils/styles';
6
5
  export interface StyledProps<T extends string, K extends PossibleStyleNames> {
7
6
  /** The name of the element. It can be used to override styles in context. */
@@ -19,7 +18,7 @@ export interface StyledProps<T extends string, K extends PossibleStyleNames> {
19
18
  /** The list of available modifiers. Providing it will show a warning each time you set an incorrect modifier on the element */
20
19
  availableMods?: T[];
21
20
  }
22
- export declare type PossibleStyleNames = readonly (keyof Omit<StylesInterface, typeof BASE_STYLES[number]>)[];
21
+ export declare type PossibleStyleNames = readonly (keyof StylesInterface)[];
23
22
  export declare type AllPossibleStyleNames = readonly (keyof StylesInterface)[];
24
23
  export declare type AllBasePropsWithMods<T extends string, K extends PossibleStyleNames> = Omit<AllBaseProps, 'mods'> & {
25
24
  mods?: Record<T, boolean | null | undefined>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cube-dev/ui-kit",
3
- "version": "0.6.7",
3
+ "version": "0.6.9",
4
4
  "description": "UIKit for Cube Projects",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/mjs/index.js",