@workday/canvas-kit-react 11.0.0-alpha.718-next.0 → 11.0.0-alpha.726-next.0

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 (98) hide show
  1. package/collection/lib/useCursorListModel.tsx +1 -1
  2. package/common/lib/CanvasProvider.tsx +2 -2
  3. package/common/lib/theming/useThemedRing.ts +1 -1
  4. package/dist/commonjs/collection/lib/useCursorListModel.js +1 -1
  5. package/dist/commonjs/common/lib/CanvasProvider.d.ts.map +1 -1
  6. package/dist/commonjs/common/lib/CanvasProvider.js +2 -2
  7. package/dist/commonjs/common/lib/theming/useThemedRing.d.ts +1 -1
  8. package/dist/commonjs/common/lib/theming/useThemedRing.js +1 -1
  9. package/dist/commonjs/layout/lib/utils/mergeStyles.d.ts.map +1 -1
  10. package/dist/commonjs/layout/lib/utils/mergeStyles.js +3 -8
  11. package/dist/commonjs/select/lib/hooks/useSelectInput.d.ts.map +1 -1
  12. package/dist/commonjs/select/lib/hooks/useSelectInput.js +30 -1
  13. package/dist/commonjs/tabs/lib/useTabsModel.d.ts.map +1 -1
  14. package/dist/commonjs/tabs/lib/useTabsModel.js +2 -4
  15. package/dist/es6/collection/lib/useCursorListModel.js +1 -1
  16. package/dist/es6/common/lib/CanvasProvider.d.ts.map +1 -1
  17. package/dist/es6/common/lib/CanvasProvider.js +2 -2
  18. package/dist/es6/common/lib/theming/useThemedRing.d.ts +1 -1
  19. package/dist/es6/common/lib/theming/useThemedRing.js +1 -1
  20. package/dist/es6/layout/lib/utils/mergeStyles.d.ts.map +1 -1
  21. package/dist/es6/layout/lib/utils/mergeStyles.js +3 -8
  22. package/dist/es6/select/lib/hooks/useSelectInput.d.ts.map +1 -1
  23. package/dist/es6/select/lib/hooks/useSelectInput.js +30 -1
  24. package/dist/es6/tabs/lib/useTabsModel.d.ts.map +1 -1
  25. package/dist/es6/tabs/lib/useTabsModel.js +2 -4
  26. package/layout/lib/utils/mergeStyles.ts +3 -11
  27. package/package.json +4 -5
  28. package/select/lib/hooks/useSelectInput.ts +33 -1
  29. package/tabs/lib/useTabsModel.tsx +3 -4
  30. package/action-bar/LICENSE +0 -51
  31. package/action-bar/README.md +0 -6
  32. package/avatar/LICENSE +0 -51
  33. package/avatar/README.md +0 -111
  34. package/badge/LICENSE +0 -51
  35. package/badge/README.md +0 -127
  36. package/banner/LICENSE +0 -51
  37. package/banner/README.md +0 -7
  38. package/breadcrumbs/LICENSE +0 -52
  39. package/breadcrumbs/README.md +0 -9
  40. package/button/LICENSE +0 -51
  41. package/button/README.md +0 -272
  42. package/card/LICENSE +0 -51
  43. package/card/README.md +0 -7
  44. package/checkbox/LICENSE +0 -51
  45. package/checkbox/README.md +0 -7
  46. package/collection/LICENSE +0 -52
  47. package/collection/README.md +0 -32
  48. package/color-picker/LICENSE +0 -51
  49. package/color-picker/README.md +0 -13
  50. package/combobox/LICENSE +0 -52
  51. package/combobox/README.md +0 -7
  52. package/common/LICENSE +0 -51
  53. package/common/README.md +0 -467
  54. package/dialog/LICENSE +0 -52
  55. package/dialog/README.md +0 -10
  56. package/form-field/LICENSE +0 -51
  57. package/form-field/README.md +0 -5
  58. package/icon/LICENSE +0 -51
  59. package/icon/README.md +0 -428
  60. package/layout/LICENSE +0 -52
  61. package/layout/README.md +0 -151
  62. package/loading-dots/LICENSE +0 -51
  63. package/loading-dots/README.md +0 -7
  64. package/menu/LICENSE +0 -52
  65. package/menu/README.md +0 -32
  66. package/modal/README.md +0 -12
  67. package/pagination/LICENSE +0 -51
  68. package/pagination/README.md +0 -7
  69. package/popup/LICENSE +0 -51
  70. package/popup/README.md +0 -12
  71. package/radio/LICENSE +0 -51
  72. package/radio/README.md +0 -7
  73. package/segmented-control/LICENSE +0 -51
  74. package/segmented-control/README.md +0 -56
  75. package/select/README.md +0 -12
  76. package/side-panel/README.md +0 -174
  77. package/skeleton/README.md +0 -7
  78. package/status-indicator/LICENSE +0 -51
  79. package/status-indicator/README.md +0 -7
  80. package/switch/README.md +0 -7
  81. package/table/LICENSE +0 -51
  82. package/table/README.md +0 -7
  83. package/tabs/LICENSE +0 -51
  84. package/tabs/README.md +0 -7
  85. package/testing/LICENSE +0 -52
  86. package/testing/README.md +0 -6
  87. package/text/LICENSE +0 -52
  88. package/text/README.md +0 -5
  89. package/text-area/LICENSE +0 -51
  90. package/text-area/README.md +0 -7
  91. package/text-input/LICENSE +0 -51
  92. package/text-input/README.md +0 -7
  93. package/toast/LICENSE +0 -52
  94. package/toast/README.md +0 -5
  95. package/tokens/LICENSE +0 -51
  96. package/tokens/README.md +0 -427
  97. package/tooltip/LICENSE +0 -51
  98. package/tooltip/README.md +0 -77
