@workday/canvas-kit-react 8.0.0-alpha.198-next.0 → 8.0.0-alpha.203-next.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.
Files changed (125) hide show
  1. package/breadcrumbs/LICENSE +52 -0
  2. package/breadcrumbs/README.md +9 -0
  3. package/breadcrumbs/index.ts +2 -0
  4. package/breadcrumbs/lib/Breadcrumbs.tsx +152 -0
  5. package/breadcrumbs/lib/BreadcrumbsCurrentItem.tsx +76 -0
  6. package/breadcrumbs/lib/BreadcrumbsItem.tsx +82 -0
  7. package/breadcrumbs/lib/BreadcrumbsLink.tsx +52 -0
  8. package/breadcrumbs/lib/BreadcrumbsList.tsx +56 -0
  9. package/breadcrumbs/lib/BreadcrumbsMenu.tsx +28 -0
  10. package/breadcrumbs/lib/BreadcrumbsOverflowButton.tsx +62 -0
  11. package/breadcrumbs/lib/hooks/useBreadcrumbsModel.tsx +76 -0
  12. package/breadcrumbs/lib/hooks/utils/index.ts +22 -0
  13. package/breadcrumbs/package.json +6 -0
  14. package/color-picker/lib/ColorInput.tsx +1 -2
  15. package/common/lib/InputProvider.tsx +0 -5
  16. package/dist/commonjs/breadcrumbs/index.d.ts +3 -0
  17. package/dist/commonjs/breadcrumbs/index.d.ts.map +1 -0
  18. package/dist/commonjs/breadcrumbs/index.js +14 -0
  19. package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.d.ts +4413 -0
  20. package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.d.ts.map +1 -0
  21. package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.js +176 -0
  22. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +212 -0
  23. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts.map +1 -0
  24. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.js +63 -0
  25. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.d.ts +226 -0
  26. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.d.ts.map +1 -0
  27. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.js +76 -0
  28. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsLink.d.ts +17 -0
  29. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsLink.d.ts.map +1 -0
  30. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsLink.js +46 -0
  31. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.d.ts +168 -0
  32. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.d.ts.map +1 -0
  33. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.js +64 -0
  34. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsMenu.d.ts +1717 -0
  35. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsMenu.d.ts.map +1 -0
  36. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsMenu.js +58 -0
  37. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +240 -0
  38. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts.map +1 -0
  39. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.js +68 -0
  40. package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +1661 -0
  41. package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts.map +1 -0
  42. package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.js +67 -0
  43. package/dist/commonjs/breadcrumbs/lib/hooks/utils/index.d.ts +6 -0
  44. package/dist/commonjs/breadcrumbs/lib/hooks/utils/index.d.ts.map +1 -0
  45. package/dist/commonjs/breadcrumbs/lib/hooks/utils/index.js +22 -0
  46. package/dist/commonjs/color-picker/lib/ColorInput.d.ts.map +1 -1
  47. package/dist/commonjs/color-picker/lib/ColorInput.js +1 -2
  48. package/dist/commonjs/common/lib/InputProvider.d.ts.map +1 -1
  49. package/dist/commonjs/common/lib/InputProvider.js +0 -7
  50. package/dist/commonjs/form-field/lib/Label.d.ts.map +1 -1
  51. package/dist/commonjs/form-field/lib/Label.js +0 -2
  52. package/dist/commonjs/index.d.ts +1 -0
  53. package/dist/commonjs/index.d.ts.map +1 -1
  54. package/dist/commonjs/index.js +1 -0
  55. package/dist/commonjs/menu/lib/MenuContextTarget.d.ts.map +1 -1
  56. package/dist/commonjs/menu/lib/MenuContextTarget.js +0 -2
  57. package/dist/commonjs/menu/lib/MenuTarget.d.ts.map +1 -1
  58. package/dist/commonjs/menu/lib/MenuTarget.js +0 -2
  59. package/dist/commonjs/modal/lib/ModalOverlay.d.ts.map +1 -1
  60. package/dist/commonjs/modal/lib/ModalOverlay.js +1 -6
  61. package/dist/commonjs/popup/lib/PopupCard.js +1 -2
  62. package/dist/commonjs/toast/lib/Toast.d.ts.map +1 -1
  63. package/dist/commonjs/toast/lib/Toast.js +0 -1
  64. package/dist/commonjs/tooltip/lib/OverflowTooltip.d.ts.map +1 -1
  65. package/dist/commonjs/tooltip/lib/OverflowTooltip.js +1 -4
  66. package/dist/es6/breadcrumbs/index.d.ts +3 -0
  67. package/dist/es6/breadcrumbs/index.d.ts.map +1 -0
  68. package/dist/es6/breadcrumbs/index.js +2 -0
  69. package/dist/es6/breadcrumbs/lib/Breadcrumbs.d.ts +4413 -0
  70. package/dist/es6/breadcrumbs/lib/Breadcrumbs.d.ts.map +1 -0
  71. package/dist/es6/breadcrumbs/lib/Breadcrumbs.js +154 -0
  72. package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +212 -0
  73. package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts.map +1 -0
  74. package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.js +57 -0
  75. package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.d.ts +226 -0
  76. package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.d.ts.map +1 -0
  77. package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.js +54 -0
  78. package/dist/es6/breadcrumbs/lib/BreadcrumbsLink.d.ts +17 -0
  79. package/dist/es6/breadcrumbs/lib/BreadcrumbsLink.d.ts.map +1 -0
  80. package/dist/es6/breadcrumbs/lib/BreadcrumbsLink.js +40 -0
  81. package/dist/es6/breadcrumbs/lib/BreadcrumbsList.d.ts +168 -0
  82. package/dist/es6/breadcrumbs/lib/BreadcrumbsList.d.ts.map +1 -0
  83. package/dist/es6/breadcrumbs/lib/BreadcrumbsList.js +42 -0
  84. package/dist/es6/breadcrumbs/lib/BreadcrumbsMenu.d.ts +1717 -0
  85. package/dist/es6/breadcrumbs/lib/BreadcrumbsMenu.d.ts.map +1 -0
  86. package/dist/es6/breadcrumbs/lib/BreadcrumbsMenu.js +36 -0
  87. package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +240 -0
  88. package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts.map +1 -0
  89. package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.js +46 -0
  90. package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +1661 -0
  91. package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts.map +1 -0
  92. package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.js +61 -0
  93. package/dist/es6/breadcrumbs/lib/hooks/utils/index.d.ts +6 -0
  94. package/dist/es6/breadcrumbs/lib/hooks/utils/index.d.ts.map +1 -0
  95. package/dist/es6/breadcrumbs/lib/hooks/utils/index.js +18 -0
  96. package/dist/es6/color-picker/lib/ColorInput.d.ts.map +1 -1
  97. package/dist/es6/color-picker/lib/ColorInput.js +1 -2
  98. package/dist/es6/common/lib/InputProvider.d.ts.map +1 -1
  99. package/dist/es6/common/lib/InputProvider.js +0 -4
  100. package/dist/es6/form-field/lib/Label.d.ts.map +1 -1
  101. package/dist/es6/form-field/lib/Label.js +0 -2
  102. package/dist/es6/index.d.ts +1 -0
  103. package/dist/es6/index.d.ts.map +1 -1
  104. package/dist/es6/index.js +1 -0
  105. package/dist/es6/menu/lib/MenuContextTarget.d.ts.map +1 -1
  106. package/dist/es6/menu/lib/MenuContextTarget.js +0 -2
  107. package/dist/es6/menu/lib/MenuTarget.d.ts.map +1 -1
  108. package/dist/es6/menu/lib/MenuTarget.js +0 -2
  109. package/dist/es6/modal/lib/ModalOverlay.d.ts.map +1 -1
  110. package/dist/es6/modal/lib/ModalOverlay.js +1 -6
  111. package/dist/es6/popup/lib/PopupCard.js +1 -2
  112. package/dist/es6/toast/lib/Toast.d.ts.map +1 -1
  113. package/dist/es6/toast/lib/Toast.js +0 -1
  114. package/dist/es6/tooltip/lib/OverflowTooltip.d.ts.map +1 -1
  115. package/dist/es6/tooltip/lib/OverflowTooltip.js +1 -4
  116. package/form-field/lib/Label.tsx +1 -2
  117. package/index.ts +1 -0
  118. package/menu/lib/MenuContextTarget.tsx +0 -2
  119. package/menu/lib/MenuTarget.tsx +0 -2
  120. package/modal/lib/ModalOverlay.tsx +1 -6
  121. package/package.json +3 -4
  122. package/popup/lib/PopupCard.tsx +1 -1
  123. package/select/lib/Select.tsx +1 -1
  124. package/toast/lib/Toast.tsx +0 -1
  125. package/tooltip/lib/OverflowTooltip.tsx +1 -4
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Breadcrumbs.d.ts","sourceRoot":"","sources":["../../../../breadcrumbs/lib/Breadcrumbs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;gCAIpB;;;;;;OAMG;;;;;;;;;;;;;;;;;;;;;;;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= arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
23
+ import * as React from 'react';
24
+ import { createContainer } from '@workday/canvas-kit-react/common';
25
+ import { Menu } from '@workday/canvas-kit-react/menu';
26
+ import { useBreadcrumbsModel } from './hooks/useBreadcrumbsModel';
27
+ import { BreadcrumbsList } from './BreadcrumbsList';
28
+ import { BreadcrumbsOverflowButton } from './BreadcrumbsOverflowButton';
29
+ import { BreadcrumbsItem } from './BreadcrumbsItem';
30
+ import { BreadcrumbsLink } from './BreadcrumbsLink';
31
+ import { BreadcrumbsCurrentItem } from './BreadcrumbsCurrentItem';
32
+ import { BreadcrumbsMenu } from './BreadcrumbsMenu';
33
+ /**
34
+ * ## Breadcrumbs
35
+ * ---
36
+ * [View Developer Docs](https://canvas.workdaydesign.com/components/navigation/breadcrumbs#examples)
37
+ *
38
+ * A compound component that allows users to keep track and maintain awareness
39
+ * of their location as they navigate through pages, folders, files, etc.
40
+ *
41
+ * @example
42
+ * ```tsx
43
+ * <Breadcrumbs aria-label="breadcrumbs">
44
+ * <Breadcrumbs.List>
45
+ * <Breadcrumbs.Item>
46
+ * <Breadcrumbs.Link href="/docs">Docs</Breadcrumbs.Link>
47
+ * <Breadcrumbs.Item>
48
+ * <Breadcrumbs.Item>
49
+ * <Breadcrumbs.Link href="/docs/components">Components</Breadcrumbs.Link>
50
+ * <Breadcrumbs.Item>
51
+ * <Breadcrumbs.CurrentItem>
52
+ * <Breadcrumbs.Link href="/docs/components/breadcrumbs">Breadcrumbs</Breadcrumbs.Link>
53
+ * <Breadcrumbs.CurrentItem>
54
+ * <Breadcrumbs.List>
55
+ * </Breadcrumbs>
56
+ * ```
57
+ */
58
+ export var Breadcrumbs = createContainer('nav')({
59
+ displayName: 'Breadcrumbs',
60
+ modelHook: useBreadcrumbsModel,
61
+ subComponents: {
62
+ /**
63
+ * ### Breadcrumbs List
64
+ * ---
65
+ * [View Developer Docs](https://canvas.workdaydesign.com/components/navigation/breadcrumbs/#breadcrumbslist)
66
+ *
67
+ * The nav list containing `BreadcrumbItems`
68
+ */
69
+ List: BreadcrumbsList,
70
+ /**
71
+ * ### Breadcrumbs Item
72
+ * ---
73
+ * [View Developer Docs](https://canvas.workdaydesign.com/components/navigation/breadcrumbs/#breadcrumbsitem)
74
+ *
75
+ * List items in `Breadcrumb.List`.
76
+ * By default, this item is truncated with a tooltip at `350px`,
77
+ * but that can be customized with the `maxWidth` prop.
78
+ *
79
+ * @example
80
+ * ```tsx
81
+ * <Breadcrumbs.Item maxWidth={200}>
82
+ * <Breadcrumbs.Link href="/docs">Docs</Breadcrumbs.Link>
83
+ * </Breadcrumbs.Item>
84
+ * ```
85
+ */
86
+ Item: BreadcrumbsItem,
87
+ /**
88
+ * ### Breadcrumbs Overflow Button
89
+ * ---
90
+ * [View Developer Docs](https://canvas.workdaydesign.com/components/navigation/breadcrumbs/#breadcrumbsoverflowbutton)
91
+ *
92
+ * The toggle button for the Breadcrumbs Menu.
93
+ * This button is rendered implicitly in the `Breadcrumbs.List` when the list overflows.
94
+ * However, if you need to pass props to it, you can do so by passing `overflowButtonProps` to the List.
95
+ *
96
+ * @example
97
+ * ```tsx
98
+ * <Breadcrumbs.List
99
+ * overflowButtonProps={{
100
+ * 'aria-label': 'More breadcrumb links',
101
+ * onClick={handleOverflowButtonClick}
102
+ * }}
103
+ * >
104
+ * ```
105
+ */
106
+ OverflowButton: BreadcrumbsOverflowButton,
107
+ /**
108
+ * ### Breadcrumbs Current Item
109
+ * ---
110
+ * [View Developer Docs](https://canvas.workdaydesign.com/components/navigation/breadcrumbs/#breadcrumbscurrentitem)
111
+ *
112
+ * The last element in the list of `Breadcrumb.Item`s.
113
+ * By default, this item is truncated with a tooltip at `350px`,
114
+ * But that can be customized with the `maxWidth` prop.
115
+ *
116
+ * @example
117
+ * ```tsx
118
+ * <Breadcrumbs.CurrentItem maxWidth={200}>
119
+ * Current Item Text
120
+ * </Breadcrumbs.CurrentItem>
121
+ * ```
122
+ */
123
+ CurrentItem: BreadcrumbsCurrentItem,
124
+ /**
125
+ * ### Breadcrumbs Link
126
+ * ---
127
+ * [View Developer Docs](https://canvas.workdaydesign.com/components/navigation/breadcrumbs/#breadcrumbslink)
128
+ *
129
+ * The hyperlink element in each `Breadcrumbs.Item`.
130
+ */
131
+ Link: BreadcrumbsLink,
132
+ /**
133
+ * ### Breadcrumbs Menu
134
+ * ---
135
+ * [View Developer Docs](https://canvas.workdaydesign.com/components/navigation/breadcrumbs/#breadcrumbsmenu)
136
+ *
137
+ * The overflow menu for Breadcrumbs. If there isn't enough room to render all links,
138
+ * it will automatically overflow items into this menu.
139
+ * @example
140
+ * <Breadcrumbs.Menu.Popper>
141
+ * <Breadcrumbs.Menu.Card>
142
+ * <Breadcrumbs.Menu.List>
143
+ * {(item: MyActionItem) => <Breadcrumbs.Menu.Item>{item.text}</Breadcrumbs.Menu.Item>}
144
+ * </Breadcrumbs.Menu.List>
145
+ * </Breadcrumbs.Menu.Card>
146
+ * </Breadcrumbs.Menu.Popper>
147
+ */
148
+ Menu: BreadcrumbsMenu,
149
+ },
150
+ })(function (_a, _, model) {
151
+ var children = _a.children, _b = _a["aria-label"], ariaLabel = _b === void 0 ? 'breadcrumbs' : _b, elemProps = __rest(_a, ["children", 'aria-label']);
152
+ return (React.createElement(Menu, { model: model.menu },
153
+ React.createElement("nav", __assign({ role: "navigation", "aria-label": ariaLabel }, elemProps), children)));
154
+ });
@@ -0,0 +1,212 @@
1
+ import React from 'react';
2
+ import { OverflowTooltipProps } from '@workday/canvas-kit-react/tooltip';
3
+ import { TextProps } from '@workday/canvas-kit-react/text';
4
+ export interface BreadcrumbsCurrentItemProps extends TextProps {
5
+ tooltipProps?: OverflowTooltipProps;
6
+ }
7
+ export declare const useBreadcrumbsItem: <P extends {}, R>(model: {
8
+ state: {
9
+ selectedIds: import("../../collection/lib/useSelectionListModel").SelectedIds;
10
+ unselectedIds: string[];
11
+ cursorId: string;
12
+ columnCount: number;
13
+ UNSTABLE_virtual: {
14
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
15
+ totalSize: number;
16
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
17
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
18
+ measure: () => void;
19
+ };
20
+ UNSTABLE_defaultItemHeight: number;
21
+ containerRef: React.RefObject<HTMLDivElement>;
22
+ id: string;
23
+ orientation: import("../../collection/lib/useBaseListModel").Orientation;
24
+ indexRef: React.MutableRefObject<number>;
25
+ nonInteractiveIds: string[];
26
+ isVirtualized: boolean;
27
+ items: import("../../collection").Item<any>[];
28
+ };
29
+ events: {
30
+ select(data: {
31
+ id: string;
32
+ }): void;
33
+ selectAll(): void;
34
+ unselectAll(): void;
35
+ registerItem(data: {
36
+ item: any;
37
+ textValue: string;
38
+ }): void;
39
+ goTo(data: {
40
+ id: string;
41
+ }): void;
42
+ goToNext(): void;
43
+ goToPrevious(): void;
44
+ goToPreviousRow(): void;
45
+ goToNextRow(): void;
46
+ goToFirst(): void;
47
+ goToLast(): void;
48
+ goToFirstOfRow(): void;
49
+ goToLastOfRow(): void;
50
+ goToNextPage(): void;
51
+ goToPreviousPage(): void;
52
+ unregisterItem(data: {
53
+ id: string;
54
+ }): void;
55
+ updateItemHeight(data: {
56
+ value: number;
57
+ }): void;
58
+ };
59
+ selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
60
+ navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
61
+ getId: (item: any) => string;
62
+ }, elemProps?: P | undefined, ref?: ((instance: R | null) => void) | React.RefObject<R> | null | undefined) => {} & P & (R extends HTMLOrSVGElement ? {
63
+ ref: React.Ref<R>;
64
+ } : {});
65
+ export declare const BreadcrumbsCurrentItem: import("../../common").ElementComponentM<"li", BreadcrumbsCurrentItemProps, {
66
+ state: {
67
+ hiddenIds: string[];
68
+ nonInteractiveIds: string[];
69
+ orientation: import("../../collection/lib/useBaseListModel").Orientation;
70
+ itemWidthCache: Record<string, number>;
71
+ containerWidth: number;
72
+ overflowTargetWidth: number;
73
+ selectedIds: import("../../collection/lib/useSelectionListModel").SelectedIds;
74
+ unselectedIds: string[];
75
+ cursorId: string;
76
+ columnCount: number;
77
+ UNSTABLE_virtual: {
78
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
79
+ totalSize: number;
80
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
81
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
82
+ measure: () => void;
83
+ };
84
+ UNSTABLE_defaultItemHeight: number;
85
+ containerRef: React.RefObject<HTMLDivElement>;
86
+ id: string;
87
+ indexRef: React.MutableRefObject<number>;
88
+ isVirtualized: boolean;
89
+ items: import("../../collection").Item<any>[];
90
+ };
91
+ events: {
92
+ select(data: {
93
+ id: string;
94
+ }): void;
95
+ setContainerWidth(data: {
96
+ width?: number | undefined;
97
+ }): void;
98
+ setOverflowTargetWidth(data: {
99
+ width: number;
100
+ }): void;
101
+ addItemWidth(data: {
102
+ id: string;
103
+ width: number;
104
+ }): void;
105
+ removeItemWidth(data: {
106
+ id: string;
107
+ }): void;
108
+ addHiddenKey(data: {
109
+ id: string;
110
+ }): void;
111
+ removeHiddenKey(data: {
112
+ id: string;
113
+ }): void;
114
+ selectAll(): void;
115
+ unselectAll(): void;
116
+ registerItem(data: {
117
+ item: any;
118
+ textValue: string;
119
+ }): void;
120
+ goTo(data: {
121
+ id: string;
122
+ }): void;
123
+ goToNext(): void;
124
+ goToPrevious(): void;
125
+ goToPreviousRow(): void;
126
+ goToNextRow(): void;
127
+ goToFirst(): void;
128
+ goToLast(): void;
129
+ goToFirstOfRow(): void;
130
+ goToLastOfRow(): void;
131
+ goToNextPage(): void;
132
+ goToPreviousPage(): void;
133
+ unregisterItem(data: {
134
+ id: string;
135
+ }): void;
136
+ updateItemHeight(data: {
137
+ value: number;
138
+ }): void;
139
+ };
140
+ menu: {
141
+ state: {
142
+ stackRef: React.RefObject<HTMLDivElement>;
143
+ targetRef: React.RefObject<HTMLButtonElement>;
144
+ initialFocusRef: React.RefObject<any> | undefined;
145
+ returnFocusRef: React.RefObject<any> | undefined;
146
+ placement: import("@popperjs/core").Placement;
147
+ id: string;
148
+ visibility: import("../..").Visibility;
149
+ selectedIds: import("../../collection/lib/useSelectionListModel").SelectedIds;
150
+ unselectedIds: string[];
151
+ cursorId: string;
152
+ columnCount: number;
153
+ UNSTABLE_virtual: {
154
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
155
+ totalSize: number;
156
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
157
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
158
+ measure: () => void;
159
+ };
160
+ UNSTABLE_defaultItemHeight: number;
161
+ containerRef: React.RefObject<HTMLDivElement>;
162
+ orientation: import("../../collection/lib/useBaseListModel").Orientation;
163
+ indexRef: React.MutableRefObject<number>;
164
+ nonInteractiveIds: string[];
165
+ isVirtualized: boolean;
166
+ items: import("../../collection").Item<any>[];
167
+ mode: "multiple" | "single";
168
+ };
169
+ events: {
170
+ updatePlacement(data: {
171
+ placement: import("@popperjs/core").Placement;
172
+ }): void;
173
+ show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
174
+ hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
175
+ select(data: {
176
+ id: string;
177
+ }): void;
178
+ selectAll(): void;
179
+ unselectAll(): void;
180
+ registerItem(data: {
181
+ item: any;
182
+ textValue: string;
183
+ }): void;
184
+ goTo(data: {
185
+ id: string;
186
+ }): void;
187
+ goToNext(): void;
188
+ goToPrevious(): void;
189
+ goToPreviousRow(): void;
190
+ goToNextRow(): void;
191
+ goToFirst(): void;
192
+ goToLast(): void;
193
+ goToFirstOfRow(): void;
194
+ goToLastOfRow(): void;
195
+ goToNextPage(): void;
196
+ goToPreviousPage(): void;
197
+ unregisterItem(data: {
198
+ id: string;
199
+ }): void;
200
+ updateItemHeight(data: {
201
+ value: number;
202
+ }): void;
203
+ };
204
+ selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
205
+ navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
206
+ getId: (item: any) => string;
207
+ };
208
+ selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
209
+ navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
210
+ getId: (item: any) => string;
211
+ }>;
212
+ //# sourceMappingURL=BreadcrumbsCurrentItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BreadcrumbsCurrentItem.d.ts","sourceRoot":"","sources":["../../../../breadcrumbs/lib/BreadcrumbsCurrentItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,OAAO,EAAkB,oBAAoB,EAAC,MAAM,mCAAmC,CAAC;AAMxF,OAAO,EAAO,SAAS,EAAC,MAAM,gCAAgC,CAAC;AAE/D,MAAM,WAAW,2BAA4B,SAAQ,SAAS;IAC5D,YAAY,CAAC,EAAE,oBAAoB,CAAC;CACrC;AAcD,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkB9B,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBlC,CAAC"}
@@ -0,0 +1,57 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
23
+ import React from 'react';
24
+ import { styled, createElemPropsHook, useLocalRef, composeHooks, createSubcomponent, ellipsisStyles, useForkRef, } from '@workday/canvas-kit-react/common';
25
+ import { OverflowTooltip } from '@workday/canvas-kit-react/tooltip';
26
+ import { useListItemRegister, useOverflowListItemMeasure, } from '@workday/canvas-kit-react/collection';
27
+ import { useBreadcrumbsModel } from './hooks/useBreadcrumbsModel';
28
+ import { Text } from '@workday/canvas-kit-react/text';
29
+ var ListItem = styled(Text.as('li'))({
30
+ alignItems: 'center',
31
+ flexDirection: 'column',
32
+ }, function (_a) {
33
+ var maxWidth = _a.maxWidth;
34
+ return (__assign({ maxWidth: maxWidth, display: 'inline-block' }, ellipsisStyles));
35
+ });
36
+ export var useBreadcrumbsItem = composeHooks(createElemPropsHook(useBreadcrumbsModel)(function (_model, ref, elemProps) {
37
+ var localRef = useLocalRef(useForkRef(ref)).localRef;
38
+ var shouldShowTooltip = false;
39
+ var refCurrent = localRef.current;
40
+ if (refCurrent) {
41
+ var _a = refCurrent, scrollWidth = _a.scrollWidth, clientWidth = _a.clientWidth;
42
+ shouldShowTooltip = scrollWidth > clientWidth;
43
+ }
44
+ return {
45
+ tabIndex: shouldShowTooltip ? 0 : undefined,
46
+ ref: localRef,
47
+ };
48
+ }), useOverflowListItemMeasure, useListItemRegister);
49
+ export var BreadcrumbsCurrentItem = createSubcomponent('li')({
50
+ displayName: 'Breadcrumbs.Item',
51
+ modelHook: useBreadcrumbsModel,
52
+ elemPropsHook: useBreadcrumbsItem,
53
+ })(function (_a, Element) {
54
+ var children = _a.children, _b = _a.tooltipProps, tooltipProps = _b === void 0 ? {} : _b, _c = _a.maxWidth, maxWidth = _c === void 0 ? '350px' : _c, elemProps = __rest(_a, ["children", "tooltipProps", "maxWidth"]);
55
+ return (React.createElement(OverflowTooltip, __assign({}, tooltipProps),
56
+ React.createElement(ListItem, __assign({ as: Element, typeLevel: "subtext.large", maxWidth: maxWidth, fontWeight: "medium" }, elemProps), children)));
57
+ });
@@ -0,0 +1,226 @@
1
+ import * as React from 'react';
2
+ import { FlexProps } from '@workday/canvas-kit-react/layout';
3
+ export interface BreadcrumbsItemProps extends FlexProps {
4
+ /**
5
+ * The contents of the action item. This will be the accessible name of the action for screen readers.
6
+ *
7
+ * ```tsx
8
+ * <Breadcrumbs.Item>First Action</Breadcrumbs.Item>
9
+ * ```
10
+ */
11
+ children: React.ReactNode;
12
+ /**
13
+ * The identifier of the action. This identifier will be used for correct overflow behavior.
14
+ * If this property is not provided, it will default to a string representation
15
+ * of the the zero-based index of the Item when it was initialized.
16
+ */
17
+ 'data-id'?: string;
18
+ }
19
+ export declare const useBreadcrumbsItem: <P extends {}, R>(model: {
20
+ state: {
21
+ selectedIds: import("../../collection/lib/useSelectionListModel").SelectedIds;
22
+ unselectedIds: string[];
23
+ cursorId: string;
24
+ columnCount: number;
25
+ UNSTABLE_virtual: {
26
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
27
+ totalSize: number;
28
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
29
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
30
+ measure: () => void;
31
+ };
32
+ UNSTABLE_defaultItemHeight: number;
33
+ containerRef: React.RefObject<HTMLDivElement>;
34
+ id: string;
35
+ orientation: import("../../collection/lib/useBaseListModel").Orientation;
36
+ indexRef: React.MutableRefObject<number>;
37
+ nonInteractiveIds: string[];
38
+ isVirtualized: boolean;
39
+ items: import("../../collection").Item<any>[];
40
+ };
41
+ events: {
42
+ select(data: {
43
+ id: string;
44
+ }): void;
45
+ selectAll(): void;
46
+ unselectAll(): void;
47
+ registerItem(data: {
48
+ item: any;
49
+ textValue: string;
50
+ }): void;
51
+ goTo(data: {
52
+ id: string;
53
+ }): void;
54
+ goToNext(): void;
55
+ goToPrevious(): void;
56
+ goToPreviousRow(): void;
57
+ goToNextRow(): void;
58
+ goToFirst(): void;
59
+ goToLast(): void;
60
+ goToFirstOfRow(): void;
61
+ goToLastOfRow(): void;
62
+ goToNextPage(): void;
63
+ goToPreviousPage(): void;
64
+ unregisterItem(data: {
65
+ id: string;
66
+ }): void;
67
+ updateItemHeight(data: {
68
+ value: number;
69
+ }): void;
70
+ };
71
+ selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
72
+ navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
73
+ getId: (item: any) => string;
74
+ }, elemProps?: P | undefined, ref?: ((instance: R | null) => void) | React.RefObject<R> | null | undefined) => {} & P & (R extends HTMLOrSVGElement ? {
75
+ ref: React.Ref<R>;
76
+ } : {});
77
+ export declare const BreadcrumbsItem: import("../../common").ElementComponentM<"li", BreadcrumbsItemProps, {
78
+ state: {
79
+ hiddenIds: string[];
80
+ nonInteractiveIds: string[];
81
+ orientation: import("../../collection/lib/useBaseListModel").Orientation;
82
+ itemWidthCache: Record<string, number>;
83
+ containerWidth: number;
84
+ overflowTargetWidth: number;
85
+ selectedIds: import("../../collection/lib/useSelectionListModel").SelectedIds;
86
+ unselectedIds: string[];
87
+ cursorId: string;
88
+ columnCount: number;
89
+ UNSTABLE_virtual: {
90
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
91
+ totalSize: number;
92
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
93
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
94
+ measure: () => void;
95
+ };
96
+ UNSTABLE_defaultItemHeight: number;
97
+ containerRef: React.RefObject<HTMLDivElement>;
98
+ id: string;
99
+ indexRef: React.MutableRefObject<number>;
100
+ isVirtualized: boolean;
101
+ items: import("../../collection").Item<any>[];
102
+ };
103
+ events: {
104
+ select(data: {
105
+ id: string;
106
+ }): void;
107
+ setContainerWidth(data: {
108
+ width?: number | undefined;
109
+ }): void;
110
+ setOverflowTargetWidth(data: {
111
+ width: number;
112
+ }): void;
113
+ addItemWidth(data: {
114
+ id: string;
115
+ width: number;
116
+ }): void;
117
+ removeItemWidth(data: {
118
+ id: string;
119
+ }): void;
120
+ addHiddenKey(data: {
121
+ id: string;
122
+ }): void;
123
+ removeHiddenKey(data: {
124
+ id: string;
125
+ }): void;
126
+ selectAll(): void;
127
+ unselectAll(): void;
128
+ registerItem(data: {
129
+ item: any;
130
+ textValue: string;
131
+ }): void;
132
+ goTo(data: {
133
+ id: string;
134
+ }): void;
135
+ goToNext(): void;
136
+ goToPrevious(): void;
137
+ goToPreviousRow(): void;
138
+ goToNextRow(): void;
139
+ goToFirst(): void;
140
+ goToLast(): void;
141
+ goToFirstOfRow(): void;
142
+ goToLastOfRow(): void;
143
+ goToNextPage(): void;
144
+ goToPreviousPage(): void;
145
+ unregisterItem(data: {
146
+ id: string;
147
+ }): void;
148
+ updateItemHeight(data: {
149
+ value: number;
150
+ }): void;
151
+ };
152
+ menu: {
153
+ state: {
154
+ stackRef: React.RefObject<HTMLDivElement>;
155
+ targetRef: React.RefObject<HTMLButtonElement>;
156
+ initialFocusRef: React.RefObject<any> | undefined;
157
+ returnFocusRef: React.RefObject<any> | undefined;
158
+ placement: import("@popperjs/core").Placement;
159
+ id: string;
160
+ visibility: import("../..").Visibility;
161
+ selectedIds: import("../../collection/lib/useSelectionListModel").SelectedIds;
162
+ unselectedIds: string[];
163
+ cursorId: string;
164
+ columnCount: number;
165
+ UNSTABLE_virtual: {
166
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
167
+ totalSize: number;
168
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
169
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
170
+ measure: () => void;
171
+ };
172
+ UNSTABLE_defaultItemHeight: number;
173
+ containerRef: React.RefObject<HTMLDivElement>;
174
+ orientation: import("../../collection/lib/useBaseListModel").Orientation;
175
+ indexRef: React.MutableRefObject<number>;
176
+ nonInteractiveIds: string[];
177
+ isVirtualized: boolean;
178
+ items: import("../../collection").Item<any>[];
179
+ mode: "multiple" | "single";
180
+ };
181
+ events: {
182
+ updatePlacement(data: {
183
+ placement: import("@popperjs/core").Placement;
184
+ }): void;
185
+ show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
186
+ hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
187
+ select(data: {
188
+ id: string;
189
+ }): void;
190
+ selectAll(): void;
191
+ unselectAll(): void;
192
+ registerItem(data: {
193
+ item: any;
194
+ textValue: string;
195
+ }): void;
196
+ goTo(data: {
197
+ id: string;
198
+ }): void;
199
+ goToNext(): void;
200
+ goToPrevious(): void;
201
+ goToPreviousRow(): void;
202
+ goToNextRow(): void;
203
+ goToFirst(): void;
204
+ goToLast(): void;
205
+ goToFirstOfRow(): void;
206
+ goToLastOfRow(): void;
207
+ goToNextPage(): void;
208
+ goToPreviousPage(): void;
209
+ unregisterItem(data: {
210
+ id: string;
211
+ }): void;
212
+ updateItemHeight(data: {
213
+ value: number;
214
+ }): void;
215
+ };
216
+ selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
217
+ navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
218
+ getId: (item: any) => string;
219
+ };
220
+ selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
221
+ navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
222
+ getId: (item: any) => string;
223
+ }> & {
224
+ Link: import("../../common").ElementComponent<"a", import("./BreadcrumbsLink").BreadcrumbsLinkProps>;
225
+ };
226
+ //# sourceMappingURL=BreadcrumbsItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BreadcrumbsItem.d.ts","sourceRoot":"","sources":["../../../../breadcrumbs/lib/BreadcrumbsItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,OAAO,EAAO,SAAS,EAAC,MAAM,kCAAkC,CAAC;AAOjE,MAAM,WAAW,oBAAqB,SAAQ,SAAS;IACrD;;;;;;OAMG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoB9B,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwB1B,CAAC"}