@bitrise/bitkit-v2 0.3.509 → 0.3.510
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.
|
@@ -30,6 +30,16 @@ declare const cardSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"b
|
|
|
30
30
|
false: {};
|
|
31
31
|
};
|
|
32
32
|
paddingSize: {
|
|
33
|
+
xs: {
|
|
34
|
+
body: {
|
|
35
|
+
paddingInline: "16";
|
|
36
|
+
paddingBlock: "8";
|
|
37
|
+
};
|
|
38
|
+
footer: {
|
|
39
|
+
paddingInline: "16";
|
|
40
|
+
paddingBlock: "8";
|
|
41
|
+
};
|
|
42
|
+
};
|
|
33
43
|
sm: {
|
|
34
44
|
body: {
|
|
35
45
|
padding: "16";
|
|
@@ -38,6 +38,16 @@ var cardSlotRecipe = defineSlotRecipe({
|
|
|
38
38
|
false: {}
|
|
39
39
|
},
|
|
40
40
|
paddingSize: {
|
|
41
|
+
xs: {
|
|
42
|
+
body: {
|
|
43
|
+
paddingInline: "16",
|
|
44
|
+
paddingBlock: "8"
|
|
45
|
+
},
|
|
46
|
+
footer: {
|
|
47
|
+
paddingInline: "16",
|
|
48
|
+
paddingBlock: "8"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
41
51
|
sm: {
|
|
42
52
|
body: { padding: "16" },
|
|
43
53
|
footer: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/Card.recipe.ts"],"sourcesContent":["import { cardAnatomy } from '@chakra-ui/react/anatomy';\nimport { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nconst cardSlotRecipe = defineSlotRecipe({\n className: 'card',\n slots: cardAnatomy.keys(),\n base: {\n root: {\n backgroundColor: 'background/primary',\n border: '1px solid',\n borderRadius: '8',\n // A card rendered as an inline element -- a link, via `asChild` -- would otherwise draw its\n // border in fragments around its block children instead of as one box.\n display: 'block',\n },\n footer: {\n borderTop: '1px solid',\n borderTopColor: 'border/minimal',\n },\n },\n variants: {\n elevation: {\n true: {\n root: {\n borderColor: 'border/minimal',\n boxShadow: 'elevation/sm',\n },\n },\n false: {\n root: {\n borderColor: 'border/regular',\n },\n },\n },\n /**\n * For a card that is itself the target -- a link or a button, like a list of apps or projects. It\n * answers hover with a tinted background and a stronger border; the elevation stays as it is.\n * Render the card as that element (`asChild`, or a `LinkOverlay` inside), so the hover belongs to\n * something you can actually activate.\n */\n interactive: {\n true: {\n root: {\n _hover: {\n backgroundColor: 'background/secondary',\n borderColor: 'border/hover',\n },\n },\n },\n false: {},\n },\n paddingSize: {\n sm: {\n body: {\n padding: '16',\n },\n footer: {\n paddingInline: '16',\n paddingBlock: '8',\n },\n },\n md: {\n body: {\n paddingInline: '24',\n paddingBlock: '16',\n },\n footer: {\n paddingInline: '24',\n paddingBlock: '8',\n },\n },\n lg: {\n body: {\n padding: '24',\n },\n footer: {\n paddingInline: '24',\n paddingBlock: '12',\n },\n },\n },\n },\n defaultVariants: {\n elevation: true,\n interactive: false,\n paddingSize: 'lg',\n },\n});\n\nexport default cardSlotRecipe;\n"],"mappings":";;;AAGA,IAAM,iBAAiB,iBAAiB;CACtC,WAAW;CACX,OAAO,YAAY,KAAK;CACxB,MAAM;EACJ,MAAM;GACJ,iBAAiB;GACjB,QAAQ;GACR,cAAc;GAGd,SAAS;EACX;EACA,QAAQ;GACN,WAAW;GACX,gBAAgB;EAClB;CACF;CACA,UAAU;EACR,WAAW;GACT,MAAM,EACJ,MAAM;IACJ,aAAa;IACb,WAAW;GACb,EACF;GACA,OAAO,EACL,MAAM,EACJ,aAAa,iBACf,EACF;EACF;;;;;;;EAOA,aAAa;GACX,MAAM,EACJ,MAAM,EACJ,QAAQ;IACN,iBAAiB;IACjB,aAAa;GACf,EACF,EACF;GACA,OAAO,CAAC;EACV;EACA,aAAa;GACX,IAAI;IACF,MAAM,EACJ,SAAS,KACX;IACA,QAAQ;KACN,eAAe;KACf,cAAc;IAChB;GACF;GACA,IAAI;IACF,MAAM;KACJ,eAAe;KACf,cAAc;IAChB;IACA,QAAQ;KACN,eAAe;KACf,cAAc;IAChB;GACF;GACA,IAAI;IACF,MAAM,EACJ,SAAS,KACX;IACA,QAAQ;KACN,eAAe;KACf,cAAc;IAChB;GACF;EACF;CACF;CACA,iBAAiB;EACf,WAAW;EACX,aAAa;EACb,aAAa;CACf;AACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"Card.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/Card.recipe.ts"],"sourcesContent":["import { cardAnatomy } from '@chakra-ui/react/anatomy';\nimport { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nconst cardSlotRecipe = defineSlotRecipe({\n className: 'card',\n slots: cardAnatomy.keys(),\n base: {\n root: {\n backgroundColor: 'background/primary',\n border: '1px solid',\n borderRadius: '8',\n // A card rendered as an inline element -- a link, via `asChild` -- would otherwise draw its\n // border in fragments around its block children instead of as one box.\n display: 'block',\n },\n footer: {\n borderTop: '1px solid',\n borderTopColor: 'border/minimal',\n },\n },\n variants: {\n elevation: {\n true: {\n root: {\n borderColor: 'border/minimal',\n boxShadow: 'elevation/sm',\n },\n },\n false: {\n root: {\n borderColor: 'border/regular',\n },\n },\n },\n /**\n * For a card that is itself the target -- a link or a button, like a list of apps or projects. It\n * answers hover with a tinted background and a stronger border; the elevation stays as it is.\n * Render the card as that element (`asChild`, or a `LinkOverlay` inside), so the hover belongs to\n * something you can actually activate.\n */\n interactive: {\n true: {\n root: {\n _hover: {\n backgroundColor: 'background/secondary',\n borderColor: 'border/hover',\n },\n },\n },\n false: {},\n },\n paddingSize: {\n xs: {\n body: {\n paddingInline: '16',\n paddingBlock: '8',\n },\n footer: {\n paddingInline: '16',\n paddingBlock: '8',\n },\n },\n sm: {\n body: {\n padding: '16',\n },\n footer: {\n paddingInline: '16',\n paddingBlock: '8',\n },\n },\n md: {\n body: {\n paddingInline: '24',\n paddingBlock: '16',\n },\n footer: {\n paddingInline: '24',\n paddingBlock: '8',\n },\n },\n lg: {\n body: {\n padding: '24',\n },\n footer: {\n paddingInline: '24',\n paddingBlock: '12',\n },\n },\n },\n },\n defaultVariants: {\n elevation: true,\n interactive: false,\n paddingSize: 'lg',\n },\n});\n\nexport default cardSlotRecipe;\n"],"mappings":";;;AAGA,IAAM,iBAAiB,iBAAiB;CACtC,WAAW;CACX,OAAO,YAAY,KAAK;CACxB,MAAM;EACJ,MAAM;GACJ,iBAAiB;GACjB,QAAQ;GACR,cAAc;GAGd,SAAS;EACX;EACA,QAAQ;GACN,WAAW;GACX,gBAAgB;EAClB;CACF;CACA,UAAU;EACR,WAAW;GACT,MAAM,EACJ,MAAM;IACJ,aAAa;IACb,WAAW;GACb,EACF;GACA,OAAO,EACL,MAAM,EACJ,aAAa,iBACf,EACF;EACF;;;;;;;EAOA,aAAa;GACX,MAAM,EACJ,MAAM,EACJ,QAAQ;IACN,iBAAiB;IACjB,aAAa;GACf,EACF,EACF;GACA,OAAO,CAAC;EACV;EACA,aAAa;GACX,IAAI;IACF,MAAM;KACJ,eAAe;KACf,cAAc;IAChB;IACA,QAAQ;KACN,eAAe;KACf,cAAc;IAChB;GACF;GACA,IAAI;IACF,MAAM,EACJ,SAAS,KACX;IACA,QAAQ;KACN,eAAe;KACf,cAAc;IAChB;GACF;GACA,IAAI;IACF,MAAM;KACJ,eAAe;KACf,cAAc;IAChB;IACA,QAAQ;KACN,eAAe;KACf,cAAc;IAChB;GACF;GACA,IAAI;IACF,MAAM,EACJ,SAAS,KACX;IACA,QAAQ;KACN,eAAe;KACf,cAAc;IAChB;GACF;EACF;CACF;CACA,iBAAiB;EACf,WAAW;EACX,aAAa;EACb,aAAa;CACf;AACF,CAAC"}
|
|
@@ -302,6 +302,16 @@ declare const slotRecipes: {
|
|
|
302
302
|
false: {};
|
|
303
303
|
};
|
|
304
304
|
paddingSize: {
|
|
305
|
+
xs: {
|
|
306
|
+
body: {
|
|
307
|
+
paddingInline: "16";
|
|
308
|
+
paddingBlock: "8";
|
|
309
|
+
};
|
|
310
|
+
footer: {
|
|
311
|
+
paddingInline: "16";
|
|
312
|
+
paddingBlock: "8";
|
|
313
|
+
};
|
|
314
|
+
};
|
|
305
315
|
sm: {
|
|
306
316
|
body: {
|
|
307
317
|
padding: "16";
|