@cube-dev/ui-kit 0.3.0 → 0.4.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.
@@ -137,6 +137,24 @@ export declare const IS_DISABLED_ARG: {
137
137
  };
138
138
  };
139
139
  };
140
+ export declare const SIZE_ARG: {
141
+ size: {
142
+ defaultValue: undefined;
143
+ description: string;
144
+ control: {
145
+ type: string;
146
+ options: (string | undefined)[];
147
+ };
148
+ table: {
149
+ type: {
150
+ summary: string;
151
+ };
152
+ defaultValue: {
153
+ summary: string;
154
+ };
155
+ };
156
+ };
157
+ };
140
158
  export declare const MULTILINE_ARG: {
141
159
  multiLine: {
142
160
  defaultValue: boolean;
@@ -1,9 +1,9 @@
1
- export declare const BASE_STYLES: readonly ["display", "size", "font", "preset"];
1
+ export declare const BASE_STYLES: readonly ["display", "font", "preset"];
2
2
  export declare const POSITION_STYLES: readonly ["gridArea", "flexGrow", "flexShrink", "order", "gridColumn", "gridRow", "placeSelf", "zIndex", "margin"];
3
3
  export declare const BLOCK_STYLES: readonly ["reset", "padding", "shadow", "border", "radius", "opacity", "overflow", "styledScrollbar", "hide", "outline", "textAlign"];
4
4
  export declare const COLOR_STYLES: readonly ["color", "fill"];
5
5
  export declare const TEXT_STYLES: readonly ["textTransform", "fontWeight", "fontStyle"];
6
6
  export declare const DIMENSION_STYLES: readonly ["width", "height", "flexBasis"];
7
7
  export declare const FLOW_STYLES: readonly ["flow", "placeItems", "placeContent", "alignItems", "alignContent", "justifyItems", "justifyContent", "gap", "gridColumns", "gridRows", "gridTemplate", "gridAreas"];
8
- export declare const CONTAINER_STYLES: readonly ["display", "size", "font", "preset", "color", "fill", "width", "height", "flexBasis", "gridArea", "flexGrow", "flexShrink", "order", "gridColumn", "gridRow", "placeSelf", "zIndex", "margin", "reset", "padding", "shadow", "border", "radius", "opacity", "overflow", "styledScrollbar", "hide", "outline", "textAlign", "flow", "placeItems", "placeContent", "alignItems", "alignContent", "justifyItems", "justifyContent", "gap", "gridColumns", "gridRows", "gridTemplate", "gridAreas"];
8
+ export declare const CONTAINER_STYLES: readonly ["display", "font", "preset", "color", "fill", "width", "height", "flexBasis", "gridArea", "flexGrow", "flexShrink", "order", "gridColumn", "gridRow", "placeSelf", "zIndex", "margin", "reset", "padding", "shadow", "border", "radius", "opacity", "overflow", "styledScrollbar", "hide", "outline", "textAlign", "flow", "placeItems", "placeContent", "alignItems", "alignContent", "justifyItems", "justifyContent", "gap", "gridColumns", "gridRows", "gridTemplate", "gridAreas"];
9
9
  export declare const OUTER_STYLES: readonly ["gridArea", "flexGrow", "flexShrink", "order", "gridColumn", "gridRow", "placeSelf", "zIndex", "margin", "width", "height", "flexBasis"];
@@ -23,12 +23,6 @@ export interface StylesInterface extends Omit<CSSProperties, 'color' | 'fill' |
23
23
  * ```
24
24
  */
25
25
  color?: `#${NamedColor}${OpaquePercentage}` | `rgb(${string})` | `rgba(${string})` | boolean | string;
26
- /**
27
- * The font-size, line-height, and letter-spacing of the element with ability to apply presets.
28
- * Syntax: `<fontSize> <lineHeight>? <letterSpacing>?`.
29
- * Syntax: `<presetName>`
30
- */
31
- size?: 'md' | 'sm' | 'lg' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'text' | string;
32
26
  /**
33
27
  * Whether styles of the element should be reset.
34
28
  * Possible values: `input`, `button`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cube-dev/ui-kit",
3
- "version": "0.3.0",
3
+ "version": "0.4.1",
4
4
  "description": "UIKit for Cube Projects",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/mjs/index.js",