@hebium-ui/core 0.1.0-alpha.2 → 0.1.0-alpha.3
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/index.d.ts +3 -1
- package/dist/index.js +3 -1
- package/dist/logics/avatar-placeholder/get-avatar-placeholder.d.ts +0 -2
- package/dist/logics/avatar-placeholder/get-avatar-placeholder.js +1 -2
- package/dist/logics/avatar-placeholder/should-show-avatar-placeholder.d.ts +1 -3
- package/dist/logics/avatar-placeholder/should-show-avatar-placeholder.js +1 -2
- package/dist/logics/avatar-placeholder/should-show-avatar-placeholder.js.map +1 -1
- package/dist/logics/bool/to-bool.d.ts +0 -2
- package/dist/logics/bool/to-bool.js +1 -2
- package/dist/logics/bool/to-strbool.d.ts +0 -2
- package/dist/logics/bool/to-strbool.js +1 -2
- package/dist/logics/cc/cc-all.d.ts +1 -3
- package/dist/logics/cc/cc-all.js +1 -2
- package/dist/logics/cc/cc-all.js.map +1 -1
- package/dist/logics/cc/cc.d.ts +1 -3
- package/dist/logics/cc/cc.js +1 -2
- package/dist/logics/cc/cc.js.map +1 -1
- package/dist/logics/checkbox-control/checkbox-control.d.ts +4 -6
- package/dist/logics/checkbox-control/checkbox-control.js +2 -3
- package/dist/logics/checkbox-control/checkbox-control.js.map +1 -1
- package/dist/logics/dialog-control/dialog-control.d.ts +4 -6
- package/dist/logics/dialog-control/dialog-control.js +1 -2
- package/dist/logics/dialog-control/dialog-control.js.map +1 -1
- package/dist/logics/input-control/input-control.d.ts +2 -4
- package/dist/logics/input-control/input-control.js +1 -2
- package/dist/logics/input-control/input-control.js.map +1 -1
- package/dist/logics/label-marker/label-marker.d.ts +1 -3
- package/dist/logics/label-marker/label-marker.js +1 -2
- package/dist/logics/label-marker/label-marker.js.map +1 -1
- package/dist/logics/menu-control/menu-control.d.ts +4 -6
- package/dist/logics/menu-control/menu-control.js +1 -2
- package/dist/logics/menu-control/menu-control.js.map +1 -1
- package/dist/logics/ms/ms-all.d.ts +2 -3
- package/dist/logics/ms/ms-all.js +1 -2
- package/dist/logics/ms/ms-all.js.map +1 -1
- package/dist/logics/popover-control/popover-control.d.ts +2 -4
- package/dist/logics/popover-control/popover-control.js +1 -2
- package/dist/logics/popover-control/popover-control.js.map +1 -1
- package/dist/logics/progress-control/progress-control.d.ts +3 -5
- package/dist/logics/progress-control/progress-control.js +1 -2
- package/dist/logics/progress-control/progress-control.js.map +1 -1
- package/dist/logics/radio-control/radio-control.d.ts +3 -5
- package/dist/logics/radio-control/radio-control.js +1 -2
- package/dist/logics/radio-control/radio-control.js.map +1 -1
- package/dist/logics/radiogroup-control/radiogroup-control.d.ts +2 -4
- package/dist/logics/radiogroup-control/radiogroup-control.js +1 -2
- package/dist/logics/radiogroup-control/radiogroup-control.js.map +1 -1
- package/dist/logics/segmented-control/segmented-control.d.ts +1 -3
- package/dist/logics/segmented-control/segmented-control.js +1 -2
- package/dist/logics/segmented-control/segmented-control.js.map +1 -1
- package/dist/logics/tabs-control/tabs-control.d.ts +4 -6
- package/dist/logics/tabs-control/tabs-control.js +1 -2
- package/dist/logics/tabs-control/tabs-control.js.map +1 -1
- package/dist/logics/tabs-control/tabs-keymap.js +1 -2
- package/dist/logics/tabs-control/tabs-keymap.js.map +1 -1
- package/dist/logics/tooltip-control/tooltip-control.d.ts +2 -4
- package/dist/logics/tooltip-control/tooltip-control.js +1 -2
- package/dist/logics/tooltip-control/tooltip-control.js.map +1 -1
- package/dist/recipes/alert/alert.d.ts +2 -4
- package/dist/recipes/alert/alert.js +5 -4
- package/dist/recipes/alert/alert.js.map +1 -1
- package/dist/recipes/anchor/anchor.d.ts +0 -2
- package/dist/recipes/anchor/anchor.js +1 -2
- package/dist/recipes/avatar/avatar.d.ts +0 -2
- package/dist/recipes/avatar/avatar.js +1 -2
- package/dist/recipes/blockquote/blockquote.d.ts +0 -2
- package/dist/recipes/blockquote/blockquote.js +4 -3
- package/dist/recipes/blockquote/blockquote.js.map +1 -1
- package/dist/recipes/button/button.d.ts +6 -4
- package/dist/recipes/button/button.js +8 -5
- package/dist/recipes/button/button.js.map +1 -1
- package/dist/recipes/checkbox/checkbox.d.ts +2 -24
- package/dist/recipes/checkbox/checkbox.js +14 -20
- package/dist/recipes/checkbox/checkbox.js.map +1 -1
- package/dist/recipes/code/code.d.ts +0 -2
- package/dist/recipes/code/code.js +1 -2
- package/dist/recipes/container/container.d.ts +0 -2
- package/dist/recipes/container/container.js +1 -2
- package/dist/recipes/details/details.d.ts +3 -5
- package/dist/recipes/details/details.js +10 -6
- package/dist/recipes/details/details.js.map +1 -1
- package/dist/recipes/dialog/dialog.d.ts +3 -3
- package/dist/recipes/dialog/dialog.js +6 -3
- package/dist/recipes/dialog/dialog.js.map +1 -1
- package/dist/recipes/dl/dl.d.ts +0 -2
- package/dist/recipes/dl/dl.js +6 -3
- package/dist/recipes/dl/dl.js.map +1 -1
- package/dist/recipes/drawer/drawer.d.ts +0 -2
- package/dist/recipes/drawer/drawer.js +1 -2
- package/dist/recipes/fieldset/fieldset.d.ts +0 -2
- package/dist/recipes/fieldset/fieldset.js +4 -3
- package/dist/recipes/fieldset/fieldset.js.map +1 -1
- package/dist/recipes/focus-ring/focus-ring.d.ts +0 -2
- package/dist/recipes/focus-ring/focus-ring.js +1 -2
- package/dist/recipes/heading/heading.d.ts +0 -2
- package/dist/recipes/heading/heading.js +1 -2
- package/dist/recipes/hr/hr.d.ts +0 -2
- package/dist/recipes/hr/hr.js +4 -3
- package/dist/recipes/hr/hr.js.map +1 -1
- package/dist/recipes/input/input.d.ts +3 -5
- package/dist/recipes/input/input.js +6 -5
- package/dist/recipes/input/input.js.map +1 -1
- package/dist/recipes/label/label.d.ts +0 -2
- package/dist/recipes/label/label.js +1 -2
- package/dist/recipes/menu/menu.d.ts +0 -2
- package/dist/recipes/menu/menu.js +1 -2
- package/dist/recipes/paragraph/paragraph.d.ts +0 -2
- package/dist/recipes/paragraph/paragraph.js +1 -2
- package/dist/recipes/popover/popover.d.ts +0 -2
- package/dist/recipes/popover/popover.js +4 -3
- package/dist/recipes/popover/popover.js.map +1 -1
- package/dist/recipes/progress/progress.d.ts +0 -2
- package/dist/recipes/progress/progress.js +1 -2
- package/dist/recipes/radio/radio.d.ts +3 -5
- package/dist/recipes/radio/radio.js +7 -6
- package/dist/recipes/radio/radio.js.map +1 -1
- package/dist/recipes/radiogroup/radiogroup.d.ts +0 -2
- package/dist/recipes/radiogroup/radiogroup.js +1 -2
- package/dist/recipes/section/section.d.ts +3 -3
- package/dist/recipes/section/section.js +6 -3
- package/dist/recipes/section/section.js.map +1 -1
- package/dist/recipes/segmented-control/segmented-control.d.ts +0 -2
- package/dist/recipes/segmented-control/segmented-control.js +5 -3
- package/dist/recipes/segmented-control/segmented-control.js.map +1 -1
- package/dist/recipes/select/select.d.ts +2 -4
- package/dist/recipes/select/select.js +6 -5
- package/dist/recipes/select/select.js.map +1 -1
- package/dist/recipes/skip-link/skip-link.d.ts +6 -0
- package/dist/recipes/skip-link/skip-link.js +9 -0
- package/dist/recipes/skip-link/skip-link.js.map +1 -0
- package/dist/recipes/table/table.d.ts +6 -6
- package/dist/recipes/table/table.js +17 -7
- package/dist/recipes/table/table.js.map +1 -1
- package/dist/recipes/tabs/tabs.d.ts +0 -2
- package/dist/recipes/tabs/tabs.js +4 -3
- package/dist/recipes/tabs/tabs.js.map +1 -1
- package/dist/recipes/text/text.d.ts +53 -0
- package/dist/recipes/text/text.js +42 -0
- package/dist/recipes/text/text.js.map +1 -0
- package/dist/recipes/visually-hidden/visually-hidden.d.ts +0 -2
- package/dist/recipes/visually-hidden/visually-hidden.js +1 -2
- package/dist/style.css +1 -1
- package/dist/styles/css-vars.d.ts +0 -2
- package/dist/styles/css-vars.js +1 -2
- package/dist/styles/make-recipe-type.d.ts +0 -2
- package/dist/styles/make-recipe.d.ts +1 -3
- package/dist/styles/make-recipe.js +3 -4
- package/dist/styles/make-recipe.js.map +1 -1
- package/dist/styles/primitive-css/active.module.js +1 -2
- package/dist/styles/primitive-css/base.module.js +2 -2
- package/dist/styles/primitive-css/base.module.js.map +1 -1
- package/dist/styles/primitive-css/checked.module.js +5 -4
- package/dist/styles/primitive-css/checked.module.js.map +1 -1
- package/dist/styles/primitive-css/composite.module.js +1 -2
- package/dist/styles/primitive-css/disabled.module.js +1 -2
- package/dist/styles/primitive-css/focus.module.js +1 -2
- package/dist/styles/primitive-css/hover.module.js +3 -3
- package/dist/styles/primitive-css/hover.module.js.map +1 -1
- package/dist/styles/primitive-css/icon.module.js +2 -4
- package/dist/styles/primitive-css/icon.module.js.map +1 -1
- package/dist/styles/primitive-css/misc.module.js +3 -3
- package/dist/styles/primitive-css/misc.module.js.map +1 -1
- package/dist/styles/primitive-css/neutral.module.js +18 -12
- package/dist/styles/primitive-css/neutral.module.js.map +1 -1
- package/dist/styles/primitive-css/pseudo-element.module.js +1 -2
- package/dist/styles/primitive.gen.d.ts +48 -17
- package/dist/styles/primitive.gen.js +36 -18
- package/dist/styles/primitive.gen.js.map +1 -1
- package/package.json +2 -2
package/dist/recipes/hr/hr.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { makeRecipe } from "../../styles/make-recipe.js";
|
|
2
|
-
|
|
2
|
+
// src/recipes/hr/hr.ts
|
|
3
3
|
const hrRecipe = makeRecipe({
|
|
4
4
|
base: { root: {
|
|
5
5
|
reset: "true",
|
|
6
6
|
marginBlock: "0.5x",
|
|
7
|
-
|
|
7
|
+
borderBlockStartWidth: "base",
|
|
8
|
+
borderStyle: "solid",
|
|
9
|
+
borderColor: "divider"
|
|
8
10
|
} },
|
|
9
11
|
variants: {}
|
|
10
12
|
});
|
|
11
|
-
//#endregion
|
|
12
13
|
export { hrRecipe };
|
|
13
14
|
|
|
14
15
|
//# sourceMappingURL=hr.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hr.js","names":[],"sources":["../../../src/recipes/hr/hr.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const hrRecipe = makeRecipe({\n base: {\n root: {\n reset: \"true\",\n marginBlock: \"0.5x\",\n
|
|
1
|
+
{"version":3,"file":"hr.js","names":[],"sources":["../../../src/recipes/hr/hr.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const hrRecipe = makeRecipe({\n base: {\n root: {\n reset: \"true\",\n marginBlock: \"0.5x\",\n borderBlockStartWidth: \"base\",\n borderStyle: \"solid\",\n borderColor: \"divider\",\n },\n },\n variants: {},\n});\n\nexport type HrVariants = RecipeVariants<typeof hrRecipe>;\nexport type HrSlots = RecipeSlots<typeof hrRecipe>;\n"],"mappings":";;AAGA,MAAa,WAAW,WAAW;CACjC,MAAM,EACJ,MAAM;EACJ,OAAO;EACP,aAAa;EACb,uBAAuB;EACvB,aAAa;EACb,aAAa;CACf,EACF;CACA,UAAU,CAAC;AACb,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Recipe } from "../../styles/make-recipe.js";
|
|
2
2
|
import { RecipeSlots, RecipeVariants } from "../../styles/make-recipe-type.js";
|
|
3
|
-
//#region src/recipes/input/input.d.ts
|
|
4
3
|
export declare const inputRecipe: Recipe<"root" | "input", {
|
|
5
4
|
color: {
|
|
6
5
|
accent: {
|
|
@@ -33,7 +32,7 @@ export declare const inputRecipe: Recipe<"root" | "input", {
|
|
|
33
32
|
};
|
|
34
33
|
md: {
|
|
35
34
|
input: {
|
|
36
|
-
|
|
35
|
+
minHeight: "2x";
|
|
37
36
|
};
|
|
38
37
|
};
|
|
39
38
|
};
|
|
@@ -43,17 +42,16 @@ export declare const inputRecipe: Recipe<"root" | "input", {
|
|
|
43
42
|
baseColor: "danger";
|
|
44
43
|
};
|
|
45
44
|
input: {
|
|
46
|
-
|
|
45
|
+
borderColor: "danger-divider";
|
|
47
46
|
};
|
|
48
47
|
};
|
|
49
48
|
false: {
|
|
50
49
|
input: {
|
|
51
|
-
|
|
50
|
+
borderColor: "divider";
|
|
52
51
|
};
|
|
53
52
|
};
|
|
54
53
|
};
|
|
55
54
|
}>;
|
|
56
55
|
export type InputVariants = RecipeVariants<typeof inputRecipe>;
|
|
57
56
|
export type InputSlots = RecipeSlots<typeof inputRecipe>;
|
|
58
|
-
//#endregion
|
|
59
57
|
//# sourceMappingURL=input.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { makeRecipe } from "../../styles/make-recipe.js";
|
|
2
|
-
|
|
2
|
+
// src/recipes/input/input.ts
|
|
3
3
|
const inputRecipe = makeRecipe({
|
|
4
4
|
base: {
|
|
5
5
|
root: {
|
|
@@ -10,6 +10,8 @@ const inputRecipe = makeRecipe({
|
|
|
10
10
|
input: {
|
|
11
11
|
reset: "true",
|
|
12
12
|
transition: "colors",
|
|
13
|
+
borderWidth: "base",
|
|
14
|
+
borderStyle: "solid",
|
|
13
15
|
paddingInline: "0.75x",
|
|
14
16
|
borderRadius: "base",
|
|
15
17
|
outline: "transparent",
|
|
@@ -43,14 +45,14 @@ const inputRecipe = makeRecipe({
|
|
|
43
45
|
paddingBlock: "0.25x",
|
|
44
46
|
height: "auto"
|
|
45
47
|
} },
|
|
46
|
-
md: { input: {
|
|
48
|
+
md: { input: { minHeight: "2x" } }
|
|
47
49
|
},
|
|
48
50
|
error: {
|
|
49
51
|
true: {
|
|
50
52
|
root: { baseColor: "danger" },
|
|
51
|
-
input: {
|
|
53
|
+
input: { borderColor: "danger-divider" }
|
|
52
54
|
},
|
|
53
|
-
false: { input: {
|
|
55
|
+
false: { input: { borderColor: "divider" } }
|
|
54
56
|
}
|
|
55
57
|
},
|
|
56
58
|
defaultVariants: {
|
|
@@ -59,7 +61,6 @@ const inputRecipe = makeRecipe({
|
|
|
59
61
|
error: "false"
|
|
60
62
|
}
|
|
61
63
|
});
|
|
62
|
-
//#endregion
|
|
63
64
|
export { inputRecipe };
|
|
64
65
|
|
|
65
66
|
//# sourceMappingURL=input.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.js","names":[],"sources":["../../../src/recipes/input/input.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const inputRecipe = makeRecipe({\n base: {\n root: {\n baseColor: \"accent\",\n display: \"flex-col\",\n width: \"fit-content\",\n },\n input: {\n reset: \"true\",\n transition: \"colors\",\n paddingInline: \"0.75x\",\n borderRadius: \"base\",\n outline: \"transparent\",\n color: \"text\",\n bgColor: \"transparent\",\n _hover: {\n bgColor: \"base-alpha\",\n },\n _focus: {\n borderColor: \"base\",\n outline: \"base-alpha-peak\",\n },\n _readOnly: {\n color: \"text-dimmed\",\n bgColor: \"section\",\n },\n _disabled: {\n color: \"base-muted\",\n bgColor: \"section\",\n cursor: \"not-allowed\",\n },\n },\n },\n variants: {\n color: {\n accent: { root: { baseColor: \"accent\" } },\n danger: { root: { baseColor: \"danger\" } },\n caution: { root: { baseColor: \"caution\" } },\n neutral: { root: { baseColor: \"neutral\" } },\n },\n height: {\n auto: {\n input: {\n paddingBlock: \"0.25x\",\n height: \"auto\",\n },\n },\n md: {\n input: {\n
|
|
1
|
+
{"version":3,"file":"input.js","names":[],"sources":["../../../src/recipes/input/input.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const inputRecipe = makeRecipe({\n base: {\n root: {\n baseColor: \"accent\",\n display: \"flex-col\",\n width: \"fit-content\",\n },\n input: {\n reset: \"true\",\n transition: \"colors\",\n borderWidth: \"base\",\n borderStyle: \"solid\",\n paddingInline: \"0.75x\",\n borderRadius: \"base\",\n outline: \"transparent\",\n color: \"text\",\n bgColor: \"transparent\",\n _hover: {\n bgColor: \"base-alpha\",\n },\n _focus: {\n borderColor: \"base\",\n outline: \"base-alpha-peak\",\n },\n _readOnly: {\n color: \"text-dimmed\",\n bgColor: \"section\",\n },\n _disabled: {\n color: \"base-muted\",\n bgColor: \"section\",\n cursor: \"not-allowed\",\n },\n },\n },\n variants: {\n color: {\n accent: { root: { baseColor: \"accent\" } },\n danger: { root: { baseColor: \"danger\" } },\n caution: { root: { baseColor: \"caution\" } },\n neutral: { root: { baseColor: \"neutral\" } },\n },\n height: {\n auto: {\n input: {\n paddingBlock: \"0.25x\",\n height: \"auto\",\n },\n },\n md: {\n input: {\n minHeight: \"2x\",\n },\n },\n },\n error: {\n true: {\n root: {\n baseColor: \"danger\",\n },\n input: {\n borderColor: \"danger-divider\",\n },\n },\n false: {\n input: {\n borderColor: \"divider\",\n },\n },\n },\n },\n defaultVariants: {\n color: \"accent\",\n height: \"md\",\n error: \"false\",\n },\n});\n\nexport type InputVariants = RecipeVariants<typeof inputRecipe>;\nexport type InputSlots = RecipeSlots<typeof inputRecipe>;\n"],"mappings":";;AAGA,MAAa,cAAc,WAAW;CACpC,MAAM;EACJ,MAAM;GACJ,WAAW;GACX,SAAS;GACT,OAAO;EACT;EACA,OAAO;GACL,OAAO;GACP,YAAY;GACZ,aAAa;GACb,aAAa;GACb,eAAe;GACf,cAAc;GACd,SAAS;GACT,OAAO;GACP,SAAS;GACT,QAAQ,EACN,SAAS,aACX;GACA,QAAQ;IACN,aAAa;IACb,SAAS;GACX;GACA,WAAW;IACT,OAAO;IACP,SAAS;GACX;GACA,WAAW;IACT,OAAO;IACP,SAAS;IACT,QAAQ;GACV;EACF;CACF;CACA,UAAU;EACR,OAAO;GACL,QAAQ,EAAE,MAAM,EAAE,WAAW,SAAS,EAAE;GACxC,QAAQ,EAAE,MAAM,EAAE,WAAW,SAAS,EAAE;GACxC,SAAS,EAAE,MAAM,EAAE,WAAW,UAAU,EAAE;GAC1C,SAAS,EAAE,MAAM,EAAE,WAAW,UAAU,EAAE;EAC5C;EACA,QAAQ;GACN,MAAM,EACJ,OAAO;IACL,cAAc;IACd,QAAQ;GACV,EACF;GACA,IAAI,EACF,OAAO,EACL,WAAW,KACb,EACF;EACF;EACA,OAAO;GACL,MAAM;IACJ,MAAM,EACJ,WAAW,SACb;IACA,OAAO,EACL,aAAa,iBACf;GACF;GACA,OAAO,EACL,OAAO,EACL,aAAa,UACf,EACF;EACF;CACF;CACA,iBAAiB;EACf,OAAO;EACP,QAAQ;EACR,OAAO;CACT;AACF,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Recipe } from "../../styles/make-recipe.js";
|
|
2
2
|
import { RecipeSlots, RecipeVariants } from "../../styles/make-recipe-type.js";
|
|
3
|
-
//#region src/recipes/label/label.d.ts
|
|
4
3
|
export declare const labelRecipe: Recipe<"root" | "errorIcon" | "error" | "description" | "errorMessage" | "fieldName" | "fieldMarker", {
|
|
5
4
|
marker: {
|
|
6
5
|
text: {
|
|
@@ -45,5 +44,4 @@ export declare const labelRecipe: Recipe<"root" | "errorIcon" | "error" | "descr
|
|
|
45
44
|
}>;
|
|
46
45
|
export type LabelVariants = RecipeVariants<typeof labelRecipe>;
|
|
47
46
|
export type LabelSlots = RecipeSlots<typeof labelRecipe>;
|
|
48
|
-
//#endregion
|
|
49
47
|
//# sourceMappingURL=label.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { makeRecipe } from "../../styles/make-recipe.js";
|
|
2
|
-
|
|
2
|
+
// src/recipes/label/label.ts
|
|
3
3
|
const labelRecipe = makeRecipe({
|
|
4
4
|
base: {
|
|
5
5
|
root: {
|
|
@@ -57,7 +57,6 @@ const labelRecipe = makeRecipe({
|
|
|
57
57
|
},
|
|
58
58
|
defaultVariants: { marker: "text" }
|
|
59
59
|
});
|
|
60
|
-
//#endregion
|
|
61
60
|
export { labelRecipe };
|
|
62
61
|
|
|
63
62
|
//# sourceMappingURL=label.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Recipe } from "../../styles/make-recipe.js";
|
|
2
2
|
import { RecipeSlots, RecipeVariants } from "../../styles/make-recipe-type.js";
|
|
3
|
-
//#region src/recipes/menu/menu.d.ts
|
|
4
3
|
export declare const menuitemRecipe: Recipe<"root", {
|
|
5
4
|
color: {
|
|
6
5
|
accent: {
|
|
@@ -27,5 +26,4 @@ export declare const menuitemRecipe: Recipe<"root", {
|
|
|
27
26
|
}>;
|
|
28
27
|
export type MenuitemVariants = RecipeVariants<typeof menuitemRecipe>;
|
|
29
28
|
export type MenuitemSlots = RecipeSlots<typeof menuitemRecipe>;
|
|
30
|
-
//#endregion
|
|
31
29
|
//# sourceMappingURL=menu.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { makeRecipe } from "../../styles/make-recipe.js";
|
|
2
|
-
|
|
2
|
+
// src/recipes/menu/menu.ts
|
|
3
3
|
const menuitemRecipe = makeRecipe({
|
|
4
4
|
base: { root: {
|
|
5
5
|
reset: "true",
|
|
@@ -28,7 +28,6 @@ const menuitemRecipe = makeRecipe({
|
|
|
28
28
|
} },
|
|
29
29
|
defaultVariants: { color: "neutral" }
|
|
30
30
|
});
|
|
31
|
-
//#endregion
|
|
32
31
|
export { menuitemRecipe };
|
|
33
32
|
|
|
34
33
|
//# sourceMappingURL=menu.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Recipe } from "../../styles/make-recipe.js";
|
|
2
2
|
import { RecipeSlots, RecipeVariants } from "../../styles/make-recipe-type.js";
|
|
3
|
-
//#region src/recipes/paragraph/paragraph.d.ts
|
|
4
3
|
export declare const paragraphRecipe: Recipe<"root", {
|
|
5
4
|
color: {
|
|
6
5
|
text: {
|
|
@@ -54,5 +53,4 @@ export declare const paragraphRecipe: Recipe<"root", {
|
|
|
54
53
|
}>;
|
|
55
54
|
export type ParagraphVariants = RecipeVariants<typeof paragraphRecipe>;
|
|
56
55
|
export type ParagraphSlots = RecipeSlots<typeof paragraphRecipe>;
|
|
57
|
-
//#endregion
|
|
58
56
|
//# sourceMappingURL=paragraph.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { makeRecipe } from "../../styles/make-recipe.js";
|
|
2
|
-
|
|
2
|
+
// src/recipes/paragraph/paragraph.ts
|
|
3
3
|
const paragraphRecipe = makeRecipe({
|
|
4
4
|
base: { root: { reset: "true" } },
|
|
5
5
|
variants: {
|
|
@@ -34,7 +34,6 @@ const paragraphRecipe = makeRecipe({
|
|
|
34
34
|
margin: "block"
|
|
35
35
|
}
|
|
36
36
|
});
|
|
37
|
-
//#endregion
|
|
38
37
|
export { paragraphRecipe };
|
|
39
38
|
|
|
40
39
|
//# sourceMappingURL=paragraph.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Recipe } from "../../styles/make-recipe.js";
|
|
2
2
|
import { RecipeSlots, RecipeVariants } from "../../styles/make-recipe-type.js";
|
|
3
|
-
//#region src/recipes/popover/popover.d.ts
|
|
4
3
|
export declare const popoverRecipe: Recipe<"root", {
|
|
5
4
|
position: {
|
|
6
5
|
"block-start": {
|
|
@@ -131,5 +130,4 @@ export declare const popoverRecipe: Recipe<"root", {
|
|
|
131
130
|
}>;
|
|
132
131
|
export type PopoverVariants = RecipeVariants<typeof popoverRecipe>;
|
|
133
132
|
export type PopoverSlots = RecipeSlots<typeof popoverRecipe>;
|
|
134
|
-
//#endregion
|
|
135
133
|
//# sourceMappingURL=popover.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { makeRecipe } from "../../styles/make-recipe.js";
|
|
2
|
-
|
|
2
|
+
// src/recipes/popover/popover.ts
|
|
3
3
|
const popoverRecipe = makeRecipe({
|
|
4
4
|
base: { root: {
|
|
5
5
|
reset: "true",
|
|
@@ -8,7 +8,9 @@ const popoverRecipe = makeRecipe({
|
|
|
8
8
|
boxShadow: "bg-box",
|
|
9
9
|
color: "text",
|
|
10
10
|
bgColor: "body",
|
|
11
|
-
|
|
11
|
+
borderWidth: "base",
|
|
12
|
+
borderStyle: "solid",
|
|
13
|
+
borderColor: "divider",
|
|
12
14
|
borderRadius: "base",
|
|
13
15
|
opacity: "0",
|
|
14
16
|
_popoverOpen: {
|
|
@@ -99,7 +101,6 @@ const popoverRecipe = makeRecipe({
|
|
|
99
101
|
padding: "md"
|
|
100
102
|
}
|
|
101
103
|
});
|
|
102
|
-
//#endregion
|
|
103
104
|
export { popoverRecipe };
|
|
104
105
|
|
|
105
106
|
//# sourceMappingURL=popover.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.js","names":[],"sources":["../../../src/recipes/popover/popover.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const popoverRecipe = makeRecipe({\n base: {\n root: {\n reset: \"true\",\n transition: \"fade\",\n position: \"absolute\",\n boxShadow: \"bg-box\",\n color: \"text\",\n bgColor: \"body\",\n
|
|
1
|
+
{"version":3,"file":"popover.js","names":[],"sources":["../../../src/recipes/popover/popover.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const popoverRecipe = makeRecipe({\n base: {\n root: {\n reset: \"true\",\n transition: \"fade\",\n position: \"absolute\",\n boxShadow: \"bg-box\",\n color: \"text\",\n bgColor: \"body\",\n borderWidth: \"base\",\n borderStyle: \"solid\",\n borderColor: \"divider\",\n borderRadius: \"base\",\n opacity: \"0\",\n _popoverOpen: {\n opacity: \"1\",\n startingOpacity: \"0\",\n },\n },\n },\n variants: {\n position: {\n \"block-start\": {\n root: {\n positionArea: \"block-start\",\n insetBlock: \"base-offset\",\n },\n },\n \"block-start-span-start\": {\n root: {\n positionArea: \"block-start-span-start\",\n insetBlock: \"base-offset\",\n },\n },\n \"block-start-span-end\": {\n root: {\n positionArea: \"block-start-span-end\",\n insetBlock: \"base-offset\",\n },\n },\n \"block-end\": {\n root: {\n positionArea: \"block-end\",\n insetBlock: \"base-offset\",\n },\n },\n \"block-end-span-start\": {\n root: {\n positionArea: \"block-end-span-start\",\n insetBlock: \"base-offset\",\n },\n },\n \"block-end-span-end\": {\n root: {\n positionArea: \"block-end-span-end\",\n insetBlock: \"base-offset\",\n },\n },\n \"inline-start\": {\n root: {\n positionArea: \"inline-start\",\n insetInline: \"base-offset\",\n },\n },\n \"inline-start-span-start\": {\n root: {\n positionArea: \"inline-start-span-start\",\n insetInline: \"base-offset\",\n },\n },\n \"inline-start-span-end\": {\n root: {\n positionArea: \"inline-start-span-end\",\n insetInline: \"base-offset\",\n },\n },\n \"inline-end\": {\n root: {\n positionArea: \"inline-end\",\n insetInline: \"base-offset\",\n },\n },\n \"inline-end-span-start\": {\n root: {\n positionArea: \"inline-end-span-start\",\n insetInline: \"base-offset\",\n },\n },\n \"inline-end-span-end\": {\n root: {\n positionArea: \"inline-end-span-end\",\n insetInline: \"base-offset\",\n },\n },\n },\n fallbacks: {\n none: {\n root: {\n positionTryFallbacks: \"none\",\n },\n },\n flip: {\n root: {\n positionTryFallbacks: \"flip\",\n },\n },\n },\n visibility: {\n always: {\n root: {\n positionVisibility: \"always\",\n },\n },\n \"anchors-visible\": {\n root: {\n positionVisibility: \"anchors-visible\",\n },\n },\n \"no-overflow\": {\n root: {\n positionVisibility: \"no-overflow\",\n },\n },\n },\n padding: {\n none: {\n root: {},\n },\n sm: {\n root: {\n paddingInline: \"0.25x\",\n paddingBlock: \"0.25x\",\n },\n },\n md: {\n root: {\n paddingBlock: \"0.5x\",\n paddingInline: \"0.75x\",\n },\n },\n lg: {\n root: {\n paddingBlock: \"0.75x\",\n paddingInline: \"1.25x\",\n },\n },\n },\n },\n defaultVariants: {\n position: \"block-start\",\n fallbacks: \"flip\",\n visibility: \"anchors-visible\",\n padding: \"md\",\n },\n});\n\nexport type PopoverVariants = RecipeVariants<typeof popoverRecipe>;\nexport type PopoverSlots = RecipeSlots<typeof popoverRecipe>;\n"],"mappings":";;AAGA,MAAa,gBAAgB,WAAW;CACtC,MAAM,EACJ,MAAM;EACJ,OAAO;EACP,YAAY;EACZ,UAAU;EACV,WAAW;EACX,OAAO;EACP,SAAS;EACT,aAAa;EACb,aAAa;EACb,aAAa;EACb,cAAc;EACd,SAAS;EACT,cAAc;GACZ,SAAS;GACT,iBAAiB;EACnB;CACF,EACF;CACA,UAAU;EACR,UAAU;GACR,eAAe,EACb,MAAM;IACJ,cAAc;IACd,YAAY;GACd,EACF;GACA,0BAA0B,EACxB,MAAM;IACJ,cAAc;IACd,YAAY;GACd,EACF;GACA,wBAAwB,EACtB,MAAM;IACJ,cAAc;IACd,YAAY;GACd,EACF;GACA,aAAa,EACX,MAAM;IACJ,cAAc;IACd,YAAY;GACd,EACF;GACA,wBAAwB,EACtB,MAAM;IACJ,cAAc;IACd,YAAY;GACd,EACF;GACA,sBAAsB,EACpB,MAAM;IACJ,cAAc;IACd,YAAY;GACd,EACF;GACA,gBAAgB,EACd,MAAM;IACJ,cAAc;IACd,aAAa;GACf,EACF;GACA,2BAA2B,EACzB,MAAM;IACJ,cAAc;IACd,aAAa;GACf,EACF;GACA,yBAAyB,EACvB,MAAM;IACJ,cAAc;IACd,aAAa;GACf,EACF;GACA,cAAc,EACZ,MAAM;IACJ,cAAc;IACd,aAAa;GACf,EACF;GACA,yBAAyB,EACvB,MAAM;IACJ,cAAc;IACd,aAAa;GACf,EACF;GACA,uBAAuB,EACrB,MAAM;IACJ,cAAc;IACd,aAAa;GACf,EACF;EACF;EACA,WAAW;GACT,MAAM,EACJ,MAAM,EACJ,sBAAsB,OACxB,EACF;GACA,MAAM,EACJ,MAAM,EACJ,sBAAsB,OACxB,EACF;EACF;EACA,YAAY;GACV,QAAQ,EACN,MAAM,EACJ,oBAAoB,SACtB,EACF;GACA,mBAAmB,EACjB,MAAM,EACJ,oBAAoB,kBACtB,EACF;GACA,eAAe,EACb,MAAM,EACJ,oBAAoB,cACtB,EACF;EACF;EACA,SAAS;GACP,MAAM,EACJ,MAAM,CAAC,EACT;GACA,IAAI,EACF,MAAM;IACJ,eAAe;IACf,cAAc;GAChB,EACF;GACA,IAAI,EACF,MAAM;IACJ,cAAc;IACd,eAAe;GACjB,EACF;GACA,IAAI,EACF,MAAM;IACJ,cAAc;IACd,eAAe;GACjB,EACF;EACF;CACF;CACA,iBAAiB;EACf,UAAU;EACV,WAAW;EACX,YAAY;EACZ,SAAS;CACX;AACF,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Recipe } from "../../styles/make-recipe.js";
|
|
2
2
|
import { RecipeSlots, RecipeVariants } from "../../styles/make-recipe-type.js";
|
|
3
|
-
//#region src/recipes/progress/progress.d.ts
|
|
4
3
|
export declare const progressRecipe: Recipe<"label" | "root" | "bar" | "value", {
|
|
5
4
|
color: {
|
|
6
5
|
accent: {
|
|
@@ -65,5 +64,4 @@ export declare const progressRecipe: Recipe<"label" | "root" | "bar" | "value",
|
|
|
65
64
|
}>;
|
|
66
65
|
export type ProgressVariants = RecipeVariants<typeof progressRecipe>;
|
|
67
66
|
export type ProgressSlots = RecipeSlots<typeof progressRecipe>;
|
|
68
|
-
//#endregion
|
|
69
67
|
//# sourceMappingURL=progress.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { makeRecipe } from "../../styles/make-recipe.js";
|
|
2
|
-
|
|
2
|
+
// src/recipes/progress/progress.ts
|
|
3
3
|
const progressRecipe = makeRecipe({
|
|
4
4
|
base: {
|
|
5
5
|
root: { reset: "true" },
|
|
@@ -53,7 +53,6 @@ const progressRecipe = makeRecipe({
|
|
|
53
53
|
size: "md"
|
|
54
54
|
}
|
|
55
55
|
});
|
|
56
|
-
//#endregion
|
|
57
56
|
export { progressRecipe };
|
|
58
57
|
|
|
59
58
|
//# sourceMappingURL=progress.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Recipe } from "../../styles/make-recipe.js";
|
|
2
2
|
import { RecipeSlots, RecipeVariants } from "../../styles/make-recipe-type.js";
|
|
3
|
-
|
|
4
|
-
export declare const radioRecipe: Recipe<"label" | "root" | "errorIcon" | "error" | "errorMessage" | "radio", {
|
|
3
|
+
export declare const radioRecipe: Recipe<"label" | "root" | "errorIcon" | "error" | "radio" | "errorMessage", {
|
|
5
4
|
color: {
|
|
6
5
|
accent: {
|
|
7
6
|
radio: {
|
|
@@ -28,17 +27,16 @@ export declare const radioRecipe: Recipe<"label" | "root" | "errorIcon" | "error
|
|
|
28
27
|
true: {
|
|
29
28
|
radio: {
|
|
30
29
|
baseColor: "danger";
|
|
31
|
-
|
|
30
|
+
borderColor: "danger-divider";
|
|
32
31
|
};
|
|
33
32
|
};
|
|
34
33
|
false: {
|
|
35
34
|
radio: {
|
|
36
|
-
|
|
35
|
+
borderColor: "divider";
|
|
37
36
|
};
|
|
38
37
|
};
|
|
39
38
|
};
|
|
40
39
|
}>;
|
|
41
40
|
export type RadioVariants = RecipeVariants<typeof radioRecipe>;
|
|
42
41
|
export type RadioSlots = RecipeSlots<typeof radioRecipe>;
|
|
43
|
-
//#endregion
|
|
44
42
|
//# sourceMappingURL=radio.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { makeRecipe } from "../../styles/make-recipe.js";
|
|
2
|
-
|
|
2
|
+
// src/recipes/radio/radio.ts
|
|
3
3
|
const radioRecipe = makeRecipe({
|
|
4
4
|
base: {
|
|
5
5
|
root: {
|
|
@@ -13,14 +13,16 @@ const radioRecipe = makeRecipe({
|
|
|
13
13
|
width: "1x",
|
|
14
14
|
height: "1x",
|
|
15
15
|
borderRadius: "0.5x",
|
|
16
|
+
borderWidth: "base",
|
|
17
|
+
borderStyle: "solid",
|
|
16
18
|
_checked: {
|
|
17
|
-
|
|
19
|
+
borderColor: "base",
|
|
18
20
|
icon: "radio"
|
|
19
21
|
},
|
|
20
22
|
_focusVisible: { outline: "focus-ring" },
|
|
21
23
|
_hover: {
|
|
22
24
|
bgColor: "base-alpha",
|
|
23
|
-
|
|
25
|
+
borderColor: "base-top"
|
|
24
26
|
},
|
|
25
27
|
_disabled: {
|
|
26
28
|
bgColor: "box",
|
|
@@ -58,9 +60,9 @@ const radioRecipe = makeRecipe({
|
|
|
58
60
|
error: {
|
|
59
61
|
true: { radio: {
|
|
60
62
|
baseColor: "danger",
|
|
61
|
-
|
|
63
|
+
borderColor: "danger-divider"
|
|
62
64
|
} },
|
|
63
|
-
false: { radio: {
|
|
65
|
+
false: { radio: { borderColor: "divider" } }
|
|
64
66
|
}
|
|
65
67
|
},
|
|
66
68
|
defaultVariants: {
|
|
@@ -68,7 +70,6 @@ const radioRecipe = makeRecipe({
|
|
|
68
70
|
error: "false"
|
|
69
71
|
}
|
|
70
72
|
});
|
|
71
|
-
//#endregion
|
|
72
73
|
export { radioRecipe };
|
|
73
74
|
|
|
74
75
|
//# sourceMappingURL=radio.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio.js","names":[],"sources":["../../../src/recipes/radio/radio.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const radioRecipe = makeRecipe({\n base: {\n root: {\n display: \"flex\",\n gap: \"0.5x\",\n lineHeight: \"1\",\n },\n radio: {\n reset: \"true\",\n transition: \"colors\",\n width: \"1x\",\n height: \"1x\",\n borderRadius: \"0.5x\",\n _checked: {\n
|
|
1
|
+
{"version":3,"file":"radio.js","names":[],"sources":["../../../src/recipes/radio/radio.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const radioRecipe = makeRecipe({\n base: {\n root: {\n display: \"flex\",\n gap: \"0.5x\",\n lineHeight: \"1\",\n },\n radio: {\n reset: \"true\",\n transition: \"colors\",\n width: \"1x\",\n height: \"1x\",\n borderRadius: \"0.5x\",\n borderWidth: \"base\",\n borderStyle: \"solid\",\n _checked: {\n borderColor: \"base\",\n icon: \"radio\",\n },\n _focusVisible: {\n outline: \"focus-ring\",\n },\n _hover: {\n bgColor: \"base-alpha\",\n borderColor: \"base-top\",\n },\n _disabled: {\n bgColor: \"box\",\n borderColor: \"base-muted\",\n cursor: \"not-allowed\",\n },\n },\n label: {\n color: \"text\",\n _disabled: {\n color: \"text-muted\",\n cursor: \"not-allowed\",\n },\n },\n error: {\n reset: \"true\",\n display: \"flex\",\n alignItems: \"center\",\n gap: \"0.25x\",\n fontSize: \"0.875x\",\n },\n errorIcon: {\n color: \"danger\",\n icon: \"error\",\n },\n errorMessage: {\n color: \"danger\",\n },\n },\n variants: {\n color: {\n accent: {\n radio: {\n baseColor: \"accent\",\n },\n },\n danger: {\n radio: {\n baseColor: \"danger\",\n },\n },\n caution: {\n radio: {\n baseColor: \"caution\",\n },\n },\n neutral: {\n radio: {\n baseColor: \"neutral\",\n },\n },\n },\n error: {\n true: {\n radio: {\n baseColor: \"danger\",\n borderColor: \"danger-divider\",\n },\n },\n false: {\n radio: {\n borderColor: \"divider\",\n },\n },\n },\n },\n defaultVariants: {\n color: \"accent\",\n error: \"false\",\n },\n});\n\nexport type RadioVariants = RecipeVariants<typeof radioRecipe>;\nexport type RadioSlots = RecipeSlots<typeof radioRecipe>;\n"],"mappings":";;AAGA,MAAa,cAAc,WAAW;CACpC,MAAM;EACJ,MAAM;GACJ,SAAS;GACT,KAAK;GACL,YAAY;EACd;EACA,OAAO;GACL,OAAO;GACP,YAAY;GACZ,OAAO;GACP,QAAQ;GACR,cAAc;GACd,aAAa;GACb,aAAa;GACb,UAAU;IACR,aAAa;IACb,MAAM;GACR;GACA,eAAe,EACb,SAAS,aACX;GACA,QAAQ;IACN,SAAS;IACT,aAAa;GACf;GACA,WAAW;IACT,SAAS;IACT,aAAa;IACb,QAAQ;GACV;EACF;EACA,OAAO;GACL,OAAO;GACP,WAAW;IACT,OAAO;IACP,QAAQ;GACV;EACF;EACA,OAAO;GACL,OAAO;GACP,SAAS;GACT,YAAY;GACZ,KAAK;GACL,UAAU;EACZ;EACA,WAAW;GACT,OAAO;GACP,MAAM;EACR;EACA,cAAc,EACZ,OAAO,SACT;CACF;CACA,UAAU;EACR,OAAO;GACL,QAAQ,EACN,OAAO,EACL,WAAW,SACb,EACF;GACA,QAAQ,EACN,OAAO,EACL,WAAW,SACb,EACF;GACA,SAAS,EACP,OAAO,EACL,WAAW,UACb,EACF;GACA,SAAS,EACP,OAAO,EACL,WAAW,UACb,EACF;EACF;EACA,OAAO;GACL,MAAM,EACJ,OAAO;IACL,WAAW;IACX,aAAa;GACf,EACF;GACA,OAAO,EACL,OAAO,EACL,aAAa,UACf,EACF;EACF;CACF;CACA,iBAAiB;EACf,OAAO;EACP,OAAO;CACT;AACF,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Recipe } from "../../styles/make-recipe.js";
|
|
2
2
|
import { RecipeSlots, RecipeVariants } from "../../styles/make-recipe-type.js";
|
|
3
|
-
//#region src/recipes/radiogroup/radiogroup.d.ts
|
|
4
3
|
export declare const radiogroupRecipe: Recipe<"root" | "group", {
|
|
5
4
|
direction: {
|
|
6
5
|
row: {
|
|
@@ -19,5 +18,4 @@ export declare const radiogroupRecipe: Recipe<"root" | "group", {
|
|
|
19
18
|
}>;
|
|
20
19
|
export type RadiogroupVariants = RecipeVariants<typeof radiogroupRecipe>;
|
|
21
20
|
export type RadiogroupSlots = RecipeSlots<typeof radiogroupRecipe>;
|
|
22
|
-
//#endregion
|
|
23
21
|
//# sourceMappingURL=radiogroup.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { makeRecipe } from "../../styles/make-recipe.js";
|
|
2
|
-
|
|
2
|
+
// src/recipes/radiogroup/radiogroup.ts
|
|
3
3
|
const radiogroupRecipe = makeRecipe({
|
|
4
4
|
base: {
|
|
5
5
|
root: {
|
|
@@ -20,7 +20,6 @@ const radiogroupRecipe = makeRecipe({
|
|
|
20
20
|
} },
|
|
21
21
|
defaultVariants: { direction: "column" }
|
|
22
22
|
});
|
|
23
|
-
//#endregion
|
|
24
23
|
export { radiogroupRecipe };
|
|
25
24
|
|
|
26
25
|
//# sourceMappingURL=radiogroup.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Recipe } from "../../styles/make-recipe.js";
|
|
2
2
|
import { RecipeSlots, RecipeVariants } from "../../styles/make-recipe-type.js";
|
|
3
|
-
//#region src/recipes/section/section.d.ts
|
|
4
3
|
export declare const sectionRecipe: Recipe<"root", {
|
|
5
4
|
bg: {
|
|
6
5
|
none: {};
|
|
@@ -53,12 +52,13 @@ export declare const sectionRecipe: Recipe<"root", {
|
|
|
53
52
|
none: {};
|
|
54
53
|
solid: {
|
|
55
54
|
root: {
|
|
56
|
-
|
|
55
|
+
borderWidth: "base";
|
|
56
|
+
borderStyle: "solid";
|
|
57
|
+
borderColor: "divider";
|
|
57
58
|
};
|
|
58
59
|
};
|
|
59
60
|
};
|
|
60
61
|
}>;
|
|
61
62
|
export type SectionVariants = RecipeVariants<typeof sectionRecipe>;
|
|
62
63
|
export type SectionSlots = RecipeSlots<typeof sectionRecipe>;
|
|
63
|
-
//#endregion
|
|
64
64
|
//# sourceMappingURL=section.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { makeRecipe } from "../../styles/make-recipe.js";
|
|
2
|
-
|
|
2
|
+
// src/recipes/section/section.ts
|
|
3
3
|
const sectionRecipe = makeRecipe({
|
|
4
4
|
base: { root: {} },
|
|
5
5
|
variants: {
|
|
@@ -30,7 +30,11 @@ const sectionRecipe = makeRecipe({
|
|
|
30
30
|
},
|
|
31
31
|
border: {
|
|
32
32
|
none: {},
|
|
33
|
-
solid: { root: {
|
|
33
|
+
solid: { root: {
|
|
34
|
+
borderWidth: "base",
|
|
35
|
+
borderStyle: "solid",
|
|
36
|
+
borderColor: "divider"
|
|
37
|
+
} }
|
|
34
38
|
}
|
|
35
39
|
},
|
|
36
40
|
defaultVariants: {
|
|
@@ -40,7 +44,6 @@ const sectionRecipe = makeRecipe({
|
|
|
40
44
|
border: "none"
|
|
41
45
|
}
|
|
42
46
|
});
|
|
43
|
-
//#endregion
|
|
44
47
|
export { sectionRecipe };
|
|
45
48
|
|
|
46
49
|
//# sourceMappingURL=section.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"section.js","names":[],"sources":["../../../src/recipes/section/section.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const sectionRecipe = makeRecipe({\n base: {\n root: {},\n },\n variants: {\n bg: {\n none: {},\n body: {\n root: {\n bgColor: \"body\",\n },\n },\n section: {\n root: {\n bgColor: \"section\",\n },\n },\n box: {\n root: {\n bgColor: \"box\",\n },\n },\n },\n radius: {\n none: {},\n base: {\n root: {\n borderRadius: \"base\",\n },\n },\n },\n padding: {\n none: {},\n sm: {\n root: {\n paddingInline: \"0.75x\",\n paddingBlock: \"0.75x\",\n },\n },\n md: {\n root: {\n paddingInline: \"1x\",\n paddingBlock: \"1x\",\n },\n },\n lg: {\n root: {\n paddingInline: \"1.25x\",\n paddingBlock: \"1.25x\",\n },\n },\n },\n border: {\n none: {},\n solid: {\n root: {\n
|
|
1
|
+
{"version":3,"file":"section.js","names":[],"sources":["../../../src/recipes/section/section.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const sectionRecipe = makeRecipe({\n base: {\n root: {},\n },\n variants: {\n bg: {\n none: {},\n body: {\n root: {\n bgColor: \"body\",\n },\n },\n section: {\n root: {\n bgColor: \"section\",\n },\n },\n box: {\n root: {\n bgColor: \"box\",\n },\n },\n },\n radius: {\n none: {},\n base: {\n root: {\n borderRadius: \"base\",\n },\n },\n },\n padding: {\n none: {},\n sm: {\n root: {\n paddingInline: \"0.75x\",\n paddingBlock: \"0.75x\",\n },\n },\n md: {\n root: {\n paddingInline: \"1x\",\n paddingBlock: \"1x\",\n },\n },\n lg: {\n root: {\n paddingInline: \"1.25x\",\n paddingBlock: \"1.25x\",\n },\n },\n },\n border: {\n none: {},\n solid: {\n root: {\n borderWidth: \"base\",\n borderStyle: \"solid\",\n borderColor: \"divider\",\n },\n },\n },\n },\n defaultVariants: {\n bg: \"section\",\n radius: \"base\",\n padding: \"md\",\n border: \"none\",\n },\n});\n\nexport type SectionVariants = RecipeVariants<typeof sectionRecipe>;\nexport type SectionSlots = RecipeSlots<typeof sectionRecipe>;\n"],"mappings":";;AAGA,MAAa,gBAAgB,WAAW;CACtC,MAAM,EACJ,MAAM,CAAC,EACT;CACA,UAAU;EACR,IAAI;GACF,MAAM,CAAC;GACP,MAAM,EACJ,MAAM,EACJ,SAAS,OACX,EACF;GACA,SAAS,EACP,MAAM,EACJ,SAAS,UACX,EACF;GACA,KAAK,EACH,MAAM,EACJ,SAAS,MACX,EACF;EACF;EACA,QAAQ;GACN,MAAM,CAAC;GACP,MAAM,EACJ,MAAM,EACJ,cAAc,OAChB,EACF;EACF;EACA,SAAS;GACP,MAAM,CAAC;GACP,IAAI,EACF,MAAM;IACJ,eAAe;IACf,cAAc;GAChB,EACF;GACA,IAAI,EACF,MAAM;IACJ,eAAe;IACf,cAAc;GAChB,EACF;GACA,IAAI,EACF,MAAM;IACJ,eAAe;IACf,cAAc;GAChB,EACF;EACF;EACA,QAAQ;GACN,MAAM,CAAC;GACP,OAAO,EACL,MAAM;IACJ,aAAa;IACb,aAAa;IACb,aAAa;GACf,EACF;EACF;CACF;CACA,iBAAiB;EACf,IAAI;EACJ,QAAQ;EACR,SAAS;EACT,QAAQ;CACV;AACF,CAAC"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { Recipe } from "../../styles/make-recipe.js";
|
|
2
2
|
import { RecipeSlots, RecipeVariants } from "../../styles/make-recipe-type.js";
|
|
3
|
-
//#region src/recipes/segmented-control/segmented-control.d.ts
|
|
4
3
|
export declare const segmentedControlRootRecipe: Recipe<"root", {}>;
|
|
5
4
|
export type SegmentedControlRootVariants = RecipeVariants<typeof segmentedControlRootRecipe>;
|
|
6
5
|
export type SegmentedControlRootSlots = RecipeSlots<typeof segmentedControlRootRecipe>;
|
|
7
6
|
export declare const segmentedControlItemRecipe: Recipe<"root", {}>;
|
|
8
7
|
export type SegmentedControlItemVariants = RecipeVariants<typeof segmentedControlItemRecipe>;
|
|
9
8
|
export type SegmentedControlItemSlots = RecipeSlots<typeof segmentedControlItemRecipe>;
|
|
10
|
-
//#endregion
|
|
11
9
|
//# sourceMappingURL=segmented-control.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { makeRecipe } from "../../styles/make-recipe.js";
|
|
2
|
-
|
|
2
|
+
// src/recipes/segmented-control/segmented-control.ts
|
|
3
3
|
const segmentedControlRootRecipe = makeRecipe({
|
|
4
4
|
base: { root: {
|
|
5
5
|
reset: "true",
|
|
@@ -27,14 +27,16 @@ const segmentedControlItemRecipe = makeRecipe({
|
|
|
27
27
|
color: "text",
|
|
28
28
|
bgColor: "bg-body"
|
|
29
29
|
},
|
|
30
|
-
_hover: {
|
|
30
|
+
_hover: {
|
|
31
|
+
color: "text",
|
|
32
|
+
bgColor: "base-alpha"
|
|
33
|
+
},
|
|
31
34
|
_active: { bgColor: "base-alpha-peak" },
|
|
32
35
|
_focusVisible: { outline: "focus-ring" },
|
|
33
36
|
_pressedHover: { bgColor: "bg-body" }
|
|
34
37
|
} },
|
|
35
38
|
variants: {}
|
|
36
39
|
});
|
|
37
|
-
//#endregion
|
|
38
40
|
export { segmentedControlItemRecipe, segmentedControlRootRecipe };
|
|
39
41
|
|
|
40
42
|
//# sourceMappingURL=segmented-control.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"segmented-control.js","names":[],"sources":["../../../src/recipes/segmented-control/segmented-control.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const segmentedControlRootRecipe = makeRecipe({\n base: {\n root: {\n reset: \"true\",\n baseColor: \"neutral\",\n display: \"inline-flex\",\n gap: \"0.125x\",\n bgColor: \"box\",\n borderRadius: \"base\",\n paddingBlock: \"0.25x\",\n paddingInline: \"0.25x\",\n listStyle: \"none\",\n },\n },\n variants: {},\n});\nexport type SegmentedControlRootVariants = RecipeVariants<typeof segmentedControlRootRecipe>;\nexport type SegmentedControlRootSlots = RecipeSlots<typeof segmentedControlRootRecipe>;\n\nexport const segmentedControlItemRecipe = makeRecipe({\n base: {\n root: {\n reset: \"true\",\n lineHeight: \"1\",\n color: \"text-dimmed\",\n borderRadius: \"base\",\n paddingInline: \"0.75x\",\n paddingBlock: \"0.375x\",\n userSelect: \"none\",\n _pressed: {\n color: \"text\",\n bgColor: \"bg-body\",\n },\n _hover: {\n bgColor: \"base-alpha\",\n },\n _active: {\n bgColor: \"base-alpha-peak\",\n },\n _focusVisible: {\n outline: \"focus-ring\",\n },\n _pressedHover: {\n bgColor: \"bg-body\",\n },\n },\n },\n variants: {},\n});\nexport type SegmentedControlItemVariants = RecipeVariants<typeof segmentedControlItemRecipe>;\nexport type SegmentedControlItemSlots = RecipeSlots<typeof segmentedControlItemRecipe>;\n"],"mappings":";;AAGA,MAAa,6BAA6B,WAAW;CACnD,MAAM,EACJ,MAAM;EACJ,OAAO;EACP,WAAW;EACX,SAAS;EACT,KAAK;EACL,SAAS;EACT,cAAc;EACd,cAAc;EACd,eAAe;EACf,WAAW;CACb,EACF;CACA,UAAU,CAAC;AACb,CAAC;AAID,MAAa,6BAA6B,WAAW;CACnD,MAAM,EACJ,MAAM;EACJ,OAAO;EACP,YAAY;EACZ,OAAO;EACP,cAAc;EACd,eAAe;EACf,cAAc;EACd,YAAY;EACZ,UAAU;GACR,OAAO;GACP,SAAS;EACX;EACA,QAAQ,
|
|
1
|
+
{"version":3,"file":"segmented-control.js","names":[],"sources":["../../../src/recipes/segmented-control/segmented-control.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const segmentedControlRootRecipe = makeRecipe({\n base: {\n root: {\n reset: \"true\",\n baseColor: \"neutral\",\n display: \"inline-flex\",\n gap: \"0.125x\",\n bgColor: \"box\",\n borderRadius: \"base\",\n paddingBlock: \"0.25x\",\n paddingInline: \"0.25x\",\n listStyle: \"none\",\n },\n },\n variants: {},\n});\nexport type SegmentedControlRootVariants = RecipeVariants<typeof segmentedControlRootRecipe>;\nexport type SegmentedControlRootSlots = RecipeSlots<typeof segmentedControlRootRecipe>;\n\nexport const segmentedControlItemRecipe = makeRecipe({\n base: {\n root: {\n reset: \"true\",\n lineHeight: \"1\",\n color: \"text-dimmed\",\n borderRadius: \"base\",\n paddingInline: \"0.75x\",\n paddingBlock: \"0.375x\",\n userSelect: \"none\",\n _pressed: {\n color: \"text\",\n bgColor: \"bg-body\",\n },\n _hover: {\n color: \"text\",\n bgColor: \"base-alpha\",\n },\n _active: {\n bgColor: \"base-alpha-peak\",\n },\n _focusVisible: {\n outline: \"focus-ring\",\n },\n _pressedHover: {\n bgColor: \"bg-body\",\n },\n },\n },\n variants: {},\n});\nexport type SegmentedControlItemVariants = RecipeVariants<typeof segmentedControlItemRecipe>;\nexport type SegmentedControlItemSlots = RecipeSlots<typeof segmentedControlItemRecipe>;\n"],"mappings":";;AAGA,MAAa,6BAA6B,WAAW;CACnD,MAAM,EACJ,MAAM;EACJ,OAAO;EACP,WAAW;EACX,SAAS;EACT,KAAK;EACL,SAAS;EACT,cAAc;EACd,cAAc;EACd,eAAe;EACf,WAAW;CACb,EACF;CACA,UAAU,CAAC;AACb,CAAC;AAID,MAAa,6BAA6B,WAAW;CACnD,MAAM,EACJ,MAAM;EACJ,OAAO;EACP,YAAY;EACZ,OAAO;EACP,cAAc;EACd,eAAe;EACf,cAAc;EACd,YAAY;EACZ,UAAU;GACR,OAAO;GACP,SAAS;EACX;EACA,QAAQ;GACN,OAAO;GACP,SAAS;EACX;EACA,SAAS,EACP,SAAS,kBACX;EACA,eAAe,EACb,SAAS,aACX;EACA,eAAe,EACb,SAAS,UACX;CACF,EACF;CACA,UAAU,CAAC;AACb,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Recipe } from "../../styles/make-recipe.js";
|
|
2
2
|
import { RecipeSlots, RecipeVariants } from "../../styles/make-recipe-type.js";
|
|
3
|
-
//#region src/recipes/select/select.d.ts
|
|
4
3
|
export declare const selectRecipe: Recipe<"root" | "wrapper" | "select", {
|
|
5
4
|
error: {
|
|
6
5
|
true: {
|
|
@@ -8,17 +7,16 @@ export declare const selectRecipe: Recipe<"root" | "wrapper" | "select", {
|
|
|
8
7
|
baseColor: "danger";
|
|
9
8
|
};
|
|
10
9
|
select: {
|
|
11
|
-
|
|
10
|
+
borderColor: "danger-divider";
|
|
12
11
|
};
|
|
13
12
|
};
|
|
14
13
|
false: {
|
|
15
14
|
select: {
|
|
16
|
-
|
|
15
|
+
borderColor: "divider";
|
|
17
16
|
};
|
|
18
17
|
};
|
|
19
18
|
};
|
|
20
19
|
}>;
|
|
21
20
|
export type SelectVariants = RecipeVariants<typeof selectRecipe>;
|
|
22
21
|
export type SelectSlots = RecipeSlots<typeof selectRecipe>;
|
|
23
|
-
//#endregion
|
|
24
22
|
//# sourceMappingURL=select.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { makeRecipe } from "../../styles/make-recipe.js";
|
|
2
|
-
|
|
2
|
+
// src/recipes/select/select.ts
|
|
3
3
|
const selectRecipe = makeRecipe({
|
|
4
4
|
base: {
|
|
5
5
|
root: {
|
|
@@ -13,10 +13,12 @@ const selectRecipe = makeRecipe({
|
|
|
13
13
|
},
|
|
14
14
|
select: {
|
|
15
15
|
reset: "true",
|
|
16
|
+
borderWidth: "base",
|
|
17
|
+
borderStyle: "solid",
|
|
16
18
|
position: "relative",
|
|
17
19
|
transition: "colors",
|
|
18
20
|
width: "100%",
|
|
19
|
-
|
|
21
|
+
minHeight: "2x",
|
|
20
22
|
paddingInline: "0.75x",
|
|
21
23
|
paddingInlineEnd: "2x",
|
|
22
24
|
borderRadius: "base",
|
|
@@ -38,13 +40,12 @@ const selectRecipe = makeRecipe({
|
|
|
38
40
|
variants: { error: {
|
|
39
41
|
true: {
|
|
40
42
|
root: { baseColor: "danger" },
|
|
41
|
-
select: {
|
|
43
|
+
select: { borderColor: "danger-divider" }
|
|
42
44
|
},
|
|
43
|
-
false: { select: {
|
|
45
|
+
false: { select: { borderColor: "divider" } }
|
|
44
46
|
} },
|
|
45
47
|
defaultVariants: { error: "false" }
|
|
46
48
|
});
|
|
47
|
-
//#endregion
|
|
48
49
|
export { selectRecipe };
|
|
49
50
|
|
|
50
51
|
//# sourceMappingURL=select.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.js","names":[],"sources":["../../../src/recipes/select/select.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const selectRecipe = makeRecipe({\n base: {\n root: {\n baseColor: \"accent\",\n display: \"flex-col\",\n width: \"fit-content\",\n },\n wrapper: {\n position: \"relative\",\n icon: \"chevron-down\",\n },\n select: {\n reset: \"true\",\n position: \"relative\",\n transition: \"colors\",\n width: \"100%\",\n
|
|
1
|
+
{"version":3,"file":"select.js","names":[],"sources":["../../../src/recipes/select/select.ts"],"sourcesContent":["import { makeRecipe } from \"~/styles/make-recipe\";\nimport { type RecipeSlots, type RecipeVariants } from \"~/styles/make-recipe-type\";\n\nexport const selectRecipe = makeRecipe({\n base: {\n root: {\n baseColor: \"accent\",\n display: \"flex-col\",\n width: \"fit-content\",\n },\n wrapper: {\n position: \"relative\",\n icon: \"chevron-down\",\n },\n select: {\n reset: \"true\",\n borderWidth: \"base\",\n borderStyle: \"solid\",\n position: \"relative\",\n transition: \"colors\",\n width: \"100%\",\n minHeight: \"2x\",\n paddingInline: \"0.75x\",\n paddingInlineEnd: \"2x\",\n borderRadius: \"base\",\n outline: \"transparent\",\n color: \"text\",\n bgColor: \"transparent\",\n _hover: {\n bgColor: \"base-alpha\",\n },\n _focus: {\n borderColor: \"base\",\n outline: \"base-alpha-peak\",\n },\n _disabled: {\n color: \"base-muted\",\n cursor: \"not-allowed\",\n bgColor: \"section\",\n },\n },\n },\n variants: {\n error: {\n true: {\n root: {\n baseColor: \"danger\",\n },\n select: {\n borderColor: \"danger-divider\",\n },\n },\n false: {\n select: {\n borderColor: \"divider\",\n },\n },\n },\n },\n defaultVariants: {\n error: \"false\",\n },\n});\n\nexport type SelectVariants = RecipeVariants<typeof selectRecipe>;\nexport type SelectSlots = RecipeSlots<typeof selectRecipe>;\n"],"mappings":";;AAGA,MAAa,eAAe,WAAW;CACrC,MAAM;EACJ,MAAM;GACJ,WAAW;GACX,SAAS;GACT,OAAO;EACT;EACA,SAAS;GACP,UAAU;GACV,MAAM;EACR;EACA,QAAQ;GACN,OAAO;GACP,aAAa;GACb,aAAa;GACb,UAAU;GACV,YAAY;GACZ,OAAO;GACP,WAAW;GACX,eAAe;GACf,kBAAkB;GAClB,cAAc;GACd,SAAS;GACT,OAAO;GACP,SAAS;GACT,QAAQ,EACN,SAAS,aACX;GACA,QAAQ;IACN,aAAa;IACb,SAAS;GACX;GACA,WAAW;IACT,OAAO;IACP,QAAQ;IACR,SAAS;GACX;EACF;CACF;CACA,UAAU,EACR,OAAO;EACL,MAAM;GACJ,MAAM,EACJ,WAAW,SACb;GACA,QAAQ,EACN,aAAa,iBACf;EACF;EACA,OAAO,EACL,QAAQ,EACN,aAAa,UACf,EACF;CACF,EACF;CACA,iBAAiB,EACf,OAAO,QACT;AACF,CAAC"}
|