@momentum-design/components 0.56.2 → 0.58.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/browser/index.js +329 -294
- package/dist/browser/index.js.map +4 -4
- package/dist/components/link/link.component.d.ts +7 -59
- package/dist/components/link/link.component.js +7 -109
- package/dist/components/link/link.constants.d.ts +0 -2
- package/dist/components/link/link.constants.js +0 -2
- package/dist/components/link/link.styles.d.ts +2 -2
- package/dist/components/link/link.styles.js +4 -57
- package/dist/components/linksimple/index.d.ts +7 -0
- package/dist/components/linksimple/index.js +4 -0
- package/dist/components/linksimple/linksimple.component.d.ts +73 -0
- package/dist/components/linksimple/linksimple.component.js +141 -0
- package/dist/components/linksimple/linksimple.constants.d.ts +6 -0
- package/dist/components/linksimple/linksimple.constants.js +7 -0
- package/dist/components/linksimple/linksimple.styles.d.ts +2 -0
- package/dist/components/linksimple/linksimple.styles.js +72 -0
- package/dist/components/linksimple/linksimple.types.d.ts +7 -0
- package/dist/components/linksimple/linksimple.types.js +1 -0
- package/dist/components/statictoggle/index.d.ts +8 -0
- package/dist/components/statictoggle/index.js +5 -0
- package/dist/components/statictoggle/statictoggle.component.d.ts +48 -0
- package/dist/components/statictoggle/statictoggle.component.js +82 -0
- package/dist/components/statictoggle/statictoggle.constants.d.ts +17 -0
- package/dist/components/statictoggle/statictoggle.constants.js +18 -0
- package/dist/components/statictoggle/statictoggle.styles.d.ts +2 -0
- package/dist/components/statictoggle/statictoggle.styles.js +82 -0
- package/dist/components/statictoggle/statictoggle.types.d.ts +4 -0
- package/dist/components/statictoggle/statictoggle.types.js +1 -0
- package/dist/components/toggle/index.d.ts +2 -1
- package/dist/components/toggle/index.js +2 -1
- package/dist/components/toggle/toggle.component.d.ts +16 -20
- package/dist/components/toggle/toggle.component.js +27 -33
- package/dist/components/toggle/toggle.styles.js +26 -96
- package/dist/custom-elements.json +636 -118
- package/dist/index.d.ts +3 -1
- package/dist/index.js +3 -1
- package/dist/react/index.d.ts +2 -0
- package/dist/react/index.js +2 -0
- package/dist/react/link/index.d.ts +4 -16
- package/dist/react/link/index.js +4 -16
- package/dist/react/linksimple/index.d.ts +34 -0
- package/dist/react/linksimple/index.js +42 -0
- package/dist/react/statictoggle/index.d.ts +30 -0
- package/dist/react/statictoggle/index.js +39 -0
- package/dist/react/toggle/index.d.ts +14 -18
- package/dist/react/toggle/index.js +14 -18
- package/package.json +1 -1
@@ -8615,50 +8615,470 @@
|
|
8615
8615
|
"kind": "class",
|
8616
8616
|
"description": "`mdc-link` component can be used to navigate to a different page\nwithin the application or to an external site. It can be used to link to\nemails or phone numbers.\n\nThe `children` of the link component is expected to be the text content.\n\nFor `icon`, the `mdc-icon` component is used to render the icon.",
|
8617
8617
|
"name": "Link",
|
8618
|
+
"members": [
|
8619
|
+
{
|
8620
|
+
"kind": "field",
|
8621
|
+
"name": "size",
|
8622
|
+
"type": {
|
8623
|
+
"text": "LinkSize"
|
8624
|
+
},
|
8625
|
+
"description": "Size of the link.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'",
|
8626
|
+
"default": "large",
|
8627
|
+
"attribute": "size",
|
8628
|
+
"reflects": true
|
8629
|
+
},
|
8630
|
+
{
|
8631
|
+
"kind": "method",
|
8632
|
+
"name": "getIconSize",
|
8633
|
+
"privacy": "private",
|
8634
|
+
"return": {
|
8635
|
+
"type": {
|
8636
|
+
"text": ""
|
8637
|
+
}
|
8638
|
+
},
|
8639
|
+
"description": "Method to get the size of the trailing icon based on the link size."
|
8640
|
+
},
|
8641
|
+
{
|
8642
|
+
"kind": "field",
|
8643
|
+
"name": "iconName",
|
8644
|
+
"type": {
|
8645
|
+
"text": "IconNames | undefined"
|
8646
|
+
},
|
8647
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
8648
|
+
"attribute": "icon-name",
|
8649
|
+
"inheritedFrom": {
|
8650
|
+
"name": "IconNameMixin",
|
8651
|
+
"module": "utils/mixins/IconNameMixin.js"
|
8652
|
+
}
|
8653
|
+
},
|
8654
|
+
{
|
8655
|
+
"kind": "field",
|
8656
|
+
"name": "disabled",
|
8657
|
+
"type": {
|
8658
|
+
"text": "boolean | undefined"
|
8659
|
+
},
|
8660
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
8661
|
+
"default": "undefined",
|
8662
|
+
"attribute": "disabled",
|
8663
|
+
"reflects": true,
|
8664
|
+
"inheritedFrom": {
|
8665
|
+
"name": "DisabledMixin",
|
8666
|
+
"module": "utils/mixins/DisabledMixin.js"
|
8667
|
+
}
|
8668
|
+
},
|
8669
|
+
{
|
8670
|
+
"kind": "field",
|
8671
|
+
"name": "tabIndex",
|
8672
|
+
"type": {
|
8673
|
+
"text": "number"
|
8674
|
+
},
|
8675
|
+
"default": "0",
|
8676
|
+
"description": "This property specifies the tab order of the element.",
|
8677
|
+
"attribute": "tabIndex",
|
8678
|
+
"reflects": true,
|
8679
|
+
"inheritedFrom": {
|
8680
|
+
"name": "TabIndexMixin",
|
8681
|
+
"module": "utils/mixins/TabIndexMixin.js"
|
8682
|
+
}
|
8683
|
+
},
|
8684
|
+
{
|
8685
|
+
"kind": "field",
|
8686
|
+
"name": "inline",
|
8687
|
+
"type": {
|
8688
|
+
"text": "boolean"
|
8689
|
+
},
|
8690
|
+
"description": "The link can be inline or standalone.",
|
8691
|
+
"default": "false",
|
8692
|
+
"attribute": "inline",
|
8693
|
+
"reflects": true,
|
8694
|
+
"inheritedFrom": {
|
8695
|
+
"name": "Linksimple",
|
8696
|
+
"module": "components/linksimple/linksimple.component.js"
|
8697
|
+
}
|
8698
|
+
},
|
8699
|
+
{
|
8700
|
+
"kind": "field",
|
8701
|
+
"name": "inverted",
|
8702
|
+
"type": {
|
8703
|
+
"text": "boolean"
|
8704
|
+
},
|
8705
|
+
"description": "The link color can be inverted by setting the inverted attribute to true.",
|
8706
|
+
"default": "false",
|
8707
|
+
"attribute": "inverted",
|
8708
|
+
"reflects": true,
|
8709
|
+
"inheritedFrom": {
|
8710
|
+
"name": "Linksimple",
|
8711
|
+
"module": "components/linksimple/linksimple.component.js"
|
8712
|
+
}
|
8713
|
+
},
|
8714
|
+
{
|
8715
|
+
"kind": "field",
|
8716
|
+
"name": "href",
|
8717
|
+
"type": {
|
8718
|
+
"text": "string"
|
8719
|
+
},
|
8720
|
+
"default": "'#'",
|
8721
|
+
"description": "Href for navigation. The URL that the hyperlink points to",
|
8722
|
+
"attribute": "href",
|
8723
|
+
"reflects": true,
|
8724
|
+
"inheritedFrom": {
|
8725
|
+
"name": "Linksimple",
|
8726
|
+
"module": "components/linksimple/linksimple.component.js"
|
8727
|
+
}
|
8728
|
+
},
|
8729
|
+
{
|
8730
|
+
"kind": "field",
|
8731
|
+
"name": "target",
|
8732
|
+
"type": {
|
8733
|
+
"text": "string"
|
8734
|
+
},
|
8735
|
+
"default": "'_self'",
|
8736
|
+
"description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
|
8737
|
+
"attribute": "target",
|
8738
|
+
"reflects": true,
|
8739
|
+
"inheritedFrom": {
|
8740
|
+
"name": "Linksimple",
|
8741
|
+
"module": "components/linksimple/linksimple.component.js"
|
8742
|
+
}
|
8743
|
+
},
|
8744
|
+
{
|
8745
|
+
"kind": "field",
|
8746
|
+
"name": "rel",
|
8747
|
+
"type": {
|
8748
|
+
"text": "string | undefined"
|
8749
|
+
},
|
8750
|
+
"description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
|
8751
|
+
"attribute": "rel",
|
8752
|
+
"reflects": true,
|
8753
|
+
"inheritedFrom": {
|
8754
|
+
"name": "Linksimple",
|
8755
|
+
"module": "components/linksimple/linksimple.component.js"
|
8756
|
+
}
|
8757
|
+
},
|
8758
|
+
{
|
8759
|
+
"kind": "field",
|
8760
|
+
"name": "handleNavigation",
|
8761
|
+
"privacy": "private",
|
8762
|
+
"inheritedFrom": {
|
8763
|
+
"name": "Linksimple",
|
8764
|
+
"module": "components/linksimple/linksimple.component.js"
|
8765
|
+
}
|
8766
|
+
},
|
8767
|
+
{
|
8768
|
+
"kind": "method",
|
8769
|
+
"name": "setDisabled",
|
8770
|
+
"privacy": "private",
|
8771
|
+
"parameters": [
|
8772
|
+
{
|
8773
|
+
"name": "disabled",
|
8774
|
+
"type": {
|
8775
|
+
"text": "boolean"
|
8776
|
+
},
|
8777
|
+
"description": "Whether the element should be disabled"
|
8778
|
+
}
|
8779
|
+
],
|
8780
|
+
"description": "Sets or removes `aria-disabled` and updates `tabIndex` to reflect\nthe disabled state. When disabled, the element becomes unfocusable;\nwhen enabled, the previous `tabIndex` is restored.",
|
8781
|
+
"inheritedFrom": {
|
8782
|
+
"name": "Linksimple",
|
8783
|
+
"module": "components/linksimple/linksimple.component.js"
|
8784
|
+
}
|
8785
|
+
}
|
8786
|
+
],
|
8787
|
+
"events": [
|
8788
|
+
{
|
8789
|
+
"description": "(React: onClick) Fired when the user activates the Link using a mouse or assistive technology.",
|
8790
|
+
"name": "click",
|
8791
|
+
"reactName": "onClick",
|
8792
|
+
"inheritedFrom": {
|
8793
|
+
"name": "Linksimple",
|
8794
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
8795
|
+
}
|
8796
|
+
},
|
8797
|
+
{
|
8798
|
+
"description": "(React: onKeyDown) Fired when the user presses a key while the Link has focus.",
|
8799
|
+
"name": "keydown",
|
8800
|
+
"reactName": "onKeyDown",
|
8801
|
+
"inheritedFrom": {
|
8802
|
+
"name": "Linksimple",
|
8803
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
8804
|
+
}
|
8805
|
+
},
|
8806
|
+
{
|
8807
|
+
"description": "(React: onFocus) Fired when the Link receives keyboard or mouse focus.",
|
8808
|
+
"name": "focus",
|
8809
|
+
"reactName": "onFocus",
|
8810
|
+
"inheritedFrom": {
|
8811
|
+
"name": "Linksimple",
|
8812
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
8813
|
+
}
|
8814
|
+
},
|
8815
|
+
{
|
8816
|
+
"description": "(React: onBlur) Fired when the Link loses keyboard or mouse focus.",
|
8817
|
+
"name": "blur",
|
8818
|
+
"reactName": "onBlur",
|
8819
|
+
"inheritedFrom": {
|
8820
|
+
"name": "Linksimple",
|
8821
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
8822
|
+
}
|
8823
|
+
}
|
8824
|
+
],
|
8825
|
+
"attributes": [
|
8826
|
+
{
|
8827
|
+
"name": "size",
|
8828
|
+
"type": {
|
8829
|
+
"text": "LinkSize"
|
8830
|
+
},
|
8831
|
+
"description": "Size of the link.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'",
|
8832
|
+
"default": "large",
|
8833
|
+
"fieldName": "size"
|
8834
|
+
},
|
8835
|
+
{
|
8836
|
+
"name": "icon-name",
|
8837
|
+
"type": {
|
8838
|
+
"text": "IconNames | undefined"
|
8839
|
+
},
|
8840
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
8841
|
+
"fieldName": "iconName",
|
8842
|
+
"inheritedFrom": {
|
8843
|
+
"name": "IconNameMixin",
|
8844
|
+
"module": "src/utils/mixins/IconNameMixin.ts"
|
8845
|
+
}
|
8846
|
+
},
|
8847
|
+
{
|
8848
|
+
"name": "disabled",
|
8849
|
+
"type": {
|
8850
|
+
"text": "boolean | undefined"
|
8851
|
+
},
|
8852
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
8853
|
+
"default": "undefined",
|
8854
|
+
"fieldName": "disabled",
|
8855
|
+
"inheritedFrom": {
|
8856
|
+
"name": "DisabledMixin",
|
8857
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
8858
|
+
}
|
8859
|
+
},
|
8860
|
+
{
|
8861
|
+
"name": "tabIndex",
|
8862
|
+
"type": {
|
8863
|
+
"text": "number"
|
8864
|
+
},
|
8865
|
+
"default": "0",
|
8866
|
+
"description": "This property specifies the tab order of the element.",
|
8867
|
+
"fieldName": "tabIndex",
|
8868
|
+
"inheritedFrom": {
|
8869
|
+
"name": "TabIndexMixin",
|
8870
|
+
"module": "src/utils/mixins/TabIndexMixin.ts"
|
8871
|
+
}
|
8872
|
+
},
|
8873
|
+
{
|
8874
|
+
"name": "inline",
|
8875
|
+
"type": {
|
8876
|
+
"text": "boolean"
|
8877
|
+
},
|
8878
|
+
"description": "The link can be inline or standalone.",
|
8879
|
+
"default": "false",
|
8880
|
+
"fieldName": "inline",
|
8881
|
+
"inheritedFrom": {
|
8882
|
+
"name": "Linksimple",
|
8883
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
8884
|
+
}
|
8885
|
+
},
|
8886
|
+
{
|
8887
|
+
"name": "inverted",
|
8888
|
+
"type": {
|
8889
|
+
"text": "boolean"
|
8890
|
+
},
|
8891
|
+
"description": "The link color can be inverted by setting the inverted attribute to true.",
|
8892
|
+
"default": "false",
|
8893
|
+
"fieldName": "inverted",
|
8894
|
+
"inheritedFrom": {
|
8895
|
+
"name": "Linksimple",
|
8896
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
8897
|
+
}
|
8898
|
+
},
|
8899
|
+
{
|
8900
|
+
"name": "href",
|
8901
|
+
"type": {
|
8902
|
+
"text": "string"
|
8903
|
+
},
|
8904
|
+
"default": "'#'",
|
8905
|
+
"description": "Href for navigation. The URL that the hyperlink points to",
|
8906
|
+
"fieldName": "href",
|
8907
|
+
"inheritedFrom": {
|
8908
|
+
"name": "Linksimple",
|
8909
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
8910
|
+
}
|
8911
|
+
},
|
8912
|
+
{
|
8913
|
+
"name": "target",
|
8914
|
+
"type": {
|
8915
|
+
"text": "string"
|
8916
|
+
},
|
8917
|
+
"default": "'_self'",
|
8918
|
+
"description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
|
8919
|
+
"fieldName": "target",
|
8920
|
+
"inheritedFrom": {
|
8921
|
+
"name": "Linksimple",
|
8922
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
8923
|
+
}
|
8924
|
+
},
|
8925
|
+
{
|
8926
|
+
"name": "rel",
|
8927
|
+
"type": {
|
8928
|
+
"text": "string | undefined"
|
8929
|
+
},
|
8930
|
+
"description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
|
8931
|
+
"fieldName": "rel",
|
8932
|
+
"inheritedFrom": {
|
8933
|
+
"name": "Linksimple",
|
8934
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
8935
|
+
}
|
8936
|
+
}
|
8937
|
+
],
|
8938
|
+
"mixins": [
|
8939
|
+
{
|
8940
|
+
"name": "IconNameMixin",
|
8941
|
+
"module": "/src/utils/mixins/IconNameMixin"
|
8942
|
+
}
|
8943
|
+
],
|
8944
|
+
"superclass": {
|
8945
|
+
"name": "Linksimple",
|
8946
|
+
"module": "/src/components/linksimple/linksimple.component"
|
8947
|
+
},
|
8948
|
+
"tagName": "mdc-link",
|
8949
|
+
"jsDoc": "/**\n * `mdc-link` component can be used to navigate to a different page\n * within the application or to an external site. It can be used to link to\n * emails or phone numbers.\n *\n * The `children` of the link component is expected to be the text content.\n *\n * For `icon`, the `mdc-icon` component is used to render the icon.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-link\n *\n * @event click - (React: onClick) Fired when the user activates the Link using a mouse or assistive technology.\n * @event keydown - (React: onKeyDown) Fired when the user presses a key while the Link has focus.\n * @event focus - (React: onFocus) Fired when the Link receives keyboard or mouse focus.\n * @event blur - (React: onBlur) Fired when the Link loses keyboard or mouse focus.\n */",
|
8950
|
+
"customElement": true,
|
8951
|
+
"cssProperties": [
|
8952
|
+
{
|
8953
|
+
"description": "Border radius of the link.",
|
8954
|
+
"name": "--mdc-link-border-radius",
|
8955
|
+
"inheritedFrom": {
|
8956
|
+
"name": "Linksimple",
|
8957
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
8958
|
+
}
|
8959
|
+
},
|
8960
|
+
{
|
8961
|
+
"description": "Color of the link’s child content in the active state.",
|
8962
|
+
"name": "--mdc-link-color-active",
|
8963
|
+
"inheritedFrom": {
|
8964
|
+
"name": "Linksimple",
|
8965
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
8966
|
+
}
|
8967
|
+
},
|
8968
|
+
{
|
8969
|
+
"description": "Color of the link’s child content in the disabled state.",
|
8970
|
+
"name": "--mdc-link-color-disabled",
|
8971
|
+
"inheritedFrom": {
|
8972
|
+
"name": "Linksimple",
|
8973
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
8974
|
+
}
|
8975
|
+
},
|
8976
|
+
{
|
8977
|
+
"description": "Color of the link’s child content in the hover state.",
|
8978
|
+
"name": "--mdc-link-color-hover",
|
8979
|
+
"inheritedFrom": {
|
8980
|
+
"name": "Linksimple",
|
8981
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
8982
|
+
}
|
8983
|
+
},
|
8984
|
+
{
|
8985
|
+
"description": "Color of the link’s child content in the normal state.",
|
8986
|
+
"name": "--mdc-link-color-normal",
|
8987
|
+
"inheritedFrom": {
|
8988
|
+
"name": "Linksimple",
|
8989
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
8990
|
+
}
|
8991
|
+
},
|
8992
|
+
{
|
8993
|
+
"description": "Color of the inverted link’s child content in the active state.",
|
8994
|
+
"name": "--mdc-link-inverted-color-active",
|
8995
|
+
"inheritedFrom": {
|
8996
|
+
"name": "Linksimple",
|
8997
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
8998
|
+
}
|
8999
|
+
},
|
9000
|
+
{
|
9001
|
+
"description": "Color of the inverted link’s child content in the disabled state.",
|
9002
|
+
"name": "--mdc-link-inverted-color-disabled",
|
9003
|
+
"inheritedFrom": {
|
9004
|
+
"name": "Linksimple",
|
9005
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
9006
|
+
}
|
9007
|
+
},
|
9008
|
+
{
|
9009
|
+
"description": "Color of the inverted link’s child content in the hover state.",
|
9010
|
+
"name": "--mdc-link-inverted-color-hover",
|
9011
|
+
"inheritedFrom": {
|
9012
|
+
"name": "Linksimple",
|
9013
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
9014
|
+
}
|
9015
|
+
},
|
9016
|
+
{
|
9017
|
+
"description": "Color of the inverted link’s child content in the normal state.",
|
9018
|
+
"name": "--mdc-link-inverted-color-normal",
|
9019
|
+
"inheritedFrom": {
|
9020
|
+
"name": "Linksimple",
|
9021
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
9022
|
+
}
|
9023
|
+
}
|
9024
|
+
]
|
9025
|
+
}
|
9026
|
+
],
|
9027
|
+
"exports": [
|
9028
|
+
{
|
9029
|
+
"kind": "js",
|
9030
|
+
"name": "default",
|
9031
|
+
"declaration": {
|
9032
|
+
"name": "Link",
|
9033
|
+
"module": "components/link/link.component.js"
|
9034
|
+
}
|
9035
|
+
}
|
9036
|
+
]
|
9037
|
+
},
|
9038
|
+
{
|
9039
|
+
"kind": "javascript-module",
|
9040
|
+
"path": "components/linksimple/linksimple.component.js",
|
9041
|
+
"declarations": [
|
9042
|
+
{
|
9043
|
+
"kind": "class",
|
9044
|
+
"description": "`mdc-linksimple` is a lightweight link component that can be used to navigate\nwithin the application or to an external URL. It does not have any predefined default size.\n\nThe `children` of the `mdc-linksimple` component can be customized to suit\ndifferent use cases, including text, icons, or other inline content. For the child to be an icon,\nthe `mdc-icon` component should be used to render.",
|
9045
|
+
"name": "Linksimple",
|
8618
9046
|
"cssProperties": [
|
8619
9047
|
{
|
8620
|
-
"description": "Border radius of the link",
|
9048
|
+
"description": "Border radius of the link.",
|
8621
9049
|
"name": "--mdc-link-border-radius"
|
8622
9050
|
},
|
8623
9051
|
{
|
8624
|
-
"description": "
|
9052
|
+
"description": "Color of the link’s child content in the active state.",
|
8625
9053
|
"name": "--mdc-link-color-active"
|
8626
9054
|
},
|
8627
9055
|
{
|
8628
|
-
"description": "
|
9056
|
+
"description": "Color of the link’s child content in the disabled state.",
|
8629
9057
|
"name": "--mdc-link-color-disabled"
|
8630
9058
|
},
|
8631
9059
|
{
|
8632
|
-
"description": "
|
9060
|
+
"description": "Color of the link’s child content in the hover state.",
|
8633
9061
|
"name": "--mdc-link-color-hover"
|
8634
9062
|
},
|
8635
9063
|
{
|
8636
|
-
"description": "
|
9064
|
+
"description": "Color of the link’s child content in the normal state.",
|
8637
9065
|
"name": "--mdc-link-color-normal"
|
8638
9066
|
},
|
8639
9067
|
{
|
8640
|
-
"description": "
|
8641
|
-
"name": "--mdc-link-icon-margin-left"
|
8642
|
-
},
|
8643
|
-
{
|
8644
|
-
"description": "Text and icon color of the inverted link in active state",
|
9068
|
+
"description": "Color of the inverted link’s child content in the active state.",
|
8645
9069
|
"name": "--mdc-link-inverted-color-active"
|
8646
9070
|
},
|
8647
9071
|
{
|
8648
|
-
"description": "
|
9072
|
+
"description": "Color of the inverted link’s child content in the disabled state.",
|
8649
9073
|
"name": "--mdc-link-inverted-color-disabled"
|
8650
9074
|
},
|
8651
9075
|
{
|
8652
|
-
"description": "
|
9076
|
+
"description": "Color of the inverted link’s child content in the hover state.",
|
8653
9077
|
"name": "--mdc-link-inverted-color-hover"
|
8654
9078
|
},
|
8655
9079
|
{
|
8656
|
-
"description": "
|
9080
|
+
"description": "Color of the inverted link’s child content in the normal state.",
|
8657
9081
|
"name": "--mdc-link-inverted-color-normal"
|
8658
|
-
},
|
8659
|
-
{
|
8660
|
-
"description": "Text decoration of the link in disabled state for all variants",
|
8661
|
-
"name": "--mdc-link-text-decoration-disabled"
|
8662
9082
|
}
|
8663
9083
|
],
|
8664
9084
|
"members": [
|
@@ -8684,17 +9104,6 @@
|
|
8684
9104
|
"attribute": "inverted",
|
8685
9105
|
"reflects": true
|
8686
9106
|
},
|
8687
|
-
{
|
8688
|
-
"kind": "field",
|
8689
|
-
"name": "size",
|
8690
|
-
"type": {
|
8691
|
-
"text": "LinkSize"
|
8692
|
-
},
|
8693
|
-
"description": "Size of the link.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'",
|
8694
|
-
"default": "large",
|
8695
|
-
"attribute": "size",
|
8696
|
-
"reflects": true
|
8697
|
-
},
|
8698
9107
|
{
|
8699
9108
|
"kind": "field",
|
8700
9109
|
"name": "href",
|
@@ -8732,17 +9141,6 @@
|
|
8732
9141
|
"name": "handleNavigation",
|
8733
9142
|
"privacy": "private"
|
8734
9143
|
},
|
8735
|
-
{
|
8736
|
-
"kind": "method",
|
8737
|
-
"name": "getIconSize",
|
8738
|
-
"privacy": "private",
|
8739
|
-
"return": {
|
8740
|
-
"type": {
|
8741
|
-
"text": ""
|
8742
|
-
}
|
8743
|
-
},
|
8744
|
-
"description": "Method to get the size of the trailing icon based on the link size."
|
8745
|
-
},
|
8746
9144
|
{
|
8747
9145
|
"kind": "method",
|
8748
9146
|
"name": "setDisabled",
|
@@ -8787,19 +9185,6 @@
|
|
8787
9185
|
"name": "TabIndexMixin",
|
8788
9186
|
"module": "utils/mixins/TabIndexMixin.js"
|
8789
9187
|
}
|
8790
|
-
},
|
8791
|
-
{
|
8792
|
-
"kind": "field",
|
8793
|
-
"name": "iconName",
|
8794
|
-
"type": {
|
8795
|
-
"text": "IconNames | undefined"
|
8796
|
-
},
|
8797
|
-
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
8798
|
-
"attribute": "icon-name",
|
8799
|
-
"inheritedFrom": {
|
8800
|
-
"name": "IconNameMixin",
|
8801
|
-
"module": "utils/mixins/IconNameMixin.js"
|
8802
|
-
}
|
8803
9188
|
}
|
8804
9189
|
],
|
8805
9190
|
"events": [
|
@@ -8843,15 +9228,6 @@
|
|
8843
9228
|
"default": "false",
|
8844
9229
|
"fieldName": "inverted"
|
8845
9230
|
},
|
8846
|
-
{
|
8847
|
-
"name": "size",
|
8848
|
-
"type": {
|
8849
|
-
"text": "LinkSize"
|
8850
|
-
},
|
8851
|
-
"description": "Size of the link.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'",
|
8852
|
-
"default": "large",
|
8853
|
-
"fieldName": "size"
|
8854
|
-
},
|
8855
9231
|
{
|
8856
9232
|
"name": "href",
|
8857
9233
|
"type": {
|
@@ -8903,18 +9279,6 @@
|
|
8903
9279
|
"name": "TabIndexMixin",
|
8904
9280
|
"module": "src/utils/mixins/TabIndexMixin.ts"
|
8905
9281
|
}
|
8906
|
-
},
|
8907
|
-
{
|
8908
|
-
"name": "icon-name",
|
8909
|
-
"type": {
|
8910
|
-
"text": "IconNames | undefined"
|
8911
|
-
},
|
8912
|
-
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
8913
|
-
"fieldName": "iconName",
|
8914
|
-
"inheritedFrom": {
|
8915
|
-
"name": "IconNameMixin",
|
8916
|
-
"module": "src/utils/mixins/IconNameMixin.ts"
|
8917
|
-
}
|
8918
9282
|
}
|
8919
9283
|
],
|
8920
9284
|
"mixins": [
|
@@ -8925,18 +9289,14 @@
|
|
8925
9289
|
{
|
8926
9290
|
"name": "TabIndexMixin",
|
8927
9291
|
"module": "/src/utils/mixins/TabIndexMixin"
|
8928
|
-
},
|
8929
|
-
{
|
8930
|
-
"name": "IconNameMixin",
|
8931
|
-
"module": "/src/utils/mixins/IconNameMixin"
|
8932
9292
|
}
|
8933
9293
|
],
|
8934
9294
|
"superclass": {
|
8935
9295
|
"name": "Component",
|
8936
9296
|
"module": "/src/models"
|
8937
9297
|
},
|
8938
|
-
"tagName": "mdc-
|
8939
|
-
"jsDoc": "/**\n * `mdc-
|
9298
|
+
"tagName": "mdc-linksimple",
|
9299
|
+
"jsDoc": "/**\n * `mdc-linksimple` is a lightweight link component that can be used to navigate\n * within the application or to an external URL. It does not have any predefined default size.\n *\n * The `children` of the `mdc-linksimple` component can be customized to suit\n * different use cases, including text, icons, or other inline content. For the child to be an icon,\n * the `mdc-icon` component should be used to render.\n *\n * @tagname mdc-linksimple\n *\n * @event click - (React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.\n * @event keydown - (React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.\n * @event focus - (React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.\n * @event blur - (React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.\n *\n * @cssproperty --mdc-link-border-radius - Border radius of the link.\n * @cssproperty --mdc-link-color-active - Color of the link’s child content in the active state.\n * @cssproperty --mdc-link-color-disabled - Color of the link’s child content in the disabled state.\n * @cssproperty --mdc-link-color-hover - Color of the link’s child content in the hover state.\n * @cssproperty --mdc-link-color-normal - Color of the link’s child content in the normal state.\n * @cssproperty --mdc-link-inverted-color-active - Color of the inverted link’s child content in the active state.\n * @cssproperty --mdc-link-inverted-color-disabled - Color of the inverted link’s child content in the disabled state.\n * @cssproperty --mdc-link-inverted-color-hover - Color of the inverted link’s child content in the hover state.\n * @cssproperty --mdc-link-inverted-color-normal - Color of the inverted link’s child content in the normal state.\n */",
|
8940
9300
|
"customElement": true
|
8941
9301
|
}
|
8942
9302
|
],
|
@@ -8945,8 +9305,8 @@
|
|
8945
9305
|
"kind": "js",
|
8946
9306
|
"name": "default",
|
8947
9307
|
"declaration": {
|
8948
|
-
"name": "
|
8949
|
-
"module": "components/
|
9308
|
+
"name": "Linksimple",
|
9309
|
+
"module": "components/linksimple/linksimple.component.js"
|
8950
9310
|
}
|
8951
9311
|
}
|
8952
9312
|
]
|
@@ -16675,6 +17035,180 @@
|
|
16675
17035
|
}
|
16676
17036
|
]
|
16677
17037
|
},
|
17038
|
+
{
|
17039
|
+
"kind": "javascript-module",
|
17040
|
+
"path": "components/statictoggle/statictoggle.component.js",
|
17041
|
+
"declarations": [
|
17042
|
+
{
|
17043
|
+
"kind": "class",
|
17044
|
+
"description": "This is a decorative component that is styled to look as a toggle. <br/>\nIt has 3 properties - checked, size and disabled. <br/>\nWe are using the same styling that has been created for the `mdc-toggle` component.",
|
17045
|
+
"name": "StaticToggle",
|
17046
|
+
"cssProperties": [
|
17047
|
+
{
|
17048
|
+
"description": "Width of the toggle",
|
17049
|
+
"name": "--mdc-statictoggle-width"
|
17050
|
+
},
|
17051
|
+
{
|
17052
|
+
"description": "Height of the toggle",
|
17053
|
+
"name": "--mdc-statictoggle-height"
|
17054
|
+
},
|
17055
|
+
{
|
17056
|
+
"description": "Width of the toggle when it's size is compact",
|
17057
|
+
"name": "--mdc-statictoggle-width-compact"
|
17058
|
+
},
|
17059
|
+
{
|
17060
|
+
"description": "Height of the toggle when it's size is compact",
|
17061
|
+
"name": "--mdc-statictoggle-height-compact"
|
17062
|
+
},
|
17063
|
+
{
|
17064
|
+
"description": "Border radius of the toggle",
|
17065
|
+
"name": "--mdc-statictoggle-border-radius"
|
17066
|
+
},
|
17067
|
+
{
|
17068
|
+
"description": "Border radius of the toggle when it's size is compact",
|
17069
|
+
"name": "--mdc-statictoggle-border-radius-compact"
|
17070
|
+
},
|
17071
|
+
{
|
17072
|
+
"description": "Border of the toggle",
|
17073
|
+
"name": "--mdc-statictoggle-border"
|
17074
|
+
},
|
17075
|
+
{
|
17076
|
+
"description": "Background color of the inactive toggle in rest state",
|
17077
|
+
"name": "--mdc-statictoggle-inactive-rest-color"
|
17078
|
+
},
|
17079
|
+
{
|
17080
|
+
"description": "Background color of the inactive toggle in disabled state",
|
17081
|
+
"name": "--mdc-statictoggle-inactive-disabled-color"
|
17082
|
+
},
|
17083
|
+
{
|
17084
|
+
"description": "Background color of the active toggle in rest state",
|
17085
|
+
"name": "--mdc-statictoggle-active-rest-color"
|
17086
|
+
},
|
17087
|
+
{
|
17088
|
+
"description": "Background color of the active toggle in disabled state",
|
17089
|
+
"name": "--mdc-statictoggle-active-disabled-color"
|
17090
|
+
},
|
17091
|
+
{
|
17092
|
+
"description": "Color of the icon in normal state",
|
17093
|
+
"name": "--mdc-statictoggle-icon-color-normal"
|
17094
|
+
},
|
17095
|
+
{
|
17096
|
+
"description": "Color of the icon in disabled state",
|
17097
|
+
"name": "--mdc-statictoggle-icon-color-disabled"
|
17098
|
+
},
|
17099
|
+
{
|
17100
|
+
"description": "Background color of the icon in normal state",
|
17101
|
+
"name": "--mdc-statictoggle-icon-background-color-normal"
|
17102
|
+
},
|
17103
|
+
{
|
17104
|
+
"description": "Background color of the icon in disabled state",
|
17105
|
+
"name": "--mdc-statictoggle-icon-background-color-disabled"
|
17106
|
+
}
|
17107
|
+
],
|
17108
|
+
"slots": [
|
17109
|
+
{
|
17110
|
+
"description": "This is a default/unnamed slot",
|
17111
|
+
"name": "default"
|
17112
|
+
}
|
17113
|
+
],
|
17114
|
+
"members": [
|
17115
|
+
{
|
17116
|
+
"kind": "field",
|
17117
|
+
"name": "checked",
|
17118
|
+
"type": {
|
17119
|
+
"text": "boolean"
|
17120
|
+
},
|
17121
|
+
"default": "false",
|
17122
|
+
"description": "Determines whether the toggle is active or inactive.",
|
17123
|
+
"attribute": "checked",
|
17124
|
+
"reflects": true
|
17125
|
+
},
|
17126
|
+
{
|
17127
|
+
"kind": "field",
|
17128
|
+
"name": "size",
|
17129
|
+
"type": {
|
17130
|
+
"text": "ToggleSize"
|
17131
|
+
},
|
17132
|
+
"description": "Determines toggle size in rem (height is specified here).\n- **Default**: 1.5\n- **Compact**: 1",
|
17133
|
+
"default": "default",
|
17134
|
+
"attribute": "size",
|
17135
|
+
"reflects": true
|
17136
|
+
},
|
17137
|
+
{
|
17138
|
+
"kind": "field",
|
17139
|
+
"name": "disabled",
|
17140
|
+
"type": {
|
17141
|
+
"text": "boolean | undefined"
|
17142
|
+
},
|
17143
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
17144
|
+
"default": "undefined",
|
17145
|
+
"attribute": "disabled",
|
17146
|
+
"reflects": true,
|
17147
|
+
"inheritedFrom": {
|
17148
|
+
"name": "DisabledMixin",
|
17149
|
+
"module": "utils/mixins/DisabledMixin.js"
|
17150
|
+
}
|
17151
|
+
}
|
17152
|
+
],
|
17153
|
+
"attributes": [
|
17154
|
+
{
|
17155
|
+
"name": "checked",
|
17156
|
+
"type": {
|
17157
|
+
"text": "boolean"
|
17158
|
+
},
|
17159
|
+
"default": "false",
|
17160
|
+
"description": "Determines whether the toggle is active or inactive.",
|
17161
|
+
"fieldName": "checked"
|
17162
|
+
},
|
17163
|
+
{
|
17164
|
+
"name": "size",
|
17165
|
+
"type": {
|
17166
|
+
"text": "ToggleSize"
|
17167
|
+
},
|
17168
|
+
"description": "Determines toggle size in rem (height is specified here).\n- **Default**: 1.5\n- **Compact**: 1",
|
17169
|
+
"default": "default",
|
17170
|
+
"fieldName": "size"
|
17171
|
+
},
|
17172
|
+
{
|
17173
|
+
"name": "disabled",
|
17174
|
+
"type": {
|
17175
|
+
"text": "boolean | undefined"
|
17176
|
+
},
|
17177
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
17178
|
+
"default": "undefined",
|
17179
|
+
"fieldName": "disabled",
|
17180
|
+
"inheritedFrom": {
|
17181
|
+
"name": "DisabledMixin",
|
17182
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
17183
|
+
}
|
17184
|
+
}
|
17185
|
+
],
|
17186
|
+
"mixins": [
|
17187
|
+
{
|
17188
|
+
"name": "DisabledMixin",
|
17189
|
+
"module": "/src/utils/mixins/DisabledMixin"
|
17190
|
+
}
|
17191
|
+
],
|
17192
|
+
"superclass": {
|
17193
|
+
"name": "Component",
|
17194
|
+
"module": "/src/models"
|
17195
|
+
},
|
17196
|
+
"tagName": "mdc-statictoggle",
|
17197
|
+
"jsDoc": "/**\n * This is a decorative component that is styled to look as a toggle. <br/>\n * It has 3 properties - checked, size and disabled. <br/>\n * We are using the same styling that has been created for the `mdc-toggle` component.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-statictoggle\n *\n * @slot default - This is a default/unnamed slot\n *\n * @cssproperty --mdc-statictoggle-width - Width of the toggle\n * @cssproperty --mdc-statictoggle-height - Height of the toggle\n * @cssproperty --mdc-statictoggle-width-compact - Width of the toggle when it's size is compact\n * @cssproperty --mdc-statictoggle-height-compact - Height of the toggle when it's size is compact\n * @cssproperty --mdc-statictoggle-border-radius - Border radius of the toggle\n * @cssproperty --mdc-statictoggle-border-radius-compact - Border radius of the toggle when it's size is compact\n * @cssproperty --mdc-statictoggle-border - Border of the toggle\n * @cssproperty --mdc-statictoggle-inactive-rest-color - Background color of the inactive toggle in rest state\n * @cssproperty --mdc-statictoggle-inactive-disabled-color - Background color of the inactive toggle in disabled state\n * @cssproperty --mdc-statictoggle-active-rest-color - Background color of the active toggle in rest state\n * @cssproperty --mdc-statictoggle-active-disabled-color - Background color of the active toggle in disabled state\n * @cssproperty --mdc-statictoggle-icon-color-normal - Color of the icon in normal state\n * @cssproperty --mdc-statictoggle-icon-color-disabled - Color of the icon in disabled state\n * @cssproperty --mdc-statictoggle-icon-background-color-normal - Background color of the icon in normal state\n * @cssproperty --mdc-statictoggle-icon-background-color-disabled - Background color of the icon in disabled state\n */",
|
17198
|
+
"customElement": true
|
17199
|
+
}
|
17200
|
+
],
|
17201
|
+
"exports": [
|
17202
|
+
{
|
17203
|
+
"kind": "js",
|
17204
|
+
"name": "default",
|
17205
|
+
"declaration": {
|
17206
|
+
"name": "StaticToggle",
|
17207
|
+
"module": "components/statictoggle/statictoggle.component.js"
|
17208
|
+
}
|
17209
|
+
}
|
17210
|
+
]
|
17211
|
+
},
|
16678
17212
|
{
|
16679
17213
|
"kind": "javascript-module",
|
16680
17214
|
"path": "components/tab/tab.component.js",
|
@@ -18629,72 +19163,56 @@
|
|
18629
19163
|
"name": "Toggle",
|
18630
19164
|
"cssProperties": [
|
18631
19165
|
{
|
18632
|
-
"description": "
|
19166
|
+
"description": "Width of the toggle",
|
18633
19167
|
"name": "--mdc-toggle-width"
|
18634
19168
|
},
|
18635
19169
|
{
|
18636
|
-
"description": "
|
19170
|
+
"description": "Height of the toggle",
|
18637
19171
|
"name": "--mdc-toggle-height"
|
18638
19172
|
},
|
18639
19173
|
{
|
18640
|
-
"description": "
|
19174
|
+
"description": "Width of the toggle when it's size is compact",
|
18641
19175
|
"name": "--mdc-toggle-width-compact"
|
18642
19176
|
},
|
18643
19177
|
{
|
18644
|
-
"description": "
|
19178
|
+
"description": "Height of the toggle when it's size is compact",
|
18645
19179
|
"name": "--mdc-toggle-height-compact"
|
18646
19180
|
},
|
18647
19181
|
{
|
18648
|
-
"description": "
|
18649
|
-
"name": "--mdc-toggle-
|
19182
|
+
"description": "Line height of the toggle label",
|
19183
|
+
"name": "--mdc-toggle-label-lineheight"
|
18650
19184
|
},
|
18651
19185
|
{
|
18652
|
-
"description": "
|
18653
|
-
"name": "--mdc-toggle-
|
19186
|
+
"description": "Font size of the toggle label",
|
19187
|
+
"name": "--mdc-toggle-label-fontsize"
|
18654
19188
|
},
|
18655
19189
|
{
|
18656
|
-
"description": "
|
18657
|
-
"name": "--mdc-toggle-
|
19190
|
+
"description": "Font weight of the toggle label",
|
19191
|
+
"name": "--mdc-toggle-label-fontweight"
|
18658
19192
|
},
|
18659
19193
|
{
|
18660
|
-
"description": "
|
18661
|
-
"name": "--mdc-toggle-
|
18662
|
-
},
|
18663
|
-
{
|
18664
|
-
"description": "background color of the inactive toggle in hover state",
|
18665
|
-
"name": "--mdc-toggle-inactive-hover-color"
|
18666
|
-
},
|
18667
|
-
{
|
18668
|
-
"description": "background color of the inactive toggle in pressed state",
|
18669
|
-
"name": "--mdc-toggle-inactive-pressed-color"
|
18670
|
-
},
|
18671
|
-
{
|
18672
|
-
"description": "background color of the inactive toggle in disabled state",
|
18673
|
-
"name": "--mdc-toggle-inactive-disabled-color"
|
19194
|
+
"description": "Color of the toggle label and help text in disabled state",
|
19195
|
+
"name": "--mdc-toggle-label-color-disabled"
|
18674
19196
|
},
|
18675
19197
|
{
|
18676
|
-
"description": "
|
18677
|
-
"name": "--mdc-toggle-
|
19198
|
+
"description": "Color of the help text label",
|
19199
|
+
"name": "--mdc-toggle-help-text-color"
|
18678
19200
|
},
|
18679
19201
|
{
|
18680
|
-
"description": "
|
19202
|
+
"description": "Background color of the active toggle in hover state",
|
18681
19203
|
"name": "--mdc-toggle-active-hover-color"
|
18682
19204
|
},
|
18683
19205
|
{
|
18684
|
-
"description": "
|
19206
|
+
"description": "Background color of the active toggle in pressed state",
|
18685
19207
|
"name": "--mdc-toggle-active-pressed-color"
|
18686
19208
|
},
|
18687
19209
|
{
|
18688
|
-
"description": "
|
18689
|
-
"name": "--mdc-toggle-
|
18690
|
-
},
|
18691
|
-
{
|
18692
|
-
"description": " color of the help text label",
|
18693
|
-
"name": "--mdc-toggle-help-text-color"
|
19210
|
+
"description": "Background color of the inactive toggle in hover state",
|
19211
|
+
"name": "--mdc-toggle-inactive-hover-color"
|
18694
19212
|
},
|
18695
19213
|
{
|
18696
|
-
"description": "color of the toggle
|
18697
|
-
"name": "--mdc-toggle-
|
19214
|
+
"description": "Background color of the inactive toggle in pressed state",
|
19215
|
+
"name": "--mdc-toggle-inactive-pressed-color"
|
18698
19216
|
}
|
18699
19217
|
],
|
18700
19218
|
"members": [
|
@@ -19274,7 +19792,7 @@
|
|
19274
19792
|
"module": "/src/components/formfieldwrapper"
|
19275
19793
|
},
|
19276
19794
|
"tagName": "mdc-toggle",
|
19277
|
-
"jsDoc": "/**\n * Toggle Component is an interactive control used to switch between two mutually exclusive options,\n * such as On/Off, Active/Inactive. These are commonly used in settings panels, forms, and preference selections\n * where users need to enable or disable a feature.\n * It contains an optional label and an optional helper text.\n *\n * To create a group of toggles, use the FormFieldGroup component.\n *\n * Note: It internally renders a checkbox styled as a toggle switch.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-toggle\n *\n * @event change - (React: onChange) Event that gets dispatched when the toggle state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the toggle receives focus.\n *\n * @cssproperty --mdc-toggle-width -
|
19795
|
+
"jsDoc": "/**\n * Toggle Component is an interactive control used to switch between two mutually exclusive options,\n * such as On/Off, Active/Inactive. These are commonly used in settings panels, forms, and preference selections\n * where users need to enable or disable a feature.\n * It contains an optional label and an optional helper text.\n *\n * To create a group of toggles, use the FormFieldGroup component.\n *\n * Note: It internally renders a checkbox styled as a toggle switch.\n *\n * @dependency mdc-icon\n * @dependency mdc-statictoggle\n *\n * @tagname mdc-toggle\n *\n * @event change - (React: onChange) Event that gets dispatched when the toggle state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the toggle receives focus.\n *\n * @cssproperty --mdc-toggle-width - Width of the toggle\n * @cssproperty --mdc-toggle-height - Height of the toggle\n * @cssproperty --mdc-toggle-width-compact - Width of the toggle when it's size is compact\n * @cssproperty --mdc-toggle-height-compact - Height of the toggle when it's size is compact\n * @cssproperty --mdc-toggle-label-lineheight - Line height of the toggle label\n * @cssproperty --mdc-toggle-label-fontsize - Font size of the toggle label\n * @cssproperty --mdc-toggle-label-fontweight - Font weight of the toggle label\n * @cssproperty --mdc-toggle-label-color-disabled - Color of the toggle label and help text in disabled state\n * @cssproperty --mdc-toggle-help-text-color - Color of the help text label\n * @cssproperty --mdc-toggle-active-hover-color - Background color of the active toggle in hover state\n * @cssproperty --mdc-toggle-active-pressed-color - Background color of the active toggle in pressed state\n * @cssproperty --mdc-toggle-inactive-hover-color - Background color of the inactive toggle in hover state\n * @cssproperty --mdc-toggle-inactive-pressed-color - Background color of the inactive toggle in pressed state\n */",
|
19278
19796
|
"customElement": true,
|
19279
19797
|
"slots": [
|
19280
19798
|
{
|