@bitrise/bitkit-v2 0.3.251 → 0.3.252-beta.1704

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.
Files changed (122) hide show
  1. package/dist/components/BitkitActionBar/BitkitActionBar.js +1 -1
  2. package/dist/components/BitkitActionBar/BitkitActionBar.js.map +1 -1
  3. package/dist/components/BitkitAlert/BitkitAlert.js +2 -2
  4. package/dist/components/BitkitAlert/BitkitAlert.js.map +1 -1
  5. package/dist/components/BitkitAvatar/BitkitAvatar.d.ts +3 -4
  6. package/dist/components/BitkitAvatar/BitkitAvatar.js +4 -6
  7. package/dist/components/BitkitAvatar/BitkitAvatar.js.map +1 -1
  8. package/dist/components/BitkitBadge/BitkitBadge.d.ts +2 -5
  9. package/dist/components/BitkitBadge/BitkitBadge.js.map +1 -1
  10. package/dist/components/BitkitCloseButton/BitkitCloseButton.d.ts +1 -1
  11. package/dist/components/BitkitCloseButton/BitkitCloseButton.js +6 -3
  12. package/dist/components/BitkitCloseButton/BitkitCloseButton.js.map +1 -1
  13. package/dist/components/BitkitColorButton/BitkitColorButton.d.ts +1 -1
  14. package/dist/components/BitkitColorButton/BitkitColorButton.js.map +1 -1
  15. package/dist/components/BitkitLabel/BitkitLabel.js +1 -1
  16. package/dist/components/BitkitLabel/BitkitLabel.js.map +1 -1
  17. package/dist/components/BitkitList/BitkitList.d.ts +1 -1
  18. package/dist/components/BitkitList/BitkitList.js +6 -6
  19. package/dist/components/BitkitList/BitkitList.js.map +1 -1
  20. package/dist/components/BitkitMarkdown/BitkitMarkdown.js +1 -1
  21. package/dist/components/BitkitMarkdown/BitkitMarkdown.js.map +1 -1
  22. package/dist/components/BitkitMultiselect/BitkitMultiselect.js +3 -3
  23. package/dist/components/BitkitMultiselect/BitkitMultiselect.js.map +1 -1
  24. package/dist/components/BitkitPageFooter/BitkitPageFooter.d.ts +2 -2
  25. package/dist/components/BitkitPageFooter/BitkitPageFooter.js +7 -7
  26. package/dist/components/BitkitPageFooter/BitkitPageFooter.js.map +1 -1
  27. package/dist/components/BitkitRadio/BitkitRadio.js +1 -1
  28. package/dist/components/BitkitRadio/BitkitRadio.js.map +1 -1
  29. package/dist/components/BitkitRibbon/BitkitRibbon.d.ts +1 -1
  30. package/dist/components/BitkitRibbon/BitkitRibbon.js +4 -6
  31. package/dist/components/BitkitRibbon/BitkitRibbon.js.map +1 -1
  32. package/dist/components/BitkitSearchInput/BitkitSearchInput.js +1 -1
  33. package/dist/components/BitkitSearchInput/BitkitSearchInput.js.map +1 -1
  34. package/dist/components/BitkitSwitch/components/BitkitSwitchReadOnly.js +2 -2
  35. package/dist/components/BitkitSwitch/components/BitkitSwitchReadOnly.js.map +1 -1
  36. package/dist/components/BitkitTable/BitkitSortableColumnHeader.js +1 -1
  37. package/dist/components/BitkitTable/BitkitSortableColumnHeader.js.map +1 -1
  38. package/dist/components/BitkitTag/BitkitTag.js +1 -1
  39. package/dist/components/BitkitTag/BitkitTag.js.map +1 -1
  40. package/dist/components/BitkitToast/BitkitToaster.js +2 -2
  41. package/dist/components/BitkitToast/BitkitToaster.js.map +1 -1
  42. package/dist/components/BitkitTooltip/BitkitTooltip.js +1 -1
  43. package/dist/components/BitkitTooltip/BitkitTooltip.js.map +1 -1
  44. package/dist/components/common/notificationMaps.d.ts +8 -1
  45. package/dist/components/common/notificationMaps.js.map +1 -1
  46. package/dist/docs/shared.d.ts +1 -1
  47. package/dist/theme/common/AlertAndToast.common.js +1 -1
  48. package/dist/theme/common/AlertAndToast.common.js.map +1 -1
  49. package/dist/theme/global-css.js +1 -1
  50. package/dist/theme/global-css.js.map +1 -1
  51. package/dist/theme/recipes/Badge.recipe.d.ts +39 -5
  52. package/dist/theme/recipes/Badge.recipe.js +77 -20
  53. package/dist/theme/recipes/Badge.recipe.js.map +1 -1
  54. package/dist/theme/recipes/Button.recipe.js +12 -12
  55. package/dist/theme/recipes/Button.recipe.js.map +1 -1
  56. package/dist/theme/recipes/CloseButton.recipe.d.ts +68 -0
  57. package/dist/theme/recipes/CloseButton.recipe.js +56 -17
  58. package/dist/theme/recipes/CloseButton.recipe.js.map +1 -1
  59. package/dist/theme/recipes/ColorButton.recipe.d.ts +93 -0
  60. package/dist/theme/recipes/ColorButton.recipe.js +75 -30
  61. package/dist/theme/recipes/ColorButton.recipe.js.map +1 -1
  62. package/dist/theme/recipes/DefinitionTooltip.recipe.js +2 -2
  63. package/dist/theme/recipes/DefinitionTooltip.recipe.js.map +1 -1
  64. package/dist/theme/recipes/Link.recipe.d.ts +1 -1
  65. package/dist/theme/recipes/Link.recipe.js +1 -1
  66. package/dist/theme/recipes/Link.recipe.js.map +1 -1
  67. package/dist/theme/recipes/Separator.recipe.js +1 -1
  68. package/dist/theme/recipes/Separator.recipe.js.map +1 -1
  69. package/dist/theme/recipes/Skeleton.recipe.js +2 -2
  70. package/dist/theme/recipes/Skeleton.recipe.js.map +1 -1
  71. package/dist/theme/recipes/index.d.ts +201 -6
  72. package/dist/theme/semantic-tokens/index.d.ts +1772 -1
  73. package/dist/theme/semantic-tokens/semanticColors.d.ts +1772 -1
  74. package/dist/theme/semantic-tokens/semanticColors.js +356 -472
  75. package/dist/theme/semantic-tokens/semanticColors.js.map +1 -1
  76. package/dist/theme/slot-recipes/Avatar.recipe.d.ts +56 -0
  77. package/dist/theme/slot-recipes/Avatar.recipe.js +40 -3
  78. package/dist/theme/slot-recipes/Avatar.recipe.js.map +1 -1
  79. package/dist/theme/slot-recipes/Collapsible.recipe.js +1 -1
  80. package/dist/theme/slot-recipes/Collapsible.recipe.js.map +1 -1
  81. package/dist/theme/slot-recipes/Dialog.recipe.js +1 -1
  82. package/dist/theme/slot-recipes/Dialog.recipe.js.map +1 -1
  83. package/dist/theme/slot-recipes/Drawer.recipe.js +2 -2
  84. package/dist/theme/slot-recipes/Drawer.recipe.js.map +1 -1
  85. package/dist/theme/slot-recipes/EmptyState.recipe.d.ts +1 -1
  86. package/dist/theme/slot-recipes/EmptyState.recipe.js +2 -2
  87. package/dist/theme/slot-recipes/EmptyState.recipe.js.map +1 -1
  88. package/dist/theme/slot-recipes/MarkdownCard.recipe.d.ts +3 -3
  89. package/dist/theme/slot-recipes/MarkdownCard.recipe.js +4 -4
  90. package/dist/theme/slot-recipes/MarkdownCard.recipe.js.map +1 -1
  91. package/dist/theme/slot-recipes/NoteCard.recipe.d.ts +2 -2
  92. package/dist/theme/slot-recipes/NoteCard.recipe.js +8 -8
  93. package/dist/theme/slot-recipes/NoteCard.recipe.js.map +1 -1
  94. package/dist/theme/slot-recipes/OverflowContent.recipe.js +1 -1
  95. package/dist/theme/slot-recipes/OverflowContent.recipe.js.map +1 -1
  96. package/dist/theme/slot-recipes/PageFooter.recipe.d.ts +4 -4
  97. package/dist/theme/slot-recipes/PageFooter.recipe.js +5 -5
  98. package/dist/theme/slot-recipes/PageFooter.recipe.js.map +1 -1
  99. package/dist/theme/slot-recipes/Ribbon.recipe.d.ts +39 -1
  100. package/dist/theme/slot-recipes/Ribbon.recipe.js +29 -5
  101. package/dist/theme/slot-recipes/Ribbon.recipe.js.map +1 -1
  102. package/dist/theme/slot-recipes/Tabs.recipe.d.ts +1 -1
  103. package/dist/theme/slot-recipes/Tabs.recipe.js +1 -1
  104. package/dist/theme/slot-recipes/Tabs.recipe.js.map +1 -1
  105. package/dist/theme/slot-recipes/Tag.recipe.d.ts +44 -0
  106. package/dist/theme/slot-recipes/Tag.recipe.js +38 -7
  107. package/dist/theme/slot-recipes/Tag.recipe.js.map +1 -1
  108. package/dist/theme/slot-recipes/TagsInput.recipe.js +5 -5
  109. package/dist/theme/slot-recipes/TagsInput.recipe.js.map +1 -1
  110. package/dist/theme/slot-recipes/Tooltip.recipe.d.ts +2 -2
  111. package/dist/theme/slot-recipes/Tooltip.recipe.js +3 -3
  112. package/dist/theme/slot-recipes/Tooltip.recipe.js.map +1 -1
  113. package/dist/theme/slot-recipes/index.d.ts +152 -14
  114. package/dist/theme/slot-recipes/index.js +1 -1
  115. package/dist/theme/tokens/colors.d.ts +4 -846
  116. package/dist/theme/tokens/colors.js +22 -137
  117. package/dist/theme/tokens/colors.js.map +1 -1
  118. package/dist/theme/tokens/index.d.ts +15 -312
  119. package/dist/theme/tokens/index.js +1 -1
  120. package/package.json +6 -5
  121. package/scripts/postinstall.cjs +8 -0
  122. package/scripts/prune-color-tokens.cjs +78 -0
@@ -14,7 +14,7 @@ declare const markdownCardSlotRecipe: import('@chakra-ui/react').SlotRecipeDefin
14
14
  iconBar: {
15
15
  backgroundColor: "status/success/bg";
16
16
  borderColor: "status/success/border";
17
- color: "sys/green/base";
17
+ color: "color/green/base";
18
18
  };
