@workday/canvas-kit-docs 14.0.8 → 14.0.9
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
|
@@ -437941,9 +437941,108 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
437941
437941
|
"name": "modifiers",
|
|
437942
437942
|
"required": true,
|
|
437943
437943
|
"type": {
|
|
437944
|
-
"kind": "
|
|
437945
|
-
"
|
|
437946
|
-
|
|
437944
|
+
"kind": "conditional",
|
|
437945
|
+
"check": {
|
|
437946
|
+
"kind": "tuple",
|
|
437947
|
+
"value": [
|
|
437948
|
+
{
|
|
437949
|
+
"kind": "generic",
|
|
437950
|
+
"name": "E"
|
|
437951
|
+
}
|
|
437952
|
+
]
|
|
437953
|
+
},
|
|
437954
|
+
"extends": {
|
|
437955
|
+
"kind": "tuple",
|
|
437956
|
+
"value": [
|
|
437957
|
+
{
|
|
437958
|
+
"kind": "primitive",
|
|
437959
|
+
"value": "never"
|
|
437960
|
+
}
|
|
437961
|
+
]
|
|
437962
|
+
},
|
|
437963
|
+
"trueType": {
|
|
437964
|
+
"kind": "symbol",
|
|
437965
|
+
"name": "MappedBoolean",
|
|
437966
|
+
"typeParameters": [
|
|
437967
|
+
{
|
|
437968
|
+
"kind": "generic",
|
|
437969
|
+
"name": "M"
|
|
437970
|
+
}
|
|
437971
|
+
],
|
|
437972
|
+
"value": "MappedBoolean<T>"
|
|
437973
|
+
},
|
|
437974
|
+
"falseType": {
|
|
437975
|
+
"kind": "conditional",
|
|
437976
|
+
"check": {
|
|
437977
|
+
"kind": "tuple",
|
|
437978
|
+
"value": [
|
|
437979
|
+
{
|
|
437980
|
+
"kind": "generic",
|
|
437981
|
+
"name": "E"
|
|
437982
|
+
}
|
|
437983
|
+
]
|
|
437984
|
+
},
|
|
437985
|
+
"extends": {
|
|
437986
|
+
"kind": "tuple",
|
|
437987
|
+
"value": [
|
|
437988
|
+
{
|
|
437989
|
+
"kind": "symbol",
|
|
437990
|
+
"name": "BaseStencil",
|
|
437991
|
+
"typeParameters": [
|
|
437992
|
+
{
|
|
437993
|
+
"kind": "infer",
|
|
437994
|
+
"value": {
|
|
437995
|
+
"kind": "typeParameter",
|
|
437996
|
+
"name": "ME",
|
|
437997
|
+
"required": true
|
|
437998
|
+
}
|
|
437999
|
+
},
|
|
438000
|
+
{
|
|
438001
|
+
"kind": "primitive",
|
|
438002
|
+
"value": "any"
|
|
438003
|
+
},
|
|
438004
|
+
{
|
|
438005
|
+
"kind": "primitive",
|
|
438006
|
+
"value": "any"
|
|
438007
|
+
},
|
|
438008
|
+
{
|
|
438009
|
+
"kind": "primitive",
|
|
438010
|
+
"value": "any"
|
|
438011
|
+
},
|
|
438012
|
+
{
|
|
438013
|
+
"kind": "primitive",
|
|
438014
|
+
"value": "any"
|
|
438015
|
+
}
|
|
438016
|
+
],
|
|
438017
|
+
"value": "BaseStencil<M, P, V, E, ID>"
|
|
438018
|
+
}
|
|
438019
|
+
]
|
|
438020
|
+
},
|
|
438021
|
+
"trueType": {
|
|
438022
|
+
"kind": "symbol",
|
|
438023
|
+
"name": "MappedBoolean",
|
|
438024
|
+
"typeParameters": [
|
|
438025
|
+
{
|
|
438026
|
+
"kind": "intersection",
|
|
438027
|
+
"value": [
|
|
438028
|
+
{
|
|
438029
|
+
"kind": "generic",
|
|
438030
|
+
"name": "ME"
|
|
438031
|
+
},
|
|
438032
|
+
{
|
|
438033
|
+
"kind": "generic",
|
|
438034
|
+
"name": "M"
|
|
438035
|
+
}
|
|
438036
|
+
]
|
|
438037
|
+
}
|
|
438038
|
+
],
|
|
438039
|
+
"value": "MappedBoolean<T>"
|
|
438040
|
+
},
|
|
438041
|
+
"falseType": {
|
|
438042
|
+
"kind": "primitive",
|
|
438043
|
+
"value": "never"
|
|
438044
|
+
}
|
|
438045
|
+
}
|
|
437947
438046
|
},
|
|
437948
438047
|
"description": "",
|
|
437949
438048
|
"declarations": [
|
|
@@ -437959,19 +438058,9 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
437959
438058
|
"name": "styles",
|
|
437960
438059
|
"required": true,
|
|
437961
438060
|
"type": {
|
|
437962
|
-
"kind": "
|
|
437963
|
-
"
|
|
437964
|
-
|
|
437965
|
-
"kind": "symbol",
|
|
437966
|
-
"name": "SerializedStyles",
|
|
437967
|
-
"value": "SerializedStyles"
|
|
437968
|
-
},
|
|
437969
|
-
{
|
|
437970
|
-
"kind": "symbol",
|
|
437971
|
-
"name": "CSSObjectWithVars",
|
|
437972
|
-
"value": "CSSObjectWithVars"
|
|
437973
|
-
}
|
|
437974
|
-
]
|
|
438061
|
+
"kind": "symbol",
|
|
438062
|
+
"name": "StylesReturn",
|
|
438063
|
+
"value": "StylesReturn<P, V, E>"
|
|
437975
438064
|
},
|
|
437976
438065
|
"description": "",
|
|
437977
438066
|
"declarations": [
|
|
@@ -437988,10 +438077,107 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
437988
438077
|
"kind": "typeParameter",
|
|
437989
438078
|
"name": "M",
|
|
437990
438079
|
"required": true
|
|
438080
|
+
},
|
|
438081
|
+
{
|
|
438082
|
+
"kind": "typeParameter",
|
|
438083
|
+
"name": "P",
|
|
438084
|
+
"constraint": {
|
|
438085
|
+
"kind": "external",
|
|
438086
|
+
"name": "Record",
|
|
438087
|
+
"url": "https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type",
|
|
438088
|
+
"typeParameters": [
|
|
438089
|
+
{
|
|
438090
|
+
"kind": "primitive",
|
|
438091
|
+
"value": "string"
|
|
438092
|
+
},
|
|
438093
|
+
{
|
|
438094
|
+
"kind": "primitive",
|
|
438095
|
+
"value": "string"
|
|
438096
|
+
}
|
|
438097
|
+
]
|
|
438098
|
+
},
|
|
438099
|
+
"required": true
|
|
438100
|
+
},
|
|
438101
|
+
{
|
|
438102
|
+
"kind": "typeParameter",
|
|
438103
|
+
"name": "V",
|
|
438104
|
+
"defaultValue": {
|
|
438105
|
+
"kind": "object",
|
|
438106
|
+
"properties": []
|
|
438107
|
+
},
|
|
438108
|
+
"constraint": {
|
|
438109
|
+
"kind": "symbol",
|
|
438110
|
+
"name": "DefaultedVarsShape",
|
|
438111
|
+
"value": "DefaultedVarsShape"
|
|
438112
|
+
},
|
|
438113
|
+
"required": false
|
|
438114
|
+
},
|
|
438115
|
+
{
|
|
438116
|
+
"kind": "typeParameter",
|
|
438117
|
+
"name": "E",
|
|
438118
|
+
"defaultValue": {
|
|
438119
|
+
"kind": "primitive",
|
|
438120
|
+
"value": "never"
|
|
438121
|
+
},
|
|
438122
|
+
"constraint": {
|
|
438123
|
+
"kind": "symbol",
|
|
438124
|
+
"name": "BaseStencil",
|
|
438125
|
+
"typeParameters": [
|
|
438126
|
+
{
|
|
438127
|
+
"kind": "primitive",
|
|
438128
|
+
"value": "any"
|
|
438129
|
+
},
|
|
438130
|
+
{
|
|
438131
|
+
"kind": "primitive",
|
|
438132
|
+
"value": "any"
|
|
438133
|
+
},
|
|
438134
|
+
{
|
|
438135
|
+
"kind": "primitive",
|
|
438136
|
+
"value": "any"
|
|
438137
|
+
},
|
|
438138
|
+
{
|
|
438139
|
+
"kind": "primitive",
|
|
438140
|
+
"value": "any"
|
|
438141
|
+
},
|
|
438142
|
+
{
|
|
438143
|
+
"kind": "primitive",
|
|
438144
|
+
"value": "any"
|
|
438145
|
+
}
|
|
438146
|
+
],
|
|
438147
|
+
"value": "BaseStencil<M, P, V, E, ID>"
|
|
438148
|
+
},
|
|
438149
|
+
"required": false
|
|
437991
438150
|
}
|
|
437992
438151
|
]
|
|
437993
438152
|
}
|
|
437994
438153
|
},
|
|
438154
|
+
{
|
|
438155
|
+
"name": "MappedBoolean",
|
|
438156
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/lib/cs.ts",
|
|
438157
|
+
"description": "",
|
|
438158
|
+
"declarations": [
|
|
438159
|
+
{
|
|
438160
|
+
"name": "MappedBoolean",
|
|
438161
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/lib/cs.ts"
|
|
438162
|
+
}
|
|
438163
|
+
],
|
|
438164
|
+
"tags": {},
|
|
438165
|
+
"type": {
|
|
438166
|
+
"kind": "type",
|
|
438167
|
+
"typeParameters": [
|
|
438168
|
+
{
|
|
438169
|
+
"kind": "typeParameter",
|
|
438170
|
+
"name": "T",
|
|
438171
|
+
"required": true
|
|
438172
|
+
}
|
|
438173
|
+
],
|
|
438174
|
+
"value": {
|
|
438175
|
+
"kind": "unknown",
|
|
438176
|
+
"value": "unknown",
|
|
438177
|
+
"text": "{[K in keyof T]?: MaybeBoolean<keyof T[K]>}"
|
|
438178
|
+
}
|
|
438179
|
+
}
|
|
438180
|
+
},
|
|
437995
438181
|
{
|
|
437996
438182
|
"name": "StencilConfig",
|
|
437997
438183
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/lib/cs.ts",
|
|
@@ -438099,101 +438285,27 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
438099
438285
|
"type": {
|
|
438100
438286
|
"kind": "array",
|
|
438101
438287
|
"value": {
|
|
438102
|
-
"kind": "
|
|
438103
|
-
"
|
|
438104
|
-
|
|
438105
|
-
|
|
438106
|
-
"kind": "
|
|
438107
|
-
"
|
|
438108
|
-
{
|
|
438109
|
-
"kind": "generic",
|
|
438110
|
-
"name": "E"
|
|
438111
|
-
}
|
|
438112
|
-
]
|
|
438288
|
+
"kind": "symbol",
|
|
438289
|
+
"name": "StencilCompoundConfig",
|
|
438290
|
+
"typeParameters": [
|
|
438291
|
+
{
|
|
438292
|
+
"kind": "generic",
|
|
438293
|
+
"name": "M"
|
|
438113
438294
|
},
|
|
438114
|
-
|
|
438115
|
-
"kind": "
|
|
438116
|
-
"
|
|
438117
|
-
{
|
|
438118
|
-
"kind": "primitive",
|
|
438119
|
-
"value": "never"
|
|
438120
|
-
}
|
|
438121
|
-
]
|
|
438295
|
+
{
|
|
438296
|
+
"kind": "generic",
|
|
438297
|
+
"name": "P"
|
|
438122
438298
|
},
|
|
438123
|
-
|
|
438124
|
-
"kind": "
|
|
438125
|
-
"name": "
|
|
438126
|
-
"typeParameters": [
|
|
438127
|
-
{
|
|
438128
|
-
"kind": "generic",
|
|
438129
|
-
"name": "M"
|
|
438130
|
-
}
|
|
438131
|
-
],
|
|
438132
|
-
"value": "StencilCompoundConfig<M>"
|
|
438299
|
+
{
|
|
438300
|
+
"kind": "generic",
|
|
438301
|
+
"name": "V"
|
|
438133
438302
|
},
|
|
438134
|
-
|
|
438135
|
-
"kind": "
|
|
438136
|
-
"
|
|
438137
|
-
"kind": "generic",
|
|
438138
|
-
"name": "E"
|
|
438139
|
-
},
|
|
438140
|
-
"extends": {
|
|
438141
|
-
"kind": "symbol",
|
|
438142
|
-
"name": "BaseStencil",
|
|
438143
|
-
"typeParameters": [
|
|
438144
|
-
{
|
|
438145
|
-
"kind": "infer",
|
|
438146
|
-
"value": {
|
|
438147
|
-
"kind": "typeParameter",
|
|
438148
|
-
"name": "ME",
|
|
438149
|
-
"required": true
|
|
438150
|
-
}
|
|
438151
|
-
},
|
|
438152
|
-
{
|
|
438153
|
-
"kind": "primitive",
|
|
438154
|
-
"value": "any"
|
|
438155
|
-
},
|
|
438156
|
-
{
|
|
438157
|
-
"kind": "primitive",
|
|
438158
|
-
"value": "any"
|
|
438159
|
-
},
|
|
438160
|
-
{
|
|
438161
|
-
"kind": "primitive",
|
|
438162
|
-
"value": "any"
|
|
438163
|
-
},
|
|
438164
|
-
{
|
|
438165
|
-
"kind": "primitive",
|
|
438166
|
-
"value": "any"
|
|
438167
|
-
}
|
|
438168
|
-
],
|
|
438169
|
-
"value": "BaseStencil<M, P, V, E, ID>"
|
|
438170
|
-
},
|
|
438171
|
-
"trueType": {
|
|
438172
|
-
"kind": "symbol",
|
|
438173
|
-
"name": "StencilCompoundConfig",
|
|
438174
|
-
"typeParameters": [
|
|
438175
|
-
{
|
|
438176
|
-
"kind": "intersection",
|
|
438177
|
-
"value": [
|
|
438178
|
-
{
|
|
438179
|
-
"kind": "generic",
|
|
438180
|
-
"name": "ME"
|
|
438181
|
-
},
|
|
438182
|
-
{
|
|
438183
|
-
"kind": "generic",
|
|
438184
|
-
"name": "M"
|
|
438185
|
-
}
|
|
438186
|
-
]
|
|
438187
|
-
}
|
|
438188
|
-
],
|
|
438189
|
-
"value": "StencilCompoundConfig<M>"
|
|
438190
|
-
},
|
|
438191
|
-
"falseType": {
|
|
438192
|
-
"kind": "primitive",
|
|
438193
|
-
"value": "never"
|
|
438194
|
-
}
|
|
438303
|
+
{
|
|
438304
|
+
"kind": "generic",
|
|
438305
|
+
"name": "E"
|
|
438195
438306
|
}
|
|
438196
|
-
|
|
438307
|
+
],
|
|
438308
|
+
"value": "StencilCompoundConfig<M, P, V, E>"
|
|
438197
438309
|
}
|
|
438198
438310
|
},
|
|
438199
438311
|
"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```",
|
|
@@ -439299,6 +439411,10 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
439299
439411
|
{
|
|
439300
439412
|
"kind": "generic",
|
|
439301
439413
|
"name": "V"
|
|
439414
|
+
},
|
|
439415
|
+
{
|
|
439416
|
+
"kind": "generic",
|
|
439417
|
+
"name": "E"
|
|
439302
439418
|
}
|
|
439303
439419
|
],
|
|
439304
439420
|
"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": "14.0.
|
|
22
|
-
"@workday/canvas-kit-preview-react": "14.0.
|
|
23
|
-
"@workday/canvas-kit-react": "14.0.
|
|
24
|
-
"@workday/canvas-kit-react-fonts": "^14.0.
|
|
25
|
-
"@workday/canvas-kit-styling": "14.0.
|
|
21
|
+
"@workday/canvas-kit-labs-react": "14.0.9",
|
|
22
|
+
"@workday/canvas-kit-preview-react": "14.0.9",
|
|
23
|
+
"@workday/canvas-kit-react": "14.0.9",
|
|
24
|
+
"@workday/canvas-kit-react-fonts": "^14.0.9",
|
|
25
|
+
"@workday/canvas-kit-styling": "14.0.9",
|
|
26
26
|
"@workday/canvas-system-icons-web": "3.0.36",
|
|
27
27
|
"@workday/canvas-tokens-web": "3.1.2"
|
|
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": "14.0.
|
|
22
|
-
"@workday/canvas-kit-preview-react": "14.0.
|
|
23
|
-
"@workday/canvas-kit-react": "14.0.
|
|
24
|
-
"@workday/canvas-kit-react-fonts": "^14.0.
|
|
25
|
-
"@workday/canvas-kit-styling": "14.0.
|
|
21
|
+
"@workday/canvas-kit-labs-react": "14.0.9",
|
|
22
|
+
"@workday/canvas-kit-preview-react": "14.0.9",
|
|
23
|
+
"@workday/canvas-kit-react": "14.0.9",
|
|
24
|
+
"@workday/canvas-kit-react-fonts": "^14.0.9",
|
|
25
|
+
"@workday/canvas-kit-styling": "14.0.9",
|
|
26
26
|
"@workday/canvas-system-icons-web": "3.0.36",
|
|
27
27
|
"@workday/canvas-tokens-web": "3.1.2"
|
|
28
28
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-docs",
|
|
3
|
-
"version": "14.0.
|
|
3
|
+
"version": "14.0.9",
|
|
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": "^14.0.
|
|
49
|
-
"@workday/canvas-kit-preview-react": "^14.0.
|
|
50
|
-
"@workday/canvas-kit-react": "^14.0.
|
|
51
|
-
"@workday/canvas-kit-styling": "^14.0.
|
|
48
|
+
"@workday/canvas-kit-labs-react": "^14.0.9",
|
|
49
|
+
"@workday/canvas-kit-preview-react": "^14.0.9",
|
|
50
|
+
"@workday/canvas-kit-react": "^14.0.9",
|
|
51
|
+
"@workday/canvas-kit-styling": "^14.0.9",
|
|
52
52
|
"@workday/canvas-system-icons-web": "^3.0.36",
|
|
53
53
|
"@workday/canvas-tokens-web": "^3.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": "63f17c093376eb1d2ad11be8f9c5340a4d9a71df"
|
|
65
65
|
}
|