@workday/canvas-kit-docs 13.2.33 → 13.2.35
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
CHANGED
|
@@ -414751,9 +414751,108 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
414751
414751
|
"name": "modifiers",
|
|
414752
414752
|
"required": true,
|
|
414753
414753
|
"type": {
|
|
414754
|
-
"kind": "
|
|
414755
|
-
"
|
|
414756
|
-
|
|
414754
|
+
"kind": "conditional",
|
|
414755
|
+
"check": {
|
|
414756
|
+
"kind": "tuple",
|
|
414757
|
+
"value": [
|
|
414758
|
+
{
|
|
414759
|
+
"kind": "generic",
|
|
414760
|
+
"name": "E"
|
|
414761
|
+
}
|
|
414762
|
+
]
|
|
414763
|
+
},
|
|
414764
|
+
"extends": {
|
|
414765
|
+
"kind": "tuple",
|
|
414766
|
+
"value": [
|
|
414767
|
+
{
|
|
414768
|
+
"kind": "primitive",
|
|
414769
|
+
"value": "never"
|
|
414770
|
+
}
|
|
414771
|
+
]
|
|
414772
|
+
},
|
|
414773
|
+
"trueType": {
|
|
414774
|
+
"kind": "symbol",
|
|
414775
|
+
"name": "MappedBoolean",
|
|
414776
|
+
"typeParameters": [
|
|
414777
|
+
{
|
|
414778
|
+
"kind": "generic",
|
|
414779
|
+
"name": "M"
|
|
414780
|
+
}
|
|
414781
|
+
],
|
|
414782
|
+
"value": "MappedBoolean<T>"
|
|
414783
|
+
},
|
|
414784
|
+
"falseType": {
|
|
414785
|
+
"kind": "conditional",
|
|
414786
|
+
"check": {
|
|
414787
|
+
"kind": "tuple",
|
|
414788
|
+
"value": [
|
|
414789
|
+
{
|
|
414790
|
+
"kind": "generic",
|
|
414791
|
+
"name": "E"
|
|
414792
|
+
}
|
|
414793
|
+
]
|
|
414794
|
+
},
|
|
414795
|
+
"extends": {
|
|
414796
|
+
"kind": "tuple",
|
|
414797
|
+
"value": [
|
|
414798
|
+
{
|
|
414799
|
+
"kind": "symbol",
|
|
414800
|
+
"name": "BaseStencil",
|
|
414801
|
+
"typeParameters": [
|
|
414802
|
+
{
|
|
414803
|
+
"kind": "infer",
|
|
414804
|
+
"value": {
|
|
414805
|
+
"kind": "typeParameter",
|
|
414806
|
+
"name": "ME",
|
|
414807
|
+
"required": true
|
|
414808
|
+
}
|
|
414809
|
+
},
|
|
414810
|
+
{
|
|
414811
|
+
"kind": "primitive",
|
|
414812
|
+
"value": "any"
|
|
414813
|
+
},
|
|
414814
|
+
{
|
|
414815
|
+
"kind": "primitive",
|
|
414816
|
+
"value": "any"
|
|
414817
|
+
},
|
|
414818
|
+
{
|
|
414819
|
+
"kind": "primitive",
|
|
414820
|
+
"value": "any"
|
|
414821
|
+
},
|
|
414822
|
+
{
|
|
414823
|
+
"kind": "primitive",
|
|
414824
|
+
"value": "any"
|
|
414825
|
+
}
|
|
414826
|
+
],
|
|
414827
|
+
"value": "BaseStencil<M, P, V, E, ID>"
|
|
414828
|
+
}
|
|
414829
|
+
]
|
|
414830
|
+
},
|
|
414831
|
+
"trueType": {
|
|
414832
|
+
"kind": "symbol",
|
|
414833
|
+
"name": "MappedBoolean",
|
|
414834
|
+
"typeParameters": [
|
|
414835
|
+
{
|
|
414836
|
+
"kind": "intersection",
|
|
414837
|
+
"value": [
|
|
414838
|
+
{
|
|
414839
|
+
"kind": "generic",
|
|
414840
|
+
"name": "ME"
|
|
414841
|
+
},
|
|
414842
|
+
{
|
|
414843
|
+
"kind": "generic",
|
|
414844
|
+
"name": "M"
|
|
414845
|
+
}
|
|
414846
|
+
]
|
|
414847
|
+
}
|
|
414848
|
+
],
|
|
414849
|
+
"value": "MappedBoolean<T>"
|
|
414850
|
+
},
|
|
414851
|
+
"falseType": {
|
|
414852
|
+
"kind": "primitive",
|
|
414853
|
+
"value": "never"
|
|
414854
|
+
}
|
|
414855
|
+
}
|
|
414757
414856
|
},
|
|
414758
414857
|
"description": "",
|
|
414759
414858
|
"declarations": [
|
|
@@ -414769,19 +414868,9 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
414769
414868
|
"name": "styles",
|
|
414770
414869
|
"required": true,
|
|
414771
414870
|
"type": {
|
|
414772
|
-
"kind": "
|
|
414773
|
-
"
|
|
414774
|
-
|
|
414775
|
-
"kind": "symbol",
|
|
414776
|
-
"name": "SerializedStyles",
|
|
414777
|
-
"value": "SerializedStyles"
|
|
414778
|
-
},
|
|
414779
|
-
{
|
|
414780
|
-
"kind": "symbol",
|
|
414781
|
-
"name": "CSSObjectWithVars",
|
|
414782
|
-
"value": "CSSObjectWithVars"
|
|
414783
|
-
}
|
|
414784
|
-
]
|
|
414871
|
+
"kind": "symbol",
|
|
414872
|
+
"name": "StylesReturn",
|
|
414873
|
+
"value": "StylesReturn<P, V, E>"
|
|
414785
414874
|
},
|
|
414786
414875
|
"description": "",
|
|
414787
414876
|
"declarations": [
|
|
@@ -414798,10 +414887,107 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
414798
414887
|
"kind": "typeParameter",
|
|
414799
414888
|
"name": "M",
|
|
414800
414889
|
"required": true
|
|
414890
|
+
},
|
|
414891
|
+
{
|
|
414892
|
+
"kind": "typeParameter",
|
|
414893
|
+
"name": "P",
|
|
414894
|
+
"constraint": {
|
|
414895
|
+
"kind": "external",
|
|
414896
|
+
"name": "Record",
|
|
414897
|
+
"url": "https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type",
|
|
414898
|
+
"typeParameters": [
|
|
414899
|
+
{
|
|
414900
|
+
"kind": "primitive",
|
|
414901
|
+
"value": "string"
|
|
414902
|
+
},
|
|
414903
|
+
{
|
|
414904
|
+
"kind": "primitive",
|
|
414905
|
+
"value": "string"
|
|
414906
|
+
}
|
|
414907
|
+
]
|
|
414908
|
+
},
|
|
414909
|
+
"required": true
|
|
414910
|
+
},
|
|
414911
|
+
{
|
|
414912
|
+
"kind": "typeParameter",
|
|
414913
|
+
"name": "V",
|
|
414914
|
+
"defaultValue": {
|
|
414915
|
+
"kind": "object",
|
|
414916
|
+
"properties": []
|
|
414917
|
+
},
|
|
414918
|
+
"constraint": {
|
|
414919
|
+
"kind": "symbol",
|
|
414920
|
+
"name": "DefaultedVarsShape",
|
|
414921
|
+
"value": "DefaultedVarsShape"
|
|
414922
|
+
},
|
|
414923
|
+
"required": false
|
|
414924
|
+
},
|
|
414925
|
+
{
|
|
414926
|
+
"kind": "typeParameter",
|
|
414927
|
+
"name": "E",
|
|
414928
|
+
"defaultValue": {
|
|
414929
|
+
"kind": "primitive",
|
|
414930
|
+
"value": "never"
|
|
414931
|
+
},
|
|
414932
|
+
"constraint": {
|
|
414933
|
+
"kind": "symbol",
|
|
414934
|
+
"name": "BaseStencil",
|
|
414935
|
+
"typeParameters": [
|
|
414936
|
+
{
|
|
414937
|
+
"kind": "primitive",
|
|
414938
|
+
"value": "any"
|
|
414939
|
+
},
|
|
414940
|
+
{
|
|
414941
|
+
"kind": "primitive",
|
|
414942
|
+
"value": "any"
|
|
414943
|
+
},
|
|
414944
|
+
{
|
|
414945
|
+
"kind": "primitive",
|
|
414946
|
+
"value": "any"
|
|
414947
|
+
},
|
|
414948
|
+
{
|
|
414949
|
+
"kind": "primitive",
|
|
414950
|
+
"value": "any"
|
|
414951
|
+
},
|
|
414952
|
+
{
|
|
414953
|
+
"kind": "primitive",
|
|
414954
|
+
"value": "any"
|
|
414955
|
+
}
|
|
414956
|
+
],
|
|
414957
|
+
"value": "BaseStencil<M, P, V, E, ID>"
|
|
414958
|
+
},
|
|
414959
|
+
"required": false
|
|
414801
414960
|
}
|
|
414802
414961
|
]
|
|
414803
414962
|
}
|
|
414804
414963
|
},
|
|
414964
|
+
{
|
|
414965
|
+
"name": "MappedBoolean",
|
|
414966
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/lib/cs.ts",
|
|
414967
|
+
"description": "",
|
|
414968
|
+
"declarations": [
|
|
414969
|
+
{
|
|
414970
|
+
"name": "MappedBoolean",
|
|
414971
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/lib/cs.ts"
|
|
414972
|
+
}
|
|
414973
|
+
],
|
|
414974
|
+
"tags": {},
|
|
414975
|
+
"type": {
|
|
414976
|
+
"kind": "type",
|
|
414977
|
+
"typeParameters": [
|
|
414978
|
+
{
|
|
414979
|
+
"kind": "typeParameter",
|
|
414980
|
+
"name": "T",
|
|
414981
|
+
"required": true
|
|
414982
|
+
}
|
|
414983
|
+
],
|
|
414984
|
+
"value": {
|
|
414985
|
+
"kind": "unknown",
|
|
414986
|
+
"value": "unknown",
|
|
414987
|
+
"text": "{[K in keyof T]?: MaybeBoolean<keyof T[K]>}"
|
|
414988
|
+
}
|
|
414989
|
+
}
|
|
414990
|
+
},
|
|
414805
414991
|
{
|
|
414806
414992
|
"name": "StencilConfig",
|
|
414807
414993
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/lib/cs.ts",
|
|
@@ -414909,101 +415095,27 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
414909
415095
|
"type": {
|
|
414910
415096
|
"kind": "array",
|
|
414911
415097
|
"value": {
|
|
414912
|
-
"kind": "
|
|
414913
|
-
"
|
|
414914
|
-
|
|
414915
|
-
|
|
414916
|
-
"kind": "
|
|
414917
|
-
"
|
|
414918
|
-
{
|
|
414919
|
-
"kind": "generic",
|
|
414920
|
-
"name": "E"
|
|
414921
|
-
}
|
|
414922
|
-
]
|
|
415098
|
+
"kind": "symbol",
|
|
415099
|
+
"name": "StencilCompoundConfig",
|
|
415100
|
+
"typeParameters": [
|
|
415101
|
+
{
|
|
415102
|
+
"kind": "generic",
|
|
415103
|
+
"name": "M"
|
|
414923
415104
|
},
|
|
414924
|
-
|
|
414925
|
-
"kind": "
|
|
414926
|
-
"
|
|
414927
|
-
{
|
|
414928
|
-
"kind": "primitive",
|
|
414929
|
-
"value": "never"
|
|
414930
|
-
}
|
|
414931
|
-
]
|
|
415105
|
+
{
|
|
415106
|
+
"kind": "generic",
|
|
415107
|
+
"name": "P"
|
|
414932
415108
|
},
|
|
414933
|
-
|
|
414934
|
-
"kind": "
|
|
414935
|
-
"name": "
|
|
414936
|
-
"typeParameters": [
|
|
414937
|
-
{
|
|
414938
|
-
"kind": "generic",
|
|
414939
|
-
"name": "M"
|
|
414940
|
-
}
|
|
414941
|
-
],
|
|
414942
|
-
"value": "StencilCompoundConfig<M>"
|
|
415109
|
+
{
|
|
415110
|
+
"kind": "generic",
|
|
415111
|
+
"name": "V"
|
|
414943
415112
|
},
|
|
414944
|
-
|
|
414945
|
-
"kind": "
|
|
414946
|
-
"
|
|
414947
|
-
"kind": "generic",
|
|
414948
|
-
"name": "E"
|
|
414949
|
-
},
|
|
414950
|
-
"extends": {
|
|
414951
|
-
"kind": "symbol",
|
|
414952
|
-
"name": "BaseStencil",
|
|
414953
|
-
"typeParameters": [
|
|
414954
|
-
{
|
|
414955
|
-
"kind": "infer",
|
|
414956
|
-
"value": {
|
|
414957
|
-
"kind": "typeParameter",
|
|
414958
|
-
"name": "ME",
|
|
414959
|
-
"required": true
|
|
414960
|
-
}
|
|
414961
|
-
},
|
|
414962
|
-
{
|
|
414963
|
-
"kind": "primitive",
|
|
414964
|
-
"value": "any"
|
|
414965
|
-
},
|
|
414966
|
-
{
|
|
414967
|
-
"kind": "primitive",
|
|
414968
|
-
"value": "any"
|
|
414969
|
-
},
|
|
414970
|
-
{
|
|
414971
|
-
"kind": "primitive",
|
|
414972
|
-
"value": "any"
|
|
414973
|
-
},
|
|
414974
|
-
{
|
|
414975
|
-
"kind": "primitive",
|
|
414976
|
-
"value": "any"
|
|
414977
|
-
}
|
|
414978
|
-
],
|
|
414979
|
-
"value": "BaseStencil<M, P, V, E, ID>"
|
|
414980
|
-
},
|
|
414981
|
-
"trueType": {
|
|
414982
|
-
"kind": "symbol",
|
|
414983
|
-
"name": "StencilCompoundConfig",
|
|
414984
|
-
"typeParameters": [
|
|
414985
|
-
{
|
|
414986
|
-
"kind": "intersection",
|
|
414987
|
-
"value": [
|
|
414988
|
-
{
|
|
414989
|
-
"kind": "generic",
|
|
414990
|
-
"name": "ME"
|
|
414991
|
-
},
|
|
414992
|
-
{
|
|
414993
|
-
"kind": "generic",
|
|
414994
|
-
"name": "M"
|
|
414995
|
-
}
|
|
414996
|
-
]
|
|
414997
|
-
}
|
|
414998
|
-
],
|
|
414999
|
-
"value": "StencilCompoundConfig<M>"
|
|
415000
|
-
},
|
|
415001
|
-
"falseType": {
|
|
415002
|
-
"kind": "primitive",
|
|
415003
|
-
"value": "never"
|
|
415004
|
-
}
|
|
415113
|
+
{
|
|
415114
|
+
"kind": "generic",
|
|
415115
|
+
"name": "E"
|
|
415005
415116
|
}
|
|
415006
|
-
|
|
415117
|
+
],
|
|
415118
|
+
"value": "StencilCompoundConfig<M, P, V, E>"
|
|
415007
415119
|
}
|
|
415008
415120
|
},
|
|
415009
415121
|
"description": "Stencil compound modifiers. The styles of a compound modifier are returned only if each modifier\nmatches the specified value. For example:\n\n```tsx\nconst stencil = createStencil({\n base: {\n padding: 5,\n },\n modifiers: {\n size: {\n large: {\n padding: 10\n }\n },\n position: {\n start: {\n paddingInlineStart: 0\n }\n }\n },\n compound: [\n {\n modifiers: {\n size: 'large',\n position: 'start',\n },\n styles: {\n paddingInlineStart: 5\n }\n }\n ]\n})\n\nstencil({})\n// {padding: 5px;}\nstencil({size: 'large'})\n// {padding: 10px;}\nstencil({position: 'start' })\n// {padding: 5px; paddingInlineStart: 0}\nstencil({size: 'large', position: 'start' })\n// {padding: 10px; paddingInlineStart: 5px;}\n```",
|
|
@@ -416109,6 +416221,10 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
416109
416221
|
{
|
|
416110
416222
|
"kind": "generic",
|
|
416111
416223
|
"name": "V"
|
|
416224
|
+
},
|
|
416225
|
+
{
|
|
416226
|
+
"kind": "generic",
|
|
416227
|
+
"name": "E"
|
|
416112
416228
|
}
|
|
416113
416229
|
],
|
|
416114
416230
|
"value": "StencilModifierConfig<P, V, E>"
|
|
@@ -18,11 +18,11 @@ export const packageJSONFile = `{
|
|
|
18
18
|
"@emotion/react": "11.11.4",
|
|
19
19
|
"@types/react": "18.2.60",
|
|
20
20
|
"@types/react-dom": "18.2.19",
|
|
21
|
-
"@workday/canvas-kit-labs-react": "13.2.
|
|
22
|
-
"@workday/canvas-kit-preview-react": "13.2.
|
|
23
|
-
"@workday/canvas-kit-react": "13.2.
|
|
24
|
-
"@workday/canvas-kit-react-fonts": "^13.2.
|
|
25
|
-
"@workday/canvas-kit-styling": "13.2.
|
|
21
|
+
"@workday/canvas-kit-labs-react": "13.2.35",
|
|
22
|
+
"@workday/canvas-kit-preview-react": "13.2.35",
|
|
23
|
+
"@workday/canvas-kit-react": "13.2.35",
|
|
24
|
+
"@workday/canvas-kit-react-fonts": "^13.2.35",
|
|
25
|
+
"@workday/canvas-kit-styling": "13.2.35",
|
|
26
26
|
"@workday/canvas-system-icons-web": "3.0.22",
|
|
27
27
|
"@workday/canvas-tokens-web": "2.0.0"
|
|
28
28
|
},
|
|
@@ -18,11 +18,11 @@ export const packageJSONFile = `{
|
|
|
18
18
|
"@emotion/react": "11.11.4",
|
|
19
19
|
"@types/react": "18.2.60",
|
|
20
20
|
"@types/react-dom": "18.2.19",
|
|
21
|
-
"@workday/canvas-kit-labs-react": "13.2.
|
|
22
|
-
"@workday/canvas-kit-preview-react": "13.2.
|
|
23
|
-
"@workday/canvas-kit-react": "13.2.
|
|
24
|
-
"@workday/canvas-kit-react-fonts": "^13.2.
|
|
25
|
-
"@workday/canvas-kit-styling": "13.2.
|
|
21
|
+
"@workday/canvas-kit-labs-react": "13.2.35",
|
|
22
|
+
"@workday/canvas-kit-preview-react": "13.2.35",
|
|
23
|
+
"@workday/canvas-kit-react": "13.2.35",
|
|
24
|
+
"@workday/canvas-kit-react-fonts": "^13.2.35",
|
|
25
|
+
"@workday/canvas-kit-styling": "13.2.35",
|
|
26
26
|
"@workday/canvas-system-icons-web": "3.0.22",
|
|
27
27
|
"@workday/canvas-tokens-web": "2.0.0"
|
|
28
28
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-docs",
|
|
3
|
-
"version": "13.2.
|
|
3
|
+
"version": "13.2.35",
|
|
4
4
|
"description": "Documentation components of Canvas Kit components",
|
|
5
5
|
"author": "Workday, Inc. (https://www.workday.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
"@emotion/styled": "^11.6.0",
|
|
46
46
|
"@stackblitz/sdk": "^1.11.0",
|
|
47
47
|
"@storybook/csf": "0.0.1",
|
|
48
|
-
"@workday/canvas-kit-labs-react": "^13.2.
|
|
49
|
-
"@workday/canvas-kit-preview-react": "^13.2.
|
|
50
|
-
"@workday/canvas-kit-react": "^13.2.
|
|
51
|
-
"@workday/canvas-kit-styling": "^13.2.
|
|
48
|
+
"@workday/canvas-kit-labs-react": "^13.2.35",
|
|
49
|
+
"@workday/canvas-kit-preview-react": "^13.2.35",
|
|
50
|
+
"@workday/canvas-kit-react": "^13.2.35",
|
|
51
|
+
"@workday/canvas-kit-styling": "^13.2.35",
|
|
52
52
|
"@workday/canvas-system-icons-web": "^3.0.35",
|
|
53
53
|
"@workday/canvas-tokens-web": "^2.1.1",
|
|
54
54
|
"markdown-to-jsx": "^7.2.0",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"mkdirp": "^1.0.3",
|
|
62
62
|
"typescript": "5.0"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "c5f7181ce336f0007bcd02ae7a6b3ffc9688975f"
|
|
65
65
|
}
|