@workday/canvas-kit-docs 11.0.0-alpha.716-next.0 → 11.0.0-alpha.718-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
CHANGED
|
@@ -100674,12 +100674,12 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
100674
100674
|
}
|
|
100675
100675
|
},
|
|
100676
100676
|
{
|
|
100677
|
-
"name": "
|
|
100677
|
+
"name": "ComboboxMenuItemIcon",
|
|
100678
100678
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/combobox/lib/ComboboxMenuItem.tsx",
|
|
100679
100679
|
"description": "",
|
|
100680
100680
|
"declarations": [
|
|
100681
100681
|
{
|
|
100682
|
-
"name": "
|
|
100682
|
+
"name": "ComboboxMenuItemIcon",
|
|
100683
100683
|
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/combobox/lib/ComboboxMenuItem.tsx"
|
|
100684
100684
|
}
|
|
100685
100685
|
],
|
|
@@ -100687,26 +100687,517 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
100687
100687
|
"type": {
|
|
100688
100688
|
"kind": "enhancedComponent",
|
|
100689
100689
|
"componentType": "subcomponent",
|
|
100690
|
-
"elemPropsHook": "useComboboxMenuItem",
|
|
100691
100690
|
"props": [
|
|
100692
100691
|
{
|
|
100693
100692
|
"kind": "property",
|
|
100694
|
-
"name": "
|
|
100693
|
+
"name": "icon",
|
|
100695
100694
|
"required": true,
|
|
100695
|
+
"type": {
|
|
100696
|
+
"kind": "symbol",
|
|
100697
|
+
"name": "CanvasSystemIcon",
|
|
100698
|
+
"value": "CanvasSystemIcon"
|
|
100699
|
+
},
|
|
100700
|
+
"description": "The icon to display from `@workday/canvas-system-icons-web`.",
|
|
100701
|
+
"declarations": [
|
|
100702
|
+
{
|
|
100703
|
+
"name": "icon",
|
|
100704
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
100705
|
+
}
|
|
100706
|
+
],
|
|
100707
|
+
"tags": {}
|
|
100708
|
+
},
|
|
100709
|
+
{
|
|
100710
|
+
"kind": "property",
|
|
100711
|
+
"name": "size",
|
|
100712
|
+
"required": false,
|
|
100713
|
+
"type": {
|
|
100714
|
+
"kind": "union",
|
|
100715
|
+
"value": [
|
|
100716
|
+
{
|
|
100717
|
+
"kind": "primitive",
|
|
100718
|
+
"value": "number"
|
|
100719
|
+
},
|
|
100720
|
+
{
|
|
100721
|
+
"kind": "primitive",
|
|
100722
|
+
"value": "string"
|
|
100723
|
+
},
|
|
100724
|
+
{
|
|
100725
|
+
"kind": "primitive",
|
|
100726
|
+
"value": "undefined"
|
|
100727
|
+
}
|
|
100728
|
+
]
|
|
100729
|
+
},
|
|
100730
|
+
"description": "The size of the SystemIcon in `px`.",
|
|
100731
|
+
"declarations": [
|
|
100732
|
+
{
|
|
100733
|
+
"name": "size",
|
|
100734
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
100735
|
+
}
|
|
100736
|
+
],
|
|
100737
|
+
"tags": {}
|
|
100738
|
+
},
|
|
100739
|
+
{
|
|
100740
|
+
"kind": "property",
|
|
100741
|
+
"name": "accent",
|
|
100742
|
+
"required": false,
|
|
100743
|
+
"type": {
|
|
100744
|
+
"kind": "symbol",
|
|
100745
|
+
"name": "CanvasColorTokens"
|
|
100746
|
+
},
|
|
100747
|
+
"description": "The accent color of the SystemIcon. This overrides `color`.",
|
|
100748
|
+
"declarations": [
|
|
100749
|
+
{
|
|
100750
|
+
"name": "accent",
|
|
100751
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
100752
|
+
}
|
|
100753
|
+
],
|
|
100754
|
+
"tags": {}
|
|
100755
|
+
},
|
|
100756
|
+
{
|
|
100757
|
+
"kind": "property",
|
|
100758
|
+
"name": "accentHover",
|
|
100759
|
+
"required": false,
|
|
100760
|
+
"type": {
|
|
100761
|
+
"kind": "symbol",
|
|
100762
|
+
"name": "CanvasColorTokens"
|
|
100763
|
+
},
|
|
100764
|
+
"description": "The accent color of the SystemIcon on hover. This overrides `colorHover`.",
|
|
100765
|
+
"declarations": [
|
|
100766
|
+
{
|
|
100767
|
+
"name": "accentHover",
|
|
100768
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
100769
|
+
}
|
|
100770
|
+
],
|
|
100771
|
+
"tags": {}
|
|
100772
|
+
},
|
|
100773
|
+
{
|
|
100774
|
+
"kind": "property",
|
|
100775
|
+
"name": "background",
|
|
100776
|
+
"required": false,
|
|
100777
|
+
"type": {
|
|
100778
|
+
"kind": "symbol",
|
|
100779
|
+
"name": "CanvasColorTokens"
|
|
100780
|
+
},
|
|
100781
|
+
"description": "The background color of the SystemIcon.",
|
|
100782
|
+
"declarations": [
|
|
100783
|
+
{
|
|
100784
|
+
"name": "background",
|
|
100785
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
100786
|
+
}
|
|
100787
|
+
],
|
|
100788
|
+
"tags": {
|
|
100789
|
+
"default": "transparent"
|
|
100790
|
+
},
|
|
100791
|
+
"defaultValue": {
|
|
100792
|
+
"kind": "symbol",
|
|
100793
|
+
"name": "transparent",
|
|
100794
|
+
"value": "transparent"
|
|
100795
|
+
}
|
|
100796
|
+
},
|
|
100797
|
+
{
|
|
100798
|
+
"kind": "property",
|
|
100799
|
+
"name": "backgroundHover",
|
|
100800
|
+
"required": false,
|
|
100801
|
+
"type": {
|
|
100802
|
+
"kind": "symbol",
|
|
100803
|
+
"name": "CanvasColorTokens"
|
|
100804
|
+
},
|
|
100805
|
+
"description": "The background color of the SystemIcon on hover.",
|
|
100806
|
+
"declarations": [
|
|
100807
|
+
{
|
|
100808
|
+
"name": "backgroundHover",
|
|
100809
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
100810
|
+
}
|
|
100811
|
+
],
|
|
100812
|
+
"tags": {
|
|
100813
|
+
"default": "transparent"
|
|
100814
|
+
},
|
|
100815
|
+
"defaultValue": {
|
|
100816
|
+
"kind": "symbol",
|
|
100817
|
+
"name": "transparent",
|
|
100818
|
+
"value": "transparent"
|
|
100819
|
+
}
|
|
100820
|
+
},
|
|
100821
|
+
{
|
|
100822
|
+
"kind": "property",
|
|
100823
|
+
"name": "color",
|
|
100824
|
+
"required": false,
|
|
100825
|
+
"type": {
|
|
100826
|
+
"kind": "symbol",
|
|
100827
|
+
"name": "CanvasColorTokens"
|
|
100828
|
+
},
|
|
100829
|
+
"description": "The color of the SystemIcon. This defines `accent` and `fill`. `color` may be overriden by `accent` and `fill`.",
|
|
100830
|
+
"declarations": [
|
|
100831
|
+
{
|
|
100832
|
+
"name": "color",
|
|
100833
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
100834
|
+
}
|
|
100835
|
+
],
|
|
100836
|
+
"tags": {
|
|
100837
|
+
"default": "iconColors.standard"
|
|
100838
|
+
},
|
|
100839
|
+
"defaultValue": {
|
|
100840
|
+
"kind": "symbol",
|
|
100841
|
+
"name": "iconColors.standard",
|
|
100842
|
+
"value": "iconColors.standard"
|
|
100843
|
+
}
|
|
100844
|
+
},
|
|
100845
|
+
{
|
|
100846
|
+
"kind": "property",
|
|
100847
|
+
"name": "colorHover",
|
|
100848
|
+
"required": false,
|
|
100849
|
+
"type": {
|
|
100850
|
+
"kind": "symbol",
|
|
100851
|
+
"name": "CanvasColorTokens"
|
|
100852
|
+
},
|
|
100853
|
+
"description": "The hover color of the SystemIcon. This defines `accentHover` and `fillHover`. `colorHover` may be overriden by `accentHover` and `fillHover`.",
|
|
100854
|
+
"declarations": [
|
|
100855
|
+
{
|
|
100856
|
+
"name": "colorHover",
|
|
100857
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
100858
|
+
}
|
|
100859
|
+
],
|
|
100860
|
+
"tags": {
|
|
100861
|
+
"default": "iconColors.hover"
|
|
100862
|
+
},
|
|
100863
|
+
"defaultValue": {
|
|
100864
|
+
"kind": "symbol",
|
|
100865
|
+
"name": "iconColors.hover",
|
|
100866
|
+
"value": "iconColors.hover"
|
|
100867
|
+
}
|
|
100868
|
+
},
|
|
100869
|
+
{
|
|
100870
|
+
"kind": "property",
|
|
100871
|
+
"name": "fill",
|
|
100872
|
+
"required": false,
|
|
100873
|
+
"type": {
|
|
100874
|
+
"kind": "symbol",
|
|
100875
|
+
"name": "CanvasColorTokens"
|
|
100876
|
+
},
|
|
100877
|
+
"description": "The fill color of the SystemIcon. This overrides `color`.",
|
|
100878
|
+
"declarations": [
|
|
100879
|
+
{
|
|
100880
|
+
"name": "fill",
|
|
100881
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
100882
|
+
}
|
|
100883
|
+
],
|
|
100884
|
+
"tags": {}
|
|
100885
|
+
},
|
|
100886
|
+
{
|
|
100887
|
+
"kind": "property",
|
|
100888
|
+
"name": "fillHover",
|
|
100889
|
+
"required": false,
|
|
100890
|
+
"type": {
|
|
100891
|
+
"kind": "symbol",
|
|
100892
|
+
"name": "CanvasColorTokens"
|
|
100893
|
+
},
|
|
100894
|
+
"description": "The fill color of the SystemIcon on hover. This overrides `colorHover`.",
|
|
100895
|
+
"declarations": [
|
|
100896
|
+
{
|
|
100897
|
+
"name": "fillHover",
|
|
100898
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
100899
|
+
}
|
|
100900
|
+
],
|
|
100901
|
+
"tags": {}
|
|
100902
|
+
},
|
|
100903
|
+
{
|
|
100904
|
+
"kind": "property",
|
|
100905
|
+
"name": "styles",
|
|
100906
|
+
"required": false,
|
|
100907
|
+
"type": {
|
|
100908
|
+
"kind": "symbol",
|
|
100909
|
+
"name": "CSSObject",
|
|
100910
|
+
"value": "CSSObject"
|
|
100911
|
+
},
|
|
100912
|
+
"description": "",
|
|
100913
|
+
"declarations": [
|
|
100914
|
+
{
|
|
100915
|
+
"name": "styles",
|
|
100916
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/Svg.tsx"
|
|
100917
|
+
}
|
|
100918
|
+
],
|
|
100919
|
+
"tags": {}
|
|
100920
|
+
},
|
|
100921
|
+
{
|
|
100922
|
+
"kind": "property",
|
|
100923
|
+
"name": "shouldMirror",
|
|
100924
|
+
"required": false,
|
|
100925
|
+
"type": {
|
|
100926
|
+
"kind": "primitive",
|
|
100927
|
+
"value": "boolean"
|
|
100928
|
+
},
|
|
100929
|
+
"description": "If set to `true`, transform the SVG's x-axis to mirror the graphic",
|
|
100930
|
+
"declarations": [
|
|
100931
|
+
{
|
|
100932
|
+
"name": "shouldMirror",
|
|
100933
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/Svg.tsx"
|
|
100934
|
+
}
|
|
100935
|
+
],
|
|
100936
|
+
"tags": {
|
|
100937
|
+
"default": "false"
|
|
100938
|
+
},
|
|
100939
|
+
"defaultValue": {
|
|
100940
|
+
"kind": "boolean",
|
|
100941
|
+
"value": false
|
|
100942
|
+
}
|
|
100943
|
+
},
|
|
100944
|
+
{
|
|
100945
|
+
"kind": "property",
|
|
100946
|
+
"name": "cs",
|
|
100947
|
+
"required": false,
|
|
100948
|
+
"type": {
|
|
100949
|
+
"kind": "symbol",
|
|
100950
|
+
"name": "CSToPropsInput",
|
|
100951
|
+
"value": "CSToPropsInput"
|
|
100952
|
+
},
|
|
100953
|
+
"description": "The `cs` prop takes in a single value or an array of values. You can pass the CSS class name\nreturned by {@link createStyles}, or the result of {@link createVars} and\n{@link createModifiers}. If you're extending a component already using `cs`, you can merge that\nprop in as well. Any style that is passed to the `cs` prop will override style props. If you\nwish to have styles that are overridden by the `css` prop, or styles added via the `styled`\nAPI, use {@link handleCsProp} wherever `elemProps` is used. If your component needs to also\nhandle style props, use {@link mergeStyles} instead.\n\n\n```tsx\nimport {handleCsProp} from '@workday/canvas-kit-styling';\nimport {mergeStyles} from '@workday/canvas-kit-react/layout';\n\n// ...\n\n// `handleCsProp` handles compat mode with Emotion's runtime APIs. `mergeStyles` has the same\n// function signature, but adds support for style props.\n\nreturn (\n <Element\n {...handleCsProp(elemProps, [\n myStyles,\n myModifiers({ size: 'medium' }),\n myVars({ backgroundColor: 'red' })\n ])}\n >\n {children}\n </Element>\n)\n```",
|
|
100954
|
+
"declarations": [
|
|
100955
|
+
{
|
|
100956
|
+
"name": "cs",
|
|
100957
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
100958
|
+
}
|
|
100959
|
+
],
|
|
100960
|
+
"tags": {}
|
|
100961
|
+
},
|
|
100962
|
+
{
|
|
100963
|
+
"kind": "property",
|
|
100964
|
+
"name": "children",
|
|
100965
|
+
"description": "",
|
|
100966
|
+
"tags": {},
|
|
100967
|
+
"declarations": [],
|
|
100696
100968
|
"type": {
|
|
100697
100969
|
"kind": "external",
|
|
100698
|
-
"name": "ReactNode",
|
|
100970
|
+
"name": "React.ReactNode",
|
|
100699
100971
|
"url": "https://reactjs.org/docs/rendering-elements.html"
|
|
100972
|
+
}
|
|
100973
|
+
},
|
|
100974
|
+
{
|
|
100975
|
+
"kind": "property",
|
|
100976
|
+
"name": "as",
|
|
100977
|
+
"description": "Optional override of the default element used by the component. Any valid tag or Component. If you provided a Component, this component should forward the ref using `React.forwardRef`and spread extra props to a root element.\n\n**Note:** Not all elements make sense and some elements may cause accessibility issues. Change this value with care.",
|
|
100978
|
+
"tags": {},
|
|
100979
|
+
"declarations": [],
|
|
100980
|
+
"type": {
|
|
100981
|
+
"kind": "external",
|
|
100982
|
+
"name": "React.ElementType",
|
|
100983
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/API/element"
|
|
100984
|
+
},
|
|
100985
|
+
"defaultValue": {
|
|
100986
|
+
"kind": "external",
|
|
100987
|
+
"name": "span",
|
|
100988
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span"
|
|
100989
|
+
}
|
|
100990
|
+
},
|
|
100991
|
+
{
|
|
100992
|
+
"kind": "property",
|
|
100993
|
+
"name": "ref",
|
|
100994
|
+
"description": "Optional ref. If the component represents an element, this ref will be a reference to the real DOM element of the component. If `as` is set to an element, it will be that element. If `as` is a component, the reference will be to that component (or element if the component uses `React.forwardRef`).",
|
|
100995
|
+
"tags": {},
|
|
100996
|
+
"declarations": [],
|
|
100997
|
+
"type": {
|
|
100998
|
+
"kind": "external",
|
|
100999
|
+
"name": "React.Ref",
|
|
101000
|
+
"url": "https://reactjs.org/docs/refs-and-the-dom.html",
|
|
101001
|
+
"typeParameters": [
|
|
101002
|
+
{
|
|
101003
|
+
"kind": "typeParameter",
|
|
101004
|
+
"name": "R",
|
|
101005
|
+
"required": true,
|
|
101006
|
+
"defaultValue": {
|
|
101007
|
+
"kind": "external",
|
|
101008
|
+
"name": "span",
|
|
101009
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span"
|
|
101010
|
+
}
|
|
101011
|
+
}
|
|
101012
|
+
]
|
|
101013
|
+
}
|
|
101014
|
+
},
|
|
101015
|
+
{
|
|
101016
|
+
"kind": "property",
|
|
101017
|
+
"name": "model",
|
|
101018
|
+
"description": "Optional model to pass to the component. This will override the default model created for the component. This can be useful if you want to access to the state and events of the model, or if you have nested components of the same type and you need to override the model provided by React Context.",
|
|
101019
|
+
"tags": {},
|
|
101020
|
+
"declarations": [],
|
|
101021
|
+
"type": {
|
|
101022
|
+
"kind": "symbol",
|
|
101023
|
+
"name": "ComboboxModel"
|
|
101024
|
+
}
|
|
101025
|
+
},
|
|
101026
|
+
{
|
|
101027
|
+
"kind": "property",
|
|
101028
|
+
"name": "elemPropsHook",
|
|
101029
|
+
"description": "Optional hook that receives the model and all props to be applied to the element. If you use this, it is your responsibility to return props, merging as appropriate. For example, returning an empty object will disable all elemProps hooks associated with this component. This allows finer control over a component without creating a new one.",
|
|
101030
|
+
"tags": {},
|
|
101031
|
+
"declarations": [],
|
|
101032
|
+
"type": {
|
|
101033
|
+
"kind": "function",
|
|
101034
|
+
"parameters": [
|
|
101035
|
+
{
|
|
101036
|
+
"kind": "parameter",
|
|
101037
|
+
"description": "",
|
|
101038
|
+
"tags": {},
|
|
101039
|
+
"declarations": [],
|
|
101040
|
+
"name": "model",
|
|
101041
|
+
"type": {
|
|
101042
|
+
"kind": "symbol",
|
|
101043
|
+
"name": "ComboboxModel"
|
|
101044
|
+
},
|
|
101045
|
+
"required": true
|
|
101046
|
+
},
|
|
101047
|
+
{
|
|
101048
|
+
"kind": "parameter",
|
|
101049
|
+
"description": "",
|
|
101050
|
+
"tags": {},
|
|
101051
|
+
"declarations": [],
|
|
101052
|
+
"name": "elemProps",
|
|
101053
|
+
"type": {
|
|
101054
|
+
"kind": "generic",
|
|
101055
|
+
"name": "TProps"
|
|
101056
|
+
}
|
|
101057
|
+
}
|
|
101058
|
+
],
|
|
101059
|
+
"returnType": {
|
|
101060
|
+
"kind": "external",
|
|
101061
|
+
"name": "HTML Attributes",
|
|
101062
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes"
|
|
101063
|
+
}
|
|
101064
|
+
}
|
|
101065
|
+
}
|
|
101066
|
+
],
|
|
101067
|
+
"baseElement": {
|
|
101068
|
+
"kind": "external",
|
|
101069
|
+
"name": "span",
|
|
101070
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span"
|
|
101071
|
+
},
|
|
101072
|
+
"styleComponent": {
|
|
101073
|
+
"kind": "symbol",
|
|
101074
|
+
"name": "Box"
|
|
101075
|
+
},
|
|
101076
|
+
"model": "ComboboxModel"
|
|
101077
|
+
}
|
|
101078
|
+
},
|
|
101079
|
+
{
|
|
101080
|
+
"name": "ComboboxMenuItem",
|
|
101081
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/combobox/lib/ComboboxMenuItem.tsx",
|
|
101082
|
+
"description": "",
|
|
101083
|
+
"declarations": [
|
|
101084
|
+
{
|
|
101085
|
+
"name": "ComboboxMenuItem",
|
|
101086
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/combobox/lib/ComboboxMenuItem.tsx"
|
|
101087
|
+
}
|
|
101088
|
+
],
|
|
101089
|
+
"tags": {},
|
|
101090
|
+
"type": {
|
|
101091
|
+
"kind": "enhancedComponent",
|
|
101092
|
+
"componentType": "subcomponent",
|
|
101093
|
+
"elemPropsHook": "useComboboxMenuItem",
|
|
101094
|
+
"props": [
|
|
101095
|
+
{
|
|
101096
|
+
"kind": "property",
|
|
101097
|
+
"name": "cs",
|
|
101098
|
+
"required": false,
|
|
101099
|
+
"type": {
|
|
101100
|
+
"kind": "symbol",
|
|
101101
|
+
"name": "CSToPropsInput",
|
|
101102
|
+
"value": "CSToPropsInput"
|
|
101103
|
+
},
|
|
101104
|
+
"description": "The `cs` prop takes in a single value or an array of values. You can pass the CSS class name\nreturned by {@link createStyles}, or the result of {@link createVars} and\n{@link createModifiers}. If you're extending a component already using `cs`, you can merge that\nprop in as well. Any style that is passed to the `cs` prop will override style props. If you\nwish to have styles that are overridden by the `css` prop, or styles added via the `styled`\nAPI, use {@link handleCsProp} wherever `elemProps` is used. If your component needs to also\nhandle style props, use {@link mergeStyles} instead.\n\n\n```tsx\nimport {handleCsProp} from '@workday/canvas-kit-styling';\nimport {mergeStyles} from '@workday/canvas-kit-react/layout';\n\n// ...\n\n// `handleCsProp` handles compat mode with Emotion's runtime APIs. `mergeStyles` has the same\n// function signature, but adds support for style props.\n\nreturn (\n <Element\n {...handleCsProp(elemProps, [\n myStyles,\n myModifiers({ size: 'medium' }),\n myVars({ backgroundColor: 'red' })\n ])}\n >\n {children}\n </Element>\n)\n```",
|
|
101105
|
+
"declarations": [
|
|
101106
|
+
{
|
|
101107
|
+
"name": "cs",
|
|
101108
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
101109
|
+
}
|
|
101110
|
+
],
|
|
101111
|
+
"tags": {}
|
|
101112
|
+
},
|
|
101113
|
+
{
|
|
101114
|
+
"kind": "property",
|
|
101115
|
+
"name": "ref",
|
|
101116
|
+
"required": false,
|
|
101117
|
+
"type": {
|
|
101118
|
+
"kind": "generic",
|
|
101119
|
+
"name": "ExtractRef"
|
|
101120
|
+
},
|
|
101121
|
+
"description": "Optional ref. If the component represents an element, this ref will be a reference to the\nreal DOM element of the component. If `as` is set to an element, it will be that element.\nIf `as` is a component, the reference will be to that component (or element if the component\nuses `React.forwardRef`).",
|
|
101122
|
+
"declarations": [
|
|
101123
|
+
{
|
|
101124
|
+
"name": "ref",
|
|
101125
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/utils/components.ts"
|
|
101126
|
+
}
|
|
101127
|
+
],
|
|
101128
|
+
"tags": {}
|
|
101129
|
+
},
|
|
101130
|
+
{
|
|
101131
|
+
"kind": "property",
|
|
101132
|
+
"name": "theme",
|
|
101133
|
+
"required": false,
|
|
101134
|
+
"type": {
|
|
101135
|
+
"kind": "symbol",
|
|
101136
|
+
"name": "Theme",
|
|
101137
|
+
"value": "Theme"
|
|
100700
101138
|
},
|
|
100701
101139
|
"description": "",
|
|
100702
101140
|
"declarations": [
|
|
100703
101141
|
{
|
|
100704
|
-
"name": "
|
|
100705
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/
|
|
101142
|
+
"name": "theme",
|
|
101143
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/node_modules/@emotion/styled/types/base.d.ts"
|
|
100706
101144
|
}
|
|
100707
101145
|
],
|
|
100708
101146
|
"tags": {}
|
|
100709
101147
|
},
|
|
101148
|
+
{
|
|
101149
|
+
"kind": "property",
|
|
101150
|
+
"name": "as",
|
|
101151
|
+
"required": false,
|
|
101152
|
+
"type": {
|
|
101153
|
+
"kind": "symbol",
|
|
101154
|
+
"name": "React.ElementType",
|
|
101155
|
+
"value": "ElementType<P>"
|
|
101156
|
+
},
|
|
101157
|
+
"description": "",
|
|
101158
|
+
"declarations": [
|
|
101159
|
+
{
|
|
101160
|
+
"name": "as",
|
|
101161
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/utils/components.ts"
|
|
101162
|
+
}
|
|
101163
|
+
],
|
|
101164
|
+
"tags": {}
|
|
101165
|
+
},
|
|
101166
|
+
{
|
|
101167
|
+
"kind": "property",
|
|
101168
|
+
"name": "isDisabled",
|
|
101169
|
+
"required": false,
|
|
101170
|
+
"type": {
|
|
101171
|
+
"kind": "primitive",
|
|
101172
|
+
"value": "boolean"
|
|
101173
|
+
},
|
|
101174
|
+
"description": "If true, set the StyledMenuItem to the disabled state so it is not clickable.",
|
|
101175
|
+
"declarations": [
|
|
101176
|
+
{
|
|
101177
|
+
"name": "isDisabled",
|
|
101178
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/menu/lib/MenuItem.tsx"
|
|
101179
|
+
}
|
|
101180
|
+
],
|
|
101181
|
+
"tags": {
|
|
101182
|
+
"default": "false"
|
|
101183
|
+
},
|
|
101184
|
+
"defaultValue": {
|
|
101185
|
+
"kind": "boolean",
|
|
101186
|
+
"value": false
|
|
101187
|
+
}
|
|
101188
|
+
},
|
|
101189
|
+
{
|
|
101190
|
+
"kind": "property",
|
|
101191
|
+
"name": "children",
|
|
101192
|
+
"description": "",
|
|
101193
|
+
"tags": {},
|
|
101194
|
+
"declarations": [],
|
|
101195
|
+
"type": {
|
|
101196
|
+
"kind": "external",
|
|
101197
|
+
"name": "React.ReactNode",
|
|
101198
|
+
"url": "https://reactjs.org/docs/rendering-elements.html"
|
|
101199
|
+
}
|
|
101200
|
+
},
|
|
100710
101201
|
{
|
|
100711
101202
|
"kind": "property",
|
|
100712
101203
|
"name": "as",
|
|
@@ -100805,7 +101296,24 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
100805
101296
|
"name": "li",
|
|
100806
101297
|
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li"
|
|
100807
101298
|
},
|
|
100808
|
-
"subComponents": [
|
|
101299
|
+
"subComponents": [
|
|
101300
|
+
{
|
|
101301
|
+
"name": "Icon",
|
|
101302
|
+
"symbol": "ComboboxMenuItemIcon",
|
|
101303
|
+
"description": "",
|
|
101304
|
+
"declarations": [
|
|
101305
|
+
{
|
|
101306
|
+
"name": "Icon",
|
|
101307
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/combobox/lib/ComboboxMenuItem.tsx"
|
|
101308
|
+
}
|
|
101309
|
+
],
|
|
101310
|
+
"tags": {}
|
|
101311
|
+
}
|
|
101312
|
+
],
|
|
101313
|
+
"styleComponent": {
|
|
101314
|
+
"kind": "symbol",
|
|
101315
|
+
"name": "Box"
|
|
101316
|
+
},
|
|
100809
101317
|
"model": "ComboboxModel"
|
|
100810
101318
|
}
|
|
100811
101319
|
},
|
|
@@ -100919,27 +101427,6 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
100919
101427
|
"description": "",
|
|
100920
101428
|
"tags": {},
|
|
100921
101429
|
"declarations": []
|
|
100922
|
-
},
|
|
100923
|
-
{
|
|
100924
|
-
"kind": "property",
|
|
100925
|
-
"name": "flexDirection",
|
|
100926
|
-
"required": true,
|
|
100927
|
-
"type": {
|
|
100928
|
-
"kind": "union",
|
|
100929
|
-
"value": [
|
|
100930
|
-
{
|
|
100931
|
-
"kind": "string",
|
|
100932
|
-
"value": "column"
|
|
100933
|
-
},
|
|
100934
|
-
{
|
|
100935
|
-
"kind": "string",
|
|
100936
|
-
"value": "row"
|
|
100937
|
-
}
|
|
100938
|
-
]
|
|
100939
|
-
},
|
|
100940
|
-
"description": "",
|
|
100941
|
-
"tags": {},
|
|
100942
|
-
"declarations": []
|
|
100943
101430
|
}
|
|
100944
101431
|
]
|
|
100945
101432
|
}
|
|
@@ -152196,6 +152683,490 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
152196
152683
|
"name": "MenuCard"
|
|
152197
152684
|
}
|
|
152198
152685
|
},
|
|
152686
|
+
{
|
|
152687
|
+
"name": "menuCardStencil",
|
|
152688
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/menu/lib/MenuCard.tsx",
|
|
152689
|
+
"description": "",
|
|
152690
|
+
"declarations": [
|
|
152691
|
+
{
|
|
152692
|
+
"name": "menuCardStencil",
|
|
152693
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/menu/lib/MenuCard.tsx"
|
|
152694
|
+
}
|
|
152695
|
+
],
|
|
152696
|
+
"tags": {},
|
|
152697
|
+
"type": {
|
|
152698
|
+
"kind": "function",
|
|
152699
|
+
"parameters": [
|
|
152700
|
+
{
|
|
152701
|
+
"kind": "parameter",
|
|
152702
|
+
"name": "options",
|
|
152703
|
+
"type": {
|
|
152704
|
+
"kind": "conditional",
|
|
152705
|
+
"check": {
|
|
152706
|
+
"kind": "tuple",
|
|
152707
|
+
"value": [
|
|
152708
|
+
{
|
|
152709
|
+
"kind": "symbol",
|
|
152710
|
+
"name": "E",
|
|
152711
|
+
"value": "E"
|
|
152712
|
+
}
|
|
152713
|
+
]
|
|
152714
|
+
},
|
|
152715
|
+
"extends": {
|
|
152716
|
+
"kind": "tuple",
|
|
152717
|
+
"value": [
|
|
152718
|
+
{
|
|
152719
|
+
"kind": "primitive",
|
|
152720
|
+
"value": "never"
|
|
152721
|
+
}
|
|
152722
|
+
]
|
|
152723
|
+
},
|
|
152724
|
+
"trueType": {
|
|
152725
|
+
"kind": "intersection",
|
|
152726
|
+
"value": [
|
|
152727
|
+
{
|
|
152728
|
+
"kind": "symbol",
|
|
152729
|
+
"name": "ModifierValuesStencil",
|
|
152730
|
+
"typeParameters": [
|
|
152731
|
+
{
|
|
152732
|
+
"kind": "symbol",
|
|
152733
|
+
"name": "M",
|
|
152734
|
+
"value": "M"
|
|
152735
|
+
}
|
|
152736
|
+
],
|
|
152737
|
+
"value": "ModifierValuesStencil<M>"
|
|
152738
|
+
},
|
|
152739
|
+
{
|
|
152740
|
+
"kind": "symbol",
|
|
152741
|
+
"name": "VariableValuesStencil",
|
|
152742
|
+
"typeParameters": [
|
|
152743
|
+
{
|
|
152744
|
+
"kind": "symbol",
|
|
152745
|
+
"name": "V",
|
|
152746
|
+
"value": "V"
|
|
152747
|
+
}
|
|
152748
|
+
],
|
|
152749
|
+
"value": "VariableValuesStencil<V>"
|
|
152750
|
+
}
|
|
152751
|
+
]
|
|
152752
|
+
},
|
|
152753
|
+
"falseType": {
|
|
152754
|
+
"kind": "conditional",
|
|
152755
|
+
"check": {
|
|
152756
|
+
"kind": "symbol",
|
|
152757
|
+
"name": "E",
|
|
152758
|
+
"value": "E"
|
|
152759
|
+
},
|
|
152760
|
+
"extends": {
|
|
152761
|
+
"kind": "symbol",
|
|
152762
|
+
"name": "BaseStencil",
|
|
152763
|
+
"typeParameters": [
|
|
152764
|
+
{
|
|
152765
|
+
"kind": "infer",
|
|
152766
|
+
"value": {
|
|
152767
|
+
"kind": "typeParameter",
|
|
152768
|
+
"name": "ME",
|
|
152769
|
+
"required": true
|
|
152770
|
+
}
|
|
152771
|
+
},
|
|
152772
|
+
{
|
|
152773
|
+
"kind": "infer",
|
|
152774
|
+
"value": {
|
|
152775
|
+
"kind": "typeParameter",
|
|
152776
|
+
"name": "VE",
|
|
152777
|
+
"required": true
|
|
152778
|
+
}
|
|
152779
|
+
},
|
|
152780
|
+
{
|
|
152781
|
+
"kind": "primitive",
|
|
152782
|
+
"value": "any"
|
|
152783
|
+
},
|
|
152784
|
+
{
|
|
152785
|
+
"kind": "primitive",
|
|
152786
|
+
"value": "any"
|
|
152787
|
+
}
|
|
152788
|
+
],
|
|
152789
|
+
"value": "BaseStencil<M, V, E, ID>"
|
|
152790
|
+
},
|
|
152791
|
+
"trueType": {
|
|
152792
|
+
"kind": "intersection",
|
|
152793
|
+
"value": [
|
|
152794
|
+
{
|
|
152795
|
+
"kind": "symbol",
|
|
152796
|
+
"name": "ModifierValuesStencil",
|
|
152797
|
+
"typeParameters": [
|
|
152798
|
+
{
|
|
152799
|
+
"kind": "intersection",
|
|
152800
|
+
"value": [
|
|
152801
|
+
{
|
|
152802
|
+
"kind": "symbol",
|
|
152803
|
+
"name": "ME",
|
|
152804
|
+
"value": "ME"
|
|
152805
|
+
},
|
|
152806
|
+
{
|
|
152807
|
+
"kind": "symbol",
|
|
152808
|
+
"name": "M",
|
|
152809
|
+
"value": "M"
|
|
152810
|
+
}
|
|
152811
|
+
]
|
|
152812
|
+
}
|
|
152813
|
+
],
|
|
152814
|
+
"value": "ModifierValuesStencil<M>"
|
|
152815
|
+
},
|
|
152816
|
+
{
|
|
152817
|
+
"kind": "symbol",
|
|
152818
|
+
"name": "VariableValuesStencil",
|
|
152819
|
+
"typeParameters": [
|
|
152820
|
+
{
|
|
152821
|
+
"kind": "intersection",
|
|
152822
|
+
"value": [
|
|
152823
|
+
{
|
|
152824
|
+
"kind": "symbol",
|
|
152825
|
+
"name": "VE",
|
|
152826
|
+
"value": "VE"
|
|
152827
|
+
},
|
|
152828
|
+
{
|
|
152829
|
+
"kind": "symbol",
|
|
152830
|
+
"name": "V",
|
|
152831
|
+
"value": "V"
|
|
152832
|
+
}
|
|
152833
|
+
]
|
|
152834
|
+
}
|
|
152835
|
+
],
|
|
152836
|
+
"value": "VariableValuesStencil<V>"
|
|
152837
|
+
}
|
|
152838
|
+
]
|
|
152839
|
+
},
|
|
152840
|
+
"falseType": {
|
|
152841
|
+
"kind": "primitive",
|
|
152842
|
+
"value": "never"
|
|
152843
|
+
}
|
|
152844
|
+
}
|
|
152845
|
+
},
|
|
152846
|
+
"required": false,
|
|
152847
|
+
"rest": false,
|
|
152848
|
+
"description": "",
|
|
152849
|
+
"declarations": [
|
|
152850
|
+
{
|
|
152851
|
+
"name": "options",
|
|
152852
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
152853
|
+
}
|
|
152854
|
+
],
|
|
152855
|
+
"tags": {}
|
|
152856
|
+
}
|
|
152857
|
+
],
|
|
152858
|
+
"members": [
|
|
152859
|
+
{
|
|
152860
|
+
"kind": "property",
|
|
152861
|
+
"name": "vars",
|
|
152862
|
+
"required": true,
|
|
152863
|
+
"type": {
|
|
152864
|
+
"kind": "symbol",
|
|
152865
|
+
"name": "StencilDefaultVars",
|
|
152866
|
+
"typeParameters": [
|
|
152867
|
+
{
|
|
152868
|
+
"kind": "symbol",
|
|
152869
|
+
"name": "V",
|
|
152870
|
+
"value": "V"
|
|
152871
|
+
},
|
|
152872
|
+
{
|
|
152873
|
+
"kind": "symbol",
|
|
152874
|
+
"name": "E",
|
|
152875
|
+
"value": "E"
|
|
152876
|
+
},
|
|
152877
|
+
{
|
|
152878
|
+
"kind": "symbol",
|
|
152879
|
+
"name": "ID",
|
|
152880
|
+
"value": "ID"
|
|
152881
|
+
}
|
|
152882
|
+
],
|
|
152883
|
+
"value": "StencilDefaultVars<V, E, ID>"
|
|
152884
|
+
},
|
|
152885
|
+
"description": "",
|
|
152886
|
+
"declarations": [
|
|
152887
|
+
{
|
|
152888
|
+
"name": "vars",
|
|
152889
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
152890
|
+
}
|
|
152891
|
+
],
|
|
152892
|
+
"tags": {}
|
|
152893
|
+
},
|
|
152894
|
+
{
|
|
152895
|
+
"kind": "property",
|
|
152896
|
+
"name": "base",
|
|
152897
|
+
"required": true,
|
|
152898
|
+
"type": {
|
|
152899
|
+
"kind": "primitive",
|
|
152900
|
+
"value": "string"
|
|
152901
|
+
},
|
|
152902
|
+
"description": "",
|
|
152903
|
+
"declarations": [
|
|
152904
|
+
{
|
|
152905
|
+
"name": "base",
|
|
152906
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
152907
|
+
}
|
|
152908
|
+
],
|
|
152909
|
+
"tags": {}
|
|
152910
|
+
},
|
|
152911
|
+
{
|
|
152912
|
+
"kind": "property",
|
|
152913
|
+
"name": "modifiers",
|
|
152914
|
+
"required": true,
|
|
152915
|
+
"type": {
|
|
152916
|
+
"kind": "conditional",
|
|
152917
|
+
"check": {
|
|
152918
|
+
"kind": "tuple",
|
|
152919
|
+
"value": [
|
|
152920
|
+
{
|
|
152921
|
+
"kind": "symbol",
|
|
152922
|
+
"name": "E",
|
|
152923
|
+
"value": "E"
|
|
152924
|
+
}
|
|
152925
|
+
]
|
|
152926
|
+
},
|
|
152927
|
+
"extends": {
|
|
152928
|
+
"kind": "tuple",
|
|
152929
|
+
"value": [
|
|
152930
|
+
{
|
|
152931
|
+
"kind": "symbol",
|
|
152932
|
+
"name": "BaseStencil",
|
|
152933
|
+
"typeParameters": [
|
|
152934
|
+
{
|
|
152935
|
+
"kind": "infer",
|
|
152936
|
+
"value": {
|
|
152937
|
+
"kind": "typeParameter",
|
|
152938
|
+
"name": "ME",
|
|
152939
|
+
"required": true
|
|
152940
|
+
}
|
|
152941
|
+
},
|
|
152942
|
+
{
|
|
152943
|
+
"kind": "infer",
|
|
152944
|
+
"value": {
|
|
152945
|
+
"kind": "typeParameter",
|
|
152946
|
+
"name": "VE",
|
|
152947
|
+
"required": true
|
|
152948
|
+
}
|
|
152949
|
+
},
|
|
152950
|
+
{
|
|
152951
|
+
"kind": "primitive",
|
|
152952
|
+
"value": "any"
|
|
152953
|
+
},
|
|
152954
|
+
{
|
|
152955
|
+
"kind": "primitive",
|
|
152956
|
+
"value": "any"
|
|
152957
|
+
}
|
|
152958
|
+
],
|
|
152959
|
+
"value": "BaseStencil<M, V, E, ID>"
|
|
152960
|
+
}
|
|
152961
|
+
]
|
|
152962
|
+
},
|
|
152963
|
+
"trueType": {
|
|
152964
|
+
"kind": "symbol",
|
|
152965
|
+
"name": "StencilModifierReturn",
|
|
152966
|
+
"typeParameters": [
|
|
152967
|
+
{
|
|
152968
|
+
"kind": "intersection",
|
|
152969
|
+
"value": [
|
|
152970
|
+
{
|
|
152971
|
+
"kind": "symbol",
|
|
152972
|
+
"name": "ME",
|
|
152973
|
+
"value": "ME"
|
|
152974
|
+
},
|
|
152975
|
+
{
|
|
152976
|
+
"kind": "symbol",
|
|
152977
|
+
"name": "M",
|
|
152978
|
+
"value": "M"
|
|
152979
|
+
}
|
|
152980
|
+
]
|
|
152981
|
+
},
|
|
152982
|
+
{
|
|
152983
|
+
"kind": "intersection",
|
|
152984
|
+
"value": [
|
|
152985
|
+
{
|
|
152986
|
+
"kind": "symbol",
|
|
152987
|
+
"name": "VE",
|
|
152988
|
+
"value": "VE"
|
|
152989
|
+
},
|
|
152990
|
+
{
|
|
152991
|
+
"kind": "symbol",
|
|
152992
|
+
"name": "V",
|
|
152993
|
+
"value": "V"
|
|
152994
|
+
}
|
|
152995
|
+
]
|
|
152996
|
+
}
|
|
152997
|
+
],
|
|
152998
|
+
"value": "StencilModifierReturn<M, V>"
|
|
152999
|
+
},
|
|
153000
|
+
"falseType": {
|
|
153001
|
+
"kind": "symbol",
|
|
153002
|
+
"name": "StencilModifierReturn",
|
|
153003
|
+
"typeParameters": [
|
|
153004
|
+
{
|
|
153005
|
+
"kind": "symbol",
|
|
153006
|
+
"name": "M",
|
|
153007
|
+
"value": "M"
|
|
153008
|
+
},
|
|
153009
|
+
{
|
|
153010
|
+
"kind": "symbol",
|
|
153011
|
+
"name": "V",
|
|
153012
|
+
"value": "V"
|
|
153013
|
+
}
|
|
153014
|
+
],
|
|
153015
|
+
"value": "StencilModifierReturn<M, V>"
|
|
153016
|
+
}
|
|
153017
|
+
},
|
|
153018
|
+
"description": "",
|
|
153019
|
+
"declarations": [
|
|
153020
|
+
{
|
|
153021
|
+
"name": "modifiers",
|
|
153022
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
153023
|
+
}
|
|
153024
|
+
],
|
|
153025
|
+
"tags": {}
|
|
153026
|
+
},
|
|
153027
|
+
{
|
|
153028
|
+
"kind": "property",
|
|
153029
|
+
"name": "defaultModifiers",
|
|
153030
|
+
"required": true,
|
|
153031
|
+
"type": {
|
|
153032
|
+
"kind": "unknown",
|
|
153033
|
+
"value": "unknown",
|
|
153034
|
+
"text": "{\n [K in keyof M]?: keyof M[K];\n }"
|
|
153035
|
+
},
|
|
153036
|
+
"description": "",
|
|
153037
|
+
"declarations": [
|
|
153038
|
+
{
|
|
153039
|
+
"name": "defaultModifiers",
|
|
153040
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
153041
|
+
}
|
|
153042
|
+
],
|
|
153043
|
+
"tags": {}
|
|
153044
|
+
},
|
|
153045
|
+
{
|
|
153046
|
+
"kind": "property",
|
|
153047
|
+
"name": "__extends",
|
|
153048
|
+
"required": false,
|
|
153049
|
+
"type": {
|
|
153050
|
+
"kind": "symbol",
|
|
153051
|
+
"name": "E",
|
|
153052
|
+
"value": "E"
|
|
153053
|
+
},
|
|
153054
|
+
"description": "",
|
|
153055
|
+
"declarations": [
|
|
153056
|
+
{
|
|
153057
|
+
"name": "__extends",
|
|
153058
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
153059
|
+
}
|
|
153060
|
+
],
|
|
153061
|
+
"tags": {}
|
|
153062
|
+
},
|
|
153063
|
+
{
|
|
153064
|
+
"kind": "property",
|
|
153065
|
+
"name": "__vars",
|
|
153066
|
+
"required": true,
|
|
153067
|
+
"type": {
|
|
153068
|
+
"kind": "symbol",
|
|
153069
|
+
"name": "V",
|
|
153070
|
+
"value": "V"
|
|
153071
|
+
},
|
|
153072
|
+
"description": "",
|
|
153073
|
+
"declarations": [
|
|
153074
|
+
{
|
|
153075
|
+
"name": "__vars",
|
|
153076
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
153077
|
+
}
|
|
153078
|
+
],
|
|
153079
|
+
"tags": {}
|
|
153080
|
+
},
|
|
153081
|
+
{
|
|
153082
|
+
"kind": "property",
|
|
153083
|
+
"name": "__modifiers",
|
|
153084
|
+
"required": true,
|
|
153085
|
+
"type": {
|
|
153086
|
+
"kind": "symbol",
|
|
153087
|
+
"name": "M",
|
|
153088
|
+
"value": "M"
|
|
153089
|
+
},
|
|
153090
|
+
"description": "",
|
|
153091
|
+
"declarations": [
|
|
153092
|
+
{
|
|
153093
|
+
"name": "__modifiers",
|
|
153094
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
153095
|
+
}
|
|
153096
|
+
],
|
|
153097
|
+
"tags": {}
|
|
153098
|
+
},
|
|
153099
|
+
{
|
|
153100
|
+
"kind": "property",
|
|
153101
|
+
"name": "__id",
|
|
153102
|
+
"required": true,
|
|
153103
|
+
"type": {
|
|
153104
|
+
"kind": "symbol",
|
|
153105
|
+
"name": "ID",
|
|
153106
|
+
"value": "ID"
|
|
153107
|
+
},
|
|
153108
|
+
"description": "",
|
|
153109
|
+
"declarations": [
|
|
153110
|
+
{
|
|
153111
|
+
"name": "__id",
|
|
153112
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
153113
|
+
}
|
|
153114
|
+
],
|
|
153115
|
+
"tags": {}
|
|
153116
|
+
}
|
|
153117
|
+
],
|
|
153118
|
+
"returnType": {
|
|
153119
|
+
"kind": "object",
|
|
153120
|
+
"properties": [
|
|
153121
|
+
{
|
|
153122
|
+
"kind": "property",
|
|
153123
|
+
"name": "className",
|
|
153124
|
+
"required": true,
|
|
153125
|
+
"type": {
|
|
153126
|
+
"kind": "primitive",
|
|
153127
|
+
"value": "string"
|
|
153128
|
+
},
|
|
153129
|
+
"description": "",
|
|
153130
|
+
"declarations": [
|
|
153131
|
+
{
|
|
153132
|
+
"name": "className",
|
|
153133
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
153134
|
+
}
|
|
153135
|
+
],
|
|
153136
|
+
"tags": {}
|
|
153137
|
+
},
|
|
153138
|
+
{
|
|
153139
|
+
"kind": "property",
|
|
153140
|
+
"name": "style",
|
|
153141
|
+
"required": false,
|
|
153142
|
+
"type": {
|
|
153143
|
+
"kind": "external",
|
|
153144
|
+
"name": "Record",
|
|
153145
|
+
"url": "https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type",
|
|
153146
|
+
"typeParameters": [
|
|
153147
|
+
{
|
|
153148
|
+
"kind": "primitive",
|
|
153149
|
+
"value": "string"
|
|
153150
|
+
},
|
|
153151
|
+
{
|
|
153152
|
+
"kind": "primitive",
|
|
153153
|
+
"value": "string"
|
|
153154
|
+
}
|
|
153155
|
+
]
|
|
153156
|
+
},
|
|
153157
|
+
"description": "",
|
|
153158
|
+
"declarations": [
|
|
153159
|
+
{
|
|
153160
|
+
"name": "style",
|
|
153161
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
153162
|
+
}
|
|
153163
|
+
],
|
|
153164
|
+
"tags": {}
|
|
153165
|
+
}
|
|
153166
|
+
]
|
|
153167
|
+
}
|
|
153168
|
+
}
|
|
153169
|
+
},
|
|
152199
153170
|
{
|
|
152200
153171
|
"name": "useMenuCard",
|
|
152201
153172
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/menu/lib/MenuCard.tsx",
|
|
@@ -153462,6 +154433,490 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
153462
154433
|
]
|
|
153463
154434
|
}
|
|
153464
154435
|
},
|
|
154436
|
+
{
|
|
154437
|
+
"name": "menuListStencil",
|
|
154438
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/menu/lib/MenuList.tsx",
|
|
154439
|
+
"description": "",
|
|
154440
|
+
"declarations": [
|
|
154441
|
+
{
|
|
154442
|
+
"name": "menuListStencil",
|
|
154443
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/menu/lib/MenuList.tsx"
|
|
154444
|
+
}
|
|
154445
|
+
],
|
|
154446
|
+
"tags": {},
|
|
154447
|
+
"type": {
|
|
154448
|
+
"kind": "function",
|
|
154449
|
+
"parameters": [
|
|
154450
|
+
{
|
|
154451
|
+
"kind": "parameter",
|
|
154452
|
+
"name": "options",
|
|
154453
|
+
"type": {
|
|
154454
|
+
"kind": "conditional",
|
|
154455
|
+
"check": {
|
|
154456
|
+
"kind": "tuple",
|
|
154457
|
+
"value": [
|
|
154458
|
+
{
|
|
154459
|
+
"kind": "symbol",
|
|
154460
|
+
"name": "E",
|
|
154461
|
+
"value": "E"
|
|
154462
|
+
}
|
|
154463
|
+
]
|
|
154464
|
+
},
|
|
154465
|
+
"extends": {
|
|
154466
|
+
"kind": "tuple",
|
|
154467
|
+
"value": [
|
|
154468
|
+
{
|
|
154469
|
+
"kind": "primitive",
|
|
154470
|
+
"value": "never"
|
|
154471
|
+
}
|
|
154472
|
+
]
|
|
154473
|
+
},
|
|
154474
|
+
"trueType": {
|
|
154475
|
+
"kind": "intersection",
|
|
154476
|
+
"value": [
|
|
154477
|
+
{
|
|
154478
|
+
"kind": "symbol",
|
|
154479
|
+
"name": "ModifierValuesStencil",
|
|
154480
|
+
"typeParameters": [
|
|
154481
|
+
{
|
|
154482
|
+
"kind": "symbol",
|
|
154483
|
+
"name": "M",
|
|
154484
|
+
"value": "M"
|
|
154485
|
+
}
|
|
154486
|
+
],
|
|
154487
|
+
"value": "ModifierValuesStencil<M>"
|
|
154488
|
+
},
|
|
154489
|
+
{
|
|
154490
|
+
"kind": "symbol",
|
|
154491
|
+
"name": "VariableValuesStencil",
|
|
154492
|
+
"typeParameters": [
|
|
154493
|
+
{
|
|
154494
|
+
"kind": "symbol",
|
|
154495
|
+
"name": "V",
|
|
154496
|
+
"value": "V"
|
|
154497
|
+
}
|
|
154498
|
+
],
|
|
154499
|
+
"value": "VariableValuesStencil<V>"
|
|
154500
|
+
}
|
|
154501
|
+
]
|
|
154502
|
+
},
|
|
154503
|
+
"falseType": {
|
|
154504
|
+
"kind": "conditional",
|
|
154505
|
+
"check": {
|
|
154506
|
+
"kind": "symbol",
|
|
154507
|
+
"name": "E",
|
|
154508
|
+
"value": "E"
|
|
154509
|
+
},
|
|
154510
|
+
"extends": {
|
|
154511
|
+
"kind": "symbol",
|
|
154512
|
+
"name": "BaseStencil",
|
|
154513
|
+
"typeParameters": [
|
|
154514
|
+
{
|
|
154515
|
+
"kind": "infer",
|
|
154516
|
+
"value": {
|
|
154517
|
+
"kind": "typeParameter",
|
|
154518
|
+
"name": "ME",
|
|
154519
|
+
"required": true
|
|
154520
|
+
}
|
|
154521
|
+
},
|
|
154522
|
+
{
|
|
154523
|
+
"kind": "infer",
|
|
154524
|
+
"value": {
|
|
154525
|
+
"kind": "typeParameter",
|
|
154526
|
+
"name": "VE",
|
|
154527
|
+
"required": true
|
|
154528
|
+
}
|
|
154529
|
+
},
|
|
154530
|
+
{
|
|
154531
|
+
"kind": "primitive",
|
|
154532
|
+
"value": "any"
|
|
154533
|
+
},
|
|
154534
|
+
{
|
|
154535
|
+
"kind": "primitive",
|
|
154536
|
+
"value": "any"
|
|
154537
|
+
}
|
|
154538
|
+
],
|
|
154539
|
+
"value": "BaseStencil<M, V, E, ID>"
|
|
154540
|
+
},
|
|
154541
|
+
"trueType": {
|
|
154542
|
+
"kind": "intersection",
|
|
154543
|
+
"value": [
|
|
154544
|
+
{
|
|
154545
|
+
"kind": "symbol",
|
|
154546
|
+
"name": "ModifierValuesStencil",
|
|
154547
|
+
"typeParameters": [
|
|
154548
|
+
{
|
|
154549
|
+
"kind": "intersection",
|
|
154550
|
+
"value": [
|
|
154551
|
+
{
|
|
154552
|
+
"kind": "symbol",
|
|
154553
|
+
"name": "ME",
|
|
154554
|
+
"value": "ME"
|
|
154555
|
+
},
|
|
154556
|
+
{
|
|
154557
|
+
"kind": "symbol",
|
|
154558
|
+
"name": "M",
|
|
154559
|
+
"value": "M"
|
|
154560
|
+
}
|
|
154561
|
+
]
|
|
154562
|
+
}
|
|
154563
|
+
],
|
|
154564
|
+
"value": "ModifierValuesStencil<M>"
|
|
154565
|
+
},
|
|
154566
|
+
{
|
|
154567
|
+
"kind": "symbol",
|
|
154568
|
+
"name": "VariableValuesStencil",
|
|
154569
|
+
"typeParameters": [
|
|
154570
|
+
{
|
|
154571
|
+
"kind": "intersection",
|
|
154572
|
+
"value": [
|
|
154573
|
+
{
|
|
154574
|
+
"kind": "symbol",
|
|
154575
|
+
"name": "VE",
|
|
154576
|
+
"value": "VE"
|
|
154577
|
+
},
|
|
154578
|
+
{
|
|
154579
|
+
"kind": "symbol",
|
|
154580
|
+
"name": "V",
|
|
154581
|
+
"value": "V"
|
|
154582
|
+
}
|
|
154583
|
+
]
|
|
154584
|
+
}
|
|
154585
|
+
],
|
|
154586
|
+
"value": "VariableValuesStencil<V>"
|
|
154587
|
+
}
|
|
154588
|
+
]
|
|
154589
|
+
},
|
|
154590
|
+
"falseType": {
|
|
154591
|
+
"kind": "primitive",
|
|
154592
|
+
"value": "never"
|
|
154593
|
+
}
|
|
154594
|
+
}
|
|
154595
|
+
},
|
|
154596
|
+
"required": false,
|
|
154597
|
+
"rest": false,
|
|
154598
|
+
"description": "",
|
|
154599
|
+
"declarations": [
|
|
154600
|
+
{
|
|
154601
|
+
"name": "options",
|
|
154602
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
154603
|
+
}
|
|
154604
|
+
],
|
|
154605
|
+
"tags": {}
|
|
154606
|
+
}
|
|
154607
|
+
],
|
|
154608
|
+
"members": [
|
|
154609
|
+
{
|
|
154610
|
+
"kind": "property",
|
|
154611
|
+
"name": "vars",
|
|
154612
|
+
"required": true,
|
|
154613
|
+
"type": {
|
|
154614
|
+
"kind": "symbol",
|
|
154615
|
+
"name": "StencilDefaultVars",
|
|
154616
|
+
"typeParameters": [
|
|
154617
|
+
{
|
|
154618
|
+
"kind": "symbol",
|
|
154619
|
+
"name": "V",
|
|
154620
|
+
"value": "V"
|
|
154621
|
+
},
|
|
154622
|
+
{
|
|
154623
|
+
"kind": "symbol",
|
|
154624
|
+
"name": "E",
|
|
154625
|
+
"value": "E"
|
|
154626
|
+
},
|
|
154627
|
+
{
|
|
154628
|
+
"kind": "symbol",
|
|
154629
|
+
"name": "ID",
|
|
154630
|
+
"value": "ID"
|
|
154631
|
+
}
|
|
154632
|
+
],
|
|
154633
|
+
"value": "StencilDefaultVars<V, E, ID>"
|
|
154634
|
+
},
|
|
154635
|
+
"description": "",
|
|
154636
|
+
"declarations": [
|
|
154637
|
+
{
|
|
154638
|
+
"name": "vars",
|
|
154639
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
154640
|
+
}
|
|
154641
|
+
],
|
|
154642
|
+
"tags": {}
|
|
154643
|
+
},
|
|
154644
|
+
{
|
|
154645
|
+
"kind": "property",
|
|
154646
|
+
"name": "base",
|
|
154647
|
+
"required": true,
|
|
154648
|
+
"type": {
|
|
154649
|
+
"kind": "primitive",
|
|
154650
|
+
"value": "string"
|
|
154651
|
+
},
|
|
154652
|
+
"description": "",
|
|
154653
|
+
"declarations": [
|
|
154654
|
+
{
|
|
154655
|
+
"name": "base",
|
|
154656
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
154657
|
+
}
|
|
154658
|
+
],
|
|
154659
|
+
"tags": {}
|
|
154660
|
+
},
|
|
154661
|
+
{
|
|
154662
|
+
"kind": "property",
|
|
154663
|
+
"name": "modifiers",
|
|
154664
|
+
"required": true,
|
|
154665
|
+
"type": {
|
|
154666
|
+
"kind": "conditional",
|
|
154667
|
+
"check": {
|
|
154668
|
+
"kind": "tuple",
|
|
154669
|
+
"value": [
|
|
154670
|
+
{
|
|
154671
|
+
"kind": "symbol",
|
|
154672
|
+
"name": "E",
|
|
154673
|
+
"value": "E"
|
|
154674
|
+
}
|
|
154675
|
+
]
|
|
154676
|
+
},
|
|
154677
|
+
"extends": {
|
|
154678
|
+
"kind": "tuple",
|
|
154679
|
+
"value": [
|
|
154680
|
+
{
|
|
154681
|
+
"kind": "symbol",
|
|
154682
|
+
"name": "BaseStencil",
|
|
154683
|
+
"typeParameters": [
|
|
154684
|
+
{
|
|
154685
|
+
"kind": "infer",
|
|
154686
|
+
"value": {
|
|
154687
|
+
"kind": "typeParameter",
|
|
154688
|
+
"name": "ME",
|
|
154689
|
+
"required": true
|
|
154690
|
+
}
|
|
154691
|
+
},
|
|
154692
|
+
{
|
|
154693
|
+
"kind": "infer",
|
|
154694
|
+
"value": {
|
|
154695
|
+
"kind": "typeParameter",
|
|
154696
|
+
"name": "VE",
|
|
154697
|
+
"required": true
|
|
154698
|
+
}
|
|
154699
|
+
},
|
|
154700
|
+
{
|
|
154701
|
+
"kind": "primitive",
|
|
154702
|
+
"value": "any"
|
|
154703
|
+
},
|
|
154704
|
+
{
|
|
154705
|
+
"kind": "primitive",
|
|
154706
|
+
"value": "any"
|
|
154707
|
+
}
|
|
154708
|
+
],
|
|
154709
|
+
"value": "BaseStencil<M, V, E, ID>"
|
|
154710
|
+
}
|
|
154711
|
+
]
|
|
154712
|
+
},
|
|
154713
|
+
"trueType": {
|
|
154714
|
+
"kind": "symbol",
|
|
154715
|
+
"name": "StencilModifierReturn",
|
|
154716
|
+
"typeParameters": [
|
|
154717
|
+
{
|
|
154718
|
+
"kind": "intersection",
|
|
154719
|
+
"value": [
|
|
154720
|
+
{
|
|
154721
|
+
"kind": "symbol",
|
|
154722
|
+
"name": "ME",
|
|
154723
|
+
"value": "ME"
|
|
154724
|
+
},
|
|
154725
|
+
{
|
|
154726
|
+
"kind": "symbol",
|
|
154727
|
+
"name": "M",
|
|
154728
|
+
"value": "M"
|
|
154729
|
+
}
|
|
154730
|
+
]
|
|
154731
|
+
},
|
|
154732
|
+
{
|
|
154733
|
+
"kind": "intersection",
|
|
154734
|
+
"value": [
|
|
154735
|
+
{
|
|
154736
|
+
"kind": "symbol",
|
|
154737
|
+
"name": "VE",
|
|
154738
|
+
"value": "VE"
|
|
154739
|
+
},
|
|
154740
|
+
{
|
|
154741
|
+
"kind": "symbol",
|
|
154742
|
+
"name": "V",
|
|
154743
|
+
"value": "V"
|
|
154744
|
+
}
|
|
154745
|
+
]
|
|
154746
|
+
}
|
|
154747
|
+
],
|
|
154748
|
+
"value": "StencilModifierReturn<M, V>"
|
|
154749
|
+
},
|
|
154750
|
+
"falseType": {
|
|
154751
|
+
"kind": "symbol",
|
|
154752
|
+
"name": "StencilModifierReturn",
|
|
154753
|
+
"typeParameters": [
|
|
154754
|
+
{
|
|
154755
|
+
"kind": "symbol",
|
|
154756
|
+
"name": "M",
|
|
154757
|
+
"value": "M"
|
|
154758
|
+
},
|
|
154759
|
+
{
|
|
154760
|
+
"kind": "symbol",
|
|
154761
|
+
"name": "V",
|
|
154762
|
+
"value": "V"
|
|
154763
|
+
}
|
|
154764
|
+
],
|
|
154765
|
+
"value": "StencilModifierReturn<M, V>"
|
|
154766
|
+
}
|
|
154767
|
+
},
|
|
154768
|
+
"description": "",
|
|
154769
|
+
"declarations": [
|
|
154770
|
+
{
|
|
154771
|
+
"name": "modifiers",
|
|
154772
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
154773
|
+
}
|
|
154774
|
+
],
|
|
154775
|
+
"tags": {}
|
|
154776
|
+
},
|
|
154777
|
+
{
|
|
154778
|
+
"kind": "property",
|
|
154779
|
+
"name": "defaultModifiers",
|
|
154780
|
+
"required": true,
|
|
154781
|
+
"type": {
|
|
154782
|
+
"kind": "unknown",
|
|
154783
|
+
"value": "unknown",
|
|
154784
|
+
"text": "{\n [K in keyof M]?: keyof M[K];\n }"
|
|
154785
|
+
},
|
|
154786
|
+
"description": "",
|
|
154787
|
+
"declarations": [
|
|
154788
|
+
{
|
|
154789
|
+
"name": "defaultModifiers",
|
|
154790
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
154791
|
+
}
|
|
154792
|
+
],
|
|
154793
|
+
"tags": {}
|
|
154794
|
+
},
|
|
154795
|
+
{
|
|
154796
|
+
"kind": "property",
|
|
154797
|
+
"name": "__extends",
|
|
154798
|
+
"required": false,
|
|
154799
|
+
"type": {
|
|
154800
|
+
"kind": "symbol",
|
|
154801
|
+
"name": "E",
|
|
154802
|
+
"value": "E"
|
|
154803
|
+
},
|
|
154804
|
+
"description": "",
|
|
154805
|
+
"declarations": [
|
|
154806
|
+
{
|
|
154807
|
+
"name": "__extends",
|
|
154808
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
154809
|
+
}
|
|
154810
|
+
],
|
|
154811
|
+
"tags": {}
|
|
154812
|
+
},
|
|
154813
|
+
{
|
|
154814
|
+
"kind": "property",
|
|
154815
|
+
"name": "__vars",
|
|
154816
|
+
"required": true,
|
|
154817
|
+
"type": {
|
|
154818
|
+
"kind": "symbol",
|
|
154819
|
+
"name": "V",
|
|
154820
|
+
"value": "V"
|
|
154821
|
+
},
|
|
154822
|
+
"description": "",
|
|
154823
|
+
"declarations": [
|
|
154824
|
+
{
|
|
154825
|
+
"name": "__vars",
|
|
154826
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
154827
|
+
}
|
|
154828
|
+
],
|
|
154829
|
+
"tags": {}
|
|
154830
|
+
},
|
|
154831
|
+
{
|
|
154832
|
+
"kind": "property",
|
|
154833
|
+
"name": "__modifiers",
|
|
154834
|
+
"required": true,
|
|
154835
|
+
"type": {
|
|
154836
|
+
"kind": "symbol",
|
|
154837
|
+
"name": "M",
|
|
154838
|
+
"value": "M"
|
|
154839
|
+
},
|
|
154840
|
+
"description": "",
|
|
154841
|
+
"declarations": [
|
|
154842
|
+
{
|
|
154843
|
+
"name": "__modifiers",
|
|
154844
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
154845
|
+
}
|
|
154846
|
+
],
|
|
154847
|
+
"tags": {}
|
|
154848
|
+
},
|
|
154849
|
+
{
|
|
154850
|
+
"kind": "property",
|
|
154851
|
+
"name": "__id",
|
|
154852
|
+
"required": true,
|
|
154853
|
+
"type": {
|
|
154854
|
+
"kind": "symbol",
|
|
154855
|
+
"name": "ID",
|
|
154856
|
+
"value": "ID"
|
|
154857
|
+
},
|
|
154858
|
+
"description": "",
|
|
154859
|
+
"declarations": [
|
|
154860
|
+
{
|
|
154861
|
+
"name": "__id",
|
|
154862
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
154863
|
+
}
|
|
154864
|
+
],
|
|
154865
|
+
"tags": {}
|
|
154866
|
+
}
|
|
154867
|
+
],
|
|
154868
|
+
"returnType": {
|
|
154869
|
+
"kind": "object",
|
|
154870
|
+
"properties": [
|
|
154871
|
+
{
|
|
154872
|
+
"kind": "property",
|
|
154873
|
+
"name": "className",
|
|
154874
|
+
"required": true,
|
|
154875
|
+
"type": {
|
|
154876
|
+
"kind": "primitive",
|
|
154877
|
+
"value": "string"
|
|
154878
|
+
},
|
|
154879
|
+
"description": "",
|
|
154880
|
+
"declarations": [
|
|
154881
|
+
{
|
|
154882
|
+
"name": "className",
|
|
154883
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
154884
|
+
}
|
|
154885
|
+
],
|
|
154886
|
+
"tags": {}
|
|
154887
|
+
},
|
|
154888
|
+
{
|
|
154889
|
+
"kind": "property",
|
|
154890
|
+
"name": "style",
|
|
154891
|
+
"required": false,
|
|
154892
|
+
"type": {
|
|
154893
|
+
"kind": "external",
|
|
154894
|
+
"name": "Record",
|
|
154895
|
+
"url": "https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type",
|
|
154896
|
+
"typeParameters": [
|
|
154897
|
+
{
|
|
154898
|
+
"kind": "primitive",
|
|
154899
|
+
"value": "string"
|
|
154900
|
+
},
|
|
154901
|
+
{
|
|
154902
|
+
"kind": "primitive",
|
|
154903
|
+
"value": "string"
|
|
154904
|
+
}
|
|
154905
|
+
]
|
|
154906
|
+
},
|
|
154907
|
+
"description": "",
|
|
154908
|
+
"declarations": [
|
|
154909
|
+
{
|
|
154910
|
+
"name": "style",
|
|
154911
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
154912
|
+
}
|
|
154913
|
+
],
|
|
154914
|
+
"tags": {}
|
|
154915
|
+
}
|
|
154916
|
+
]
|
|
154917
|
+
}
|
|
154918
|
+
}
|
|
154919
|
+
},
|
|
153465
154920
|
{
|
|
153466
154921
|
"name": "MenuList",
|
|
153467
154922
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/menu/lib/MenuList.tsx",
|
|
@@ -199441,22 +200896,110 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
199441
200896
|
"props": [
|
|
199442
200897
|
{
|
|
199443
200898
|
"kind": "property",
|
|
199444
|
-
"name": "
|
|
199445
|
-
"required":
|
|
200899
|
+
"name": "cs",
|
|
200900
|
+
"required": false,
|
|
199446
200901
|
"type": {
|
|
199447
|
-
"kind": "
|
|
199448
|
-
"name": "
|
|
199449
|
-
"
|
|
200902
|
+
"kind": "symbol",
|
|
200903
|
+
"name": "CSToPropsInput",
|
|
200904
|
+
"value": "CSToPropsInput"
|
|
200905
|
+
},
|
|
200906
|
+
"description": "The `cs` prop takes in a single value or an array of values. You can pass the CSS class name\nreturned by {@link createStyles}, or the result of {@link createVars} and\n{@link createModifiers}. If you're extending a component already using `cs`, you can merge that\nprop in as well. Any style that is passed to the `cs` prop will override style props. If you\nwish to have styles that are overridden by the `css` prop, or styles added via the `styled`\nAPI, use {@link handleCsProp} wherever `elemProps` is used. If your component needs to also\nhandle style props, use {@link mergeStyles} instead.\n\n\n```tsx\nimport {handleCsProp} from '@workday/canvas-kit-styling';\nimport {mergeStyles} from '@workday/canvas-kit-react/layout';\n\n// ...\n\n// `handleCsProp` handles compat mode with Emotion's runtime APIs. `mergeStyles` has the same\n// function signature, but adds support for style props.\n\nreturn (\n <Element\n {...handleCsProp(elemProps, [\n myStyles,\n myModifiers({ size: 'medium' }),\n myVars({ backgroundColor: 'red' })\n ])}\n >\n {children}\n </Element>\n)\n```",
|
|
200907
|
+
"declarations": [
|
|
200908
|
+
{
|
|
200909
|
+
"name": "cs",
|
|
200910
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
200911
|
+
}
|
|
200912
|
+
],
|
|
200913
|
+
"tags": {}
|
|
200914
|
+
},
|
|
200915
|
+
{
|
|
200916
|
+
"kind": "property",
|
|
200917
|
+
"name": "ref",
|
|
200918
|
+
"required": false,
|
|
200919
|
+
"type": {
|
|
200920
|
+
"kind": "generic",
|
|
200921
|
+
"name": "ExtractRef"
|
|
200922
|
+
},
|
|
200923
|
+
"description": "Optional ref. If the component represents an element, this ref will be a reference to the\nreal DOM element of the component. If `as` is set to an element, it will be that element.\nIf `as` is a component, the reference will be to that component (or element if the component\nuses `React.forwardRef`).",
|
|
200924
|
+
"declarations": [
|
|
200925
|
+
{
|
|
200926
|
+
"name": "ref",
|
|
200927
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/utils/components.ts"
|
|
200928
|
+
}
|
|
200929
|
+
],
|
|
200930
|
+
"tags": {}
|
|
200931
|
+
},
|
|
200932
|
+
{
|
|
200933
|
+
"kind": "property",
|
|
200934
|
+
"name": "theme",
|
|
200935
|
+
"required": false,
|
|
200936
|
+
"type": {
|
|
200937
|
+
"kind": "symbol",
|
|
200938
|
+
"name": "Theme",
|
|
200939
|
+
"value": "Theme"
|
|
199450
200940
|
},
|
|
199451
200941
|
"description": "",
|
|
199452
200942
|
"declarations": [
|
|
199453
200943
|
{
|
|
199454
|
-
"name": "
|
|
199455
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/
|
|
200944
|
+
"name": "theme",
|
|
200945
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/node_modules/@emotion/styled/types/base.d.ts"
|
|
199456
200946
|
}
|
|
199457
200947
|
],
|
|
199458
200948
|
"tags": {}
|
|
199459
200949
|
},
|
|
200950
|
+
{
|
|
200951
|
+
"kind": "property",
|
|
200952
|
+
"name": "as",
|
|
200953
|
+
"required": false,
|
|
200954
|
+
"type": {
|
|
200955
|
+
"kind": "symbol",
|
|
200956
|
+
"name": "React.ElementType",
|
|
200957
|
+
"value": "ElementType<P>"
|
|
200958
|
+
},
|
|
200959
|
+
"description": "",
|
|
200960
|
+
"declarations": [
|
|
200961
|
+
{
|
|
200962
|
+
"name": "as",
|
|
200963
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/utils/components.ts"
|
|
200964
|
+
}
|
|
200965
|
+
],
|
|
200966
|
+
"tags": {}
|
|
200967
|
+
},
|
|
200968
|
+
{
|
|
200969
|
+
"kind": "property",
|
|
200970
|
+
"name": "isDisabled",
|
|
200971
|
+
"required": false,
|
|
200972
|
+
"type": {
|
|
200973
|
+
"kind": "primitive",
|
|
200974
|
+
"value": "boolean"
|
|
200975
|
+
},
|
|
200976
|
+
"description": "If true, set the StyledMenuItem to the disabled state so it is not clickable.",
|
|
200977
|
+
"declarations": [
|
|
200978
|
+
{
|
|
200979
|
+
"name": "isDisabled",
|
|
200980
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/menu/lib/MenuItem.tsx"
|
|
200981
|
+
}
|
|
200982
|
+
],
|
|
200983
|
+
"tags": {
|
|
200984
|
+
"default": "false"
|
|
200985
|
+
},
|
|
200986
|
+
"defaultValue": {
|
|
200987
|
+
"kind": "boolean",
|
|
200988
|
+
"value": false
|
|
200989
|
+
}
|
|
200990
|
+
},
|
|
200991
|
+
{
|
|
200992
|
+
"kind": "property",
|
|
200993
|
+
"name": "children",
|
|
200994
|
+
"description": "",
|
|
200995
|
+
"tags": {},
|
|
200996
|
+
"declarations": [],
|
|
200997
|
+
"type": {
|
|
200998
|
+
"kind": "external",
|
|
200999
|
+
"name": "React.ReactNode",
|
|
201000
|
+
"url": "https://reactjs.org/docs/rendering-elements.html"
|
|
201001
|
+
}
|
|
201002
|
+
},
|
|
199460
201003
|
{
|
|
199461
201004
|
"kind": "property",
|
|
199462
201005
|
"name": "as",
|
|
@@ -199556,6 +201099,10 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
199556
201099
|
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li"
|
|
199557
201100
|
},
|
|
199558
201101
|
"subComponents": [],
|
|
201102
|
+
"styleComponent": {
|
|
201103
|
+
"kind": "symbol",
|
|
201104
|
+
"name": "Box"
|
|
201105
|
+
},
|
|
199559
201106
|
"model": "SelectModel"
|
|
199560
201107
|
}
|
|
199561
201108
|
},
|
|
@@ -246425,11 +247972,11 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
246425
247972
|
},
|
|
246426
247973
|
{
|
|
246427
247974
|
"kind": "string",
|
|
246428
|
-
"value": "
|
|
247975
|
+
"value": "1.25rem"
|
|
246429
247976
|
},
|
|
246430
247977
|
{
|
|
246431
247978
|
"kind": "string",
|
|
246432
|
-
"value": "
|
|
247979
|
+
"value": "1rem"
|
|
246433
247980
|
},
|
|
246434
247981
|
{
|
|
246435
247982
|
"kind": "string",
|