@stokelp/styled-system 1.4.6 → 1.6.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stokelp/styled-system",
3
- "version": "1.4.6",
3
+ "version": "1.6.0",
4
4
  "description": "Stokelp UI styled-system",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -28,6 +28,14 @@
28
28
  "background]___[value:error.100]___[cond:_hover",
29
29
  "color]___[value:error.700]___[cond:_hover",
30
30
  "color]___[value:error.700]___[cond:_active",
31
+ "truncate]___[value:true",
32
+ "width]___[value:20",
33
+ "height]___[value:20",
34
+ "fill]___[value:none",
35
+ "width]___[value:24",
36
+ "height]___[value:24",
37
+ "paddingInline]___[value:space-8",
38
+ "textAlign]___[value:center",
31
39
  "display]___[value:flex",
32
40
  "alignItems]___[value:flex-start",
33
41
  "gap]___[value:0",
@@ -53,28 +61,36 @@
53
61
  "formLabel": [
54
62
  "variant]___[value:absolute]___[recipe:formLabel"
55
63
  ],
64
+ "text": [
65
+ "size]___[value:md]___[recipe:text",
66
+ "size]___[value:lg]___[recipe:text",
67
+ "size]___[value:sm]___[recipe:text"
68
+ ],
56
69
  "switchRecipe": [
57
70
  "size]___[value:md]___[recipe:switchRecipe"
58
71
  ],
59
72
  "heading": [
60
73
  "size]___[value:h2]___[recipe:heading"
61
74
  ],
62
- "text": [
63
- "size]___[value:lg]___[recipe:text",
64
- "size]___[value:md]___[recipe:text",
65
- "size]___[value:sm]___[recipe:text"
66
- ],
67
75
  "accordion": [
68
76
  "size]___[value:md]___[recipe:accordion"
69
77
  ],
70
78
  "drawer": [
71
79
  "variant]___[value:right]___[recipe:drawer"
72
80
  ],
81
+ "inputGroup": [],
82
+ "inputAddon": [],
83
+ "input": [
84
+ "size]___[value:md]___[recipe:input"
85
+ ],
73
86
  "tabs": [
74
87
  "variant]___[value:line]___[recipe:tabs"
75
88
  ],
76
- "textarea": [],
77
- "formHelperText": []
89
+ "formHelperText": [],
90
+ "select": [
91
+ "size]___[value:md]___[recipe:select"
92
+ ],
93
+ "textarea": []
78
94
  }
79
95
  }
80
96
  }
