@mekari/pixel3-styled-system 0.0.1-alpha.0 → 0.0.2
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/CHANGELOG.md +14 -0
- package/helpers.mjs +5 -5
- package/jsx/aspect-ratio.d.ts +2 -2
- package/jsx/aspect-ratio.mjs +9 -7
- package/jsx/bleed.d.ts +2 -2
- package/jsx/bleed.mjs +10 -8
- package/jsx/box.d.ts +2 -2
- package/jsx/box.mjs +9 -7
- package/jsx/center.d.ts +2 -2
- package/jsx/center.mjs +9 -7
- package/jsx/circle.d.ts +2 -2
- package/jsx/circle.mjs +9 -7
- package/jsx/container.d.ts +2 -2
- package/jsx/container.mjs +9 -7
- package/jsx/divider.d.ts +2 -2
- package/jsx/divider.mjs +10 -8
- package/jsx/factory.d.ts +2 -2
- package/jsx/factory.mjs +11 -11
- package/jsx/flex.d.ts +2 -2
- package/jsx/flex.mjs +10 -8
- package/jsx/float.d.ts +2 -2
- package/jsx/float.mjs +10 -8
- package/jsx/grid-item.d.ts +2 -2
- package/jsx/grid-item.mjs +10 -8
- package/jsx/grid.d.ts +2 -2
- package/jsx/grid.mjs +10 -8
- package/jsx/hstack.d.ts +2 -2
- package/jsx/hstack.mjs +10 -8
- package/jsx/index.d.ts +1 -4
- package/jsx/link-box.d.ts +2 -2
- package/jsx/link-box.mjs +9 -7
- package/jsx/link-overlay.d.ts +2 -2
- package/jsx/link-overlay.mjs +9 -7
- package/jsx/spacer.d.ts +2 -2
- package/jsx/spacer.mjs +9 -7
- package/jsx/square.d.ts +2 -2
- package/jsx/square.mjs +9 -7
- package/jsx/stack.d.ts +2 -2
- package/jsx/stack.mjs +10 -8
- package/jsx/visually-hidden.d.ts +2 -2
- package/jsx/visually-hidden.mjs +9 -7
- package/jsx/vstack.d.ts +2 -2
- package/jsx/vstack.mjs +10 -8
- package/jsx/wrap.d.ts +2 -2
- package/jsx/wrap.mjs +10 -8
- package/package.json +1 -1
- package/recipes/banner-close-button-recipe.d.ts +27 -0
- package/recipes/banner-close-button-recipe.mjs +22 -0
- package/recipes/banner-description-recipe.d.ts +27 -0
- package/recipes/banner-description-recipe.mjs +22 -0
- package/recipes/banner-icon-recipe.d.ts +27 -0
- package/recipes/banner-icon-recipe.mjs +34 -0
- package/recipes/banner-icon-slot-recipe.d.ts +27 -0
- package/recipes/banner-icon-slot-recipe.mjs +34 -0
- package/recipes/banner-link-recipe.d.ts +27 -0
- package/recipes/banner-link-recipe.mjs +22 -0
- package/recipes/banner-recipe.d.ts +27 -0
- package/recipes/banner-recipe.mjs +31 -0
- package/recipes/banner-slot-recipe.d.ts +27 -0
- package/recipes/banner-slot-recipe.mjs +45 -0
- package/recipes/banner-title-recipe.d.ts +27 -0
- package/recipes/banner-title-recipe.mjs +22 -0
- package/recipes/divider-recipe.d.ts +27 -0
- package/recipes/divider-recipe.mjs +29 -0
- package/recipes/dropzone-recipe.d.ts +27 -0
- package/recipes/dropzone-recipe.mjs +34 -0
- package/recipes/dropzone-slot-recipe.d.ts +27 -0
- package/recipes/dropzone-slot-recipe.mjs +70 -0
- package/recipes/form-control-slot-recipe.d.ts +27 -0
- package/recipes/form-control-slot-recipe.mjs +46 -0
- package/recipes/index.d.ts +14 -1
- package/recipes/index.mjs +14 -1
- package/recipes/input-tag-recipe.d.ts +27 -0
- package/recipes/input-tag-recipe.mjs +38 -0
- package/recipes/input-tag-slot-recipe.d.ts +27 -0
- package/recipes/input-tag-slot-recipe.mjs +70 -0
- package/recipes/modal-slot-recipe.d.ts +27 -0
- package/recipes/modal-slot-recipe.mjs +75 -0
- package/recipes/tag-slot-recipe.mjs +9 -1
- package/recipes/upload-list-slot-recipe.d.ts +27 -0
- package/recipes/upload-list-slot-recipe.mjs +38 -0
- package/recipes/upload-slot-recipe.d.ts +27 -0
- package/recipes/upload-slot-recipe.mjs +34 -0
- package/tokens/index.css +17 -0
- package/tokens/index.mjs +112 -8
- package/tokens/tokens.d.ts +4 -4
- package/types/conditions.d.ts +1 -1
- package/types/csstype.d.ts +1270 -721
- package/types/jsx.d.ts +9 -9
- package/types/prop-type.d.ts +16 -6
- package/types/recipe.d.ts +9 -0
- package/types/static-css.d.ts +45 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { splitProps, getSlotCompoundVariant } from '../helpers.mjs';
|
|
2
|
+
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
+
|
|
4
|
+
const inputTagSlotRecipeDefaultVariants = {}
|
|
5
|
+
const inputTagSlotRecipeCompoundVariants = []
|
|
6
|
+
|
|
7
|
+
const inputTagSlotRecipeSlotNames = [
|
|
8
|
+
[
|
|
9
|
+
"root",
|
|
10
|
+
"input-tag__root"
|
|
11
|
+
],
|
|
12
|
+
[
|
|
13
|
+
"trigger",
|
|
14
|
+
"input-tag__trigger"
|
|
15
|
+
],
|
|
16
|
+
[
|
|
17
|
+
"input",
|
|
18
|
+
"input-tag__input"
|
|
19
|
+
],
|
|
20
|
+
[
|
|
21
|
+
"content",
|
|
22
|
+
"input-tag__content"
|
|
23
|
+
],
|
|
24
|
+
[
|
|
25
|
+
"resetButton",
|
|
26
|
+
"input-tag__resetButton"
|
|
27
|
+
],
|
|
28
|
+
[
|
|
29
|
+
"dropdownButton",
|
|
30
|
+
"input-tag__dropdownButton"
|
|
31
|
+
],
|
|
32
|
+
[
|
|
33
|
+
"addButton",
|
|
34
|
+
"input-tag__addButton"
|
|
35
|
+
],
|
|
36
|
+
[
|
|
37
|
+
"loading",
|
|
38
|
+
"input-tag__loading"
|
|
39
|
+
],
|
|
40
|
+
[
|
|
41
|
+
"empty",
|
|
42
|
+
"input-tag__empty"
|
|
43
|
+
],
|
|
44
|
+
[
|
|
45
|
+
"suggestionWrapper",
|
|
46
|
+
"input-tag__suggestionWrapper"
|
|
47
|
+
],
|
|
48
|
+
[
|
|
49
|
+
"suggestionLoading",
|
|
50
|
+
"input-tag__suggestionLoading"
|
|
51
|
+
]
|
|
52
|
+
]
|
|
53
|
+
const inputTagSlotRecipeSlotFns = /* @__PURE__ */ inputTagSlotRecipeSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, inputTagSlotRecipeDefaultVariants, getSlotCompoundVariant(inputTagSlotRecipeCompoundVariants, slotName))])
|
|
54
|
+
|
|
55
|
+
const inputTagSlotRecipeFn = (props = {}) => {
|
|
56
|
+
return Object.fromEntries(inputTagSlotRecipeSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
const inputTagSlotRecipeVariantKeys = []
|
|
60
|
+
|
|
61
|
+
export const inputTagSlotRecipe = /* @__PURE__ */ Object.assign(inputTagSlotRecipeFn, {
|
|
62
|
+
__recipe__: false,
|
|
63
|
+
__name__: 'inputTagSlotRecipe',
|
|
64
|
+
raw: (props) => props,
|
|
65
|
+
variantKeys: inputTagSlotRecipeVariantKeys,
|
|
66
|
+
variantMap: {},
|
|
67
|
+
splitVariantProps(props) {
|
|
68
|
+
return splitProps(props, inputTagSlotRecipeVariantKeys)
|
|
69
|
+
},
|
|
70
|
+
})
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { ConditionalValue } from '../types/index';
|
|
3
|
+
import type { DistributiveOmit, Pretty } from '../types/system-types';
|
|
4
|
+
|
|
5
|
+
interface ModalSlotRecipeVariant {
|
|
6
|
+
full: boolean
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
type ModalSlotRecipeVariantMap = {
|
|
10
|
+
[key in keyof ModalSlotRecipeVariant]: Array<ModalSlotRecipeVariant[key]>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type ModalSlotRecipeVariantProps = {
|
|
14
|
+
[key in keyof ModalSlotRecipeVariant]?: ConditionalValue<ModalSlotRecipeVariant[key]> | undefined
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface ModalSlotRecipeRecipe {
|
|
18
|
+
__type: ModalSlotRecipeVariantProps
|
|
19
|
+
(props?: ModalSlotRecipeVariantProps): Pretty<Record<"root" | "rootChild" | "body" | "contentRoot" | "contentChild" | "header" | "footer" | "body" | "overlay" | "closeButton", string>>
|
|
20
|
+
raw: (props?: ModalSlotRecipeVariantProps) => ModalSlotRecipeVariantProps
|
|
21
|
+
variantMap: ModalSlotRecipeVariantMap
|
|
22
|
+
variantKeys: Array<keyof ModalSlotRecipeVariant>
|
|
23
|
+
splitVariantProps<Props extends ModalSlotRecipeVariantProps>(props: Props): [ModalSlotRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof ModalSlotRecipeVariantProps>>]
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/** The styles for the Modal component */
|
|
27
|
+
export declare const modalSlotRecipe: ModalSlotRecipeRecipe
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { splitProps, getSlotCompoundVariant } from '../helpers.mjs';
|
|
2
|
+
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
+
|
|
4
|
+
const modalSlotRecipeDefaultVariants = {
|
|
5
|
+
"full": false
|
|
6
|
+
}
|
|
7
|
+
const modalSlotRecipeCompoundVariants = []
|
|
8
|
+
|
|
9
|
+
const modalSlotRecipeSlotNames = [
|
|
10
|
+
[
|
|
11
|
+
"root",
|
|
12
|
+
"modal__root"
|
|
13
|
+
],
|
|
14
|
+
[
|
|
15
|
+
"rootChild",
|
|
16
|
+
"modal__rootChild"
|
|
17
|
+
],
|
|
18
|
+
[
|
|
19
|
+
"body",
|
|
20
|
+
"modal__body"
|
|
21
|
+
],
|
|
22
|
+
[
|
|
23
|
+
"contentRoot",
|
|
24
|
+
"modal__contentRoot"
|
|
25
|
+
],
|
|
26
|
+
[
|
|
27
|
+
"contentChild",
|
|
28
|
+
"modal__contentChild"
|
|
29
|
+
],
|
|
30
|
+
[
|
|
31
|
+
"header",
|
|
32
|
+
"modal__header"
|
|
33
|
+
],
|
|
34
|
+
[
|
|
35
|
+
"footer",
|
|
36
|
+
"modal__footer"
|
|
37
|
+
],
|
|
38
|
+
[
|
|
39
|
+
"body",
|
|
40
|
+
"modal__body"
|
|
41
|
+
],
|
|
42
|
+
[
|
|
43
|
+
"overlay",
|
|
44
|
+
"modal__overlay"
|
|
45
|
+
],
|
|
46
|
+
[
|
|
47
|
+
"closeButton",
|
|
48
|
+
"modal__closeButton"
|
|
49
|
+
]
|
|
50
|
+
]
|
|
51
|
+
const modalSlotRecipeSlotFns = /* @__PURE__ */ modalSlotRecipeSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, modalSlotRecipeDefaultVariants, getSlotCompoundVariant(modalSlotRecipeCompoundVariants, slotName))])
|
|
52
|
+
|
|
53
|
+
const modalSlotRecipeFn = (props = {}) => {
|
|
54
|
+
return Object.fromEntries(modalSlotRecipeSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
const modalSlotRecipeVariantKeys = [
|
|
58
|
+
"full"
|
|
59
|
+
]
|
|
60
|
+
|
|
61
|
+
export const modalSlotRecipe = /* @__PURE__ */ Object.assign(modalSlotRecipeFn, {
|
|
62
|
+
__recipe__: false,
|
|
63
|
+
__name__: 'modalSlotRecipe',
|
|
64
|
+
raw: (props) => props,
|
|
65
|
+
variantKeys: modalSlotRecipeVariantKeys,
|
|
66
|
+
variantMap: {
|
|
67
|
+
"full": [
|
|
68
|
+
"true",
|
|
69
|
+
"false"
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
splitVariantProps(props) {
|
|
73
|
+
return splitProps(props, modalSlotRecipeVariantKeys)
|
|
74
|
+
},
|
|
75
|
+
})
|
|
@@ -6,11 +6,19 @@ const tagSlotRecipeDefaultVariants = {
|
|
|
6
6
|
"variant": "gray"
|
|
7
7
|
}
|
|
8
8
|
const tagSlotRecipeCompoundVariants = [
|
|
9
|
+
{
|
|
10
|
+
"variant": "gray",
|
|
11
|
+
"css": {
|
|
12
|
+
"close": {
|
|
13
|
+
"background": "linear-gradient(270deg, #EDF0F2 75%, rgba(237, 240, 242, 0) 111.54%)"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
},
|
|
9
17
|
{
|
|
10
18
|
"variant": "red",
|
|
11
19
|
"css": {
|
|
12
20
|
"close": {
|
|
13
|
-
"background": "linear-gradient(270deg, #FDECEE 75%, rgba(237, 240, 242, 0) 111.54%)
|
|
21
|
+
"background": "linear-gradient(270deg, #FDECEE 75%, rgba(237, 240, 242, 0) 111.54%)"
|
|
14
22
|
}
|
|
15
23
|
}
|
|
16
24
|
},
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { ConditionalValue } from '../types/index';
|
|
3
|
+
import type { DistributiveOmit, Pretty } from '../types/system-types';
|
|
4
|
+
|
|
5
|
+
interface UploadListSlotRecipeVariant {
|
|
6
|
+
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
type UploadListSlotRecipeVariantMap = {
|
|
10
|
+
[key in keyof UploadListSlotRecipeVariant]: Array<UploadListSlotRecipeVariant[key]>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type UploadListSlotRecipeVariantProps = {
|
|
14
|
+
[key in keyof UploadListSlotRecipeVariant]?: ConditionalValue<UploadListSlotRecipeVariant[key]> | undefined
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface UploadListSlotRecipeRecipe {
|
|
18
|
+
__type: UploadListSlotRecipeVariantProps
|
|
19
|
+
(props?: UploadListSlotRecipeVariantProps): Pretty<Record<"root" | "titleWrapper" | "actionWrapper", string>>
|
|
20
|
+
raw: (props?: UploadListSlotRecipeVariantProps) => UploadListSlotRecipeVariantProps
|
|
21
|
+
variantMap: UploadListSlotRecipeVariantMap
|
|
22
|
+
variantKeys: Array<keyof UploadListSlotRecipeVariant>
|
|
23
|
+
splitVariantProps<Props extends UploadListSlotRecipeVariantProps>(props: Props): [UploadListSlotRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof UploadListSlotRecipeVariantProps>>]
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
export declare const uploadListSlotRecipe: UploadListSlotRecipeRecipe
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { splitProps, getSlotCompoundVariant } from '../helpers.mjs';
|
|
2
|
+
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
+
|
|
4
|
+
const uploadListSlotRecipeDefaultVariants = {}
|
|
5
|
+
const uploadListSlotRecipeCompoundVariants = []
|
|
6
|
+
|
|
7
|
+
const uploadListSlotRecipeSlotNames = [
|
|
8
|
+
[
|
|
9
|
+
"root",
|
|
10
|
+
"upload-list__root"
|
|
11
|
+
],
|
|
12
|
+
[
|
|
13
|
+
"titleWrapper",
|
|
14
|
+
"upload-list__titleWrapper"
|
|
15
|
+
],
|
|
16
|
+
[
|
|
17
|
+
"actionWrapper",
|
|
18
|
+
"upload-list__actionWrapper"
|
|
19
|
+
]
|
|
20
|
+
]
|
|
21
|
+
const uploadListSlotRecipeSlotFns = /* @__PURE__ */ uploadListSlotRecipeSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, uploadListSlotRecipeDefaultVariants, getSlotCompoundVariant(uploadListSlotRecipeCompoundVariants, slotName))])
|
|
22
|
+
|
|
23
|
+
const uploadListSlotRecipeFn = (props = {}) => {
|
|
24
|
+
return Object.fromEntries(uploadListSlotRecipeSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
const uploadListSlotRecipeVariantKeys = []
|
|
28
|
+
|
|
29
|
+
export const uploadListSlotRecipe = /* @__PURE__ */ Object.assign(uploadListSlotRecipeFn, {
|
|
30
|
+
__recipe__: false,
|
|
31
|
+
__name__: 'uploadListSlotRecipe',
|
|
32
|
+
raw: (props) => props,
|
|
33
|
+
variantKeys: uploadListSlotRecipeVariantKeys,
|
|
34
|
+
variantMap: {},
|
|
35
|
+
splitVariantProps(props) {
|
|
36
|
+
return splitProps(props, uploadListSlotRecipeVariantKeys)
|
|
37
|
+
},
|
|
38
|
+
})
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { ConditionalValue } from '../types/index';
|
|
3
|
+
import type { DistributiveOmit, Pretty } from '../types/system-types';
|
|
4
|
+
|
|
5
|
+
interface UploadSlotRecipeVariant {
|
|
6
|
+
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
type UploadSlotRecipeVariantMap = {
|
|
10
|
+
[key in keyof UploadSlotRecipeVariant]: Array<UploadSlotRecipeVariant[key]>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type UploadSlotRecipeVariantProps = {
|
|
14
|
+
[key in keyof UploadSlotRecipeVariant]?: ConditionalValue<UploadSlotRecipeVariant[key]> | undefined
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface UploadSlotRecipeRecipe {
|
|
18
|
+
__type: UploadSlotRecipeVariantProps
|
|
19
|
+
(props?: UploadSlotRecipeVariantProps): Pretty<Record<"root" | "resetButton", string>>
|
|
20
|
+
raw: (props?: UploadSlotRecipeVariantProps) => UploadSlotRecipeVariantProps
|
|
21
|
+
variantMap: UploadSlotRecipeVariantMap
|
|
22
|
+
variantKeys: Array<keyof UploadSlotRecipeVariant>
|
|
23
|
+
splitVariantProps<Props extends UploadSlotRecipeVariantProps>(props: Props): [UploadSlotRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof UploadSlotRecipeVariantProps>>]
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
export declare const uploadSlotRecipe: UploadSlotRecipeRecipe
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { splitProps, getSlotCompoundVariant } from '../helpers.mjs';
|
|
2
|
+
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
+
|
|
4
|
+
const uploadSlotRecipeDefaultVariants = {}
|
|
5
|
+
const uploadSlotRecipeCompoundVariants = []
|
|
6
|
+
|
|
7
|
+
const uploadSlotRecipeSlotNames = [
|
|
8
|
+
[
|
|
9
|
+
"root",
|
|
10
|
+
"upload__root"
|
|
11
|
+
],
|
|
12
|
+
[
|
|
13
|
+
"resetButton",
|
|
14
|
+
"upload__resetButton"
|
|
15
|
+
]
|
|
16
|
+
]
|
|
17
|
+
const uploadSlotRecipeSlotFns = /* @__PURE__ */ uploadSlotRecipeSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, uploadSlotRecipeDefaultVariants, getSlotCompoundVariant(uploadSlotRecipeCompoundVariants, slotName))])
|
|
18
|
+
|
|
19
|
+
const uploadSlotRecipeFn = (props = {}) => {
|
|
20
|
+
return Object.fromEntries(uploadSlotRecipeSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
const uploadSlotRecipeVariantKeys = []
|
|
24
|
+
|
|
25
|
+
export const uploadSlotRecipe = /* @__PURE__ */ Object.assign(uploadSlotRecipeFn, {
|
|
26
|
+
__recipe__: false,
|
|
27
|
+
__name__: 'uploadSlotRecipe',
|
|
28
|
+
raw: (props) => props,
|
|
29
|
+
variantKeys: uploadSlotRecipeVariantKeys,
|
|
30
|
+
variantMap: {},
|
|
31
|
+
splitVariantProps(props) {
|
|
32
|
+
return splitProps(props, uploadSlotRecipeVariantKeys)
|
|
33
|
+
},
|
|
34
|
+
})
|
package/tokens/index.css
CHANGED
|
@@ -134,6 +134,7 @@
|
|
|
134
134
|
--mp-sizes-16: 4rem;
|
|
135
135
|
--mp-sizes-20: 5rem;
|
|
136
136
|
--mp-sizes-22: 5.5rem;
|
|
137
|
+
--mp-sizes-56: 14rem;
|
|
137
138
|
--mp-sizes-65: 17.5rem;
|
|
138
139
|
--mp-sizes-0\.25: 0.0625rem;
|
|
139
140
|
--mp-sizes-0\.5: 0.125rem;
|
|
@@ -141,6 +142,22 @@
|
|
|
141
142
|
--mp-sizes-7\.5: 1.875rem;
|
|
142
143
|
--mp-sizes-9\.5: 2.375rem;
|
|
143
144
|
--mp-sizes-full: 100%;
|
|
145
|
+
--mp-sizes-3xs: 14rem;
|
|
146
|
+
--mp-sizes-2xs: 16rem;
|
|
147
|
+
--mp-sizes-xs: 20rem;
|
|
148
|
+
--mp-sizes-2xl: 42rem;
|
|
149
|
+
--mp-sizes-3xl: 48rem;
|
|
150
|
+
--mp-sizes-4xl: 56rem;
|
|
151
|
+
--mp-sizes-5xl: 64rem;
|
|
152
|
+
--mp-sizes-6xl: 72rem;
|
|
153
|
+
--mp-sizes-sm: 24rem;
|
|
154
|
+
--mp-sizes-md: 28rem;
|
|
155
|
+
--mp-sizes-lg: 32rem;
|
|
156
|
+
--mp-sizes-xl: 36rem;
|
|
157
|
+
--mp-sizes-containers-sm: 640px;
|
|
158
|
+
--mp-sizes-containers-md: 768px;
|
|
159
|
+
--mp-sizes-containers-lg: 1024px;
|
|
160
|
+
--mp-sizes-containers-xl: 1280px;
|
|
144
161
|
--mp-sizes-breakpoint-sm: 22.5em;
|
|
145
162
|
--mp-sizes-breakpoint-md: 48em;
|
|
146
163
|
--mp-sizes-breakpoint-lg: 64em;
|
package/tokens/index.mjs
CHANGED
|
@@ -75,6 +75,86 @@ const tokens = {
|
|
|
75
75
|
"value": "#448AFF",
|
|
76
76
|
"variable": "var(--mp-colors-brand-university)"
|
|
77
77
|
},
|
|
78
|
+
"colors.whiteAlpha.50": {
|
|
79
|
+
"value": "rgba(255, 255, 255, 0.04)",
|
|
80
|
+
"variable": "var(--mp-colors-white-alpha-50)"
|
|
81
|
+
},
|
|
82
|
+
"colors.whiteAlpha.100": {
|
|
83
|
+
"value": "rgba(255, 255, 255, 0.06)",
|
|
84
|
+
"variable": "var(--mp-colors-white-alpha-100)"
|
|
85
|
+
},
|
|
86
|
+
"colors.whiteAlpha.200": {
|
|
87
|
+
"value": "rgba(255, 255, 255, 0.08)",
|
|
88
|
+
"variable": "var(--mp-colors-white-alpha-200)"
|
|
89
|
+
},
|
|
90
|
+
"colors.whiteAlpha.300": {
|
|
91
|
+
"value": "rgba(255, 255, 255, 0.16)",
|
|
92
|
+
"variable": "var(--mp-colors-white-alpha-300)"
|
|
93
|
+
},
|
|
94
|
+
"colors.whiteAlpha.400": {
|
|
95
|
+
"value": "rgba(255, 255, 255, 0.24)",
|
|
96
|
+
"variable": "var(--mp-colors-white-alpha-400)"
|
|
97
|
+
},
|
|
98
|
+
"colors.whiteAlpha.500": {
|
|
99
|
+
"value": "rgba(255, 255, 255, 0.36)",
|
|
100
|
+
"variable": "var(--mp-colors-white-alpha-500)"
|
|
101
|
+
},
|
|
102
|
+
"colors.whiteAlpha.600": {
|
|
103
|
+
"value": "rgba(255, 255, 255, 0.48)",
|
|
104
|
+
"variable": "var(--mp-colors-white-alpha-600)"
|
|
105
|
+
},
|
|
106
|
+
"colors.whiteAlpha.700": {
|
|
107
|
+
"value": "rgba(255, 255, 255, 0.64)",
|
|
108
|
+
"variable": "var(--mp-colors-white-alpha-700)"
|
|
109
|
+
},
|
|
110
|
+
"colors.whiteAlpha.800": {
|
|
111
|
+
"value": "rgba(255, 255, 255, 0.80)",
|
|
112
|
+
"variable": "var(--mp-colors-white-alpha-800)"
|
|
113
|
+
},
|
|
114
|
+
"colors.whiteAlpha.900": {
|
|
115
|
+
"value": "rgba(255, 255, 255, 0.92)",
|
|
116
|
+
"variable": "var(--mp-colors-white-alpha-900)"
|
|
117
|
+
},
|
|
118
|
+
"colors.blackAplpha.50": {
|
|
119
|
+
"value": "rgba(0, 0, 0, 0.04)",
|
|
120
|
+
"variable": "var(--mp-colors-black-aplpha-50)"
|
|
121
|
+
},
|
|
122
|
+
"colors.blackAplpha.100": {
|
|
123
|
+
"value": "rgba(0, 0, 0, 0.06)",
|
|
124
|
+
"variable": "var(--mp-colors-black-aplpha-100)"
|
|
125
|
+
},
|
|
126
|
+
"colors.blackAplpha.200": {
|
|
127
|
+
"value": "rgba(0, 0, 0, 0.08)",
|
|
128
|
+
"variable": "var(--mp-colors-black-aplpha-200)"
|
|
129
|
+
},
|
|
130
|
+
"colors.blackAplpha.300": {
|
|
131
|
+
"value": "rgba(0, 0, 0, 0.16)",
|
|
132
|
+
"variable": "var(--mp-colors-black-aplpha-300)"
|
|
133
|
+
},
|
|
134
|
+
"colors.blackAplpha.400": {
|
|
135
|
+
"value": "rgba(0, 0, 0, 0.24)",
|
|
136
|
+
"variable": "var(--mp-colors-black-aplpha-400)"
|
|
137
|
+
},
|
|
138
|
+
"colors.blackAplpha.500": {
|
|
139
|
+
"value": "rgba(0, 0, 0, 0.36)",
|
|
140
|
+
"variable": "var(--mp-colors-black-aplpha-500)"
|
|
141
|
+
},
|
|
142
|
+
"colors.blackAplpha.600": {
|
|
143
|
+
"value": "rgba(0, 0, 0, 0.48)",
|
|
144
|
+
"variable": "var(--mp-colors-black-aplpha-600)"
|
|
145
|
+
},
|
|
146
|
+
"colors.blackAplpha.700": {
|
|
147
|
+
"value": "rgba(0, 0, 0, 0.64)",
|
|
148
|
+
"variable": "var(--mp-colors-black-aplpha-700)"
|
|
149
|
+
},
|
|
150
|
+
"colors.blackAplpha.800": {
|
|
151
|
+
"value": "rgba(0, 0, 0, 0.80)",
|
|
152
|
+
"variable": "var(--mp-colors-black-aplpha-800)"
|
|
153
|
+
},
|
|
154
|
+
"colors.blackAplpha.900": {
|
|
155
|
+
"value": "rgba(0, 0, 0, 0.92)",
|
|
156
|
+
"variable": "var(--mp-colors-black-aplpha-900)"
|
|
157
|
+
},
|
|
78
158
|
"colors.gray.25": {
|
|
79
159
|
"value": "#F8F9FB",
|
|
80
160
|
"variable": "var(--mp-colors-gray-25)"
|
|
@@ -535,6 +615,10 @@ const tokens = {
|
|
|
535
615
|
"value": "5.5rem",
|
|
536
616
|
"variable": "var(--mp-sizes-22)"
|
|
537
617
|
},
|
|
618
|
+
"sizes.56": {
|
|
619
|
+
"value": "14rem",
|
|
620
|
+
"variable": "var(--mp-sizes-56)"
|
|
621
|
+
},
|
|
538
622
|
"sizes.65": {
|
|
539
623
|
"value": "17.5rem",
|
|
540
624
|
"variable": "var(--mp-sizes-65)"
|
|
@@ -563,6 +647,10 @@ const tokens = {
|
|
|
563
647
|
"value": "100%",
|
|
564
648
|
"variable": "var(--mp-sizes-full)"
|
|
565
649
|
},
|
|
650
|
+
"sizes.sm": {
|
|
651
|
+
"value": "24rem",
|
|
652
|
+
"variable": "var(--mp-sizes-sm)"
|
|
653
|
+
},
|
|
566
654
|
"sizes.breakpoint-sm": {
|
|
567
655
|
"value": "22.5em",
|
|
568
656
|
"variable": "var(--mp-sizes-breakpoint-sm)"
|
|
@@ -807,10 +895,6 @@ const tokens = {
|
|
|
807
895
|
"value": "var(--mp-colors-color-palette-university)",
|
|
808
896
|
"variable": "var(--mp-colors-color-palette-university)"
|
|
809
897
|
},
|
|
810
|
-
"colors.colorPalette.25": {
|
|
811
|
-
"value": "var(--mp-colors-color-palette-25)",
|
|
812
|
-
"variable": "var(--mp-colors-color-palette-25)"
|
|
813
|
-
},
|
|
814
898
|
"colors.colorPalette.50": {
|
|
815
899
|
"value": "var(--mp-colors-color-palette-50)",
|
|
816
900
|
"variable": "var(--mp-colors-color-palette-50)"
|
|
@@ -819,21 +903,41 @@ const tokens = {
|
|
|
819
903
|
"value": "var(--mp-colors-color-palette-100)",
|
|
820
904
|
"variable": "var(--mp-colors-color-palette-100)"
|
|
821
905
|
},
|
|
906
|
+
"colors.colorPalette.200": {
|
|
907
|
+
"value": "var(--mp-colors-color-palette-200)",
|
|
908
|
+
"variable": "var(--mp-colors-color-palette-200)"
|
|
909
|
+
},
|
|
910
|
+
"colors.colorPalette.300": {
|
|
911
|
+
"value": "var(--mp-colors-color-palette-300)",
|
|
912
|
+
"variable": "var(--mp-colors-color-palette-300)"
|
|
913
|
+
},
|
|
822
914
|
"colors.colorPalette.400": {
|
|
823
915
|
"value": "var(--mp-colors-color-palette-400)",
|
|
824
916
|
"variable": "var(--mp-colors-color-palette-400)"
|
|
825
917
|
},
|
|
826
|
-
"colors.colorPalette.600": {
|
|
827
|
-
"value": "var(--mp-colors-color-palette-600)",
|
|
828
|
-
"variable": "var(--mp-colors-color-palette-600)"
|
|
829
|
-
},
|
|
830
918
|
"colors.colorPalette.500": {
|
|
831
919
|
"value": "var(--mp-colors-color-palette-500)",
|
|
832
920
|
"variable": "var(--mp-colors-color-palette-500)"
|
|
833
921
|
},
|
|
922
|
+
"colors.colorPalette.600": {
|
|
923
|
+
"value": "var(--mp-colors-color-palette-600)",
|
|
924
|
+
"variable": "var(--mp-colors-color-palette-600)"
|
|
925
|
+
},
|
|
834
926
|
"colors.colorPalette.700": {
|
|
835
927
|
"value": "var(--mp-colors-color-palette-700)",
|
|
836
928
|
"variable": "var(--mp-colors-color-palette-700)"
|
|
929
|
+
},
|
|
930
|
+
"colors.colorPalette.800": {
|
|
931
|
+
"value": "var(--mp-colors-color-palette-800)",
|
|
932
|
+
"variable": "var(--mp-colors-color-palette-800)"
|
|
933
|
+
},
|
|
934
|
+
"colors.colorPalette.900": {
|
|
935
|
+
"value": "var(--mp-colors-color-palette-900)",
|
|
936
|
+
"variable": "var(--mp-colors-color-palette-900)"
|
|
937
|
+
},
|
|
938
|
+
"colors.colorPalette.25": {
|
|
939
|
+
"value": "var(--mp-colors-color-palette-25)",
|
|
940
|
+
"variable": "var(--mp-colors-color-palette-25)"
|
|
837
941
|
}
|
|
838
942
|
}
|
|
839
943
|
|
package/tokens/tokens.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
|
-
export type Token = "borders.none" | "borders.sm" | "borders.md" | "borders.lg" | "colors.currentcolor" | "colors.dark" | "colors.white" | "colors.background" | "colors.overlay" | "colors.brand.capital" | "colors.brand.esign" | "colors.brand.expense" | "colors.brand.flex" | "colors.brand.jurnal" | "colors.brand.klikpajak" | "colors.brand.mekari" | "colors.brand.qontak" | "colors.brand.talenta" | "colors.brand.university" | "colors.gray.25" | "colors.gray.50" | "colors.gray.100" | "colors.gray.400" | "colors.gray.600" | "colors.blue.50" | "colors.blue.100" | "colors.blue.400" | "colors.blue.500" | "colors.blue.700" | "colors.red.50" | "colors.red.400" | "colors.red.500" | "colors.red.700" | "colors.green.50" | "colors.green.400" | "colors.green.500" | "colors.green.700" | "colors.orange.50" | "colors.orange.400" | "colors.orange.500" | "colors.orange.700" | "colors.sky.100" | "colors.sky.400" | "colors.teal.100" | "colors.teal.400" | "colors.violet.100" | "colors.violet.400" | "colors.amber.100" | "colors.amber.400" | "colors.rose.100" | "colors.rose.400" | "colors.stone.100" | "colors.stone.400" | "colors.lime.100" | "colors.lime.400" | "colors.pink.100" | "colors.pink.400" | "colors.apricot.100" | "colors.apricot.400" | "colors.aqua.100" | "colors.aqua.400" | "colors.leaf.100" | "colors.leaf.400" | "colors.fuchsia.100" | "colors.fuchsia.400" | "colors.ice.50" | "colors.ice.100" | "colors.ash.100" | "durations.slow" | "durations.normal" | "durations.fast" | "fonts.body" | "fonts.mono" | "fontSizes.xs" | "fontSizes.sm" | "fontSizes.md" | "fontSizes.lg" | "fontSizes.xl" | "fontSizes.2xl" | "fontWeights.regular" | "fontWeights.semiBold" | "fontWeights.bold" | "lineHeights.xs" | "lineHeights.sm" | "lineHeights.md" | "lineHeights.lg" | "lineHeights.xl" | "lineHeights.2xl" | "lineHeights.3xl" | "letterSpacings.tighter" | "letterSpacings.tight" | "letterSpacings.normal" | "letterSpacings.wide" | "letterSpacings.wider" | "letterSpacings.widest" | "opacity.0" | "opacity.40" | "opacity.60" | "opacity.100" | "radii.none" | "radii.xs" | "radii.sm" | "radii.md" | "radii.lg" | "radii.xl" | "radii.full" | "shadows.xs" | "shadows.sm" | "shadows.md" | "shadows.lg" | "shadows.focus" | "shadows.xl" | "shadows.2xl" | "shadows.outline" | "shadows.outline-tab" | "shadows.outer" | "shadows.inner" | "shadows.none" | "sizes.0" | "sizes.1" | "sizes.2" | "sizes.3" | "sizes.4" | "sizes.5" | "sizes.6" | "sizes.7" | "sizes.8" | "sizes.9" | "sizes.10" | "sizes.11" | "sizes.12" | "sizes.16" | "sizes.20" | "sizes.22" | "sizes.65" | "sizes.0.25" | "sizes.0.5" | "sizes.2.5" | "sizes.7.5" | "sizes.9.5" | "sizes.full" | "sizes.breakpoint-sm" | "sizes.breakpoint-md" | "sizes.breakpoint-lg" | "sizes.breakpoint-xl" | "spacing.0" | "spacing.1" | "spacing.2" | "spacing.3" | "spacing.4" | "spacing.5" | "spacing.6" | "spacing.8" | "spacing.12" | "spacing.16" | "spacing.20" | "spacing.24" | "spacing.32" | "spacing.40" | "spacing.64" | "spacing.0.5" | "spacing.1.5" | "zIndex.hide" | "zIndex.base" | "zIndex.docked" | "zIndex.sticky" | "zIndex.overlay" | "zIndex.modal" | "zIndex.popover" | "zIndex.tooltip" | "breakpoints.sm" | "breakpoints.md" | "breakpoints.lg" | "breakpoints.xl" | "spacing.-0" | "spacing.-1" | "spacing.-2" | "spacing.-3" | "spacing.-4" | "spacing.-5" | "spacing.-6" | "spacing.-8" | "spacing.-12" | "spacing.-16" | "spacing.-20" | "spacing.-24" | "spacing.-32" | "spacing.-40" | "spacing.-64" | "spacing.-0.5" | "spacing.-1.5" | "colors.colorPalette" | "colors.colorPalette.capital" | "colors.colorPalette.esign" | "colors.colorPalette.expense" | "colors.colorPalette.flex" | "colors.colorPalette.jurnal" | "colors.colorPalette.klikpajak" | "colors.colorPalette.mekari" | "colors.colorPalette.qontak" | "colors.colorPalette.talenta" | "colors.colorPalette.university" | "colors.colorPalette.
|
|
2
|
+
export type Token = "borders.none" | "borders.sm" | "borders.md" | "borders.lg" | "colors.currentcolor" | "colors.dark" | "colors.white" | "colors.background" | "colors.overlay" | "colors.brand.capital" | "colors.brand.esign" | "colors.brand.expense" | "colors.brand.flex" | "colors.brand.jurnal" | "colors.brand.klikpajak" | "colors.brand.mekari" | "colors.brand.qontak" | "colors.brand.talenta" | "colors.brand.university" | "colors.whiteAlpha.50" | "colors.whiteAlpha.100" | "colors.whiteAlpha.200" | "colors.whiteAlpha.300" | "colors.whiteAlpha.400" | "colors.whiteAlpha.500" | "colors.whiteAlpha.600" | "colors.whiteAlpha.700" | "colors.whiteAlpha.800" | "colors.whiteAlpha.900" | "colors.blackAplpha.50" | "colors.blackAplpha.100" | "colors.blackAplpha.200" | "colors.blackAplpha.300" | "colors.blackAplpha.400" | "colors.blackAplpha.500" | "colors.blackAplpha.600" | "colors.blackAplpha.700" | "colors.blackAplpha.800" | "colors.blackAplpha.900" | "colors.gray.25" | "colors.gray.50" | "colors.gray.100" | "colors.gray.400" | "colors.gray.600" | "colors.blue.50" | "colors.blue.100" | "colors.blue.400" | "colors.blue.500" | "colors.blue.700" | "colors.red.50" | "colors.red.400" | "colors.red.500" | "colors.red.700" | "colors.green.50" | "colors.green.400" | "colors.green.500" | "colors.green.700" | "colors.orange.50" | "colors.orange.400" | "colors.orange.500" | "colors.orange.700" | "colors.sky.100" | "colors.sky.400" | "colors.teal.100" | "colors.teal.400" | "colors.violet.100" | "colors.violet.400" | "colors.amber.100" | "colors.amber.400" | "colors.rose.100" | "colors.rose.400" | "colors.stone.100" | "colors.stone.400" | "colors.lime.100" | "colors.lime.400" | "colors.pink.100" | "colors.pink.400" | "colors.apricot.100" | "colors.apricot.400" | "colors.aqua.100" | "colors.aqua.400" | "colors.leaf.100" | "colors.leaf.400" | "colors.fuchsia.100" | "colors.fuchsia.400" | "colors.ice.50" | "colors.ice.100" | "colors.ash.100" | "durations.slow" | "durations.normal" | "durations.fast" | "fonts.body" | "fonts.mono" | "fontSizes.xs" | "fontSizes.sm" | "fontSizes.md" | "fontSizes.lg" | "fontSizes.xl" | "fontSizes.2xl" | "fontWeights.regular" | "fontWeights.semiBold" | "fontWeights.bold" | "lineHeights.xs" | "lineHeights.sm" | "lineHeights.md" | "lineHeights.lg" | "lineHeights.xl" | "lineHeights.2xl" | "lineHeights.3xl" | "letterSpacings.tighter" | "letterSpacings.tight" | "letterSpacings.normal" | "letterSpacings.wide" | "letterSpacings.wider" | "letterSpacings.widest" | "opacity.0" | "opacity.40" | "opacity.60" | "opacity.100" | "radii.none" | "radii.xs" | "radii.sm" | "radii.md" | "radii.lg" | "radii.xl" | "radii.full" | "shadows.xs" | "shadows.sm" | "shadows.md" | "shadows.lg" | "shadows.focus" | "shadows.xl" | "shadows.2xl" | "shadows.outline" | "shadows.outline-tab" | "shadows.outer" | "shadows.inner" | "shadows.none" | "sizes.0" | "sizes.1" | "sizes.2" | "sizes.3" | "sizes.4" | "sizes.5" | "sizes.6" | "sizes.7" | "sizes.8" | "sizes.9" | "sizes.10" | "sizes.11" | "sizes.12" | "sizes.16" | "sizes.20" | "sizes.22" | "sizes.56" | "sizes.65" | "sizes.0.25" | "sizes.0.5" | "sizes.2.5" | "sizes.7.5" | "sizes.9.5" | "sizes.full" | "sizes.sm" | "sizes.breakpoint-sm" | "sizes.breakpoint-md" | "sizes.breakpoint-lg" | "sizes.breakpoint-xl" | "spacing.0" | "spacing.1" | "spacing.2" | "spacing.3" | "spacing.4" | "spacing.5" | "spacing.6" | "spacing.8" | "spacing.12" | "spacing.16" | "spacing.20" | "spacing.24" | "spacing.32" | "spacing.40" | "spacing.64" | "spacing.0.5" | "spacing.1.5" | "zIndex.hide" | "zIndex.base" | "zIndex.docked" | "zIndex.sticky" | "zIndex.overlay" | "zIndex.modal" | "zIndex.popover" | "zIndex.tooltip" | "breakpoints.sm" | "breakpoints.md" | "breakpoints.lg" | "breakpoints.xl" | "spacing.-0" | "spacing.-1" | "spacing.-2" | "spacing.-3" | "spacing.-4" | "spacing.-5" | "spacing.-6" | "spacing.-8" | "spacing.-12" | "spacing.-16" | "spacing.-20" | "spacing.-24" | "spacing.-32" | "spacing.-40" | "spacing.-64" | "spacing.-0.5" | "spacing.-1.5" | "colors.colorPalette" | "colors.colorPalette.capital" | "colors.colorPalette.esign" | "colors.colorPalette.expense" | "colors.colorPalette.flex" | "colors.colorPalette.jurnal" | "colors.colorPalette.klikpajak" | "colors.colorPalette.mekari" | "colors.colorPalette.qontak" | "colors.colorPalette.talenta" | "colors.colorPalette.university" | "colors.colorPalette.50" | "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.25"
|
|
3
3
|
|
|
4
|
-
export type ColorPalette = "currentcolor" | "dark" | "white" | "background" | "overlay" | "brand" | "gray" | "blue" | "red" | "green" | "orange" | "sky" | "teal" | "violet" | "amber" | "rose" | "stone" | "lime" | "pink" | "apricot" | "aqua" | "leaf" | "fuchsia" | "ice" | "ash"
|
|
4
|
+
export type ColorPalette = "currentcolor" | "dark" | "white" | "background" | "overlay" | "brand" | "whiteAlpha" | "blackAplpha" | "gray" | "blue" | "red" | "green" | "orange" | "sky" | "teal" | "violet" | "amber" | "rose" | "stone" | "lime" | "pink" | "apricot" | "aqua" | "leaf" | "fuchsia" | "ice" | "ash"
|
|
5
5
|
|
|
6
6
|
export type BorderToken = "none" | "sm" | "md" | "lg"
|
|
7
7
|
|
|
8
|
-
export type ColorToken = "currentcolor" | "dark" | "white" | "background" | "overlay" | "brand.capital" | "brand.esign" | "brand.expense" | "brand.flex" | "brand.jurnal" | "brand.klikpajak" | "brand.mekari" | "brand.qontak" | "brand.talenta" | "brand.university" | "gray.25" | "gray.50" | "gray.100" | "gray.400" | "gray.600" | "blue.50" | "blue.100" | "blue.400" | "blue.500" | "blue.700" | "red.50" | "red.400" | "red.500" | "red.700" | "green.50" | "green.400" | "green.500" | "green.700" | "orange.50" | "orange.400" | "orange.500" | "orange.700" | "sky.100" | "sky.400" | "teal.100" | "teal.400" | "violet.100" | "violet.400" | "amber.100" | "amber.400" | "rose.100" | "rose.400" | "stone.100" | "stone.400" | "lime.100" | "lime.400" | "pink.100" | "pink.400" | "apricot.100" | "apricot.400" | "aqua.100" | "aqua.400" | "leaf.100" | "leaf.400" | "fuchsia.100" | "fuchsia.400" | "ice.50" | "ice.100" | "ash.100" | "colorPalette" | "colorPalette.capital" | "colorPalette.esign" | "colorPalette.expense" | "colorPalette.flex" | "colorPalette.jurnal" | "colorPalette.klikpajak" | "colorPalette.mekari" | "colorPalette.qontak" | "colorPalette.talenta" | "colorPalette.university" | "colorPalette.
|
|
8
|
+
export type ColorToken = "currentcolor" | "dark" | "white" | "background" | "overlay" | "brand.capital" | "brand.esign" | "brand.expense" | "brand.flex" | "brand.jurnal" | "brand.klikpajak" | "brand.mekari" | "brand.qontak" | "brand.talenta" | "brand.university" | "whiteAlpha.50" | "whiteAlpha.100" | "whiteAlpha.200" | "whiteAlpha.300" | "whiteAlpha.400" | "whiteAlpha.500" | "whiteAlpha.600" | "whiteAlpha.700" | "whiteAlpha.800" | "whiteAlpha.900" | "blackAplpha.50" | "blackAplpha.100" | "blackAplpha.200" | "blackAplpha.300" | "blackAplpha.400" | "blackAplpha.500" | "blackAplpha.600" | "blackAplpha.700" | "blackAplpha.800" | "blackAplpha.900" | "gray.25" | "gray.50" | "gray.100" | "gray.400" | "gray.600" | "blue.50" | "blue.100" | "blue.400" | "blue.500" | "blue.700" | "red.50" | "red.400" | "red.500" | "red.700" | "green.50" | "green.400" | "green.500" | "green.700" | "orange.50" | "orange.400" | "orange.500" | "orange.700" | "sky.100" | "sky.400" | "teal.100" | "teal.400" | "violet.100" | "violet.400" | "amber.100" | "amber.400" | "rose.100" | "rose.400" | "stone.100" | "stone.400" | "lime.100" | "lime.400" | "pink.100" | "pink.400" | "apricot.100" | "apricot.400" | "aqua.100" | "aqua.400" | "leaf.100" | "leaf.400" | "fuchsia.100" | "fuchsia.400" | "ice.50" | "ice.100" | "ash.100" | "colorPalette" | "colorPalette.capital" | "colorPalette.esign" | "colorPalette.expense" | "colorPalette.flex" | "colorPalette.jurnal" | "colorPalette.klikpajak" | "colorPalette.mekari" | "colorPalette.qontak" | "colorPalette.talenta" | "colorPalette.university" | "colorPalette.50" | "colorPalette.100" | "colorPalette.200" | "colorPalette.300" | "colorPalette.400" | "colorPalette.500" | "colorPalette.600" | "colorPalette.700" | "colorPalette.800" | "colorPalette.900" | "colorPalette.25"
|
|
9
9
|
|
|
10
10
|
export type DurationToken = "slow" | "normal" | "fast"
|
|
11
11
|
|
|
@@ -25,7 +25,7 @@ export type RadiusToken = "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full"
|
|
|
25
25
|
|
|
26
26
|
export type ShadowToken = "xs" | "sm" | "md" | "lg" | "focus" | "xl" | "2xl" | "outline" | "outline-tab" | "outer" | "inner" | "none"
|
|
27
27
|
|
|
28
|
-
export type SizeToken = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "16" | "20" | "22" | "65" | "0.25" | "0.5" | "2.5" | "7.5" | "9.5" | "full" | "breakpoint-sm" | "breakpoint-md" | "breakpoint-lg" | "breakpoint-xl"
|
|
28
|
+
export type SizeToken = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "16" | "20" | "22" | "56" | "65" | "0.25" | "0.5" | "2.5" | "7.5" | "9.5" | "full" | "sm" | "breakpoint-sm" | "breakpoint-md" | "breakpoint-lg" | "breakpoint-xl"
|
|
29
29
|
|
|
30
30
|
export type SpacingToken = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "8" | "12" | "16" | "20" | "24" | "32" | "40" | "64" | "0.5" | "1.5" | "-0" | "-1" | "-2" | "-3" | "-4" | "-5" | "-6" | "-8" | "-12" | "-16" | "-20" | "-24" | "-32" | "-40" | "-64" | "-0.5" | "-1.5"
|
|
31
31
|
|
package/types/conditions.d.ts
CHANGED
|
@@ -182,7 +182,7 @@ export interface Conditions {
|
|
|
182
182
|
"_hidden": string
|
|
183
183
|
/** `&:is([aria-collapsed=true], [data-collapsed], [data-state="collapsed"])` */
|
|
184
184
|
"_collapsed": string
|
|
185
|
-
/** `&[data-
|
|
185
|
+
/** `&[data-has-icon=true]` */
|
|
186
186
|
"_hasIcon": string
|
|
187
187
|
/** `&[data-highlight=true], [data-highlight]` */
|
|
188
188
|
"_highlight": string
|