@@ -1,51 +0,0 @@
1
- Apache License, Version 2.0 Apache License Version 2.0, January 2004
2
-
3
- http://www.apache.org/licenses/
4
-
5
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
-
7
- 1. Definitions.
8
- "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
9
- "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
10
- "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
11
- "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
12
- "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
13
- "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
14
- "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
15
- "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
16
- "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
17
- "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
18
-
19
- 2. Grant of Copyright License.
20
- Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
21
-
22
- 3. Grant of Patent License.
23
- Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
24
-
25
- 4. Redistribution.
26
- You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
27
- You must give any other recipients of the Work or Derivative Works a copy of this License; and You must cause any modified files to carry prominent notices stating that You changed the files; and You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
28
-
29
- 5. Submission of Contributions.
30
- Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
31
-
32
- 6. Trademarks.
33
- This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
34
-
35
- 7. Disclaimer of Warranty.
36
- Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
37
-
38
- 8. Limitation of Liability.
39
- In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
40
-
41
- 9. Accepting Warranty or Additional Liability.
42
- While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
43
-
44
- END OF TERMS AND CONDITIONS
45
-
46
- ©2020. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.
47
-
48
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
49
- http://www.apache.org/licenses/LICENSE-2.0
50
-
51
- Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
@@ -1,6 +0,0 @@
1
- # Canvas Kit React Action Bar
2
-
3
- `ActionBar` contains primary and secondary actions related to a page or task.
4
-
5
- For more detailed information on this component, please refer to the
6
- [storybook documentation](https://workday.github.io/canvas-kit/?path=/docs/components-buttons-action-bar-react--basic)
package/avatar/LICENSE DELETED
@@ -1,51 +0,0 @@
1
- Apache License, Version 2.0 Apache License Version 2.0, January 2004
2
-
3
- http://www.apache.org/licenses/
4
-
5
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
-
7
- 1. Definitions.
8
- "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
9
- "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
10
- "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
11
- "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
12
- "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
13
- "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
14
- "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
15
- "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
16
- "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
17
- "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
18
-
19
- 2. Grant of Copyright License.
20
- Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
21
-
22
- 3. Grant of Patent License.
23
- Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
24
-
25
- 4. Redistribution.
26
- You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
27
- You must give any other recipients of the Work or Derivative Works a copy of this License; and You must cause any modified files to carry prominent notices stating that You changed the files; and You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
28
-
29
- 5. Submission of Contributions.
30
- Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
31
-
32
- 6. Trademarks.
33
- This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
34
-
35
- 7. Disclaimer of Warranty.
36
- Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
37
-
38
- 8. Limitation of Liability.
39
- In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
40
-
41
- 9. Accepting Warranty or Additional Liability.
42
- While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
43
-
44
- END OF TERMS AND CONDITIONS
45
-
46
- ©2020. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.
47
-
48
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
49
- http://www.apache.org/licenses/LICENSE-2.0
50
-
51
- Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
package/avatar/README.md DELETED
@@ -1,111 +0,0 @@
1
- # Canvas Kit Avatar
2
-
3
- A component showing a user's photo with a circular crop.
4
-
5
- ## Installation
6
-
7
- ```sh
8
- yarn add @workday/canvas-kit-react
9
- ```
10
-
11
- ## Usage
12
-
13
- ```tsx
14
- import * as React from 'react';
15
- import {Avatar, AvatarVariant} from '@workday/canvas-kit-react/avatar';
16
-
17
- // Basic button with click handler
18
- <Avatar onClick={someFunction} />
19
-
20
- // Rendering as a div instead of a button
21
- <Avatar as="div" />
22
-
23
- // Using static properties on Avatar
24
- <Avatar
25
- size={Avatar.Size.xs}
26
- variant={Avatar.Variant.Dark}
27
- />
28
-
29
- // Using AvatarVariant import directly
30
- <Avatar size={Avatar.Size.xs} variant={AvatarVariant.Dark} />
31
- ```
32
-
33
- ## Static Properties
34
-
35
- #### `variant: AvatarVariant`
36
-
37
- ```tsx
38
- <Avatar variant={Avatar.Variant.Dark} />
39
- ```
40
-
41
- ---
42
-
43
- #### `Size: SystemIconCircleSize | number`
44
-
45
- ```tsx
46
- <Avatar size={Avatar.Size.xs} />
47
-
48
- // Custom Size.
49
- // Note: Please use the predefined sizes as it works nicely with the Canvas Design System
50
- <Avatar size={48} />
51
- ```
52
-
53
- ## Component Props
54
-
55
- ### Required
56
-
57
- > None
58
-
59
- ### Optional
60
-
61
- #### `variant: AvatarVariant`
62
-
63
- > The variant of the avatar if using a default image.
64
-
65
- Default: `AvatarVariant.Light`
66
-
67
- | Variant | Description |
68
- | ------- | -------------------------------- |
69
- | `Light` | Light grey background, dark icon |
70
- | `Dark` | Dark blue background, white icon |
71
-
72
- ---
73
-
74
- #### `size: SystemIconCircleSize | number`
75
-
76
- > The diameter of the avatar in pixels
77
-
78
- Default: `Avatar.Size.m`
79
-
80
- | Name | Size (px) |
81
- | ----- | --------- |
82
- | `xs` | 16 |
83
- | `s` | 24 |
84
- | `m` | 32 |
85
- | `l` | 40 |
86
- | `xl` | 64 |
87
- | `xxl` | 120 |
88
-
89
- ---
90
-
91
- #### `altText: string`
92
-
93
- > Text describing what the avatar is showing.
94
-
95
- ---
96
-
97
- #### `url: string`
98
-
99
- > The URL of the user's photo. Expects a square (1:1) photo.
100
-
101
- ---
102
-
103
- #### `ref: React.Ref<HTMLButtonElement>`
104
-
105
- > A ref to the underlying `<button>` or `<div>` element.
106
-
107
- ---
108
-
109
- #### `as: 'div'`
110
-
111
- > Option to display the avatar as a div instead of a button.
package/badge/LICENSE DELETED
@@ -1,51 +0,0 @@
1
- Apache License, Version 2.0 Apache License Version 2.0, January 2004
2
-
3
- http://www.apache.org/licenses/
4
-
5
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
-
7
- 1. Definitions.
8
- "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
9
- "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
10
- "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
11
- "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
12
- "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
13
- "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
14
- "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
15
- "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
16
- "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
17
- "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
18
-
19
- 2. Grant of Copyright License.
20
- Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
21
-
22
- 3. Grant of Patent License.
23
- Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
24
-
25
- 4. Redistribution.
26
- You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
27
- You must give any other recipients of the Work or Derivative Works a copy of this License; and You must cause any modified files to carry prominent notices stating that You changed the files; and You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
28
-
29
- 5. Submission of Contributions.
30
- Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
31
-
32
- 6. Trademarks.
33
- This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
34
-
35
- 7. Disclaimer of Warranty.
36
- Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
37
-
38
- 8. Limitation of Liability.
39
- In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
40
-
41
- 9. Accepting Warranty or Additional Liability.
42
- While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
43
-
44
- END OF TERMS AND CONDITIONS
45
-
46
- ©2019. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.
47
-
48
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
49
- http://www.apache.org/licenses/LICENSE-2.0
50
-
51
- Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
package/badge/README.md DELETED
@@ -1,127 +0,0 @@
1
- # Canvas Kit React Badge
2
-
3
- CountBadge provides a quantity-based summary with dynamic values.
4
-
5
- ## Installation
6
-
7
- ```sh
8
- yarn add @workday/canvas-kit-react
9
- ```
10
-
11
- ## Accessibility
12
-
13
- A common use case for the CountBadge is for displaying notifications, and there are several
14
- accessibility concerns you'll want to keep in mind:
15
-
16
- - The button should have an aria-label that updates with the count
17
- - The elements inside the button should have `aria-hidden`
18
- - The live region should be outside the button
19
- - The live region should be visually hidden and only contain text
20
-
21
- ### Notification Example
22
-
23
- ```tsx
24
- import styled from '@emotion/styled';
25
- import { accessibleHide } from "@workday/canvas-kit-react";
26
-
27
- ...
28
-
29
- const AccessibleHide = styled('div')({
30
- ...accessibleHide,
31
- });
32
-
33
- ...
34
-
35
- <TertiaryButton
36
- style={{ position: "relative" }}
37
- aria-label={`Alerts ${count} new notifications`}
38
- size="medium"
39
- >
40
- <SystemIcon icon={notificationsIcon} aria-hidden="true" />
41
- <Badge count={count} aria-hidden="true" />
42
- </TertiaryButton>
43
- <AccessibleHide role="status" aria-live="polite" aria-atomic="true">
44
- New notifications
45
- </AccessibleHide>
46
- ```
47
-
48
- ## Usage
49
-
50
- 📝 **Note** With all usage examples, please also refer to the accessibility guidelines above.
51
-
52
- ### Basic Usage
53
-
54
- #### Setting the Count
55
-
56
- ```tsx
57
- import * as React from 'react';
58
- import {CountBadge} from '@workday/canvas-kit-react/badge';
59
-
60
- const CustomCountBadge = () => {
61
- return <CountBadge count={3} />;
62
- };
63
- ```
64
-
65
- #### Setting a Variant
66
-
67
- ```tsx
68
- import * as React from 'react';
69
- import {CountBadge} from '@workday/canvas-kit-react/badge';
70
-
71
- const InverseCountBadge = () => {
72
- return <CountBadge variant="inverse" count={3} />;
73
- };
74
- ```
75
-
76
- #### Setting a Limit
77
-
78
- ```tsx
79
- import * as React from 'react';
80
- import {CountBadge} from '@workday/canvas-kit-react/badge';
81
-
82
- const InverseCountBadge = () => {
83
- // this will display the count as '99+'
84
- return <CountBadge variant="inverse" count={100} limit={100} />;
85
- };
86
- ```
87
-
88
- ## Static Properties
89
-
90
- > None
91
-
92
- ## Component Props
93
-
94
- ### Required
95
-
96
- > None
97
-
98
- ### Optional
99
-
100
- #### `variant: 'default' | 'inverse'`
101
-
102
- > Styled variant for the badge
103
-
104
- | Variant | Description |
105
- | --------- | --------------------------- |
106
- | `default` | Red background, White text |
107
- | `inverse` | White background, Blue text |
108
-
109
- Default: `default`
110
-
111
- ---
112
-
113
- #### `count: number`
114
-
115
- > Count displayed on the badge
116
-
117
- Default: `0`
118
-
119
- 📝 **Note**
120
-
121
- By default, values greater than 999 are formatted to "999+"
122
-
123
- #### `limit: number`
124
-
125
- > Limit sets when to format the displayed count
126
-
127
- Default: `1000`
package/banner/LICENSE DELETED
@@ -1,51 +0,0 @@
1
- Apache License, Version 2.0 Apache License Version 2.0, January 2004
2
-
3
- http://www.apache.org/licenses/
4
-
5
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
-
7
- 1. Definitions.
8
- "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
9
- "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
10
- "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
11
- "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
12
- "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
13
- "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
14
- "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
15
- "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
16
- "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
17
- "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
18
-
19
- 2. Grant of Copyright License.
20
- Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
21
-
22
- 3. Grant of Patent License.
23
- Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
24
-
25
- 4. Redistribution.
26
- You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
27
- You must give any other recipients of the Work or Derivative Works a copy of this License; and You must cause any modified files to carry prominent notices stating that You changed the files; and You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
28
-
29
- 5. Submission of Contributions.
30
- Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
31
-
32
- 6. Trademarks.
33
- This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
34
-
35
- 7. Disclaimer of Warranty.
36
- Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
37
-
38
- 8. Limitation of Liability.
39
- In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
40
-
41
- 9. Accepting Warranty or Additional Liability.
42
- While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
43
-
44
- END OF TERMS AND CONDITIONS
45
-
46
- ©2020. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.
47
-
48
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
49
- http://www.apache.org/licenses/LICENSE-2.0
50
-
51
- Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
package/banner/README.md DELETED
@@ -1,7 +0,0 @@
1
- # Canvas Kit Banner
2
-
3
- View the
4
- [documentation for Banner](https://workday.github.io/canvas-kit/?path=/docs/components-indicators-banner-react--basic)
5
- on Storybook.
6
-
7
- [> Workday Design Reference](https://design.workday.com/components/indicators/banners)
@@ -1,52 +0,0 @@
1
- Apache License, Version 2.0 Apache License Version 2.0, January 2004
2
-
3
- http://www.apache.org/licenses/
4
-
5
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
-
7
- 1. Definitions.
8
- "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
9
- "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
10
- "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
11
- "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
12
- "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
13
- "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
14
- "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
15
- "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
16
- "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
17
- "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
18
-
19
- 2. Grant of Copyright License.
20
- Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
21
-
22
- 3. Grant of Patent License.
23
- Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
24
-
25
- 4. Redistribution.
26
- You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
27
- You must give any other recipients of the Work or Derivative Works a copy of this License; and You must cause any modified files to carry prominent notices stating that You changed the files; and You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
28
-
29
- 5. Submission of Contributions.
30
- Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
31
-
32
- 6. Trademarks.
33
- This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
34
-
35
- 7. Disclaimer of Warranty.
36
- Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
37
-
38
- 8. Limitation of Liability.
39
- In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
40
-
41
- 9. Accepting Warranty or Additional Liability.
42
- While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
43
-
44
- END OF TERMS AND CONDITIONS
45
-
46
- ©2021 Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.
47
-
48
-
49
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
50
- http://www.apache.org/licenses/LICENSE-2.0
51
-
52
- Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
@@ -1,9 +0,0 @@
1
- # Canvas Kit React Breadcrumbs
2
-
3
- Breadcrumbs is a
4
- [compound component](/getting-started/for-developers/resources/compound-components/) that allows
5
- users to keep track and maintain awareness of their location as they navigate through pages,
6
- folders, files, etc.
7
-
8
- For more detailed information on this component, please refer to the
9
- [storybook documentation](https://workday.github.io/canvas-kit/?path=/docs/components-navigation-breadcrumbs-react--basic)