@workday/canvas-kit-docs 9.0.0-alpha.348-next.3 → 9.0.0-alpha.352-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.
- package/dist/es6/lib/docs.js +289 -146
- package/dist/mdx/9.0-UPGRADE-GUIDE.mdx +11 -1
- package/package.json +5 -5
package/dist/es6/lib/docs.js
CHANGED
|
@@ -93856,47 +93856,6 @@ export var docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
93856
93856
|
}
|
|
93857
93857
|
}
|
|
93858
93858
|
},
|
|
93859
|
-
{
|
|
93860
|
-
"name": "memoizedFocusRing",
|
|
93861
|
-
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/styles/focusRing.ts",
|
|
93862
|
-
"description": "",
|
|
93863
|
-
"declarations": [
|
|
93864
|
-
{
|
|
93865
|
-
"name": "memoizedFocusRing",
|
|
93866
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/styles/focusRing.ts"
|
|
93867
|
-
}
|
|
93868
|
-
],
|
|
93869
|
-
"tags": {},
|
|
93870
|
-
"type": {
|
|
93871
|
-
"kind": "intersection",
|
|
93872
|
-
"value": [
|
|
93873
|
-
{
|
|
93874
|
-
"kind": "parenthesis",
|
|
93875
|
-
"value": {
|
|
93876
|
-
"kind": "function",
|
|
93877
|
-
"parameters": [
|
|
93878
|
-
{
|
|
93879
|
-
"kind": "unknown",
|
|
93880
|
-
"value": "unknown",
|
|
93881
|
-
"text": "???"
|
|
93882
|
-
}
|
|
93883
|
-
],
|
|
93884
|
-
"members": [],
|
|
93885
|
-
"returnType": {
|
|
93886
|
-
"kind": "external",
|
|
93887
|
-
"name": "CSSObject",
|
|
93888
|
-
"url": "https://emotion.sh/docs/object-styles"
|
|
93889
|
-
}
|
|
93890
|
-
}
|
|
93891
|
-
},
|
|
93892
|
-
{
|
|
93893
|
-
"kind": "symbol",
|
|
93894
|
-
"name": "MemoizedFunction",
|
|
93895
|
-
"value": "any"
|
|
93896
|
-
}
|
|
93897
|
-
]
|
|
93898
|
-
}
|
|
93899
|
-
},
|
|
93900
93859
|
{
|
|
93901
93860
|
"name": "focusRing",
|
|
93902
93861
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/styles/focusRing.ts",
|
|
@@ -94033,23 +93992,6 @@ export var docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
94033
93992
|
}
|
|
94034
93993
|
],
|
|
94035
93994
|
"tags": {}
|
|
94036
|
-
},
|
|
94037
|
-
{
|
|
94038
|
-
"kind": "property",
|
|
94039
|
-
"name": "memoize",
|
|
94040
|
-
"required": false,
|
|
94041
|
-
"type": {
|
|
94042
|
-
"kind": "primitive",
|
|
94043
|
-
"value": "boolean"
|
|
94044
|
-
},
|
|
94045
|
-
"description": "",
|
|
94046
|
-
"declarations": [
|
|
94047
|
-
{
|
|
94048
|
-
"name": "memoize",
|
|
94049
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/styles/focusRing.ts"
|
|
94050
|
-
}
|
|
94051
|
-
],
|
|
94052
|
-
"tags": {}
|
|
94053
93995
|
}
|
|
94054
93996
|
]
|
|
94055
93997
|
},
|
|
@@ -94652,41 +94594,6 @@ export var docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
94652
94594
|
}
|
|
94653
94595
|
}
|
|
94654
94596
|
},
|
|
94655
|
-
{
|
|
94656
|
-
"name": "ColorDirection",
|
|
94657
|
-
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/theming/createCanvasTheme.ts",
|
|
94658
|
-
"description": "",
|
|
94659
|
-
"declarations": [
|
|
94660
|
-
{
|
|
94661
|
-
"name": "ColorDirection",
|
|
94662
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/theming/createCanvasTheme.ts"
|
|
94663
|
-
}
|
|
94664
|
-
],
|
|
94665
|
-
"tags": {},
|
|
94666
|
-
"type": {
|
|
94667
|
-
"kind": "object",
|
|
94668
|
-
"typeParameters": [],
|
|
94669
|
-
"properties": [
|
|
94670
|
-
{
|
|
94671
|
-
"kind": "property",
|
|
94672
|
-
"name": "Darken",
|
|
94673
|
-
"type": {
|
|
94674
|
-
"kind": "number",
|
|
94675
|
-
"value": 0
|
|
94676
|
-
}
|
|
94677
|
-
},
|
|
94678
|
-
{
|
|
94679
|
-
"kind": "property",
|
|
94680
|
-
"name": "Brighten",
|
|
94681
|
-
"type": {
|
|
94682
|
-
"kind": "number",
|
|
94683
|
-
"value": 1
|
|
94684
|
-
}
|
|
94685
|
-
}
|
|
94686
|
-
],
|
|
94687
|
-
"callSignatures": []
|
|
94688
|
-
}
|
|
94689
|
-
},
|
|
94690
94597
|
{
|
|
94691
94598
|
"name": "shiftColor",
|
|
94692
94599
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/theming/createCanvasTheme.ts",
|
|
@@ -94721,18 +94628,21 @@ export var docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
94721
94628
|
},
|
|
94722
94629
|
{
|
|
94723
94630
|
"kind": "parameter",
|
|
94724
|
-
"name": "
|
|
94631
|
+
"name": "amount",
|
|
94632
|
+
"defaultValue": {
|
|
94633
|
+
"kind": "number",
|
|
94634
|
+
"value": 100
|
|
94635
|
+
},
|
|
94725
94636
|
"type": {
|
|
94726
|
-
"kind": "
|
|
94727
|
-
"
|
|
94728
|
-
"value": "ColorDirection"
|
|
94637
|
+
"kind": "primitive",
|
|
94638
|
+
"value": "any"
|
|
94729
94639
|
},
|
|
94730
|
-
"required":
|
|
94640
|
+
"required": false,
|
|
94731
94641
|
"rest": false,
|
|
94732
94642
|
"description": "",
|
|
94733
94643
|
"declarations": [
|
|
94734
94644
|
{
|
|
94735
|
-
"name": "
|
|
94645
|
+
"name": "amount",
|
|
94736
94646
|
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/theming/createCanvasTheme.ts"
|
|
94737
94647
|
}
|
|
94738
94648
|
],
|
|
@@ -94749,7 +94659,7 @@ export var docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
94749
94659
|
{
|
|
94750
94660
|
"name": "createCanvasTheme",
|
|
94751
94661
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/theming/createCanvasTheme.ts",
|
|
94752
|
-
"description": "",
|
|
94662
|
+
"description": "Creates a full {@link CanvasTheme} from any partial theme by deeply merging with the\n`defaultCanvasTheme` object. The function is memoized, but it is best to run this function\nonly once and save the result.",
|
|
94753
94663
|
"declarations": [
|
|
94754
94664
|
{
|
|
94755
94665
|
"name": "createCanvasTheme",
|
|
@@ -94758,47 +94668,34 @@ export var docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
94758
94668
|
],
|
|
94759
94669
|
"tags": {},
|
|
94760
94670
|
"type": {
|
|
94761
|
-
"kind": "
|
|
94762
|
-
"
|
|
94671
|
+
"kind": "function",
|
|
94672
|
+
"parameters": [
|
|
94763
94673
|
{
|
|
94764
|
-
"kind": "
|
|
94765
|
-
"
|
|
94766
|
-
|
|
94767
|
-
"
|
|
94768
|
-
|
|
94769
|
-
|
|
94770
|
-
|
|
94771
|
-
|
|
94772
|
-
|
|
94773
|
-
|
|
94774
|
-
|
|
94775
|
-
|
|
94776
|
-
|
|
94777
|
-
|
|
94778
|
-
"description": "",
|
|
94779
|
-
"declarations": [
|
|
94780
|
-
{
|
|
94781
|
-
"name": "partialTheme",
|
|
94782
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/theming/createCanvasTheme.ts"
|
|
94783
|
-
}
|
|
94784
|
-
],
|
|
94785
|
-
"tags": {}
|
|
94786
|
-
}
|
|
94787
|
-
],
|
|
94788
|
-
"members": [],
|
|
94789
|
-
"returnType": {
|
|
94790
|
-
"kind": "symbol",
|
|
94791
|
-
"name": "CanvasTheme",
|
|
94792
|
-
"value": "any"
|
|
94674
|
+
"kind": "parameter",
|
|
94675
|
+
"name": "partialTheme",
|
|
94676
|
+
"type": {
|
|
94677
|
+
"kind": "symbol",
|
|
94678
|
+
"name": "PartialCanvasTheme",
|
|
94679
|
+
"value": "RecursivePartial<CanvasTheme>"
|
|
94680
|
+
},
|
|
94681
|
+
"required": true,
|
|
94682
|
+
"rest": false,
|
|
94683
|
+
"description": "",
|
|
94684
|
+
"declarations": [
|
|
94685
|
+
{
|
|
94686
|
+
"name": "partialTheme",
|
|
94687
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/theming/createCanvasTheme.ts"
|
|
94793
94688
|
}
|
|
94794
|
-
|
|
94795
|
-
|
|
94796
|
-
{
|
|
94797
|
-
"kind": "symbol",
|
|
94798
|
-
"name": "MemoizedFunction",
|
|
94799
|
-
"value": "any"
|
|
94689
|
+
],
|
|
94690
|
+
"tags": {}
|
|
94800
94691
|
}
|
|
94801
|
-
]
|
|
94692
|
+
],
|
|
94693
|
+
"members": [],
|
|
94694
|
+
"returnType": {
|
|
94695
|
+
"kind": "symbol",
|
|
94696
|
+
"name": "CanvasTheme",
|
|
94697
|
+
"value": "CanvasTheme"
|
|
94698
|
+
}
|
|
94802
94699
|
}
|
|
94803
94700
|
},
|
|
94804
94701
|
{
|
|
@@ -94894,6 +94791,33 @@ export var docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
94894
94791
|
}
|
|
94895
94792
|
}
|
|
94896
94793
|
},
|
|
94794
|
+
{
|
|
94795
|
+
"name": "RecursivePartial",
|
|
94796
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/theming/getObjectProxy.ts",
|
|
94797
|
+
"description": "For custom themes that do not overwrite every default.",
|
|
94798
|
+
"declarations": [
|
|
94799
|
+
{
|
|
94800
|
+
"name": "RecursivePartial",
|
|
94801
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/theming/getObjectProxy.ts"
|
|
94802
|
+
}
|
|
94803
|
+
],
|
|
94804
|
+
"tags": {},
|
|
94805
|
+
"type": {
|
|
94806
|
+
"kind": "type",
|
|
94807
|
+
"typeParameters": [
|
|
94808
|
+
{
|
|
94809
|
+
"kind": "typeParameter",
|
|
94810
|
+
"name": "T",
|
|
94811
|
+
"required": true
|
|
94812
|
+
}
|
|
94813
|
+
],
|
|
94814
|
+
"value": {
|
|
94815
|
+
"kind": "unknown",
|
|
94816
|
+
"value": "unknown",
|
|
94817
|
+
"text": "{\n [P in keyof T]?: RecursivePartial<T[P]>;\n}"
|
|
94818
|
+
}
|
|
94819
|
+
}
|
|
94820
|
+
},
|
|
94897
94821
|
{
|
|
94898
94822
|
"name": "getObjectProxy",
|
|
94899
94823
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/theming/getObjectProxy.ts",
|
|
@@ -94905,7 +94829,7 @@ export var docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
94905
94829
|
}
|
|
94906
94830
|
],
|
|
94907
94831
|
"tags": {
|
|
94908
|
-
"param": "target
|
|
94832
|
+
"param": "target A partial object with up to the same shape as the `fallback` object\nfallback A fallback object. If a property to be accessed from the proxy is not available on the target object, the fallback object will be used"
|
|
94909
94833
|
},
|
|
94910
94834
|
"type": {
|
|
94911
94835
|
"kind": "function",
|
|
@@ -94925,12 +94849,28 @@ export var docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
94925
94849
|
"kind": "parameter",
|
|
94926
94850
|
"name": "target",
|
|
94927
94851
|
"type": {
|
|
94928
|
-
"kind": "
|
|
94929
|
-
"value":
|
|
94852
|
+
"kind": "union",
|
|
94853
|
+
"value": [
|
|
94854
|
+
{
|
|
94855
|
+
"kind": "symbol",
|
|
94856
|
+
"name": "RecursivePartial",
|
|
94857
|
+
"typeParameters": [
|
|
94858
|
+
{
|
|
94859
|
+
"kind": "generic",
|
|
94860
|
+
"name": "T"
|
|
94861
|
+
}
|
|
94862
|
+
],
|
|
94863
|
+
"value": "RecursivePartial<T>"
|
|
94864
|
+
},
|
|
94865
|
+
{
|
|
94866
|
+
"kind": "primitive",
|
|
94867
|
+
"value": "undefined"
|
|
94868
|
+
}
|
|
94869
|
+
]
|
|
94930
94870
|
},
|
|
94931
|
-
"required":
|
|
94871
|
+
"required": false,
|
|
94932
94872
|
"rest": false,
|
|
94933
|
-
"description": "
|
|
94873
|
+
"description": "A partial object with up to the same shape as the `fallback` object",
|
|
94934
94874
|
"declarations": [
|
|
94935
94875
|
{
|
|
94936
94876
|
"name": "target",
|
|
@@ -94938,7 +94878,7 @@ export var docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
94938
94878
|
}
|
|
94939
94879
|
],
|
|
94940
94880
|
"tags": {
|
|
94941
|
-
"param": "target
|
|
94881
|
+
"param": "target A partial object with up to the same shape as the `fallback` object"
|
|
94942
94882
|
}
|
|
94943
94883
|
},
|
|
94944
94884
|
{
|
|
@@ -94950,7 +94890,7 @@ export var docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
94950
94890
|
},
|
|
94951
94891
|
"required": true,
|
|
94952
94892
|
"rest": false,
|
|
94953
|
-
"description": "A fallback
|
|
94893
|
+
"description": "A fallback object. If a property to be accessed from the proxy is not available on the target object, the fallback object will be used",
|
|
94954
94894
|
"declarations": [
|
|
94955
94895
|
{
|
|
94956
94896
|
"name": "fallback",
|
|
@@ -94958,7 +94898,7 @@ export var docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
94958
94898
|
}
|
|
94959
94899
|
],
|
|
94960
94900
|
"tags": {
|
|
94961
|
-
"param": "fallback A fallback
|
|
94901
|
+
"param": "fallback A fallback object. If a property to be accessed from the proxy is not available on the target object, the fallback object will be used"
|
|
94962
94902
|
}
|
|
94963
94903
|
}
|
|
94964
94904
|
],
|
|
@@ -102791,6 +102731,85 @@ export var docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
102791
102731
|
}
|
|
102792
102732
|
}
|
|
102793
102733
|
},
|
|
102734
|
+
{
|
|
102735
|
+
"name": "deepMerge",
|
|
102736
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/utils/deepMerge.ts",
|
|
102737
|
+
"description": "",
|
|
102738
|
+
"declarations": [
|
|
102739
|
+
{
|
|
102740
|
+
"name": "deepMerge",
|
|
102741
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/utils/deepMerge.ts"
|
|
102742
|
+
}
|
|
102743
|
+
],
|
|
102744
|
+
"tags": {},
|
|
102745
|
+
"type": {
|
|
102746
|
+
"kind": "function",
|
|
102747
|
+
"typeParameters": [
|
|
102748
|
+
{
|
|
102749
|
+
"kind": "typeParameter",
|
|
102750
|
+
"name": "T",
|
|
102751
|
+
"required": true
|
|
102752
|
+
},
|
|
102753
|
+
{
|
|
102754
|
+
"kind": "typeParameter",
|
|
102755
|
+
"name": "S",
|
|
102756
|
+
"required": true
|
|
102757
|
+
}
|
|
102758
|
+
],
|
|
102759
|
+
"parameters": [
|
|
102760
|
+
{
|
|
102761
|
+
"kind": "parameter",
|
|
102762
|
+
"name": "target",
|
|
102763
|
+
"type": {
|
|
102764
|
+
"kind": "generic",
|
|
102765
|
+
"name": "T"
|
|
102766
|
+
},
|
|
102767
|
+
"required": true,
|
|
102768
|
+
"rest": false,
|
|
102769
|
+
"description": "",
|
|
102770
|
+
"declarations": [
|
|
102771
|
+
{
|
|
102772
|
+
"name": "target",
|
|
102773
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/utils/deepMerge.ts"
|
|
102774
|
+
}
|
|
102775
|
+
],
|
|
102776
|
+
"tags": {}
|
|
102777
|
+
},
|
|
102778
|
+
{
|
|
102779
|
+
"kind": "parameter",
|
|
102780
|
+
"name": "source",
|
|
102781
|
+
"type": {
|
|
102782
|
+
"kind": "generic",
|
|
102783
|
+
"name": "S"
|
|
102784
|
+
},
|
|
102785
|
+
"required": true,
|
|
102786
|
+
"rest": false,
|
|
102787
|
+
"description": "",
|
|
102788
|
+
"declarations": [
|
|
102789
|
+
{
|
|
102790
|
+
"name": "source",
|
|
102791
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/utils/deepMerge.ts"
|
|
102792
|
+
}
|
|
102793
|
+
],
|
|
102794
|
+
"tags": {}
|
|
102795
|
+
}
|
|
102796
|
+
],
|
|
102797
|
+
"members": [],
|
|
102798
|
+
"returnType": {
|
|
102799
|
+
"kind": "intersection",
|
|
102800
|
+
"value": [
|
|
102801
|
+
{
|
|
102802
|
+
"kind": "generic",
|
|
102803
|
+
"name": "T"
|
|
102804
|
+
},
|
|
102805
|
+
{
|
|
102806
|
+
"kind": "generic",
|
|
102807
|
+
"name": "S"
|
|
102808
|
+
}
|
|
102809
|
+
]
|
|
102810
|
+
}
|
|
102811
|
+
}
|
|
102812
|
+
},
|
|
102794
102813
|
{
|
|
102795
102814
|
"name": "isFocusable",
|
|
102796
102815
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/utils/elements.ts",
|
|
@@ -103176,6 +103195,130 @@ export var docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
103176
103195
|
}
|
|
103177
103196
|
}
|
|
103178
103197
|
},
|
|
103198
|
+
{
|
|
103199
|
+
"name": "memoize",
|
|
103200
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/utils/memoize.ts",
|
|
103201
|
+
"description": "Simple memoize function. It takes a function and a resolver function to generate a\ncache key",
|
|
103202
|
+
"declarations": [
|
|
103203
|
+
{
|
|
103204
|
+
"name": "memoize",
|
|
103205
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/utils/memoize.ts"
|
|
103206
|
+
}
|
|
103207
|
+
],
|
|
103208
|
+
"tags": {},
|
|
103209
|
+
"type": {
|
|
103210
|
+
"kind": "function",
|
|
103211
|
+
"typeParameters": [
|
|
103212
|
+
{
|
|
103213
|
+
"kind": "typeParameter",
|
|
103214
|
+
"name": "T",
|
|
103215
|
+
"constraint": {
|
|
103216
|
+
"kind": "function",
|
|
103217
|
+
"parameters": [
|
|
103218
|
+
{
|
|
103219
|
+
"kind": "parameter",
|
|
103220
|
+
"name": "args",
|
|
103221
|
+
"type": {
|
|
103222
|
+
"kind": "primitive",
|
|
103223
|
+
"value": "any"
|
|
103224
|
+
},
|
|
103225
|
+
"required": true,
|
|
103226
|
+
"rest": true,
|
|
103227
|
+
"description": "",
|
|
103228
|
+
"declarations": [
|
|
103229
|
+
{
|
|
103230
|
+
"name": "args",
|
|
103231
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/utils/memoize.ts"
|
|
103232
|
+
}
|
|
103233
|
+
],
|
|
103234
|
+
"tags": {}
|
|
103235
|
+
}
|
|
103236
|
+
],
|
|
103237
|
+
"members": [],
|
|
103238
|
+
"returnType": {
|
|
103239
|
+
"kind": "primitive",
|
|
103240
|
+
"value": "any"
|
|
103241
|
+
}
|
|
103242
|
+
},
|
|
103243
|
+
"required": true
|
|
103244
|
+
}
|
|
103245
|
+
],
|
|
103246
|
+
"parameters": [
|
|
103247
|
+
{
|
|
103248
|
+
"kind": "parameter",
|
|
103249
|
+
"name": "func",
|
|
103250
|
+
"type": {
|
|
103251
|
+
"kind": "generic",
|
|
103252
|
+
"name": "T"
|
|
103253
|
+
},
|
|
103254
|
+
"required": true,
|
|
103255
|
+
"rest": false,
|
|
103256
|
+
"description": "",
|
|
103257
|
+
"declarations": [
|
|
103258
|
+
{
|
|
103259
|
+
"name": "func",
|
|
103260
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/utils/memoize.ts"
|
|
103261
|
+
}
|
|
103262
|
+
],
|
|
103263
|
+
"tags": {}
|
|
103264
|
+
},
|
|
103265
|
+
{
|
|
103266
|
+
"kind": "parameter",
|
|
103267
|
+
"name": "resolver",
|
|
103268
|
+
"type": {
|
|
103269
|
+
"kind": "function",
|
|
103270
|
+
"parameters": [
|
|
103271
|
+
{
|
|
103272
|
+
"kind": "parameter",
|
|
103273
|
+
"name": "args",
|
|
103274
|
+
"type": {
|
|
103275
|
+
"kind": "symbol",
|
|
103276
|
+
"name": "Parameters",
|
|
103277
|
+
"typeParameters": [
|
|
103278
|
+
{
|
|
103279
|
+
"kind": "generic",
|
|
103280
|
+
"name": "T"
|
|
103281
|
+
}
|
|
103282
|
+
],
|
|
103283
|
+
"value": "Parameters<T>"
|
|
103284
|
+
},
|
|
103285
|
+
"required": true,
|
|
103286
|
+
"rest": true,
|
|
103287
|
+
"description": "",
|
|
103288
|
+
"declarations": [
|
|
103289
|
+
{
|
|
103290
|
+
"name": "args",
|
|
103291
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/utils/memoize.ts"
|
|
103292
|
+
}
|
|
103293
|
+
],
|
|
103294
|
+
"tags": {}
|
|
103295
|
+
}
|
|
103296
|
+
],
|
|
103297
|
+
"members": [],
|
|
103298
|
+
"returnType": {
|
|
103299
|
+
"kind": "primitive",
|
|
103300
|
+
"value": "string"
|
|
103301
|
+
}
|
|
103302
|
+
},
|
|
103303
|
+
"required": true,
|
|
103304
|
+
"rest": false,
|
|
103305
|
+
"description": "",
|
|
103306
|
+
"declarations": [
|
|
103307
|
+
{
|
|
103308
|
+
"name": "resolver",
|
|
103309
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/utils/memoize.ts"
|
|
103310
|
+
}
|
|
103311
|
+
],
|
|
103312
|
+
"tags": {}
|
|
103313
|
+
}
|
|
103314
|
+
],
|
|
103315
|
+
"members": [],
|
|
103316
|
+
"returnType": {
|
|
103317
|
+
"kind": "generic",
|
|
103318
|
+
"name": "T"
|
|
103319
|
+
}
|
|
103320
|
+
}
|
|
103321
|
+
},
|
|
103179
103322
|
{
|
|
103180
103323
|
"name": "mergeCallback",
|
|
103181
103324
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/utils/mergeCallback.ts",
|
|
@@ -10,6 +10,8 @@ any questions.
|
|
|
10
10
|
- [Layout and Column](#layout-and-column) - [Stack](#stack-hstack-vstack)
|
|
11
11
|
- [Component Updates](#component-updates)
|
|
12
12
|
- [Buttons](#buttons)
|
|
13
|
+
- [Utility Updates](#utility-updates)
|
|
14
|
+
- [focusRing](#focusring)
|
|
13
15
|
|
|
14
16
|
## Codemod
|
|
15
17
|
|
|
@@ -105,4 +107,12 @@ This change affects all of our `buttons` including:
|
|
|
105
107
|
`PrimaryButton, SecondaryButton, TertiaryButton, ToolbarButton`.
|
|
106
108
|
|
|
107
109
|
If you still wish for a specific `button` within a `form` to submit, just add the attribute
|
|
108
|
-
`type="submit"`.
|
|
110
|
+
`type="submit"`.
|
|
111
|
+
|
|
112
|
+
## Utility Updates
|
|
113
|
+
|
|
114
|
+
### focusRing
|
|
115
|
+
|
|
116
|
+
We're removing memoization from focus ring. The `memoize` argument passed to `focusRing` is no
|
|
117
|
+
longer valid and we've removed the exported `memoizedFocusRing`. There is no codemod for this
|
|
118
|
+
change. We couldn't find any example of `memoize` or `memoizedFocusRing` being used.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-docs",
|
|
3
|
-
"version": "9.0.0-alpha.
|
|
3
|
+
"version": "9.0.0-alpha.352-next.0+22b093b2",
|
|
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,9 +44,9 @@
|
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@emotion/styled": "^11.6.0",
|
|
46
46
|
"@storybook/csf": "0.0.1",
|
|
47
|
-
"@workday/canvas-kit-labs-react": "^9.0.0-alpha.
|
|
48
|
-
"@workday/canvas-kit-preview-react": "^9.0.0-alpha.
|
|
49
|
-
"@workday/canvas-kit-react": "^9.0.0-alpha.
|
|
47
|
+
"@workday/canvas-kit-labs-react": "^9.0.0-alpha.352-next.0+22b093b2",
|
|
48
|
+
"@workday/canvas-kit-preview-react": "^9.0.0-alpha.352-next.0+22b093b2",
|
|
49
|
+
"@workday/canvas-kit-react": "^9.0.0-alpha.352-next.0+22b093b2",
|
|
50
50
|
"@workday/canvas-system-icons-web": "^3.0.0",
|
|
51
51
|
"markdown-to-jsx": "^6.10.3",
|
|
52
52
|
"ts-node": "^10.9.1"
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"mkdirp": "^1.0.3",
|
|
58
58
|
"typescript": "4.2"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "22b093b2d82ae29c9f2083034010d99b171b97c5"
|
|
61
61
|
}
|