@@ -2,8 +2,8 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const aspectRatioConfig = {
5
- transform(props6, { map }) {
6
- const { ratio = 4 / 3, ...rest } = props6;
5
+ transform(props7, { map }) {
6
+ const { ratio = 4 / 3, ...rest } = props7;
7
7
  return {
8
8
  position: "relative",
9
9
  _before: {
@@ -2,8 +2,8 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const bleedConfig = {
5
- transform(props6, { map, isCssUnit, isCssVar }) {
6
- const { inline, block, ...rest } = props6;
5
+ transform(props7, { map, isCssUnit, isCssVar }) {
6
+ const { inline, block, ...rest } = props7;
7
7
  const valueFn = (v) => isCssUnit(v) || isCssVar(v) ? v : `token(spacing.${v}, ${v})`;
8
8
  return {
9
9
  "--bleed-x": map(inline, valueFn),
package/patterns/box.mjs CHANGED
@@ -2,8 +2,8 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const boxConfig = {
5
- transform(props6) {
6
- return props6;
5
+ transform(props7) {
6
+ return props7;
7
7
  }}
8
8
 
9
9
  export const getBoxStyle = (styles = {}) => {
@@ -2,8 +2,8 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const centerConfig = {
5
- transform(props6) {
6
- const { inline, ...rest } = props6;
5
+ transform(props7) {
6
+ const { inline, ...rest } = props7;
7
7
  return {
8
8
  display: inline ? "inline-flex" : "flex",
9
9
  alignItems: "center",
@@ -2,8 +2,8 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const circleConfig = {
5
- transform(props6) {
6
- const { size, ...rest } = props6;
5
+ transform(props7) {
6
+ const { size, ...rest } = props7;
7
7
  return {
8
8
  display: "flex",
9
9
  alignItems: "center",
@@ -2,13 +2,13 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const containerConfig = {
5
- transform(props6) {
5
+ transform(props7) {
6
6
  return {
7
7
  position: "relative",
8
8
  maxWidth: "8xl",
9
9
  mx: "auto",
10
10
  px: { base: "4", md: "6", lg: "8" },
11
- ...props6
11
+ ...props7
12
12
  };
13
13
  }}
14
14
 
package/patterns/cq.mjs CHANGED
@@ -2,8 +2,8 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const cqConfig = {
5
- transform(props6) {
6
- const { name, type, ...rest } = props6;
5
+ transform(props7) {
6
+ const { name, type, ...rest } = props7;
7
7
  return {
8
8
  containerType: type,
9
9
  containerName: name,
@@ -2,8 +2,8 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const dividerConfig = {
5
- transform(props6, { map }) {
6
- const { orientation, thickness, color, ...rest } = props6;
5
+ transform(props7, { map }) {
6
+ const { orientation, thickness, color, ...rest } = props7;
7
7
  return {
8
8
  "--thickness": thickness,
9
9
  width: map(orientation, (v) => v === "vertical" ? void 0 : "100%"),
package/patterns/flex.mjs CHANGED
@@ -2,14 +2,14 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const flexConfig = {
5
- transform(props6) {
6
- const { direction, align, justify, wrap: wrap2, basis, grow, shrink, ...rest } = props6;
5
+ transform(props7) {
6
+ const { direction, align, justify, wrap: wrap22, basis, grow, shrink, ...rest } = props7;
7
7
  return {
8
8
  display: "flex",
9
9
  flexDirection: direction,
10
10
  alignItems: align,
11
11
  justifyContent: justify,
12
- flexWrap: wrap2,
12
+ flexWrap: wrap22,
13
13
  flexBasis: basis,
14
14
  flexGrow: grow,
15
15
  flexShrink: shrink,
@@ -2,8 +2,8 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const floatConfig = {
5
- transform(props6, { map }) {
6
- const { offset, offsetX, offsetY, placement, ...rest } = props6;
5
+ transform(props7, { map }) {
6
+ const { offset, offsetX, offsetY, placement, ...rest } = props7;
7
7
  return {
8
8
  display: "inline-flex",
9
9
  justifyContent: "center",
@@ -38,8 +38,8 @@ transform(props6, { map }) {
38
38
  ...rest
39
39
  };
40
40
  },
41
- defaultValues(props6) {
42
- const offset = props6.offset || "0";
41
+ defaultValues(props7) {
42
+ const offset = props7.offset || "0";
43
43
  return { offset, offsetX: offset, offsetY: offset, placement: "top-end" };
44
44
  }}
45
45
 
@@ -2,8 +2,8 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const gridItemConfig = {
5
- transform(props6, { map }) {
6
- const { colSpan, rowSpan, colStart, rowStart, colEnd, rowEnd, ...rest } = props6;
5
+ transform(props7, { map }) {
6
+ const { colSpan, rowSpan, colStart, rowStart, colEnd, rowEnd, ...rest } = props7;
7
7
  const spanFn = (v) => v === "auto" ? v : `span ${v}`;
8
8
  return {
9
9
  gridColumn: colSpan != null ? map(colSpan, spanFn) : void 0,
package/patterns/grid.mjs CHANGED
@@ -2,8 +2,8 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const gridConfig = {
5
- transform(props6, { map, isCssUnit }) {
6
- const { columnGap, rowGap, gap, columns, minChildWidth, ...rest } = props6;
5
+ transform(props7, { map, isCssUnit }) {
6
+ const { columnGap, rowGap, gap, columns, minChildWidth, ...rest } = props7;
7
7
  const getValue = (v) => isCssUnit(v) ? v : `token(sizes.${v}, ${v})`;
8
8
  return {
9
9
  display: "grid",
@@ -14,8 +14,8 @@ transform(props6, { map, isCssUnit }) {
14
14
  ...rest
15
15
  };
16
16
  },
17
- defaultValues(props6) {
18
- return { gap: props6.columnGap || props6.rowGap ? void 0 : "10px" };
17
+ defaultValues(props7) {
18
+ return { gap: props7.columnGap || props7.rowGap ? void 0 : "10px" };
19
19
  }}
20
20
 
21
21
  export const getGridStyle = (styles = {}) => {
@@ -2,8 +2,8 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const hstackConfig = {
5
- transform(props6) {
6
- const { justify, gap, ...rest } = props6;
5
+ transform(props7) {
6
+ const { justify, gap, ...rest } = props7;
7
7
  return {
8
8
  display: "flex",
9
9
  alignItems: "center",
@@ -2,14 +2,14 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const linkBoxConfig = {
5
- transform(props6) {
5
+ transform(props7) {
6
6
  return {
7
7
  position: "relative",
8
8
  "& :where(a, abbr)": {
9
9
  position: "relative",
10
10
  zIndex: "1"
11
11
  },
12
- ...props6
12
+ ...props7
13
13
  };
14
14
  }}
15
15
 
@@ -2,7 +2,7 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const linkOverlayConfig = {
5
- transform(props6) {
5
+ transform(props7) {
6
6
  return {
7
7
  position: "static",
8
8
  _before: {
@@ -12,9 +12,9 @@ transform(props6) {
12
12
  cursor: "inherit",
13
13
  inset: "0",
14
14
  zIndex: "0",
15
- ...props6["_before"]
15
+ ...props7["_before"]
16
16
  },
17
- ...props6
17
+ ...props7
18
18
  };
19
19
  }}
20
20
 
@@ -2,8 +2,8 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const spacerConfig = {
5
- transform(props6, { map }) {
6
- const { size, ...rest } = props6;
5
+ transform(props7, { map }) {
6
+ const { size, ...rest } = props7;
7
7
  return {
8
8
  alignSelf: "stretch",
9
9
  justifySelf: "stretch",
@@ -2,8 +2,8 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const squareConfig = {
5
- transform(props6) {
6
- const { size, ...rest } = props6;
5
+ transform(props7) {
6
+ const { size, ...rest } = props7;
7
7
  return {
8
8
  display: "flex",
9
9
  alignItems: "center",
@@ -2,8 +2,8 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const stackConfig = {
5
- transform(props6) {
6
- const { align, justify, direction, gap, ...rest } = props6;
5
+ transform(props7) {
6
+ const { align, justify, direction, gap, ...rest } = props7;
7
7
  return {
8
8
  display: "flex",
9
9
  flexDirection: direction,
@@ -2,10 +2,10 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const visuallyHiddenConfig = {
5
- transform(props6) {
5
+ transform(props7) {
6
6
  return {
7
7
  srOnly: true,
8
- ...props6
8
+ ...props7
9
9
  };
10
10
  }}
11
11
 
@@ -2,8 +2,8 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const vstackConfig = {
5
- transform(props6) {
6
- const { justify, gap, ...rest } = props6;
5
+ transform(props7) {
6
+ const { justify, gap, ...rest } = props7;
7
7
  return {
8
8
  display: "flex",
9
9
  alignItems: "center",
package/patterns/wrap.mjs CHANGED
@@ -2,8 +2,8 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const wrapConfig = {
5
- transform(props6) {
6
- const { columnGap, rowGap, gap = columnGap || rowGap ? void 0 : "10px", align, justify, ...rest } = props6;
5
+ transform(props7) {
6
+ const { columnGap, rowGap, gap = columnGap || rowGap ? void 0 : "10px", align, justify, ...rest } = props7;
7
7
  return {
8
8
  display: "flex",
9
9
  flexWrap: "wrap",
@@ -6,8 +6,12 @@ export * from './text';
6
6
  export * from './textarea';
7
7
  export * from './form-control';
8
8
  export * from './form-helper-text';
9
+ export * from './input';
10
+ export * from './input-addon';
11
+ export * from './input-group';
9
12
  export * from './drawer';
10
13
  export * from './accordion';
11
14
  export * from './form-label';
12
15
  export * from './checkbox';
13
- export * from './tabs';
16
+ export * from './tabs';
17
+ export * from './select';
package/recipes/index.mjs CHANGED
@@ -5,8 +5,12 @@ export * from './text.mjs';
5
5
  export * from './textarea.mjs';
6
6
  export * from './form-control.mjs';
7
7
  export * from './form-helper-text.mjs';
8
+ export * from './input.mjs';
9
+ export * from './input-addon.mjs';
10
+ export * from './input-group.mjs';
8
11
  export * from './drawer.mjs';
9
12
  export * from './accordion.mjs';
10
13
  export * from './form-label.mjs';
11
14
  export * from './checkbox.mjs';
12
- export * from './tabs.mjs';
15
+ export * from './tabs.mjs';
16
+ export * from './select.mjs';
@@ -0,0 +1,28 @@
1
+ /* eslint-disable */
2
+ import type { ConditionalValue } from '../types/index';
3
+ import type { DistributiveOmit, Pretty } from '../types/system-types';
4
+
5
+ interface InputAddonVariant {
6
+
7
+ }
8
+
9
+ type InputAddonVariantMap = {
10
+ [key in keyof InputAddonVariant]: Array<InputAddonVariant[key]>
11
+ }
12
+
13
+ export type InputAddonVariantProps = {
14
+ [key in keyof InputAddonVariant]?: ConditionalValue<InputAddonVariant[key]> | undefined
15
+ }
16
+
17
+ export interface InputAddonRecipe {
18
+ __type: InputAddonVariantProps
19
+ (props?: InputAddonVariantProps): string
20
+ raw: (props?: InputAddonVariantProps) => InputAddonVariantProps
21
+ variantMap: InputAddonVariantMap
22
+ variantKeys: Array<keyof InputAddonVariant>
23
+ splitVariantProps<Props extends InputAddonVariantProps>(props: Props): [InputAddonVariantProps, Pretty<DistributiveOmit<Props, keyof InputAddonVariantProps>>]
24
+ getVariantProps: (props?: InputAddonVariantProps) => InputAddonVariantProps
25
+ }
26
+
27
+ /** The styles for the InputAddon component */
28
+ export declare const inputAddon: InputAddonRecipe
@@ -0,0 +1,24 @@
1
+ import { memo, splitProps } from '../helpers.mjs';
2
+ import { createRecipe, mergeRecipes } from './create-recipe.mjs';
3
+
4
+ const inputAddonFn = /* @__PURE__ */ createRecipe('input-addon', {}, [])
5
+
6
+ const inputAddonVariantMap = {}
7
+
8
+ const inputAddonVariantKeys = Object.keys(inputAddonVariantMap)
9
+
10
+ export const inputAddon = /* @__PURE__ */ Object.assign(memo(inputAddonFn.recipeFn), {
11
+ __recipe__: true,
12
+ __name__: 'inputAddon',
13
+ __getCompoundVariantCss__: inputAddonFn.__getCompoundVariantCss__,
14
+ raw: (props) => props,
15
+ variantKeys: inputAddonVariantKeys,
16
+ variantMap: inputAddonVariantMap,
17
+ merge(recipe) {
18
+ return mergeRecipes(this, recipe)
19
+ },
20
+ splitVariantProps(props) {
21
+ return splitProps(props, inputAddonVariantKeys)
22
+ },
23
+ getVariantProps: inputAddonFn.getVariantProps,
24
+ })
@@ -0,0 +1,28 @@
1
+ /* eslint-disable */
2
+ import type { ConditionalValue } from '../types/index';
3
+ import type { DistributiveOmit, Pretty } from '../types/system-types';
4
+
5
+ interface InputGroupVariant {
6
+
7
+ }
8
+
9
+ type InputGroupVariantMap = {
10
+ [key in keyof InputGroupVariant]: Array<InputGroupVariant[key]>
11
+ }
12
+
13
+ export type InputGroupVariantProps = {
14
+ [key in keyof InputGroupVariant]?: ConditionalValue<InputGroupVariant[key]> | undefined
15
+ }
16
+
17
+ export interface InputGroupRecipe {
18
+ __type: InputGroupVariantProps
19
+ (props?: InputGroupVariantProps): string
20
+ raw: (props?: InputGroupVariantProps) => InputGroupVariantProps
21
+ variantMap: InputGroupVariantMap
22
+ variantKeys: Array<keyof InputGroupVariant>
23
+ splitVariantProps<Props extends InputGroupVariantProps>(props: Props): [InputGroupVariantProps, Pretty<DistributiveOmit<Props, keyof InputGroupVariantProps>>]
24
+ getVariantProps: (props?: InputGroupVariantProps) => InputGroupVariantProps
25
+ }
26
+
27
+ /** The styles for the InputGroup component */
28
+ export declare const inputGroup: InputGroupRecipe
@@ -0,0 +1,24 @@
1
+ import { memo, splitProps } from '../helpers.mjs';
2
+ import { createRecipe, mergeRecipes } from './create-recipe.mjs';
3
+
4
+ const inputGroupFn = /* @__PURE__ */ createRecipe('input-group', {}, [])
5
+
6
+ const inputGroupVariantMap = {}
7
+
8
+ const inputGroupVariantKeys = Object.keys(inputGroupVariantMap)
9
+
10
+ export const inputGroup = /* @__PURE__ */ Object.assign(memo(inputGroupFn.recipeFn), {
11
+ __recipe__: true,
12
+ __name__: 'inputGroup',
13
+ __getCompoundVariantCss__: inputGroupFn.__getCompoundVariantCss__,
14
+ raw: (props) => props,
15
+ variantKeys: inputGroupVariantKeys,
16
+ variantMap: inputGroupVariantMap,
17
+ merge(recipe) {
18
+ return mergeRecipes(this, recipe)
19
+ },
20
+ splitVariantProps(props) {
21
+ return splitProps(props, inputGroupVariantKeys)
22
+ },
23
+ getVariantProps: inputGroupFn.getVariantProps,
24
+ })
@@ -0,0 +1,28 @@
1
+ /* eslint-disable */
2
+ import type { ConditionalValue } from '../types/index';
3
+ import type { DistributiveOmit, Pretty } from '../types/system-types';
4
+
5
+ interface InputVariant {
6
+ size: "md"
7
+ }
8
+
9
+ type InputVariantMap = {
10
+ [key in keyof InputVariant]: Array<InputVariant[key]>
11
+ }
12
+
13
+ export type InputVariantProps = {
14
+ [key in keyof InputVariant]?: ConditionalValue<InputVariant[key]> | undefined
15
+ }
16
+
17
+ export interface InputRecipe {
18
+ __type: InputVariantProps
19
+ (props?: InputVariantProps): string
20
+ raw: (props?: InputVariantProps) => InputVariantProps
21
+ variantMap: InputVariantMap
22
+ variantKeys: Array<keyof InputVariant>
23
+ splitVariantProps<Props extends InputVariantProps>(props: Props): [InputVariantProps, Pretty<DistributiveOmit<Props, keyof InputVariantProps>>]
24
+ getVariantProps: (props?: InputVariantProps) => InputVariantProps
25
+ }
26
+
27
+ /** The styles for the Input component */
28
+ export declare const input: InputRecipe
@@ -0,0 +1,30 @@
1
+ import { memo, splitProps } from '../helpers.mjs';
2
+ import { createRecipe, mergeRecipes } from './create-recipe.mjs';
3
+
4
+ const inputFn = /* @__PURE__ */ createRecipe('input', {
5
+ "size": "md"
6
+ }, [])
7
+
8
+ const inputVariantMap = {
9
+ "size": [
10
+ "md"
11
+ ]
12
+ }
13
+
14
+ const inputVariantKeys = Object.keys(inputVariantMap)
15
+
16
+ export const input = /* @__PURE__ */ Object.assign(memo(inputFn.recipeFn), {
17
+ __recipe__: true,
18
+ __name__: 'input',
19
+ __getCompoundVariantCss__: inputFn.__getCompoundVariantCss__,
20
+ raw: (props) => props,
21
+ variantKeys: inputVariantKeys,
22
+ variantMap: inputVariantMap,
23
+ merge(recipe) {
24
+ return mergeRecipes(this, recipe)
25
+ },
26
+ splitVariantProps(props) {
27
+ return splitProps(props, inputVariantKeys)
28
+ },
29
+ getVariantProps: inputFn.getVariantProps,
30
+ })
@@ -0,0 +1,28 @@
1
+ /* eslint-disable */
2
+ import type { ConditionalValue } from '../types/index';
3
+ import type { DistributiveOmit, Pretty } from '../types/system-types';
4
+
5
+ interface SelectVariant {
6
+ size: "md"
7
+ }
8
+
9
+ type SelectVariantMap = {
10
+ [key in keyof SelectVariant]: Array<SelectVariant[key]>
11
+ }
12
+
13
+ export type SelectVariantProps = {
14
+ [key in keyof SelectVariant]?: ConditionalValue<SelectVariant[key]> | undefined
15
+ }
16
+
17
+ export interface SelectRecipe {
18
+ __type: SelectVariantProps
19
+ (props?: SelectVariantProps): Pretty<Record<"label" | "positioner" | "trigger" | "indicator" | "clearTrigger" | "item" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "content" | "root" | "control" | "valueText", string>>
20
+ raw: (props?: SelectVariantProps) => SelectVariantProps
21
+ variantMap: SelectVariantMap
22
+ variantKeys: Array<keyof SelectVariant>
23
+ splitVariantProps<Props extends SelectVariantProps>(props: Props): [SelectVariantProps, Pretty<DistributiveOmit<Props, keyof SelectVariantProps>>]
24
+ getVariantProps: (props?: SelectVariantProps) => SelectVariantProps
25
+ }
26
+
27
+
28
+ export declare const select: SelectRecipe
@@ -0,0 +1,92 @@
1
+ import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
2
+ import { createRecipe } from './create-recipe.mjs';
3
+
4
+ const selectDefaultVariants = {
5
+ "size": "md"
6
+ }
7
+ const selectCompoundVariants = []
8
+
9
+ const selectSlotNames = [
10
+ [
11
+ "label",
12
+ "select__label"
13
+ ],
14
+ [
15
+ "positioner",
16
+ "select__positioner"
17
+ ],
18
+ [
19
+ "trigger",
20
+ "select__trigger"
21
+ ],
22
+ [
23
+ "indicator",
24
+ "select__indicator"
25
+ ],
26
+ [
27
+ "clearTrigger",
28
+ "select__clearTrigger"
29
+ ],
30
+ [
31
+ "item",
32
+ "select__item"
33
+ ],
34
+ [
35
+ "itemText",
36
+ "select__itemText"
37
+ ],
38
+ [
39
+ "itemIndicator",
40
+ "select__itemIndicator"
41
+ ],
42
+ [
43
+ "itemGroup",
44
+ "select__itemGroup"
45
+ ],
46
+ [
47
+ "itemGroupLabel",
48
+ "select__itemGroupLabel"
49
+ ],
50
+ [
51
+ "content",
52
+ "select__content"
53
+ ],
54
+ [
55
+ "root",
56
+ "select__root"
57
+ ],
58
+ [
59
+ "control",
60
+ "select__control"
61
+ ],
62
+ [
63
+ "valueText",
64
+ "select__valueText"
65
+ ]
66
+ ]
67
+ const selectSlotFns = /* @__PURE__ */ selectSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, selectDefaultVariants, getSlotCompoundVariant(selectCompoundVariants, slotName))])
68
+
69
+ const selectFn = memo((props = {}) => {
70
+ return Object.fromEntries(selectSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
71
+ })
72
+
73
+ const selectVariantKeys = [
74
+ "size"
75
+ ]
76
+ const getVariantProps = (variants) => ({ ...selectDefaultVariants, ...compact(variants) })
77
+
78
+ export const select = /* @__PURE__ */ Object.assign(selectFn, {
79
+ __recipe__: false,
80
+ __name__: 'select',
81
+ raw: (props) => props,
82
+ variantKeys: selectVariantKeys,
83
+ variantMap: {
84
+ "size": [
85
+ "md"
86
+ ]
87
+ },
88
+ splitVariantProps(props) {
89
+ return splitProps(props, selectVariantKeys)
90
+ },
91
+ getVariantProps
92
+ })
package/tokens/index.mjs CHANGED
@@ -835,6 +835,10 @@ const tokens = {
835
835
  "value": "12px",
836
836
  "variable": "var(--spacing-space-12)"
837
837
  },
838
+ "spacing.space-10": {
839
+ "value": "10px",
840
+ "variable": "var(--spacing-space-10)"
841
+ },
838
842
  "spacing.space-14": {
839
843
  "value": "14px",
840
844
  "variable": "var(--spacing-space-14)"
@@ -843,6 +847,10 @@ const tokens = {
843
847
  "value": "16px",
844
848
  "variable": "var(--spacing-space-16)"
845
849
  },
850
+ "spacing.space-18": {
851
+ "value": "18px",
852
+ "variable": "var(--spacing-space-18)"
853
+ },
846
854
  "spacing.space-2": {
847
855
  "value": "2px",
848
856
  "variable": "var(--spacing-space-2)"
@@ -1259,6 +1267,10 @@ const tokens = {
1259
1267
  "value": "calc(var(--spacing-space-12) * -1)",
1260
1268
  "variable": "var(--spacing-space-12)"
1261
1269
  },
1270
+ "spacing.-space-10": {
1271
+ "value": "calc(var(--spacing-space-10) * -1)",
1272
+ "variable": "var(--spacing-space-10)"
1273
+ },
1262
1274
  "spacing.-space-14": {
1263
1275
  "value": "calc(var(--spacing-space-14) * -1)",
1264
1276
  "variable": "var(--spacing-space-14)"
@@ -1267,6 +1279,10 @@ const tokens = {
1267
1279
  "value": "calc(var(--spacing-space-16) * -1)",
1268
1280
  "variable": "var(--spacing-space-16)"
1269
1281
  },
1282
+ "spacing.-space-18": {
1283
+ "value": "calc(var(--spacing-space-18) * -1)",
1284
+ "variable": "var(--spacing-space-18)"
1285
+ },
1270
1286
  "spacing.-space-2": {
1271
1287
  "value": "calc(var(--spacing-space-2) * -1)",
1272
1288
  "variable": "var(--spacing-space-2)"
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable */
2
- export type Token = "animations.backdrop-in" | "animations.backdrop-out" | "animations.bounce" | "animations.dialog-in" | "animations.dialog-out" | "animations.drawer-in-left" | "animations.drawer-in-right" | "animations.drawer-out-left" | "animations.drawer-out-right" | "animations.fade-in" | "animations.ping" | "animations.pulse" | "animations.skeleton-pulse" | "animations.spin" | "animations.collapse-in" | "animations.collapse-out" | "aspectRatios.golden" | "aspectRatios.landscape" | "aspectRatios.portrait" | "aspectRatios.square" | "aspectRatios.ultrawide" | "aspectRatios.wide" | "blurs.2xl" | "blurs.3xl" | "blurs.base" | "blurs.lg" | "blurs.md" | "blurs.sm" | "blurs.xl" | "borders.border.none" | "colors.black" | "colors.current" | "colors.transparent" | "colors.white" | "colors.purple.100" | "colors.purple.200" | "colors.purple.300" | "colors.purple.400" | "colors.purple.500" | "colors.purple.600" | "colors.purple.700" | "colors.purple.800" | "colors.purple.900" | "colors.blue.100" | "colors.blue.200" | "colors.blue.300" | "colors.blue.400" | "colors.blue.500" | "colors.blue.600" | "colors.blue.700" | "colors.blue.800" | "colors.blue.900" | "colors.grey.50" | "colors.grey.100" | "colors.grey.200" | "colors.grey.300" | "colors.grey.400" | "colors.grey.500" | "colors.grey.600" | "colors.grey.700" | "colors.grey.800" | "colors.grey.900" | "colors.red.100" | "colors.red.200" | "colors.red.300" | "colors.red.400" | "colors.red.500" | "colors.red.600" | "colors.red.700" | "colors.red.800" | "colors.red.900" | "colors.green.100" | "colors.green.200" | "colors.green.300" | "colors.green.400" | "colors.green.500" | "colors.green.600" | "colors.green.700" | "colors.green.800" | "colors.green.900" | "colors.yellow.100" | "colors.yellow.200" | "colors.yellow.300" | "colors.yellow.400" | "colors.yellow.500" | "colors.yellow.600" | "colors.yellow.700" | "colors.yellow.800" | "colors.yellow.900" | "durations.fast" | "durations.faster" | "durations.fastest" | "durations.normal" | "durations.slow" | "durations.slower" | "durations.slowest" | "easings.default" | "easings.ease-bounce-1" | "easings.ease-bounce-2" | "easings.ease-bounce-3" | "easings.ease-bounce-4" | "easings.ease-bounce-5" | "easings.ease-spring-1" | "easings.ease-spring-2" | "easings.ease-spring-3" | "easings.ease-spring-4" | "easings.ease-spring-5" | "easings.emphasized-in" | "easings.emphasized-out" | "easings.in" | "easings.in-out" | "easings.linear" | "easings.out" | "easings.pulse" | "fontSizes.body.lg" | "fontSizes.body.md" | "fontSizes.body.sm" | "fontSizes.heading.desktop.2xl" | "fontSizes.heading.desktop.lg" | "fontSizes.heading.desktop.md" | "fontSizes.heading.desktop.sm" | "fontSizes.heading.desktop.xs" | "fontSizes.heading.mobile.2xl" | "fontSizes.heading.mobile.lg" | "fontSizes.heading.mobile.md" | "fontSizes.heading.mobile.sm" | "fontSizes.heading.mobile.xs" | "fontWeights.black" | "fontWeights.bold" | "fontWeights.extrabold" | "fontWeights.extralight" | "fontWeights.light" | "fontWeights.medium" | "fontWeights.normal" | "fontWeights.semibold" | "fontWeights.thin" | "fonts.satoshi" | "fonts.cabinet" | "fonts.mono" | "fonts.sans" | "fonts.serif" | "letterSpacings.normal" | "letterSpacings.tight" | "letterSpacings.tighter" | "letterSpacings.wide" | "letterSpacings.wider" | "letterSpacings.widest" | "radii.radius-0" | "radii.radius-2" | "radii.radius-4" | "radii.radius-6" | "radii.radius-8" | "radii.radius-10" | "radii.radius-12" | "radii.radius-16" | "radii.radius-20" | "radii.radius-24" | "radii.radius-28" | "radii.radius-32" | "radii.radius-36" | "radii.radius-40" | "radii.radius-44" | "radii.radius-48" | "radii.radius-52" | "radii.radius-56" | "radii.radius-60" | "radii.radius-64" | "radii.full" | "shadows.2xl" | "shadows.inner" | "shadows.lg" | "shadows.md" | "shadows.sm" | "shadows.xl" | "shadows.xs" | "sizes.size-0" | "sizes.size-12" | "sizes.size-14" | "sizes.size-16" | "sizes.size-2" | "sizes.size-20" | "sizes.size-24" | "sizes.size-28" | "sizes.size-32" | "sizes.size-36" | "sizes.size-4" | "sizes.size-40" | "sizes.size-6" | "sizes.size-44" | "sizes.size-8" | "sizes.full" | "sizes.max" | "sizes.size-48" | "sizes.fit" | "sizes.size-52" | "sizes.min" | "sizes.size-56" | "sizes.size-60" | "sizes.size-64" | "sizes.size-68" | "sizes.size-72" | "sizes.size-76" | "sizes.size-80" | "sizes.breakpoint-xl" | "sizes.breakpoint-lg" | "sizes.breakpoint-md" | "sizes.breakpoint-sm" | "spacing.space-0" | "spacing.space-12" | "spacing.space-14" | "spacing.space-16" | "spacing.space-2" | "spacing.space-20" | "spacing.space-24" | "spacing.space-28" | "spacing.space-32" | "spacing.space-36" | "spacing.space-4" | "spacing.space-40" | "spacing.space-6" | "spacing.space-44" | "spacing.space-8" | "spacing.space-48" | "spacing.space-52" | "spacing.space-56" | "spacing.space-60" | "spacing.space-64" | "spacing.space-68" | "spacing.space-72" | "spacing.space-76" | "spacing.space-80" | "zIndex.banner" | "zIndex.base" | "zIndex.docked" | "zIndex.dropdown" | "zIndex.hide" | "zIndex.modal" | "zIndex.overlay" | "zIndex.popover" | "zIndex.skipLink" | "zIndex.sticky" | "zIndex.toast" | "zIndex.tooltip" | "breakpoints.xl" | "breakpoints.lg" | "breakpoints.md" | "breakpoints.sm" | "colors.decorative.red.light" | "colors.decorative.red.mid" | "colors.decorative.red.dark" | "colors.decorative.blue.light" | "colors.decorative.blue.mid" | "colors.decorative.blue.dark" | "colors.decorative.yellow.light" | "colors.decorative.yellow.mid" | "colors.decorative.yellow.dark" | "colors.decorative.purple.light" | "colors.decorative.purple.mid" | "colors.decorative.purple.dark" | "colors.decorative.green.light" | "colors.decorative.green.mid" | "colors.decorative.green.dark" | "colors.decorative.brown.light" | "colors.decorative.brown.mid" | "colors.decorative.brown.dark" | "colors.primary.100" | "colors.primary.200" | "colors.primary.300" | "colors.primary.400" | "colors.primary.500" | "colors.primary.600" | "colors.primary.700" | "colors.primary.800" | "colors.primary.900" | "colors.secondary.100" | "colors.secondary.200" | "colors.secondary.300" | "colors.secondary.400" | "colors.secondary.500" | "colors.secondary.600" | "colors.secondary.700" | "colors.secondary.800" | "colors.secondary.900" | "colors.error.100" | "colors.error.200" | "colors.error.300" | "colors.error.400" | "colors.error.500" | "colors.error.600" | "colors.error.700" | "colors.error.800" | "colors.error.900" | "colors.success.100" | "colors.success.200" | "colors.success.300" | "colors.success.400" | "colors.success.500" | "colors.success.600" | "colors.success.700" | "colors.success.800" | "colors.success.900" | "colors.warning.100" | "colors.warning.200" | "colors.warning.300" | "colors.warning.400" | "colors.warning.500" | "colors.warning.600" | "colors.warning.700" | "colors.warning.800" | "colors.warning.900" | "colors.text" | "colors.text.disabled" | "colors.text.heading" | "spacing.-space-0" | "spacing.-space-12" | "spacing.-space-14" | "spacing.-space-16" | "spacing.-space-2" | "spacing.-space-20" | "spacing.-space-24" | "spacing.-space-28" | "spacing.-space-32" | "spacing.-space-36" | "spacing.-space-4" | "spacing.-space-40" | "spacing.-space-6" | "spacing.-space-44" | "spacing.-space-8" | "spacing.-space-48" | "spacing.-space-52" | "spacing.-space-56" | "spacing.-space-60" | "spacing.-space-64" | "spacing.-space-68" | "spacing.-space-72" | "spacing.-space-76" | "spacing.-space-80" | "colors.colorPalette" | "colors.colorPalette.100" | "colors.colorPalette.200" | "colors.colorPalette.300" | "colors.colorPalette.400" | "colors.colorPalette.500" | "colors.colorPalette.600" | "colors.colorPalette.700" | "colors.colorPalette.800" | "colors.colorPalette.900" | "colors.colorPalette.50" | "colors.colorPalette.red.light" | "colors.colorPalette.light" | "colors.colorPalette.red.mid" | "colors.colorPalette.mid" | "colors.colorPalette.red.dark" | "colors.colorPalette.dark" | "colors.colorPalette.blue.light" | "colors.colorPalette.blue.mid" | "colors.colorPalette.blue.dark" | "colors.colorPalette.yellow.light" | "colors.colorPalette.yellow.mid" | "colors.colorPalette.yellow.dark" | "colors.colorPalette.purple.light" | "colors.colorPalette.purple.mid" | "colors.colorPalette.purple.dark" | "colors.colorPalette.green.light" | "colors.colorPalette.green.mid" | "colors.colorPalette.green.dark" | "colors.colorPalette.brown.light" | "colors.colorPalette.brown.mid" | "colors.colorPalette.brown.dark" | "colors.colorPalette.disabled" | "colors.colorPalette.heading"
2
+ export type Token = "animations.backdrop-in" | "animations.backdrop-out" | "animations.bounce" | "animations.dialog-in" | "animations.dialog-out" | "animations.drawer-in-left" | "animations.drawer-in-right" | "animations.drawer-out-left" | "animations.drawer-out-right" | "animations.fade-in" | "animations.ping" | "animations.pulse" | "animations.skeleton-pulse" | "animations.spin" | "animations.collapse-in" | "animations.collapse-out" | "aspectRatios.golden" | "aspectRatios.landscape" | "aspectRatios.portrait" | "aspectRatios.square" | "aspectRatios.ultrawide" | "aspectRatios.wide" | "blurs.2xl" | "blurs.3xl" | "blurs.base" | "blurs.lg" | "blurs.md" | "blurs.sm" | "blurs.xl" | "borders.border.none" | "colors.black" | "colors.current" | "colors.transparent" | "colors.white" | "colors.purple.100" | "colors.purple.200" | "colors.purple.300" | "colors.purple.400" | "colors.purple.500" | "colors.purple.600" | "colors.purple.700" | "colors.purple.800" | "colors.purple.900" | "colors.blue.100" | "colors.blue.200" | "colors.blue.300" | "colors.blue.400" | "colors.blue.500" | "colors.blue.600" | "colors.blue.700" | "colors.blue.800" | "colors.blue.900" | "colors.grey.50" | "colors.grey.100" | "colors.grey.200" | "colors.grey.300" | "colors.grey.400" | "colors.grey.500" | "colors.grey.600" | "colors.grey.700" | "colors.grey.800" | "colors.grey.900" | "colors.red.100" | "colors.red.200" | "colors.red.300" | "colors.red.400" | "colors.red.500" | "colors.red.600" | "colors.red.700" | "colors.red.800" | "colors.red.900" | "colors.green.100" | "colors.green.200" | "colors.green.300" | "colors.green.400" | "colors.green.500" | "colors.green.600" | "colors.green.700" | "colors.green.800" | "colors.green.900" | "colors.yellow.100" | "colors.yellow.200" | "colors.yellow.300" | "colors.yellow.400" | "colors.yellow.500" | "colors.yellow.600" | "colors.yellow.700" | "colors.yellow.800" | "colors.yellow.900" | "durations.fast" | "durations.faster" | "durations.fastest" | "durations.normal" | "durations.slow" | "durations.slower" | "durations.slowest" | "easings.default" | "easings.ease-bounce-1" | "easings.ease-bounce-2" | "easings.ease-bounce-3" | "easings.ease-bounce-4" | "easings.ease-bounce-5" | "easings.ease-spring-1" | "easings.ease-spring-2" | "easings.ease-spring-3" | "easings.ease-spring-4" | "easings.ease-spring-5" | "easings.emphasized-in" | "easings.emphasized-out" | "easings.in" | "easings.in-out" | "easings.linear" | "easings.out" | "easings.pulse" | "fontSizes.body.lg" | "fontSizes.body.md" | "fontSizes.body.sm" | "fontSizes.heading.desktop.2xl" | "fontSizes.heading.desktop.lg" | "fontSizes.heading.desktop.md" | "fontSizes.heading.desktop.sm" | "fontSizes.heading.desktop.xs" | "fontSizes.heading.mobile.2xl" | "fontSizes.heading.mobile.lg" | "fontSizes.heading.mobile.md" | "fontSizes.heading.mobile.sm" | "fontSizes.heading.mobile.xs" | "fontWeights.black" | "fontWeights.bold" | "fontWeights.extrabold" | "fontWeights.extralight" | "fontWeights.light" | "fontWeights.medium" | "fontWeights.normal" | "fontWeights.semibold" | "fontWeights.thin" | "fonts.satoshi" | "fonts.cabinet" | "fonts.mono" | "fonts.sans" | "fonts.serif" | "letterSpacings.normal" | "letterSpacings.tight" | "letterSpacings.tighter" | "letterSpacings.wide" | "letterSpacings.wider" | "letterSpacings.widest" | "radii.radius-0" | "radii.radius-2" | "radii.radius-4" | "radii.radius-6" | "radii.radius-8" | "radii.radius-10" | "radii.radius-12" | "radii.radius-16" | "radii.radius-20" | "radii.radius-24" | "radii.radius-28" | "radii.radius-32" | "radii.radius-36" | "radii.radius-40" | "radii.radius-44" | "radii.radius-48" | "radii.radius-52" | "radii.radius-56" | "radii.radius-60" | "radii.radius-64" | "radii.full" | "shadows.2xl" | "shadows.inner" | "shadows.lg" | "shadows.md" | "shadows.sm" | "shadows.xl" | "shadows.xs" | "sizes.size-0" | "sizes.size-12" | "sizes.size-14" | "sizes.size-16" | "sizes.size-2" | "sizes.size-20" | "sizes.size-24" | "sizes.size-28" | "sizes.size-32" | "sizes.size-36" | "sizes.size-4" | "sizes.size-40" | "sizes.size-6" | "sizes.size-44" | "sizes.size-8" | "sizes.full" | "sizes.max" | "sizes.size-48" | "sizes.fit" | "sizes.size-52" | "sizes.min" | "sizes.size-56" | "sizes.size-60" | "sizes.size-64" | "sizes.size-68" | "sizes.size-72" | "sizes.size-76" | "sizes.size-80" | "sizes.breakpoint-xl" | "sizes.breakpoint-lg" | "sizes.breakpoint-md" | "sizes.breakpoint-sm" | "spacing.space-0" | "spacing.space-12" | "spacing.space-10" | "spacing.space-14" | "spacing.space-16" | "spacing.space-18" | "spacing.space-2" | "spacing.space-20" | "spacing.space-24" | "spacing.space-28" | "spacing.space-32" | "spacing.space-36" | "spacing.space-4" | "spacing.space-40" | "spacing.space-6" | "spacing.space-44" | "spacing.space-8" | "spacing.space-48" | "spacing.space-52" | "spacing.space-56" | "spacing.space-60" | "spacing.space-64" | "spacing.space-68" | "spacing.space-72" | "spacing.space-76" | "spacing.space-80" | "zIndex.banner" | "zIndex.base" | "zIndex.docked" | "zIndex.dropdown" | "zIndex.hide" | "zIndex.modal" | "zIndex.overlay" | "zIndex.popover" | "zIndex.skipLink" | "zIndex.sticky" | "zIndex.toast" | "zIndex.tooltip" | "breakpoints.xl" | "breakpoints.lg" | "breakpoints.md" | "breakpoints.sm" | "colors.decorative.red.light" | "colors.decorative.red.mid" | "colors.decorative.red.dark" | "colors.decorative.blue.light" | "colors.decorative.blue.mid" | "colors.decorative.blue.dark" | "colors.decorative.yellow.light" | "colors.decorative.yellow.mid" | "colors.decorative.yellow.dark" | "colors.decorative.purple.light" | "colors.decorative.purple.mid" | "colors.decorative.purple.dark" | "colors.decorative.green.light" | "colors.decorative.green.mid" | "colors.decorative.green.dark" | "colors.decorative.brown.light" | "colors.decorative.brown.mid" | "colors.decorative.brown.dark" | "colors.primary.100" | "colors.primary.200" | "colors.primary.300" | "colors.primary.400" | "colors.primary.500" | "colors.primary.600" | "colors.primary.700" | "colors.primary.800" | "colors.primary.900" | "colors.secondary.100" | "colors.secondary.200" | "colors.secondary.300" | "colors.secondary.400" | "colors.secondary.500" | "colors.secondary.600" | "colors.secondary.700" | "colors.secondary.800" | "colors.secondary.900" | "colors.error.100" | "colors.error.200" | "colors.error.300" | "colors.error.400" | "colors.error.500" | "colors.error.600" | "colors.error.700" | "colors.error.800" | "colors.error.900" | "colors.success.100" | "colors.success.200" | "colors.success.300" | "colors.success.400" | "colors.success.500" | "colors.success.600" | "colors.success.700" | "colors.success.800" | "colors.success.900" | "colors.warning.100" | "colors.warning.200" | "colors.warning.300" | "colors.warning.400" | "colors.warning.500" | "colors.warning.600" | "colors.warning.700" | "colors.warning.800" | "colors.warning.900" | "colors.text" | "colors.text.disabled" | "colors.text.heading" | "spacing.-space-0" | "spacing.-space-12" | "spacing.-space-10" | "spacing.-space-14" | "spacing.-space-16" | "spacing.-space-18" | "spacing.-space-2" | "spacing.-space-20" | "spacing.-space-24" | "spacing.-space-28" | "spacing.-space-32" | "spacing.-space-36" | "spacing.-space-4" | "spacing.-space-40" | "spacing.-space-6" | "spacing.-space-44" | "spacing.-space-8" | "spacing.-space-48" | "spacing.-space-52" | "spacing.-space-56" | "spacing.-space-60" | "spacing.-space-64" | "spacing.-space-68" | "spacing.-space-72" | "spacing.-space-76" | "spacing.-space-80" | "colors.colorPalette" | "colors.colorPalette.100" | "colors.colorPalette.200" | "colors.colorPalette.300" | "colors.colorPalette.400" | "colors.colorPalette.500" | "colors.colorPalette.600" | "colors.colorPalette.700" | "colors.colorPalette.800" | "colors.colorPalette.900" | "colors.colorPalette.50" | "colors.colorPalette.red.light" | "colors.colorPalette.light" | "colors.colorPalette.red.mid" | "colors.colorPalette.mid" | "colors.colorPalette.red.dark" | "colors.colorPalette.dark" | "colors.colorPalette.blue.light" | "colors.colorPalette.blue.mid" | "colors.colorPalette.blue.dark" | "colors.colorPalette.yellow.light" | "colors.colorPalette.yellow.mid" | "colors.colorPalette.yellow.dark" | "colors.colorPalette.purple.light" | "colors.colorPalette.purple.mid" | "colors.colorPalette.purple.dark" | "colors.colorPalette.green.light" | "colors.colorPalette.green.mid" | "colors.colorPalette.green.dark" | "colors.colorPalette.brown.light" | "colors.colorPalette.brown.mid" | "colors.colorPalette.brown.dark" | "colors.colorPalette.disabled" | "colors.colorPalette.heading"
3
3
 
4
4
  export type ColorPalette = "black" | "current" | "transparent" | "white" | "purple" | "blue" | "grey" | "red" | "green" | "yellow" | "decorative" | "decorative.red" | "decorative.blue" | "decorative.yellow" | "decorative.purple" | "decorative.green" | "decorative.brown" | "primary" | "secondary" | "error" | "success" | "warning" | "text"
5
5
 
@@ -31,7 +31,7 @@ export type ShadowToken = "2xl" | "inner" | "lg" | "md" | "sm" | "xl" | "xs"
31
31
 
32
32
  export type SizeToken = "size-0" | "size-12" | "size-14" | "size-16" | "size-2" | "size-20" | "size-24" | "size-28" | "size-32" | "size-36" | "size-4" | "size-40" | "size-6" | "size-44" | "size-8" | "full" | "max" | "size-48" | "fit" | "size-52" | "min" | "size-56" | "size-60" | "size-64" | "size-68" | "size-72" | "size-76" | "size-80" | "breakpoint-xl" | "breakpoint-lg" | "breakpoint-md" | "breakpoint-sm"
33
33
 
34
- export type SpacingToken = "space-0" | "space-12" | "space-14" | "space-16" | "space-2" | "space-20" | "space-24" | "space-28" | "space-32" | "space-36" | "space-4" | "space-40" | "space-6" | "space-44" | "space-8" | "space-48" | "space-52" | "space-56" | "space-60" | "space-64" | "space-68" | "space-72" | "space-76" | "space-80" | "-space-0" | "-space-12" | "-space-14" | "-space-16" | "-space-2" | "-space-20" | "-space-24" | "-space-28" | "-space-32" | "-space-36" | "-space-4" | "-space-40" | "-space-6" | "-space-44" | "-space-8" | "-space-48" | "-space-52" | "-space-56" | "-space-60" | "-space-64" | "-space-68" | "-space-72" | "-space-76" | "-space-80"
34
+ export type SpacingToken = "space-0" | "space-12" | "space-10" | "space-14" | "space-16" | "space-18" | "space-2" | "space-20" | "space-24" | "space-28" | "space-32" | "space-36" | "space-4" | "space-40" | "space-6" | "space-44" | "space-8" | "space-48" | "space-52" | "space-56" | "space-60" | "space-64" | "space-68" | "space-72" | "space-76" | "space-80" | "-space-0" | "-space-12" | "-space-10" | "-space-14" | "-space-16" | "-space-18" | "-space-2" | "-space-20" | "-space-24" | "-space-28" | "-space-32" | "-space-36" | "-space-4" | "-space-40" | "-space-6" | "-space-44" | "-space-8" | "-space-48" | "-space-52" | "-space-56" | "-space-60" | "-space-64" | "-space-68" | "-space-72" | "-space-76" | "-space-80"
35
35
 
36
36
  export type ZIndexToken = "banner" | "base" | "docked" | "dropdown" | "hide" | "modal" | "overlay" | "popover" | "skipLink" | "sticky" | "toast" | "tooltip"
37
37