@workday/canvas-kit-docs 11.0.0-alpha.774-next.0 → 11.0.0-alpha.775-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.
@@ -17,6 +17,11 @@ any questions.
17
17
  - [Label Text](#label-text)
18
18
  - [Text Area (Preview)](#text-area-preview)
19
19
  - [Text Input (Preview)](#text-input-preview)
20
+ - [Removals](#removals)
21
+ - [Status Indicator model](#status-indicator-model)
22
+ - [statusIndicatorColors](#statusIndicatorColors)
23
+ - [useStatusIndicator](#useStatusIndicator)
24
+ - [useStatusIndicatorIcon](#useStatusIndicatorIcon)
20
25
  - [Component Style Updates](#component-style-updates)
21
26
  - [Component Updates](#component-updates)
22
27
  - [Buttons](#buttons)
@@ -29,6 +34,7 @@ any questions.
29
34
  - [Loading Dots](#loading-dots)
30
35
  - [Radio (Preview)](#radio-preview)
31
36
  - [Select](#select)
37
+ - [Status Indicator (Preview)](#status-indicator-preview)
32
38
  - [Switch](#switch)
33
39
  - [Table (Preview)](#table-preview)
34
40
  - [Text](#text)
@@ -217,6 +223,22 @@ instead.
217
223
 
218
224
  ---
219
225
 
226
+ ## Removals
227
+
228
+ ### Status Indicator model
229
+
230
+ **PR:** [#2472](https://github.com/Workday/canvas-kit/pull/2700)
231
+
232
+ As part of the refactor, we've removed the following exports that were primarily used to style the component:
233
+ - `useStatusIndicatorModel`
234
+ - `useStatusIndicator`
235
+ - `statusIndicatorColors`
236
+ - `useStatusIndicatorIcon`.
237
+
238
+ Since there was no usage of these by our consumers, there should be no breaking changes.
239
+
240
+ ---
241
+
220
242
  ## Component Style Updates
221
243
 
222
244
  These changes are to address discrepancies that were found between Canvas Kit Design Specs and
@@ -261,7 +283,7 @@ See below:
261
283
  licorice100
262
284
  </Table.Cell>
263
285
  </Table.Row>
264
- <Table.Row>
286
+ <Table.Row>
265
287
  <Table.Cell>DeleteButton</Table.Cell>
266
288
  <Table.Cell />
267
289
  <Table.Cell>disabled</Table.Cell>
@@ -432,13 +454,16 @@ See below:
432
454
 
433
455
  **PR:** [#2666](https://github.com/Workday/canvas-kit/pull/2666)
434
456
 
435
- `PrimaryButton`, `SecondaryButton`, `TertiaryButton` and `DeleteButton` have been refactored to use our
457
+ `PrimaryButton`, `SecondaryButton`, `TertiaryButton` and `DeleteButton` have been refactored to use
458
+ our
436
459
  [new styling utilities](https://workday.github.io/canvas-kit/?path=/docs/styling-basics--create-modifiers#createstyles-api)
437
460
  and [tokens](https://workday.github.io/canvas-tokens/?path=/docs/docs-getting-started--docs). The
438
461
  components now support the `cs` prop, but otherwise the API has not changed.
439
462
 
440
463
  > #### Visual Breaking Change
441
- > The `border` color for `SecondaryButton` on the `focus` state is now `transparent` and may cause a small visual difference in visual tests.
464
+ >
465
+ > The `border` color for `SecondaryButton` on the `focus` state is now `transparent` and may cause a
466
+ > small visual difference in visual tests.
442
467
 
443
468
  ### Card
444
469
 
@@ -727,6 +752,22 @@ identically as it did in previous versions.
727
752
  [new styling utilities](https://workday.github.io/canvas-kit/?path=/docs/styling-basics--create-modifiers#createstyles-api)
728
753
  and [tokens](https://workday.github.io/canvas-tokens/?path=/docs/docs-getting-started--docs). The
729
754
  component now supports the `cs` prop, but otherwise the API has not changed. It should behave
755
+ identically as it did in previous versions.
756
+
757
+ ### Status Indicator (Preview)
758
+
759
+ **PR:** [#2620] https://github.com/Workday/canvas-kit/pull/2620
760
+
761
+ `StatusIndicator` now uses
762
+ [Canvas Tokens](https://workday.github.io/canvas-tokens/?path=/docs/docs-getting-started--docs) and
763
+ our
764
+ [new styling utilities](https://workday.github.io/canvas-kit/?path=/docs/styling-basics--create-modifiers#createstyles-api).
765
+ The component now supports the `cs` prop, but otherwise the API has not been changed.
766
+
767
+ > #### Visual Breaking Change
768
+ > Opacity applied to the whole container has been removed for transparent variant and replace by
769
+ > translucent color. By this change opacity has been changed from `0.85` to `0.84`, so there is
770
+ > possibility of the small visual change.
730
771
 
731
772
  ### Switch
732
773
 
@@ -761,22 +802,6 @@ longer extends the `Box` component, however, it still supports Emotion `styled`
761
802
  Type level components: `Title`, `Heading`, `BodyText` and `Subtext`, have not been changed since
762
803
  they extend the `Text` component. These changes do not affect the components API.
763
804
 
764
- ### StatusIndicator (Preview)
765
-
766
- **PR:** [#2620] https://github.com/Workday/canvas-kit/pull/2620
767
-
768
- `StatusIndicator` now uses
769
- [Canvas Tokens](https://workday.github.io/canvas-tokens/?path=/docs/docs-getting-started--docs) and
770
- our
771
- [new styling utilities](https://workday.github.io/canvas-kit/?path=/docs/styling-basics--create-modifiers#createstyles-api).
772
- The component now supports the `cs` prop, but otherwise the API has not changed. It should behave
773
- identically as it did in previous versions.
774
-
775
- - statusIndicatorColors has been deprecated and will be removed in a future version as a part of
776
- implementation of stencils and new tokens
777
- - useStatusIndicatorIcon has been deprecated and will be removed in a future version as a part of
778
- implementation of stencils and new tokens
779
-
780
805
  ## Style Utility Updates
781
806
 
782
807
  ### `createStencil`
@@ -826,5 +851,5 @@ experimental code and is analagous to code in alpha.
826
851
 
827
852
  Breaking changes can be deployed to Labs at any time without triggering a major version update and
828
853
  may not be subject to the same rigor in communcation and migration strategies reserved for breaking
829
- changes in [Preview](#preview) and [Main](#main).
830
- import { opacity } from "@workday/canvas-tokens-web/dist/es6/system"
854
+ changes in [Preview](#preview) and [Main](#main). import { opacity } from
855
+ "@workday/canvas-tokens-web/dist/es6/system"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-docs",
3
- "version": "11.0.0-alpha.774-next.0",
3
+ "version": "11.0.0-alpha.775-next.0",
4
4
  "description": "Documentation components of Canvas Kit components",
5
5
  "author": "Workday, Inc. (https://www.workday.com)",
6
6
  "license": "Apache-2.0",
@@ -44,10 +44,10 @@
44
44
  "dependencies": {
45
45
  "@emotion/styled": "^11.6.0",
46
46
  "@storybook/csf": "0.0.1",
47
- "@workday/canvas-kit-labs-react": "^11.0.0-alpha.774-next.0",
48
- "@workday/canvas-kit-preview-react": "^11.0.0-alpha.774-next.0",
49
- "@workday/canvas-kit-react": "^11.0.0-alpha.774-next.0",
50
- "@workday/canvas-kit-styling": "^11.0.0-alpha.774-next.0",
47
+ "@workday/canvas-kit-labs-react": "^11.0.0-alpha.775-next.0",
48
+ "@workday/canvas-kit-preview-react": "^11.0.0-alpha.775-next.0",
49
+ "@workday/canvas-kit-react": "^11.0.0-alpha.775-next.0",
50
+ "@workday/canvas-kit-styling": "^11.0.0-alpha.775-next.0",
51
51
  "@workday/canvas-system-icons-web": "^3.0.0",
52
52
  "@workday/canvas-tokens-web": "^1.3.1",
53
53
  "markdown-to-jsx": "^6.10.3",
@@ -59,5 +59,5 @@
59
59
  "mkdirp": "^1.0.3",
60
60
  "typescript": "4.2"
61
61
  },
62
- "gitHead": "f984e871afc408cdd6a8b61808324907c01aff92"
62
+ "gitHead": "dbc9dbca99bd41c5e9efbf313d97fd3c6de4a175"
63
63
  }