@bitrise/bitkit-v2 0.3.130 → 0.3.131

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.
@@ -0,0 +1,11 @@
1
+ type BreadcrumbItem = {
2
+ title: string;
3
+ href?: string;
4
+ disabled?: boolean;
5
+ items?: Omit<BreadcrumbItem, 'items'>[];
6
+ };
7
+ type BitkitBreadcrumbProps = {
8
+ items: Array<BreadcrumbItem>;
9
+ };
10
+ declare const BitkitBreadcrumb: import('react').ForwardRefExoticComponent<BitkitBreadcrumbProps & import('react').RefAttributes<HTMLElement>>;
11
+ export default BitkitBreadcrumb;
@@ -1,7 +1,7 @@
1
1
  declare const breakpoints: {
2
2
  base: string;
3
3
  tablet: string;
4
- desktip: string;
4
+ desktop: string;
5
5
  wideDesktop: string;
6
6
  };
7
7
  export default breakpoints;
@@ -2,7 +2,7 @@ const e = {
2
2
  base: "0rem",
3
3
  tablet: "53rem",
4
4
  // 848px
5
- desktip: "80rem",
5
+ desktop: "80rem",
6
6
  // 1280px
7
7
  wideDesktop: "101rem"
8
8
  // 1616px
@@ -0,0 +1,2 @@
1
+ declare const breadcrumbSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"link" | "separator" | "ellipsis" | "root" | "item" | "list" | "currentLink", import('@chakra-ui/react').SlotRecipeVariantRecord<"link" | "separator" | "ellipsis" | "root" | "item" | "list" | "currentLink">>;
2
+ export default breadcrumbSlotRecipe;
@@ -0,0 +1,53 @@
1
+ import { breadcrumbAnatomy as o } from "@chakra-ui/react/anatomy";
2
+ import { defineSlotRecipe as t } from "@chakra-ui/react/styled-system";
3
+ const e = {
4
+ cursor: "pointer",
5
+ color: "text/link",
6
+ textStyle: "comp/link/md",
7
+ _hover: {
8
+ color: "text/link-hover",
9
+ textStyle: "comp/link/md-hover"
10
+ },
11
+ _focusVisible: {
12
+ borderRadius: "2",
13
+ background: "background/primary",
14
+ backgroundBlendMode: "multiply"
15
+ },
16
+ _active: {
17
+ color: "text/primary",
18
+ textStyle: "comp/link/md-hover"
19
+ },
20
+ _disabled: {
21
+ color: "text/disabled",
22
+ outline: "none",
23
+ pointerEvents: "none"
24
+ }
25
+ }, i = t({
26
+ className: "breadcrumb",
27
+ slots: o.keys(),
28
+ base: {
29
+ list: {
30
+ display: "flex",
31
+ alignItems: "center",
32
+ whiteSpace: "nowrap",
33
+ color: "text/tertiary",
34
+ gap: "4"
35
+ },
36
+ link: {
37
+ ...e
38
+ },
39
+ currentLink: {
40
+ color: "text/body",
41
+ textStyle: "body/md/semibold"
42
+ },
43
+ separator: {
44
+ color: "icon/disabled"
45
+ },
46
+ ellipsis: {
47
+ ...e
48
+ }
49
+ }
50
+ });
51
+ export {
52
+ i as default
53
+ };
@@ -184,6 +184,7 @@ declare const slotRecipes: {
184
184
  rounded: {};
185
185
  };
186
186
  }>;
187
+ breadcrumb: import('@chakra-ui/react').SlotRecipeDefinition<"link" | "separator" | "ellipsis" | "root" | "item" | "list" | "currentLink", import('@chakra-ui/react').SlotRecipeVariantRecord<"link" | "separator" | "ellipsis" | "root" | "item" | "list" | "currentLink">>;
187
188
  card: import('@chakra-ui/react').SlotRecipeDefinition<"body" | "footer" | "header" | "title" | "root" | "description", {
188
189
  elevation: {
189
190
  true: {
@@ -2,44 +2,46 @@ import e from "./Accordion.recipe.js";
2
2
  import t from "./ActionBar.recipe.js";
3
3
  import o from "./Alert.recipe.js";
4
4
  import r from "./Avatar.recipe.js";
5
- import i from "./Card.recipe.js";
6
- import p from "./Checkbox.recipe.js";
7
- import c from "./DatePicker.recipe.js";
8
- import m from "./DatePickerSelect.recipe.js";
9
- import a from "./EmptyState.recipe.js";
10
- import l from "./ExpandableCard.recipe.js";
11
- import S from "./Field.recipe.js";
12
- import f from "./Fieldset.recipe.js";
13
- import R from "./NativeSelect.recipe.js";
14
- import d from "./NumberInput.recipe.js";
15
- import n from "./RadioGroup.recipe.js";
5
+ import i from "./Breadcrumb.recipe.js";
6
+ import p from "./Card.recipe.js";
7
+ import c from "./Checkbox.recipe.js";
8
+ import m from "./DatePicker.recipe.js";
9
+ import a from "./DatePickerSelect.recipe.js";
10
+ import l from "./EmptyState.recipe.js";
11
+ import S from "./ExpandableCard.recipe.js";
12
+ import f from "./Field.recipe.js";
13
+ import R from "./Fieldset.recipe.js";
14
+ import d from "./NativeSelect.recipe.js";
15
+ import n from "./NumberInput.recipe.js";
16
+ import b from "./RadioGroup.recipe.js";
16
17
  import { selectSlotRecipe as s } from "./Select.recipe.js";
17
- import b from "./Switch.recipe.js";
18
- import u from "./Tabs.recipe.js";
19
- import k from "./Tag.recipe.js";
20
- import x from "./Tooltip.recipe.js";
21
- const L = {
18
+ import u from "./Switch.recipe.js";
19
+ import k from "./Tabs.recipe.js";
20
+ import x from "./Tag.recipe.js";
21
+ import h from "./Tooltip.recipe.js";
22
+ const N = {
22
23
  actionBar: t,
23
24
  avatar: r,
24
- card: i,
25
- datePicker: c,
26
- datePickerSelect: m,
27
- checkbox: p,
28
- emptyState: a,
29
- expandableCard: l,
30
- field: S,
31
- fieldset: f,
32
- nativeSelect: R,
25
+ breadcrumb: i,
26
+ card: p,
27
+ datePicker: m,
28
+ datePickerSelect: a,
29
+ checkbox: c,
30
+ emptyState: l,
31
+ expandableCard: S,
32
+ field: f,
33
+ fieldset: R,
34
+ nativeSelect: d,
33
35
  alert: o,
34
- numberInput: d,
35
- radioGroup: n,
36
+ numberInput: n,
37
+ radioGroup: b,
36
38
  select: s,
37
- switch: b,
38
- tabs: u,
39
- tag: k,
40
- tooltip: x,
39
+ switch: u,
40
+ tabs: k,
41
+ tag: x,
42
+ tooltip: h,
41
43
  accordion: e
42
44
  };
43
45
  export {
44
- L as default
46
+ N as default
45
47
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bitrise/bitkit-v2",
3
3
  "private": false,
4
- "version": "0.3.130",
4
+ "version": "0.3.131",
5
5
  "description": "Bitrise Design System Components built with Chakra UI V3",
6
6
  "keywords": [
7
7
  "react",