19
19
  root: {
20
20
  borderColor: "status/success/border";
@@ -24,7 +24,7 @@ declare const markdownCardSlotRecipe: import('@chakra-ui/react').SlotRecipeDefin
24
24
  iconBar: {
25
25
  backgroundColor: "status/warning/bg";
26
26
  borderColor: "status/warning/border";
27
- color: "sys/yellow/base";
27
+ color: "color/yellow/base";
28
28
  };
29
29
  root: {
30
30
  borderColor: "status/warning/border";
@@ -34,7 +34,7 @@ declare const markdownCardSlotRecipe: import('@chakra-ui/react').SlotRecipeDefin
34
34
  iconBar: {
35
35
  backgroundColor: "status/critical/bg";
36
36
  borderColor: "status/critical/border";
37
- color: "sys/red/base";
37
+ color: "color/red/base";
38
38
  };
39
39
  root: {
40
40
  borderColor: "status/critical/border";
@@ -33,7 +33,7 @@ var markdownCardSlotRecipe = defineSlotRecipe({
33
33
  position: "relative"
34
34
  },
35
35
  gradient: {
36
- background: "linear-gradient(to top, {colors.background.primary} 12.5%, transparent)",
36
+ background: "linear-gradient(to top, {colors.neutral.100} 12.5%, transparent)",
37
37
  bottom: 0,
38
38
  height: "128",
39
39
  insetInline: 0,
@@ -60,7 +60,7 @@ var markdownCardSlotRecipe = defineSlotRecipe({
60
60
  iconBar: {
61
61
  backgroundColor: "status/success/bg",
62
62
  borderColor: "status/success/border",
63
- color: "sys/green/base"
63
+ color: "color/green/base"
64
64
  },
65
65
  root: { borderColor: "status/success/border" }
66
66
  },
@@ -68,7 +68,7 @@ var markdownCardSlotRecipe = defineSlotRecipe({
68
68
  iconBar: {
69
69
  backgroundColor: "status/warning/bg",
70
70
  borderColor: "status/warning/border",
71
- color: "sys/yellow/base"
71
+ color: "color/yellow/base"
72
72
  },
73
73
  root: { borderColor: "status/warning/border" }
74
74
  },
@@ -76,7 +76,7 @@ var markdownCardSlotRecipe = defineSlotRecipe({
76
76
  iconBar: {
77
77
  backgroundColor: "status/critical/bg",
78
78
  borderColor: "status/critical/border",
79
- color: "sys/red/base"
79
+ color: "color/red/base"
80
80
  },
81
81
  root: { borderColor: "status/critical/border" }
82
82
  }
@@ -1 +1 @@
1
- {"version":3,"file":"MarkdownCard.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/MarkdownCard.recipe.ts"],"sourcesContent":["import { cardAnatomy } from '@chakra-ui/react/anatomy';\nimport { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nconst markdownCardSlotRecipe = defineSlotRecipe({\n className: 'markdown-card',\n slots: [...cardAnatomy.keys(), 'iconBar', 'content', 'gradient', 'footerButtons'],\n base: {\n root: {\n backgroundColor: 'background/primary',\n overflow: 'hidden',\n },\n iconBar: {\n display: 'flex',\n alignItems: 'flex-start',\n justifyContent: 'center',\n paddingInline: '8',\n paddingBlock: '12',\n flexShrink: 0,\n borderInlineEnd: '1px solid',\n },\n content: {\n flex: 1,\n paddingInlineStart: '16',\n paddingInlineEnd: '24',\n paddingBlockStart: '24',\n minWidth: 0,\n position: 'relative',\n },\n gradient: {\n background: 'linear-gradient(to top, {colors.background.primary} 12.5%, transparent)',\n bottom: 0,\n height: '128',\n insetInline: 0,\n pointerEvents: 'none',\n position: 'absolute',\n },\n footerButtons: {\n justifyContent: 'flex-end',\n paddingBlockEnd: '16',\n paddingBlockStart: '16',\n paddingInlineEnd: '8',\n },\n },\n variants: {\n status: {\n info: {\n iconBar: {\n backgroundColor: 'background/secondary',\n borderColor: 'border/regular',\n color: 'icon/secondary',\n },\n root: {\n borderColor: 'border/regular',\n },\n },\n success: {\n iconBar: {\n backgroundColor: 'status/success/bg',\n borderColor: 'status/success/border',\n color: 'sys/green/base',\n },\n root: {\n borderColor: 'status/success/border',\n },\n },\n warning: {\n iconBar: {\n backgroundColor: 'status/warning/bg',\n borderColor: 'status/warning/border',\n color: 'sys/yellow/base',\n },\n root: {\n borderColor: 'status/warning/border',\n },\n },\n critical: {\n iconBar: {\n backgroundColor: 'status/critical/bg',\n borderColor: 'status/critical/border',\n color: 'sys/red/base',\n },\n root: {\n borderColor: 'status/critical/border',\n },\n },\n },\n },\n defaultVariants: {\n status: 'info',\n },\n});\n\nexport default markdownCardSlotRecipe;\n"],"mappings":";;;AAGA,IAAM,yBAAyB,iBAAiB;CAC9C,WAAW;CACX,OAAO;EAAC,GAAG,YAAY,KAAK;EAAG;EAAW;EAAW;EAAY;CAAe;CAChF,MAAM;EACJ,MAAM;GACJ,iBAAiB;GACjB,UAAU;EACZ;EACA,SAAS;GACP,SAAS;GACT,YAAY;GACZ,gBAAgB;GAChB,eAAe;GACf,cAAc;GACd,YAAY;GACZ,iBAAiB;EACnB;EACA,SAAS;GACP,MAAM;GACN,oBAAoB;GACpB,kBAAkB;GAClB,mBAAmB;GACnB,UAAU;GACV,UAAU;EACZ;EACA,UAAU;GACR,YAAY;GACZ,QAAQ;GACR,QAAQ;GACR,aAAa;GACb,eAAe;GACf,UAAU;EACZ;EACA,eAAe;GACb,gBAAgB;GAChB,iBAAiB;GACjB,mBAAmB;GACnB,kBAAkB;EACpB;CACF;CACA,UAAU,EACR,QAAQ;EACN,MAAM;GACJ,SAAS;IACP,iBAAiB;IACjB,aAAa;IACb,OAAO;GACT;GACA,MAAM,EACJ,aAAa,iBACf;EACF;EACA,SAAS;GACP,SAAS;IACP,iBAAiB;IACjB,aAAa;IACb,OAAO;GACT;GACA,MAAM,EACJ,aAAa,wBACf;EACF;EACA,SAAS;GACP,SAAS;IACP,iBAAiB;IACjB,aAAa;IACb,OAAO;GACT;GACA,MAAM,EACJ,aAAa,wBACf;EACF;EACA,UAAU;GACR,SAAS;IACP,iBAAiB;IACjB,aAAa;IACb,OAAO;GACT;GACA,MAAM,EACJ,aAAa,yBACf;EACF;CACF,EACF;CACA,iBAAiB,EACf,QAAQ,OACV;AACF,CAAC"}
1
+ {"version":3,"file":"MarkdownCard.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/MarkdownCard.recipe.ts"],"sourcesContent":["import { cardAnatomy } from '@chakra-ui/react/anatomy';\nimport { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nconst markdownCardSlotRecipe = defineSlotRecipe({\n className: 'markdown-card',\n slots: [...cardAnatomy.keys(), 'iconBar', 'content', 'gradient', 'footerButtons'],\n base: {\n root: {\n backgroundColor: 'background/primary',\n overflow: 'hidden',\n },\n iconBar: {\n display: 'flex',\n alignItems: 'flex-start',\n justifyContent: 'center',\n paddingInline: '8',\n paddingBlock: '12',\n flexShrink: 0,\n borderInlineEnd: '1px solid',\n },\n content: {\n flex: 1,\n paddingInlineStart: '16',\n paddingInlineEnd: '24',\n paddingBlockStart: '24',\n minWidth: 0,\n position: 'relative',\n },\n gradient: {\n background: 'linear-gradient(to top, {colors.neutral.100} 12.5%, transparent)',\n bottom: 0,\n height: '128',\n insetInline: 0,\n pointerEvents: 'none',\n position: 'absolute',\n },\n footerButtons: {\n justifyContent: 'flex-end',\n paddingBlockEnd: '16',\n paddingBlockStart: '16',\n paddingInlineEnd: '8',\n },\n },\n variants: {\n status: {\n info: {\n iconBar: {\n backgroundColor: 'background/secondary',\n borderColor: 'border/regular',\n color: 'icon/secondary',\n },\n root: {\n borderColor: 'border/regular',\n },\n },\n success: {\n iconBar: {\n backgroundColor: 'status/success/bg',\n borderColor: 'status/success/border',\n color: 'color/green/base',\n },\n root: {\n borderColor: 'status/success/border',\n },\n },\n warning: {\n iconBar: {\n backgroundColor: 'status/warning/bg',\n borderColor: 'status/warning/border',\n color: 'color/yellow/base',\n },\n root: {\n borderColor: 'status/warning/border',\n },\n },\n critical: {\n iconBar: {\n backgroundColor: 'status/critical/bg',\n borderColor: 'status/critical/border',\n color: 'color/red/base',\n },\n root: {\n borderColor: 'status/critical/border',\n },\n },\n },\n },\n defaultVariants: {\n status: 'info',\n },\n});\n\nexport default markdownCardSlotRecipe;\n"],"mappings":";;;AAGA,IAAM,yBAAyB,iBAAiB;CAC9C,WAAW;CACX,OAAO;EAAC,GAAG,YAAY,KAAK;EAAG;EAAW;EAAW;EAAY;CAAe;CAChF,MAAM;EACJ,MAAM;GACJ,iBAAiB;GACjB,UAAU;EACZ;EACA,SAAS;GACP,SAAS;GACT,YAAY;GACZ,gBAAgB;GAChB,eAAe;GACf,cAAc;GACd,YAAY;GACZ,iBAAiB;EACnB;EACA,SAAS;GACP,MAAM;GACN,oBAAoB;GACpB,kBAAkB;GAClB,mBAAmB;GACnB,UAAU;GACV,UAAU;EACZ;EACA,UAAU;GACR,YAAY;GACZ,QAAQ;GACR,QAAQ;GACR,aAAa;GACb,eAAe;GACf,UAAU;EACZ;EACA,eAAe;GACb,gBAAgB;GAChB,iBAAiB;GACjB,mBAAmB;GACnB,kBAAkB;EACpB;CACF;CACA,UAAU,EACR,QAAQ;EACN,MAAM;GACJ,SAAS;IACP,iBAAiB;IACjB,aAAa;IACb,OAAO;GACT;GACA,MAAM,EACJ,aAAa,iBACf;EACF;EACA,SAAS;GACP,SAAS;IACP,iBAAiB;IACjB,aAAa;IACb,OAAO;GACT;GACA,MAAM,EACJ,aAAa,wBACf;EACF;EACA,SAAS;GACP,SAAS;IACP,iBAAiB;IACjB,aAAa;IACb,OAAO;GACT;GACA,MAAM,EACJ,aAAa,wBACf;EACF;EACA,UAAU;GACR,SAAS;IACP,iBAAiB;IACjB,aAAa;IACb,OAAO;GACT;GACA,MAAM,EACJ,aAAa,yBACf;EACF;CACF,EACF;CACA,iBAAiB,EACf,QAAQ,OACV;AACF,CAAC"}
@@ -2,7 +2,7 @@ declare const noteCardSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinitio
2
2
  status: {
3
3
  ai: {
4
4
  iconBar: {
5
- background: "{colors.ai.background.minimal-vertical}";
5
+ background: "ai/background/minimal-vertical";
6
6
  color: string;
7
7
  };
8
8
  messageSolo: {
@@ -11,7 +11,7 @@ declare const noteCardSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinitio
11
11
  root: {
12
12
  backgroundColor: "transparent";
13
13
  border: "1px solid transparent";
14
- background: "linear-gradient({colors.background.primary}, {colors.background.primary}) padding-box, {colors.status.ai.border} border-box";
14
+ background: "linear-gradient({colors.neutral.100}, {colors.neutral.100}) padding-box, linear-gradient(135deg, {colors.purple.80} 0%, {colors.indigo.80} 50%, {colors.blue.80} 100%) border-box";
15
15
  };
16
16
  title: {
17
17
  color: string;
@@ -1,12 +1,12 @@
1
1
  import { defineSlotRecipe } from "@chakra-ui/react/styled-system";
2
2
  //#region lib/theme/slot-recipes/NoteCard.recipe.ts
3
3
  var SIDEBAR_ICON_COLOR_MAP = {
4
- ai: "sys/indigo/base",
5
- critical: "sys/red/base",
6
- info: "sys/blue/base",
7
- progress: "sys/purple/base",
8
- success: "sys/green/base",
9
- warning: "sys/yellow/base"
4
+ ai: "color/indigo/base",
5
+ critical: "color/red/base",
6
+ info: "color/blue/base",
7
+ progress: "color/purple/base",
8
+ success: "color/green/base",
9
+ warning: "color/yellow/base"
10
10
  };
11
11
  var TITLE_COLOR_MAP = {
12
12
  ai: "status/ai/text",
@@ -94,14 +94,14 @@ var noteCardSlotRecipe = defineSlotRecipe({
94
94
  variants: { status: {
95
95
  ai: {
96
96
  iconBar: {
97
- background: "{colors.ai.background.minimal-vertical}",
97
+ background: "ai/background/minimal-vertical",
98
98
  color: SIDEBAR_ICON_COLOR_MAP.ai
99
99
  },
100
100
  messageSolo: { color: TITLE_COLOR_MAP.ai },
101
101
  root: {
102
102
  backgroundColor: "transparent",
103
103
  border: "1px solid transparent",
104
- background: "linear-gradient({colors.background.primary}, {colors.background.primary}) padding-box, {colors.status.ai.border} border-box"
104
+ background: "linear-gradient({colors.neutral.100}, {colors.neutral.100}) padding-box, linear-gradient(135deg, {colors.purple.80} 0%, {colors.indigo.80} 50%, {colors.blue.80} 100%) border-box"
105
105
  },
106
106
  title: { color: TITLE_COLOR_MAP.ai }
107
107
  },
@@ -1 +1 @@
1
- {"version":3,"file":"NoteCard.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/NoteCard.recipe.ts"],"sourcesContent":["import { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nimport { type NotificationVariant } from '../common/AlertAndToast.common';\n\nconst SIDEBAR_ICON_COLOR_MAP: Record<NotificationVariant, string> = {\n ai: 'sys/indigo/base',\n critical: 'sys/red/base',\n info: 'sys/blue/base',\n progress: 'sys/purple/base',\n success: 'sys/green/base',\n warning: 'sys/yellow/base',\n};\n\nconst TITLE_COLOR_MAP: Record<NotificationVariant, string> = {\n ai: 'status/ai/text',\n critical: 'text/negative',\n info: 'text/primary',\n progress: 'text/secondary',\n success: 'text/positive',\n warning: 'text/primary',\n};\n\nconst getStatusVariant = (v: NotificationVariant) => ({\n iconBar: {\n backgroundColor: `status/${v}/bg`,\n color: SIDEBAR_ICON_COLOR_MAP[v],\n },\n messageSolo: { color: TITLE_COLOR_MAP[v] },\n root: { borderColor: `status/${v}/border` },\n title: { color: TITLE_COLOR_MAP[v] },\n});\n\nconst noteCardSlotRecipe = defineSlotRecipe({\n className: 'note-card',\n slots: ['root', 'iconBar', 'iconWrapper', 'content', 'messageBlock', 'title', 'message', 'messageSolo', 'actionArea'],\n base: {\n root: {\n alignItems: 'stretch',\n backgroundColor: 'background/primary',\n border: '1px solid',\n borderRadius: '8',\n display: 'flex',\n overflow: 'hidden',\n },\n iconBar: {\n alignItems: 'flex-start',\n display: 'flex',\n flexShrink: 0,\n justifyContent: 'center',\n paddingBlock: '12',\n paddingInline: '8',\n },\n iconWrapper: {\n alignItems: 'center',\n display: 'flex',\n height: '24',\n justifyContent: 'center',\n width: '24',\n },\n content: {\n alignItems: 'center',\n display: 'flex',\n flex: 1,\n gap: '24',\n minWidth: 0,\n paddingBlock: '12',\n paddingInlineEnd: '16',\n paddingInlineStart: '12',\n },\n messageBlock: {\n display: 'flex',\n flex: 1,\n flexDirection: 'column',\n gap: '4',\n minWidth: 0,\n width: '100%',\n },\n title: {\n textStyle: 'comp/notification/title',\n },\n message: {\n textStyle: 'comp/notification/message',\n color: 'text/body',\n },\n messageSolo: {\n paddingBlockStart: '2',\n textStyle: 'comp/notification/message',\n },\n actionArea: {\n flexShrink: 0,\n },\n },\n variants: {\n status: {\n ai: {\n iconBar: {\n background: '{colors.ai.background.minimal-vertical}',\n color: SIDEBAR_ICON_COLOR_MAP.ai,\n },\n messageSolo: { color: TITLE_COLOR_MAP.ai },\n root: {\n backgroundColor: 'transparent',\n border: '1px solid transparent',\n background:\n 'linear-gradient({colors.background.primary}, {colors.background.primary}) padding-box, {colors.status.ai.border} border-box',\n },\n title: { color: TITLE_COLOR_MAP.ai },\n },\n critical: getStatusVariant('critical'),\n info: getStatusVariant('info'),\n progress: getStatusVariant('progress'),\n success: getStatusVariant('success'),\n warning: getStatusVariant('warning'),\n },\n },\n defaultVariants: {\n status: 'info',\n },\n});\n\nexport default noteCardSlotRecipe;\n"],"mappings":";;AAIA,IAAM,yBAA8D;CAClE,IAAI;CACJ,UAAU;CACV,MAAM;CACN,UAAU;CACV,SAAS;CACT,SAAS;AACX;AAEA,IAAM,kBAAuD;CAC3D,IAAI;CACJ,UAAU;CACV,MAAM;CACN,UAAU;CACV,SAAS;CACT,SAAS;AACX;AAEA,IAAM,oBAAoB,OAA4B;CACpD,SAAS;EACP,iBAAiB,UAAU,EAAE;EAC7B,OAAO,uBAAuB;CAChC;CACA,aAAa,EAAE,OAAO,gBAAgB,GAAG;CACzC,MAAM,EAAE,aAAa,UAAU,EAAE,SAAS;CAC1C,OAAO,EAAE,OAAO,gBAAgB,GAAG;AACrC;AAEA,IAAM,qBAAqB,iBAAiB;CAC1C,WAAW;CACX,OAAO;EAAC;EAAQ;EAAW;EAAe;EAAW;EAAgB;EAAS;EAAW;EAAe;CAAY;CACpH,MAAM;EACJ,MAAM;GACJ,YAAY;GACZ,iBAAiB;GACjB,QAAQ;GACR,cAAc;GACd,SAAS;GACT,UAAU;EACZ;EACA,SAAS;GACP,YAAY;GACZ,SAAS;GACT,YAAY;GACZ,gBAAgB;GAChB,cAAc;GACd,eAAe;EACjB;EACA,aAAa;GACX,YAAY;GACZ,SAAS;GACT,QAAQ;GACR,gBAAgB;GAChB,OAAO;EACT;EACA,SAAS;GACP,YAAY;GACZ,SAAS;GACT,MAAM;GACN,KAAK;GACL,UAAU;GACV,cAAc;GACd,kBAAkB;GAClB,oBAAoB;EACtB;EACA,cAAc;GACZ,SAAS;GACT,MAAM;GACN,eAAe;GACf,KAAK;GACL,UAAU;GACV,OAAO;EACT;EACA,OAAO,EACL,WAAW,0BACb;EACA,SAAS;GACP,WAAW;GACX,OAAO;EACT;EACA,aAAa;GACX,mBAAmB;GACnB,WAAW;EACb;EACA,YAAY,EACV,YAAY,EACd;CACF;CACA,UAAU,EACR,QAAQ;EACN,IAAI;GACF,SAAS;IACP,YAAY;IACZ,OAAO,uBAAuB;GAChC;GACA,aAAa,EAAE,OAAO,gBAAgB,GAAG;GACzC,MAAM;IACJ,iBAAiB;IACjB,QAAQ;IACR,YACE;GACJ;GACA,OAAO,EAAE,OAAO,gBAAgB,GAAG;EACrC;EACA,UAAU,iBAAiB,UAAU;EACrC,MAAM,iBAAiB,MAAM;EAC7B,UAAU,iBAAiB,UAAU;EACrC,SAAS,iBAAiB,SAAS;EACnC,SAAS,iBAAiB,SAAS;CACrC,EACF;CACA,iBAAiB,EACf,QAAQ,OACV;AACF,CAAC"}
1
+ {"version":3,"file":"NoteCard.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/NoteCard.recipe.ts"],"sourcesContent":["import { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nimport { type NotificationVariant } from '../common/AlertAndToast.common';\n\nconst SIDEBAR_ICON_COLOR_MAP: Record<NotificationVariant, string> = {\n ai: 'color/indigo/base',\n critical: 'color/red/base',\n info: 'color/blue/base',\n progress: 'color/purple/base',\n success: 'color/green/base',\n warning: 'color/yellow/base',\n};\n\nconst TITLE_COLOR_MAP: Record<NotificationVariant, string> = {\n ai: 'status/ai/text',\n critical: 'text/negative',\n info: 'text/primary',\n progress: 'text/secondary',\n success: 'text/positive',\n warning: 'text/primary',\n};\n\nconst getStatusVariant = (v: NotificationVariant) => ({\n iconBar: {\n backgroundColor: `status/${v}/bg`,\n color: SIDEBAR_ICON_COLOR_MAP[v],\n },\n messageSolo: { color: TITLE_COLOR_MAP[v] },\n root: { borderColor: `status/${v}/border` },\n title: { color: TITLE_COLOR_MAP[v] },\n});\n\nconst noteCardSlotRecipe = defineSlotRecipe({\n className: 'note-card',\n slots: ['root', 'iconBar', 'iconWrapper', 'content', 'messageBlock', 'title', 'message', 'messageSolo', 'actionArea'],\n base: {\n root: {\n alignItems: 'stretch',\n backgroundColor: 'background/primary',\n border: '1px solid',\n borderRadius: '8',\n display: 'flex',\n overflow: 'hidden',\n },\n iconBar: {\n alignItems: 'flex-start',\n display: 'flex',\n flexShrink: 0,\n justifyContent: 'center',\n paddingBlock: '12',\n paddingInline: '8',\n },\n iconWrapper: {\n alignItems: 'center',\n display: 'flex',\n height: '24',\n justifyContent: 'center',\n width: '24',\n },\n content: {\n alignItems: 'center',\n display: 'flex',\n flex: 1,\n gap: '24',\n minWidth: 0,\n paddingBlock: '12',\n paddingInlineEnd: '16',\n paddingInlineStart: '12',\n },\n messageBlock: {\n display: 'flex',\n flex: 1,\n flexDirection: 'column',\n gap: '4',\n minWidth: 0,\n width: '100%',\n },\n title: {\n textStyle: 'comp/notification/title',\n },\n message: {\n textStyle: 'comp/notification/message',\n color: 'text/body',\n },\n messageSolo: {\n paddingBlockStart: '2',\n textStyle: 'comp/notification/message',\n },\n actionArea: {\n flexShrink: 0,\n },\n },\n variants: {\n status: {\n ai: {\n iconBar: {\n background: 'ai/background/minimal-vertical',\n color: SIDEBAR_ICON_COLOR_MAP.ai,\n },\n messageSolo: { color: TITLE_COLOR_MAP.ai },\n root: {\n backgroundColor: 'transparent',\n border: '1px solid transparent',\n background:\n 'linear-gradient({colors.neutral.100}, {colors.neutral.100}) padding-box, linear-gradient(135deg, {colors.purple.80} 0%, {colors.indigo.80} 50%, {colors.blue.80} 100%) border-box',\n },\n title: { color: TITLE_COLOR_MAP.ai },\n },\n critical: getStatusVariant('critical'),\n info: getStatusVariant('info'),\n progress: getStatusVariant('progress'),\n success: getStatusVariant('success'),\n warning: getStatusVariant('warning'),\n },\n },\n defaultVariants: {\n status: 'info',\n },\n});\n\nexport default noteCardSlotRecipe;\n"],"mappings":";;AAIA,IAAM,yBAA8D;CAClE,IAAI;CACJ,UAAU;CACV,MAAM;CACN,UAAU;CACV,SAAS;CACT,SAAS;AACX;AAEA,IAAM,kBAAuD;CAC3D,IAAI;CACJ,UAAU;CACV,MAAM;CACN,UAAU;CACV,SAAS;CACT,SAAS;AACX;AAEA,IAAM,oBAAoB,OAA4B;CACpD,SAAS;EACP,iBAAiB,UAAU,EAAE;EAC7B,OAAO,uBAAuB;CAChC;CACA,aAAa,EAAE,OAAO,gBAAgB,GAAG;CACzC,MAAM,EAAE,aAAa,UAAU,EAAE,SAAS;CAC1C,OAAO,EAAE,OAAO,gBAAgB,GAAG;AACrC;AAEA,IAAM,qBAAqB,iBAAiB;CAC1C,WAAW;CACX,OAAO;EAAC;EAAQ;EAAW;EAAe;EAAW;EAAgB;EAAS;EAAW;EAAe;CAAY;CACpH,MAAM;EACJ,MAAM;GACJ,YAAY;GACZ,iBAAiB;GACjB,QAAQ;GACR,cAAc;GACd,SAAS;GACT,UAAU;EACZ;EACA,SAAS;GACP,YAAY;GACZ,SAAS;GACT,YAAY;GACZ,gBAAgB;GAChB,cAAc;GACd,eAAe;EACjB;EACA,aAAa;GACX,YAAY;GACZ,SAAS;GACT,QAAQ;GACR,gBAAgB;GAChB,OAAO;EACT;EACA,SAAS;GACP,YAAY;GACZ,SAAS;GACT,MAAM;GACN,KAAK;GACL,UAAU;GACV,cAAc;GACd,kBAAkB;GAClB,oBAAoB;EACtB;EACA,cAAc;GACZ,SAAS;GACT,MAAM;GACN,eAAe;GACf,KAAK;GACL,UAAU;GACV,OAAO;EACT;EACA,OAAO,EACL,WAAW,0BACb;EACA,SAAS;GACP,WAAW;GACX,OAAO;EACT;EACA,aAAa;GACX,mBAAmB;GACnB,WAAW;EACb;EACA,YAAY,EACV,YAAY,EACd;CACF;CACA,UAAU,EACR,QAAQ;EACN,IAAI;GACF,SAAS;IACP,YAAY;IACZ,OAAO,uBAAuB;GAChC;GACA,aAAa,EAAE,OAAO,gBAAgB,GAAG;GACzC,MAAM;IACJ,iBAAiB;IACjB,QAAQ;IACR,YACE;GACJ;GACA,OAAO,EAAE,OAAO,gBAAgB,GAAG;EACrC;EACA,UAAU,iBAAiB,UAAU;EACrC,MAAM,iBAAiB,MAAM;EAC7B,UAAU,iBAAiB,UAAU;EACrC,SAAS,iBAAiB,SAAS;EACnC,SAAS,iBAAiB,SAAS;CACrC,EACF;CACA,iBAAiB,EACf,QAAQ,OACV;AACF,CAAC"}
@@ -23,7 +23,7 @@ var overflowContentSlotRecipe = defineSlotRecipe({
23
23
  textStyle: "body/md/regular",
24
24
  whiteSpace: "nowrap",
25
25
  _after: {
26
- background: "linear-gradient(to left, {colors.background.primary} 0%, transparent 100%)",
26
+ background: "linear-gradient(to left, {colors.neutral.100} 0%, transparent 100%)",
27
27
  content: "\"\"",
28
28
  height: "100%",
29
29
  pointerEvents: "none",
@@ -1 +1 @@
1
- {"version":3,"file":"OverflowContent.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/OverflowContent.recipe.ts"],"sourcesContent":["import { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nconst overflowContentSlotRecipe = defineSlotRecipe({\n className: 'overflowContent',\n slots: ['root', 'preview', 'action'] as const,\n base: {\n root: {\n alignItems: 'center',\n display: 'flex',\n gap: '4',\n },\n preview: {\n color: 'text/body',\n flex: '1',\n minWidth: 0,\n overflow: 'hidden',\n position: 'relative',\n textOverflow: 'ellipsis',\n textStyle: 'body/md/regular',\n whiteSpace: 'nowrap',\n _after: {\n background: 'linear-gradient(to left, {colors.background.primary} 0%, transparent 100%)',\n content: '\"\"',\n height: '100%',\n pointerEvents: 'none',\n position: 'absolute',\n right: 0,\n top: 0,\n width: '32',\n },\n },\n action: {\n flexShrink: '0',\n },\n },\n});\n\nexport default overflowContentSlotRecipe;\n"],"mappings":";;AAEA,IAAM,4BAA4B,iBAAiB;CACjD,WAAW;CACX,OAAO;EAAC;EAAQ;EAAW;CAAQ;CACnC,MAAM;EACJ,MAAM;GACJ,YAAY;GACZ,SAAS;GACT,KAAK;EACP;EACA,SAAS;GACP,OAAO;GACP,MAAM;GACN,UAAU;GACV,UAAU;GACV,UAAU;GACV,cAAc;GACd,WAAW;GACX,YAAY;GACZ,QAAQ;IACN,YAAY;IACZ,SAAS;IACT,QAAQ;IACR,eAAe;IACf,UAAU;IACV,OAAO;IACP,KAAK;IACL,OAAO;GACT;EACF;EACA,QAAQ,EACN,YAAY,IACd;CACF;AACF,CAAC"}
1
+ {"version":3,"file":"OverflowContent.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/OverflowContent.recipe.ts"],"sourcesContent":["import { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nconst overflowContentSlotRecipe = defineSlotRecipe({\n className: 'overflowContent',\n slots: ['root', 'preview', 'action'] as const,\n base: {\n root: {\n alignItems: 'center',\n display: 'flex',\n gap: '4',\n },\n preview: {\n color: 'text/body',\n flex: '1',\n minWidth: 0,\n overflow: 'hidden',\n position: 'relative',\n textOverflow: 'ellipsis',\n textStyle: 'body/md/regular',\n whiteSpace: 'nowrap',\n _after: {\n background: 'linear-gradient(to left, {colors.neutral.100} 0%, transparent 100%)',\n content: '\"\"',\n height: '100%',\n pointerEvents: 'none',\n position: 'absolute',\n right: 0,\n top: 0,\n width: '32',\n },\n },\n action: {\n flexShrink: '0',\n },\n },\n});\n\nexport default overflowContentSlotRecipe;\n"],"mappings":";;AAEA,IAAM,4BAA4B,iBAAiB;CACjD,WAAW;CACX,OAAO;EAAC;EAAQ;EAAW;CAAQ;CACnC,MAAM;EACJ,MAAM;GACJ,YAAY;GACZ,SAAS;GACT,KAAK;EACP;EACA,SAAS;GACP,OAAO;GACP,MAAM;GACN,UAAU;GACV,UAAU;GACV,UAAU;GACV,cAAc;GACd,WAAW;GACX,YAAY;GACZ,QAAQ;IACN,YAAY;IACZ,SAAS;IACT,QAAQ;IACR,eAAe;IACf,UAAU;IACV,OAAO;IACP,KAAK;IACL,OAAO;GACT;EACF;EACA,QAAQ,EACN,YAAY,IACd;CACF;AACF,CAAC"}
@@ -1,5 +1,5 @@
1
1
  declare const pageFooterSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"link" | "status" | "root" | "statusLabel" | "statusDot" | "copyright" | "copyrightText" | "links", {
2
- colorScheme: {
2
+ colorVariant: {
3
3
  gray: {
4
4
  root: {
5
5
  background: "background/secondary";
@@ -60,11 +60,11 @@ declare const pageFooterSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinit
60
60
  };
61
61
  links: {
62
62
  borderBlockEnd: {
63
- base: "1px solid {colors.border.minimal}";
63
+ base: "1px solid {colors.neutral.93}";
64
64
  tablet: "none";
65
65
  };
66
66
  borderBlockStart: {
67
- base: "1px solid {colors.border.minimal}";
67
+ base: "1px solid {colors.neutral.93}";
68
68
  tablet: "none";
69
69
  };
70
70
  paddingBlock: {
@@ -82,7 +82,7 @@ declare const pageFooterSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinit
82
82
  };
83
83
  links: {
84
84
  borderBlockEnd: {
85
- base: "1px solid {colors.border.minimal}";
85
+ base: "1px solid {colors.neutral.93}";
86
86
  tablet: "none";
87
87
  };
88
88
  paddingBlockEnd: {
@@ -117,7 +117,7 @@ var pageFooterSlotRecipe = defineSlotRecipe({
117
117
  }
118
118
  },
119
119
  variants: {
120
- colorScheme: {
120
+ colorVariant: {
121
121
  gray: {
122
122
  root: { background: "background/secondary" },
123
123
  status: { background: "background/tertiary" }
@@ -148,11 +148,11 @@ var pageFooterSlotRecipe = defineSlotRecipe({
148
148
  },
149
149
  links: {
150
150
  borderBlockEnd: {
151
- base: "1px solid {colors.border.minimal}",
151
+ base: "1px solid {colors.neutral.93}",
152
152
  tablet: "none"
153
153
  },
154
154
  borderBlockStart: {
155
- base: "1px solid {colors.border.minimal}",
155
+ base: "1px solid {colors.neutral.93}",
156
156
  tablet: "none"
157
157
  },
158
158
  paddingBlock: {
@@ -168,7 +168,7 @@ var pageFooterSlotRecipe = defineSlotRecipe({
168
168
  } },
169
169
  links: {
170
170
  borderBlockEnd: {
171
- base: "1px solid {colors.border.minimal}",
171
+ base: "1px solid {colors.neutral.93}",
172
172
  tablet: "none"
173
173
  },
174
174
  paddingBlockEnd: {
@@ -180,7 +180,7 @@ var pageFooterSlotRecipe = defineSlotRecipe({
180
180
  }
181
181
  },
182
182
  defaultVariants: {
183
- colorScheme: "gray",
183
+ colorVariant: "gray",
184
184
  size: "default",
185
185
  variant: "default"
186
186
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PageFooter.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/PageFooter.recipe.ts"],"sourcesContent":["import { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nimport { rem } from '../themeUtils';\n\nconst pageFooterSlotRecipe = defineSlotRecipe({\n className: 'page-footer',\n slots: ['root', 'status', 'statusDot', 'statusLabel', 'copyright', 'copyrightText', 'links', 'link'] as const,\n base: {\n root: {\n alignItems: 'center',\n display: 'flex',\n flexDirection: { base: 'column', tablet: 'row' },\n gap: { base: '16', tablet: '0' },\n justifyContent: 'space-between',\n padding: { base: '16', tablet: '0' },\n paddingInlineStart: { base: '16', tablet: '20' },\n width: '100%',\n },\n status: {\n alignItems: 'center',\n borderRadius: '4',\n display: 'flex',\n flexShrink: 0,\n gap: '4',\n paddingBlock: '4',\n paddingInlineEnd: '8',\n paddingInlineStart: '4',\n },\n statusDot: {\n borderRadius: 'full',\n flexShrink: 0,\n height: '8',\n width: '8',\n marginInline: '4',\n },\n statusLabel: {\n color: 'text/secondary',\n textStyle: 'comp/badge/sm',\n whiteSpace: 'nowrap',\n },\n copyright: {\n alignItems: 'center',\n display: 'flex',\n gap: '8',\n order: { base: 3, tablet: 0 },\n },\n copyrightText: {\n color: 'text/secondary',\n textStyle: 'body/md/regular',\n whiteSpace: 'nowrap',\n },\n links: {\n alignItems: 'center',\n display: 'flex',\n flexShrink: 0,\n flexWrap: { base: 'wrap', tablet: 'nowrap' },\n gap: { base: '40', tablet: '24' },\n justifyContent: { base: 'center', tablet: 'flex-start' },\n order: { base: 2, tablet: 0 },\n rowGap: { base: '12', tablet: '8' },\n width: { base: '100%', tablet: 'auto' },\n },\n link: {\n background: 'transparent',\n border: 'none',\n color: 'text/secondary',\n cursor: 'pointer',\n padding: 0,\n textDecoration: 'none',\n textStyle: { base: 'body/lg/regular', tablet: 'body/md/regular' },\n whiteSpace: 'nowrap',\n _hover: {\n textDecoration: 'underline',\n },\n },\n },\n variants: {\n colorScheme: {\n gray: {\n root: {\n background: 'background/secondary',\n },\n status: {\n background: 'background/tertiary',\n },\n },\n white: {\n root: {\n background: 'background/primary',\n },\n status: {\n background: 'background/secondary',\n },\n },\n },\n size: {\n compact: {\n root: {\n height: { tablet: '32' },\n },\n },\n default: {\n root: {\n height: { tablet: '64' },\n },\n },\n },\n variant: {\n default: {\n root: {\n paddingInlineEnd: { base: '16', tablet: rem(80) },\n position: { tablet: 'relative' },\n },\n copyright: {\n insetInlineStart: { tablet: '50%' },\n position: { tablet: 'absolute' },\n top: { tablet: '50%' },\n transform: { tablet: 'translate(-50%, -50%)' },\n },\n links: {\n borderBlockEnd: { base: '1px solid {colors.border.minimal}', tablet: 'none' },\n borderBlockStart: { base: '1px solid {colors.border.minimal}', tablet: 'none' },\n paddingBlock: { base: '16', tablet: '0' },\n },\n },\n public: {\n root: {\n paddingInlineEnd: { base: '16', tablet: '40' },\n },\n links: {\n borderBlockEnd: { base: '1px solid {colors.border.minimal}', tablet: 'none' },\n paddingBlockEnd: { base: '16', tablet: '0' },\n },\n },\n },\n },\n defaultVariants: {\n colorScheme: 'gray',\n size: 'default',\n variant: 'default',\n },\n});\n\nexport default pageFooterSlotRecipe;\n"],"mappings":";;;AAIA,IAAM,uBAAuB,iBAAiB;CAC5C,WAAW;CACX,OAAO;EAAC;EAAQ;EAAU;EAAa;EAAe;EAAa;EAAiB;EAAS;CAAM;CACnG,MAAM;EACJ,MAAM;GACJ,YAAY;GACZ,SAAS;GACT,eAAe;IAAE,MAAM;IAAU,QAAQ;GAAM;GAC/C,KAAK;IAAE,MAAM;IAAM,QAAQ;GAAI;GAC/B,gBAAgB;GAChB,SAAS;IAAE,MAAM;IAAM,QAAQ;GAAI;GACnC,oBAAoB;IAAE,MAAM;IAAM,QAAQ;GAAK;GAC/C,OAAO;EACT;EACA,QAAQ;GACN,YAAY;GACZ,cAAc;GACd,SAAS;GACT,YAAY;GACZ,KAAK;GACL,cAAc;GACd,kBAAkB;GAClB,oBAAoB;EACtB;EACA,WAAW;GACT,cAAc;GACd,YAAY;GACZ,QAAQ;GACR,OAAO;GACP,cAAc;EAChB;EACA,aAAa;GACX,OAAO;GACP,WAAW;GACX,YAAY;EACd;EACA,WAAW;GACT,YAAY;GACZ,SAAS;GACT,KAAK;GACL,OAAO;IAAE,MAAM;IAAG,QAAQ;GAAE;EAC9B;EACA,eAAe;GACb,OAAO;GACP,WAAW;GACX,YAAY;EACd;EACA,OAAO;GACL,YAAY;GACZ,SAAS;GACT,YAAY;GACZ,UAAU;IAAE,MAAM;IAAQ,QAAQ;GAAS;GAC3C,KAAK;IAAE,MAAM;IAAM,QAAQ;GAAK;GAChC,gBAAgB;IAAE,MAAM;IAAU,QAAQ;GAAa;GACvD,OAAO;IAAE,MAAM;IAAG,QAAQ;GAAE;GAC5B,QAAQ;IAAE,MAAM;IAAM,QAAQ;GAAI;GAClC,OAAO;IAAE,MAAM;IAAQ,QAAQ;GAAO;EACxC;EACA,MAAM;GACJ,YAAY;GACZ,QAAQ;GACR,OAAO;GACP,QAAQ;GACR,SAAS;GACT,gBAAgB;GAChB,WAAW;IAAE,MAAM;IAAmB,QAAQ;GAAkB;GAChE,YAAY;GACZ,QAAQ,EACN,gBAAgB,YAClB;EACF;CACF;CACA,UAAU;EACR,aAAa;GACX,MAAM;IACJ,MAAM,EACJ,YAAY,uBACd;IACA,QAAQ,EACN,YAAY,sBACd;GACF;GACA,OAAO;IACL,MAAM,EACJ,YAAY,qBACd;IACA,QAAQ,EACN,YAAY,uBACd;GACF;EACF;EACA,MAAM;GACJ,SAAS,EACP,MAAM,EACJ,QAAQ,EAAE,QAAQ,KAAK,EACzB,EACF;GACA,SAAS,EACP,MAAM,EACJ,QAAQ,EAAE,QAAQ,KAAK,EACzB,EACF;EACF;EACA,SAAS;GACP,SAAS;IACP,MAAM;KACJ,kBAAkB;MAAE,MAAM;MAAM,QAAQ,IAAI,EAAE;KAAE;KAChD,UAAU,EAAE,QAAQ,WAAW;IACjC;IACA,WAAW;KACT,kBAAkB,EAAE,QAAQ,MAAM;KAClC,UAAU,EAAE,QAAQ,WAAW;KAC/B,KAAK,EAAE,QAAQ,MAAM;KACrB,WAAW,EAAE,QAAQ,wBAAwB;IAC/C;IACA,OAAO;KACL,gBAAgB;MAAE,MAAM;MAAqC,QAAQ;KAAO;KAC5E,kBAAkB;MAAE,MAAM;MAAqC,QAAQ;KAAO;KAC9E,cAAc;MAAE,MAAM;MAAM,QAAQ;KAAI;IAC1C;GACF;GACA,QAAQ;IACN,MAAM,EACJ,kBAAkB;KAAE,MAAM;KAAM,QAAQ;IAAK,EAC/C;IACA,OAAO;KACL,gBAAgB;MAAE,MAAM;MAAqC,QAAQ;KAAO;KAC5E,iBAAiB;MAAE,MAAM;MAAM,QAAQ;KAAI;IAC7C;GACF;EACF;CACF;CACA,iBAAiB;EACf,aAAa;EACb,MAAM;EACN,SAAS;CACX;AACF,CAAC"}
1
+ {"version":3,"file":"PageFooter.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/PageFooter.recipe.ts"],"sourcesContent":["import { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nimport { rem } from '../themeUtils';\n\nconst pageFooterSlotRecipe = defineSlotRecipe({\n className: 'page-footer',\n slots: ['root', 'status', 'statusDot', 'statusLabel', 'copyright', 'copyrightText', 'links', 'link'] as const,\n base: {\n root: {\n alignItems: 'center',\n display: 'flex',\n flexDirection: { base: 'column', tablet: 'row' },\n gap: { base: '16', tablet: '0' },\n justifyContent: 'space-between',\n padding: { base: '16', tablet: '0' },\n paddingInlineStart: { base: '16', tablet: '20' },\n width: '100%',\n },\n status: {\n alignItems: 'center',\n borderRadius: '4',\n display: 'flex',\n flexShrink: 0,\n gap: '4',\n paddingBlock: '4',\n paddingInlineEnd: '8',\n paddingInlineStart: '4',\n },\n statusDot: {\n borderRadius: 'full',\n flexShrink: 0,\n height: '8',\n width: '8',\n marginInline: '4',\n },\n statusLabel: {\n color: 'text/secondary',\n textStyle: 'comp/badge/sm',\n whiteSpace: 'nowrap',\n },\n copyright: {\n alignItems: 'center',\n display: 'flex',\n gap: '8',\n order: { base: 3, tablet: 0 },\n },\n copyrightText: {\n color: 'text/secondary',\n textStyle: 'body/md/regular',\n whiteSpace: 'nowrap',\n },\n links: {\n alignItems: 'center',\n display: 'flex',\n flexShrink: 0,\n flexWrap: { base: 'wrap', tablet: 'nowrap' },\n gap: { base: '40', tablet: '24' },\n justifyContent: { base: 'center', tablet: 'flex-start' },\n order: { base: 2, tablet: 0 },\n rowGap: { base: '12', tablet: '8' },\n width: { base: '100%', tablet: 'auto' },\n },\n link: {\n background: 'transparent',\n border: 'none',\n color: 'text/secondary',\n cursor: 'pointer',\n padding: 0,\n textDecoration: 'none',\n textStyle: { base: 'body/lg/regular', tablet: 'body/md/regular' },\n whiteSpace: 'nowrap',\n _hover: {\n textDecoration: 'underline',\n },\n },\n },\n variants: {\n colorVariant: {\n gray: {\n root: {\n background: 'background/secondary',\n },\n status: {\n background: 'background/tertiary',\n },\n },\n white: {\n root: {\n background: 'background/primary',\n },\n status: {\n background: 'background/secondary',\n },\n },\n },\n size: {\n compact: {\n root: {\n height: { tablet: '32' },\n },\n },\n default: {\n root: {\n height: { tablet: '64' },\n },\n },\n },\n variant: {\n default: {\n root: {\n paddingInlineEnd: { base: '16', tablet: rem(80) },\n position: { tablet: 'relative' },\n },\n copyright: {\n insetInlineStart: { tablet: '50%' },\n position: { tablet: 'absolute' },\n top: { tablet: '50%' },\n transform: { tablet: 'translate(-50%, -50%)' },\n },\n links: {\n borderBlockEnd: { base: '1px solid {colors.neutral.93}', tablet: 'none' },\n borderBlockStart: { base: '1px solid {colors.neutral.93}', tablet: 'none' },\n paddingBlock: { base: '16', tablet: '0' },\n },\n },\n public: {\n root: {\n paddingInlineEnd: { base: '16', tablet: '40' },\n },\n links: {\n borderBlockEnd: { base: '1px solid {colors.neutral.93}', tablet: 'none' },\n paddingBlockEnd: { base: '16', tablet: '0' },\n },\n },\n },\n },\n defaultVariants: {\n colorVariant: 'gray',\n size: 'default',\n variant: 'default',\n },\n});\n\nexport default pageFooterSlotRecipe;\n"],"mappings":";;;AAIA,IAAM,uBAAuB,iBAAiB;CAC5C,WAAW;CACX,OAAO;EAAC;EAAQ;EAAU;EAAa;EAAe;EAAa;EAAiB;EAAS;CAAM;CACnG,MAAM;EACJ,MAAM;GACJ,YAAY;GACZ,SAAS;GACT,eAAe;IAAE,MAAM;IAAU,QAAQ;GAAM;GAC/C,KAAK;IAAE,MAAM;IAAM,QAAQ;GAAI;GAC/B,gBAAgB;GAChB,SAAS;IAAE,MAAM;IAAM,QAAQ;GAAI;GACnC,oBAAoB;IAAE,MAAM;IAAM,QAAQ;GAAK;GAC/C,OAAO;EACT;EACA,QAAQ;GACN,YAAY;GACZ,cAAc;GACd,SAAS;GACT,YAAY;GACZ,KAAK;GACL,cAAc;GACd,kBAAkB;GAClB,oBAAoB;EACtB;EACA,WAAW;GACT,cAAc;GACd,YAAY;GACZ,QAAQ;GACR,OAAO;GACP,cAAc;EAChB;EACA,aAAa;GACX,OAAO;GACP,WAAW;GACX,YAAY;EACd;EACA,WAAW;GACT,YAAY;GACZ,SAAS;GACT,KAAK;GACL,OAAO;IAAE,MAAM;IAAG,QAAQ;GAAE;EAC9B;EACA,eAAe;GACb,OAAO;GACP,WAAW;GACX,YAAY;EACd;EACA,OAAO;GACL,YAAY;GACZ,SAAS;GACT,YAAY;GACZ,UAAU;IAAE,MAAM;IAAQ,QAAQ;GAAS;GAC3C,KAAK;IAAE,MAAM;IAAM,QAAQ;GAAK;GAChC,gBAAgB;IAAE,MAAM;IAAU,QAAQ;GAAa;GACvD,OAAO;IAAE,MAAM;IAAG,QAAQ;GAAE;GAC5B,QAAQ;IAAE,MAAM;IAAM,QAAQ;GAAI;GAClC,OAAO;IAAE,MAAM;IAAQ,QAAQ;GAAO;EACxC;EACA,MAAM;GACJ,YAAY;GACZ,QAAQ;GACR,OAAO;GACP,QAAQ;GACR,SAAS;GACT,gBAAgB;GAChB,WAAW;IAAE,MAAM;IAAmB,QAAQ;GAAkB;GAChE,YAAY;GACZ,QAAQ,EACN,gBAAgB,YAClB;EACF;CACF;CACA,UAAU;EACR,cAAc;GACZ,MAAM;IACJ,MAAM,EACJ,YAAY,uBACd;IACA,QAAQ,EACN,YAAY,sBACd;GACF;GACA,OAAO;IACL,MAAM,EACJ,YAAY,qBACd;IACA,QAAQ,EACN,YAAY,uBACd;GACF;EACF;EACA,MAAM;GACJ,SAAS,EACP,MAAM,EACJ,QAAQ,EAAE,QAAQ,KAAK,EACzB,EACF;GACA,SAAS,EACP,MAAM,EACJ,QAAQ,EAAE,QAAQ,KAAK,EACzB,EACF;EACF;EACA,SAAS;GACP,SAAS;IACP,MAAM;KACJ,kBAAkB;MAAE,MAAM;MAAM,QAAQ,IAAI,EAAE;KAAE;KAChD,UAAU,EAAE,QAAQ,WAAW;IACjC;IACA,WAAW;KACT,kBAAkB,EAAE,QAAQ,MAAM;KAClC,UAAU,EAAE,QAAQ,WAAW;KAC/B,KAAK,EAAE,QAAQ,MAAM;KACrB,WAAW,EAAE,QAAQ,wBAAwB;IAC/C;IACA,OAAO;KACL,gBAAgB;MAAE,MAAM;MAAiC,QAAQ;KAAO;KACxE,kBAAkB;MAAE,MAAM;MAAiC,QAAQ;KAAO;KAC1E,cAAc;MAAE,MAAM;MAAM,QAAQ;KAAI;IAC1C;GACF;GACA,QAAQ;IACN,MAAM,EACJ,kBAAkB;KAAE,MAAM;KAAM,QAAQ;IAAK,EAC/C;IACA,OAAO;KACL,gBAAgB;MAAE,MAAM;MAAiC,QAAQ;KAAO;KACxE,iBAAiB;MAAE,MAAM;MAAM,QAAQ;KAAI;IAC7C;GACF;EACF;CACF;CACA,iBAAiB;EACf,cAAc;EACd,MAAM;EACN,SAAS;CACX;AACF,CAAC"}
@@ -1,2 +1,40 @@
1
- declare const ribbonSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "root" | "textBlock", import('@chakra-ui/react').SlotRecipeVariantRecord<"content" | "root" | "textBlock">>;
1
+ declare const ribbonSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "root" | "textBlock", {
2
+ colorVariant: {
3
+ blue: {
4
+ root: {
5
+ background: "color/blue/subtle";
6
+ borderColor: "color/blue/muted";
7
+ color: "color/blue/strong";
8
+ };
9
+ };
10
+ green: {
11
+ root: {
12
+ background: "color/green/subtle";
13
+ borderColor: "color/green/muted";
14
+ color: "color/green/strong";
15
+ };
16
+ };
17
+ yellow: {
18
+ root: {
19
+ background: "color/yellow/subtle";
20
+ borderColor: "color/yellow/muted";
21
+ color: "color/yellow/strong";
22
+ };
23
+ };
24
+ red: {
25
+ root: {
26
+ background: "color/red/subtle";
27
+ borderColor: "color/red/muted";
28
+ color: "color/red/strong";
29
+ };
30
+ };
31
+ purple: {
32
+ root: {
33
+ background: "color/purple/subtle";
34
+ borderColor: "color/purple/muted";
35
+ color: "color/purple/strong";
36
+ };
37
+ };
38
+ };
39
+ }>;
2
40
  export default ribbonSlotRecipe;
@@ -10,12 +10,8 @@ var ribbonSlotRecipe = defineSlotRecipe({
10
10
  base: {
11
11
  root: {
12
12
  alignItems: "center",
13
- background: "colorPalette.subtle",
14
- borderColor: "colorPalette.muted",
15
13
  borderBlockStyle: "solid",
16
14
  borderBlockWidth: "1px",
17
- color: "colorPalette.strong",
18
- colorPalette: "blue",
19
15
  display: "flex",
20
16
  paddingBlock: "12",
21
17
  paddingInline: "24",
@@ -37,7 +33,35 @@ var ribbonSlotRecipe = defineSlotRecipe({
37
33
  minWidth: 0,
38
34
  textStyle: "body/md/regular"
39
35
  }
40
- }
36
+ },
37
+ variants: { colorVariant: {
38
+ blue: { root: {
39
+ background: "color/blue/subtle",
40
+ borderColor: "color/blue/muted",
41
+ color: "color/blue/strong"
42
+ } },
43
+ green: { root: {
44
+ background: "color/green/subtle",
45
+ borderColor: "color/green/muted",
46
+ color: "color/green/strong"
47
+ } },
48
+ yellow: { root: {
49
+ background: "color/yellow/subtle",
50
+ borderColor: "color/yellow/muted",
51
+ color: "color/yellow/strong"
52
+ } },
53
+ red: { root: {
54
+ background: "color/red/subtle",
55
+ borderColor: "color/red/muted",
56
+ color: "color/red/strong"
57
+ } },
58
+ purple: { root: {
59
+ background: "color/purple/subtle",
60
+ borderColor: "color/purple/muted",
61
+ color: "color/purple/strong"
62
+ } }
63
+ } },
64
+ defaultVariants: { colorVariant: "blue" }
41
65
  });
42
66
  //#endregion
43
67
  export { ribbonSlotRecipe as default };
@@ -1 +1 @@
1
- {"version":3,"file":"Ribbon.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/Ribbon.recipe.ts"],"sourcesContent":["import { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nconst ribbonSlotRecipe = defineSlotRecipe({\n className: 'ribbon',\n slots: ['root', 'content', 'textBlock'],\n base: {\n root: {\n alignItems: 'center',\n background: 'colorPalette.subtle',\n borderColor: 'colorPalette.muted',\n borderBlockStyle: 'solid',\n borderBlockWidth: '1px',\n color: 'colorPalette.strong',\n colorPalette: 'blue',\n display: 'flex',\n paddingBlock: '12',\n paddingInline: '24',\n width: 'full',\n },\n content: {\n alignItems: 'center',\n display: 'flex',\n flex: '1 0 0',\n gap: '16',\n justifyContent: 'center',\n minHeight: '32',\n minWidth: 0,\n },\n textBlock: {\n alignItems: 'baseline',\n display: 'flex',\n gap: '4',\n minWidth: 0,\n textStyle: 'body/md/regular',\n },\n },\n});\n\nexport default ribbonSlotRecipe;\n"],"mappings":";;AAEA,IAAM,mBAAmB,iBAAiB;CACxC,WAAW;CACX,OAAO;EAAC;EAAQ;EAAW;CAAW;CACtC,MAAM;EACJ,MAAM;GACJ,YAAY;GACZ,YAAY;GACZ,aAAa;GACb,kBAAkB;GAClB,kBAAkB;GAClB,OAAO;GACP,cAAc;GACd,SAAS;GACT,cAAc;GACd,eAAe;GACf,OAAO;EACT;EACA,SAAS;GACP,YAAY;GACZ,SAAS;GACT,MAAM;GACN,KAAK;GACL,gBAAgB;GAChB,WAAW;GACX,UAAU;EACZ;EACA,WAAW;GACT,YAAY;GACZ,SAAS;GACT,KAAK;GACL,UAAU;GACV,WAAW;EACb;CACF;AACF,CAAC"}
1
+ {"version":3,"file":"Ribbon.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/Ribbon.recipe.ts"],"sourcesContent":["import { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nconst ribbonSlotRecipe = defineSlotRecipe({\n className: 'ribbon',\n slots: ['root', 'content', 'textBlock'],\n base: {\n root: {\n alignItems: 'center',\n borderBlockStyle: 'solid',\n borderBlockWidth: '1px',\n display: 'flex',\n paddingBlock: '12',\n paddingInline: '24',\n width: 'full',\n },\n content: {\n alignItems: 'center',\n display: 'flex',\n flex: '1 0 0',\n gap: '16',\n justifyContent: 'center',\n minHeight: '32',\n minWidth: 0,\n },\n textBlock: {\n alignItems: 'baseline',\n display: 'flex',\n gap: '4',\n minWidth: 0,\n textStyle: 'body/md/regular',\n },\n },\n variants: {\n colorVariant: {\n blue: { root: { background: 'color/blue/subtle', borderColor: 'color/blue/muted', color: 'color/blue/strong' } },\n green: {\n root: { background: 'color/green/subtle', borderColor: 'color/green/muted', color: 'color/green/strong' },\n },\n yellow: {\n root: { background: 'color/yellow/subtle', borderColor: 'color/yellow/muted', color: 'color/yellow/strong' },\n },\n red: { root: { background: 'color/red/subtle', borderColor: 'color/red/muted', color: 'color/red/strong' } },\n purple: {\n root: { background: 'color/purple/subtle', borderColor: 'color/purple/muted', color: 'color/purple/strong' },\n },\n },\n },\n defaultVariants: {\n colorVariant: 'blue',\n },\n});\n\nexport default ribbonSlotRecipe;\n"],"mappings":";;AAEA,IAAM,mBAAmB,iBAAiB;CACxC,WAAW;CACX,OAAO;EAAC;EAAQ;EAAW;CAAW;CACtC,MAAM;EACJ,MAAM;GACJ,YAAY;GACZ,kBAAkB;GAClB,kBAAkB;GAClB,SAAS;GACT,cAAc;GACd,eAAe;GACf,OAAO;EACT;EACA,SAAS;GACP,YAAY;GACZ,SAAS;GACT,MAAM;GACN,KAAK;GACL,gBAAgB;GAChB,WAAW;GACX,UAAU;EACZ;EACA,WAAW;GACT,YAAY;GACZ,SAAS;GACT,KAAK;GACL,UAAU;GACV,WAAW;EACb;CACF;CACA,UAAU,EACR,cAAc;EACZ,MAAM,EAAE,MAAM;GAAE,YAAY;GAAqB,aAAa;GAAoB,OAAO;EAAoB,EAAE;EAC/G,OAAO,EACL,MAAM;GAAE,YAAY;GAAsB,aAAa;GAAqB,OAAO;EAAqB,EAC1G;EACA,QAAQ,EACN,MAAM;GAAE,YAAY;GAAuB,aAAa;GAAsB,OAAO;EAAsB,EAC7G;EACA,KAAK,EAAE,MAAM;GAAE,YAAY;GAAoB,aAAa;GAAmB,OAAO;EAAmB,EAAE;EAC3G,QAAQ,EACN,MAAM;GAAE,YAAY;GAAuB,aAAa;GAAsB,OAAO;EAAsB,EAC7G;CACF,EACF;CACA,iBAAiB,EACf,cAAc,OAChB;AACF,CAAC"}
@@ -37,7 +37,7 @@ declare const tabsSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"c
37
37
  backgroundColor: "background/active";
38
38
  };
39
39
  _disabled: {
40
- backgroundColor: "sys/neutral/moderate";
40
+ backgroundColor: "color/neutral/moderate";
41
41
  color: "text/on-disabled";
42
42
  };
43
43
  _selected: {
@@ -57,7 +57,7 @@ var tabsSlotRecipe = defineSlotRecipe({
57
57
  borderBlockStart: "2px solid transparent",
58
58
  _hover: { backgroundColor: "background/active" },
59
59
  _disabled: {
60
- backgroundColor: "sys/neutral/moderate",
60
+ backgroundColor: "color/neutral/moderate",
61
61
  color: "text/on-disabled"
62
62
  },
63
63
  _selected: {
@@ -1 +1 @@
1
- {"version":3,"file":"Tabs.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/Tabs.recipe.ts"],"sourcesContent":["import { tabsAnatomy } from '@chakra-ui/react/anatomy';\nimport { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nimport { rem } from '../themeUtils';\n\nconst tabsSlotRecipe = defineSlotRecipe({\n slots: tabsAnatomy.keys(),\n className: 'chakra-tabs',\n base: {\n list: {\n display: 'flex',\n },\n trigger: {\n '--focus-ring-width': rem(2),\n cursor: 'pointer',\n textStyle: 'body/lg/semibold',\n paddingInline: '16',\n position: 'relative',\n textAlign: 'left',\n zIndex: 0,\n _disabled: {\n cursor: 'not-allowed',\n },\n _selected: {\n zIndex: 1,\n borderColor: 'border/selected',\n _hover: {\n borderColor: 'border/selected',\n },\n '& > svg': {\n color: 'icon/interactive',\n },\n },\n },\n content: {\n outline: 'none',\n },\n contentGroup: {\n backgroundColor: 'background/primary',\n },\n },\n\n variants: {\n variant: {\n line: {\n list: {\n borderBlockEnd: '1px solid',\n borderColor: 'border/regular',\n },\n trigger: {\n bottom: '-1px',\n display: 'flex',\n alignItems: 'center',\n gap: '8',\n color: 'text/secondary',\n paddingBlockStart: '12',\n paddingBlockEnd: rem(9),\n borderBlockEnd: '2px solid transparent',\n _selected: {\n color: 'text/primary',\n },\n _hover: {\n borderColor: 'border/hover',\n color: 'text/primary',\n },\n _disabled: {\n color: 'text/disabled',\n },\n },\n },\n contained: {\n trigger: {\n paddingBlockStart: rem(10),\n paddingBlockEnd: '12',\n backgroundColor: 'background/tertiary',\n color: 'text/secondary',\n borderBlockStart: '2px solid transparent',\n _hover: {\n backgroundColor: 'background/active',\n },\n _disabled: {\n backgroundColor: 'sys/neutral/moderate',\n color: 'text/on-disabled',\n },\n _selected: {\n backgroundColor: 'background/primary',\n color: 'text/selected',\n _hover: {\n backgroundColor: 'background/primary',\n },\n },\n },\n },\n },\n },\n\n defaultVariants: {\n variant: 'line',\n },\n});\n\nexport default tabsSlotRecipe;\n"],"mappings":";;;;AAKA,IAAM,iBAAiB,iBAAiB;CACtC,OAAO,YAAY,KAAK;CACxB,WAAW;CACX,MAAM;EACJ,MAAM,EACJ,SAAS,OACX;EACA,SAAS;GACP,sBAAsB,IAAI,CAAC;GAC3B,QAAQ;GACR,WAAW;GACX,eAAe;GACf,UAAU;GACV,WAAW;GACX,QAAQ;GACR,WAAW,EACT,QAAQ,cACV;GACA,WAAW;IACT,QAAQ;IACR,aAAa;IACb,QAAQ,EACN,aAAa,kBACf;IACA,WAAW,EACT,OAAO,mBACT;GACF;EACF;EACA,SAAS,EACP,SAAS,OACX;EACA,cAAc,EACZ,iBAAiB,qBACnB;CACF;CAEA,UAAU,EACR,SAAS;EACP,MAAM;GACJ,MAAM;IACJ,gBAAgB;IAChB,aAAa;GACf;GACA,SAAS;IACP,QAAQ;IACR,SAAS;IACT,YAAY;IACZ,KAAK;IACL,OAAO;IACP,mBAAmB;IACnB,iBAAiB,IAAI,CAAC;IACtB,gBAAgB;IAChB,WAAW,EACT,OAAO,eACT;IACA,QAAQ;KACN,aAAa;KACb,OAAO;IACT;IACA,WAAW,EACT,OAAO,gBACT;GACF;EACF;EACA,WAAW,EACT,SAAS;GACP,mBAAmB,IAAI,EAAE;GACzB,iBAAiB;GACjB,iBAAiB;GACjB,OAAO;GACP,kBAAkB;GAClB,QAAQ,EACN,iBAAiB,oBACnB;GACA,WAAW;IACT,iBAAiB;IACjB,OAAO;GACT;GACA,WAAW;IACT,iBAAiB;IACjB,OAAO;IACP,QAAQ,EACN,iBAAiB,qBACnB;GACF;EACF,EACF;CACF,EACF;CAEA,iBAAiB,EACf,SAAS,OACX;AACF,CAAC"}
1
+ {"version":3,"file":"Tabs.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/Tabs.recipe.ts"],"sourcesContent":["import { tabsAnatomy } from '@chakra-ui/react/anatomy';\nimport { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nimport { rem } from '../themeUtils';\n\nconst tabsSlotRecipe = defineSlotRecipe({\n slots: tabsAnatomy.keys(),\n className: 'chakra-tabs',\n base: {\n list: {\n display: 'flex',\n },\n trigger: {\n '--focus-ring-width': rem(2),\n cursor: 'pointer',\n textStyle: 'body/lg/semibold',\n paddingInline: '16',\n position: 'relative',\n textAlign: 'left',\n zIndex: 0,\n _disabled: {\n cursor: 'not-allowed',\n },\n _selected: {\n zIndex: 1,\n borderColor: 'border/selected',\n _hover: {\n borderColor: 'border/selected',\n },\n '& > svg': {\n color: 'icon/interactive',\n },\n },\n },\n content: {\n outline: 'none',\n },\n contentGroup: {\n backgroundColor: 'background/primary',\n },\n },\n\n variants: {\n variant: {\n line: {\n list: {\n borderBlockEnd: '1px solid',\n borderColor: 'border/regular',\n },\n trigger: {\n bottom: '-1px',\n display: 'flex',\n alignItems: 'center',\n gap: '8',\n color: 'text/secondary',\n paddingBlockStart: '12',\n paddingBlockEnd: rem(9),\n borderBlockEnd: '2px solid transparent',\n _selected: {\n color: 'text/primary',\n },\n _hover: {\n borderColor: 'border/hover',\n color: 'text/primary',\n },\n _disabled: {\n color: 'text/disabled',\n },\n },\n },\n contained: {\n trigger: {\n paddingBlockStart: rem(10),\n paddingBlockEnd: '12',\n backgroundColor: 'background/tertiary',\n color: 'text/secondary',\n borderBlockStart: '2px solid transparent',\n _hover: {\n backgroundColor: 'background/active',\n },\n _disabled: {\n backgroundColor: 'color/neutral/moderate',\n color: 'text/on-disabled',\n },\n _selected: {\n backgroundColor: 'background/primary',\n color: 'text/selected',\n _hover: {\n backgroundColor: 'background/primary',\n },\n },\n },\n },\n },\n },\n\n defaultVariants: {\n variant: 'line',\n },\n});\n\nexport default tabsSlotRecipe;\n"],"mappings":";;;;AAKA,IAAM,iBAAiB,iBAAiB;CACtC,OAAO,YAAY,KAAK;CACxB,WAAW;CACX,MAAM;EACJ,MAAM,EACJ,SAAS,OACX;EACA,SAAS;GACP,sBAAsB,IAAI,CAAC;GAC3B,QAAQ;GACR,WAAW;GACX,eAAe;GACf,UAAU;GACV,WAAW;GACX,QAAQ;GACR,WAAW,EACT,QAAQ,cACV;GACA,WAAW;IACT,QAAQ;IACR,aAAa;IACb,QAAQ,EACN,aAAa,kBACf;IACA,WAAW,EACT,OAAO,mBACT;GACF;EACF;EACA,SAAS,EACP,SAAS,OACX;EACA,cAAc,EACZ,iBAAiB,qBACnB;CACF;CAEA,UAAU,EACR,SAAS;EACP,MAAM;GACJ,MAAM;IACJ,gBAAgB;IAChB,aAAa;GACf;GACA,SAAS;IACP,QAAQ;IACR,SAAS;IACT,YAAY;IACZ,KAAK;IACL,OAAO;IACP,mBAAmB;IACnB,iBAAiB,IAAI,CAAC;IACtB,gBAAgB;IAChB,WAAW,EACT,OAAO,eACT;IACA,QAAQ;KACN,aAAa;KACb,OAAO;IACT;IACA,WAAW,EACT,OAAO,gBACT;GACF;EACF;EACA,WAAW,EACT,SAAS;GACP,mBAAmB,IAAI,EAAE;GACzB,iBAAiB;GACjB,iBAAiB;GACjB,OAAO;GACP,kBAAkB;GAClB,QAAQ,EACN,iBAAiB,oBACnB;GACA,WAAW;IACT,iBAAiB;IACjB,OAAO;GACT;GACA,WAAW;IACT,iBAAiB;IACjB,OAAO;IACP,QAAQ,EACN,iBAAiB,qBACnB;GACF;EACF,EACF;CACF,EACF;CAEA,iBAAiB,EACf,SAAS,OACX;AACF,CAAC"}
@@ -1,4 +1,48 @@
1
1
  declare const tagSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "root" | "closeTrigger" | "startElement" | "endElement", {
2
+ colorVariant: {
3
+ neutral: {
4
+ root: {
5
+ backgroundColor: "color/neutral/subtle";
6
+ borderColor: "color/neutral/muted";
7
+ color: "color/neutral/strong";
8
+ };
9
+ };
10
+ blue: {
11
+ root: {
12
+ backgroundColor: "color/blue/subtle";
13
+ borderColor: "color/blue/muted";
14
+ color: "color/blue/strong";
15
+ };
16
+ };
17
+ green: {
18
+ root: {
19
+ backgroundColor: "color/green/subtle";
20
+ borderColor: "color/green/muted";
21
+ color: "color/green/strong";
22
+ };
23
+ };
24
+ red: {
25
+ root: {
26
+ backgroundColor: "color/red/subtle";
27
+ borderColor: "color/red/muted";
28
+ color: "color/red/strong";
29
+ };
30
+ };
31
+ yellow: {
32
+ root: {
33
+ backgroundColor: "color/yellow/subtle";
34
+ borderColor: "color/yellow/muted";
35
+ color: "color/yellow/strong";
36
+ };
37
+ };
38
+ purple: {
39
+ root: {
40
+ backgroundColor: "color/purple/subtle";
41
+ borderColor: "color/purple/muted";
42
+ color: "color/purple/strong";
43
+ };
44
+ };
45
+ };
2
46
  disabled: {
3
47
  true: {
4
48
  root: {
@@ -6,22 +6,50 @@ var tagSlotRecipe = defineSlotRecipe({
6
6
  className: "tag",
7
7
  slots: tagAnatomy.keys(),
8
8
  base: { root: {
9
- colorPalette: "neutral",
10
- backgroundColor: "colorPalette.subtle",
11
9
  borderRadius: "4",
12
10
  border: "1px solid",
13
- borderColor: "colorPalette.muted",
14
11
  display: "inline-flex",
15
12
  alignItems: "center",
16
- overflow: "hidden",
17
- color: "colorPalette.strong"
13
+ overflow: "hidden"
18
14
  } },
19
15
  compoundVariants: [{
20
- colorPalette: "neutral",
16
+ colorVariant: "neutral",
21
17
  disabled: false,
22
18
  css: { root: { color: "text/primary" } }
23
19
  }],
24
20
  variants: {
21
+ colorVariant: {
22
+ neutral: { root: {
23
+ backgroundColor: "color/neutral/subtle",
24
+ borderColor: "color/neutral/muted",
25
+ color: "color/neutral/strong"
26
+ } },
27
+ blue: { root: {
28
+ backgroundColor: "color/blue/subtle",
29
+ borderColor: "color/blue/muted",
30
+ color: "color/blue/strong"
31
+ } },
32
+ green: { root: {
33
+ backgroundColor: "color/green/subtle",
34
+ borderColor: "color/green/muted",
35
+ color: "color/green/strong"
36
+ } },
37
+ red: { root: {
38
+ backgroundColor: "color/red/subtle",
39
+ borderColor: "color/red/muted",
40
+ color: "color/red/strong"
41
+ } },
42
+ yellow: { root: {
43
+ backgroundColor: "color/yellow/subtle",
44
+ borderColor: "color/yellow/muted",
45
+ color: "color/yellow/strong"
46
+ } },
47
+ purple: { root: {
48
+ backgroundColor: "color/purple/subtle",
49
+ borderColor: "color/purple/muted",
50
+ color: "color/purple/strong"
51
+ } }
52
+ },
25
53
  disabled: {
26
54
  true: { root: {
27
55
  backgroundColor: "background/disabled",
@@ -60,7 +88,10 @@ var tagSlotRecipe = defineSlotRecipe({
60
88
  }
61
89
  }
62
90
  },
63
- defaultVariants: { size: "md" }
91
+ defaultVariants: {
92
+ colorVariant: "neutral",
93
+ size: "md"
94
+ }
64
95
  });
65
96
  //#endregion
66
97
  export { tagSlotRecipe as default };
@@ -1 +1 @@
1
- {"version":3,"file":"Tag.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/Tag.recipe.ts"],"sourcesContent":["import { tagAnatomy } from '@chakra-ui/react/anatomy';\nimport { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nimport { rem } from '../themeUtils';\n\nconst tagSlotRecipe = defineSlotRecipe({\n className: 'tag',\n slots: tagAnatomy.keys(),\n base: {\n root: {\n colorPalette: 'neutral',\n backgroundColor: 'colorPalette.subtle',\n borderRadius: '4',\n border: '1px solid',\n borderColor: 'colorPalette.muted',\n display: 'inline-flex',\n alignItems: 'center',\n overflow: 'hidden',\n color: 'colorPalette.strong',\n },\n },\n compoundVariants: [\n {\n colorPalette: 'neutral',\n disabled: false,\n css: {\n root: {\n color: 'text/primary',\n },\n },\n },\n ],\n variants: {\n disabled: {\n true: {\n root: {\n backgroundColor: 'background/disabled',\n borderColor: 'border/disabled',\n color: 'text/on-disabled',\n },\n },\n false: {},\n },\n size: {\n sm: {\n root: {\n height: '24',\n paddingInline: '4',\n '&:has(button)': {\n paddingInlineEnd: '1',\n },\n },\n label: {\n paddingInline: '4',\n textStyle: 'comp/tag/sm',\n },\n endElement: {\n width: '20',\n height: '20',\n },\n },\n md: {\n root: {\n height: '32',\n paddingInline: '6',\n '&:has(button)': {\n paddingInlineEnd: rem(3),\n },\n },\n startElement: {\n marginInlineEnd: '-2px',\n },\n label: {\n paddingInline: '6',\n textStyle: 'comp/tag/md',\n },\n },\n },\n },\n defaultVariants: {\n size: 'md',\n },\n});\n\nexport default tagSlotRecipe;\n"],"mappings":";;;;AAKA,IAAM,gBAAgB,iBAAiB;CACrC,WAAW;CACX,OAAO,WAAW,KAAK;CACvB,MAAM,EACJ,MAAM;EACJ,cAAc;EACd,iBAAiB;EACjB,cAAc;EACd,QAAQ;EACR,aAAa;EACb,SAAS;EACT,YAAY;EACZ,UAAU;EACV,OAAO;CACT,EACF;CACA,kBAAkB,CAChB;EACE,cAAc;EACd,UAAU;EACV,KAAK,EACH,MAAM,EACJ,OAAO,eACT,EACF;CACF,CACF;CACA,UAAU;EACR,UAAU;GACR,MAAM,EACJ,MAAM;IACJ,iBAAiB;IACjB,aAAa;IACb,OAAO;GACT,EACF;GACA,OAAO,CAAC;EACV;EACA,MAAM;GACJ,IAAI;IACF,MAAM;KACJ,QAAQ;KACR,eAAe;KACf,iBAAiB,EACf,kBAAkB,IACpB;IACF;IACA,OAAO;KACL,eAAe;KACf,WAAW;IACb;IACA,YAAY;KACV,OAAO;KACP,QAAQ;IACV;GACF;GACA,IAAI;IACF,MAAM;KACJ,QAAQ;KACR,eAAe;KACf,iBAAiB,EACf,kBAAkB,IAAI,CAAC,EACzB;IACF;IACA,cAAc,EACZ,iBAAiB,OACnB;IACA,OAAO;KACL,eAAe;KACf,WAAW;IACb;GACF;EACF;CACF;CACA,iBAAiB,EACf,MAAM,KACR;AACF,CAAC"}
1
+ {"version":3,"file":"Tag.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/Tag.recipe.ts"],"sourcesContent":["import { tagAnatomy } from '@chakra-ui/react/anatomy';\nimport { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nimport { rem } from '../themeUtils';\n\nconst tagSlotRecipe = defineSlotRecipe({\n className: 'tag',\n slots: tagAnatomy.keys(),\n base: {\n root: {\n borderRadius: '4',\n border: '1px solid',\n display: 'inline-flex',\n alignItems: 'center',\n overflow: 'hidden',\n },\n },\n compoundVariants: [\n {\n colorVariant: 'neutral',\n disabled: false,\n css: {\n root: {\n color: 'text/primary',\n },\n },\n },\n ],\n variants: {\n colorVariant: {\n neutral: {\n root: {\n backgroundColor: 'color/neutral/subtle',\n borderColor: 'color/neutral/muted',\n color: 'color/neutral/strong',\n },\n },\n blue: {\n root: { backgroundColor: 'color/blue/subtle', borderColor: 'color/blue/muted', color: 'color/blue/strong' },\n },\n green: {\n root: { backgroundColor: 'color/green/subtle', borderColor: 'color/green/muted', color: 'color/green/strong' },\n },\n red: { root: { backgroundColor: 'color/red/subtle', borderColor: 'color/red/muted', color: 'color/red/strong' } },\n yellow: {\n root: {\n backgroundColor: 'color/yellow/subtle',\n borderColor: 'color/yellow/muted',\n color: 'color/yellow/strong',\n },\n },\n purple: {\n root: {\n backgroundColor: 'color/purple/subtle',\n borderColor: 'color/purple/muted',\n color: 'color/purple/strong',\n },\n },\n },\n disabled: {\n true: {\n root: {\n backgroundColor: 'background/disabled',\n borderColor: 'border/disabled',\n color: 'text/on-disabled',\n },\n },\n false: {},\n },\n size: {\n sm: {\n root: {\n height: '24',\n paddingInline: '4',\n '&:has(button)': {\n paddingInlineEnd: '1',\n },\n },\n label: {\n paddingInline: '4',\n textStyle: 'comp/tag/sm',\n },\n endElement: {\n width: '20',\n height: '20',\n },\n },\n md: {\n root: {\n height: '32',\n paddingInline: '6',\n '&:has(button)': {\n paddingInlineEnd: rem(3),\n },\n },\n startElement: {\n marginInlineEnd: '-2px',\n },\n label: {\n paddingInline: '6',\n textStyle: 'comp/tag/md',\n },\n },\n },\n },\n defaultVariants: {\n colorVariant: 'neutral',\n size: 'md',\n },\n});\n\nexport default tagSlotRecipe;\n"],"mappings":";;;;AAKA,IAAM,gBAAgB,iBAAiB;CACrC,WAAW;CACX,OAAO,WAAW,KAAK;CACvB,MAAM,EACJ,MAAM;EACJ,cAAc;EACd,QAAQ;EACR,SAAS;EACT,YAAY;EACZ,UAAU;CACZ,EACF;CACA,kBAAkB,CAChB;EACE,cAAc;EACd,UAAU;EACV,KAAK,EACH,MAAM,EACJ,OAAO,eACT,EACF;CACF,CACF;CACA,UAAU;EACR,cAAc;GACZ,SAAS,EACP,MAAM;IACJ,iBAAiB;IACjB,aAAa;IACb,OAAO;GACT,EACF;GACA,MAAM,EACJ,MAAM;IAAE,iBAAiB;IAAqB,aAAa;IAAoB,OAAO;GAAoB,EAC5G;GACA,OAAO,EACL,MAAM;IAAE,iBAAiB;IAAsB,aAAa;IAAqB,OAAO;GAAqB,EAC/G;GACA,KAAK,EAAE,MAAM;IAAE,iBAAiB;IAAoB,aAAa;IAAmB,OAAO;GAAmB,EAAE;GAChH,QAAQ,EACN,MAAM;IACJ,iBAAiB;IACjB,aAAa;IACb,OAAO;GACT,EACF;GACA,QAAQ,EACN,MAAM;IACJ,iBAAiB;IACjB,aAAa;IACb,OAAO;GACT,EACF;EACF;EACA,UAAU;GACR,MAAM,EACJ,MAAM;IACJ,iBAAiB;IACjB,aAAa;IACb,OAAO;GACT,EACF;GACA,OAAO,CAAC;EACV;EACA,MAAM;GACJ,IAAI;IACF,MAAM;KACJ,QAAQ;KACR,eAAe;KACf,iBAAiB,EACf,kBAAkB,IACpB;IACF;IACA,OAAO;KACL,eAAe;KACf,WAAW;IACb;IACA,YAAY;KACV,OAAO;KACP,QAAQ;IACV;GACF;GACA,IAAI;IACF,MAAM;KACJ,QAAQ;KACR,eAAe;KACf,iBAAiB,EACf,kBAAkB,IAAI,CAAC,EACzB;IACF;IACA,cAAc,EACZ,iBAAiB,OACnB;IACA,OAAO;KACL,eAAe;KACf,WAAW;IACb;GACF;EACF;CACF;CACA,iBAAiB;EACf,cAAc;EACd,MAAM;CACR;AACF,CAAC"}
@@ -79,8 +79,8 @@ var tagsInputSlotRecipe = defineSlotRecipe({
79
79
  },
80
80
  itemPreview: {
81
81
  alignItems: "center",
82
- background: "sys/neutral/subtle",
83
- borderColor: "sys/neutral/muted",
82
+ background: "color/neutral/subtle",
83
+ borderColor: "color/neutral/muted",
84
84
  borderRadius: "4",
85
85
  borderStyle: "solid",
86
86
  borderWidth: rem(1),
@@ -94,7 +94,7 @@ var tagsInputSlotRecipe = defineSlotRecipe({
94
94
  paddingInlineEnd: "1",
95
95
  paddingInlineStart: "8",
96
96
  textStyle: "comp/tag/sm",
97
- _highlighted: { background: "sys/neutral/moderate" },
97
+ _highlighted: { background: "color/neutral/moderate" },
98
98
  _disabled: {
99
99
  background: "background/disabled",
100
100
  borderColor: "border/disabled",
@@ -123,7 +123,7 @@ var tagsInputSlotRecipe = defineSlotRecipe({
123
123
  height: "20",
124
124
  justifyContent: "center",
125
125
  width: "20",
126
- _hover: { background: "sys/neutral/moderate" },
126
+ _hover: { background: "color/neutral/moderate" },
127
127
  _disabled: {
128
128
  cursor: "not-allowed",
129
129
  opacity: "0.5"
@@ -137,7 +137,7 @@ var tagsInputSlotRecipe = defineSlotRecipe({
137
137
  display: "flex",
138
138
  justifyContent: "center",
139
139
  padding: "4",
140
- _hover: { background: "sys/neutral/moderate" },
140
+ _hover: { background: "color/neutral/moderate" },
141
141
  _disabled: {
142
142
  cursor: "not-allowed",
143
143
  opacity: "0.5"