@momentum-design/components 0.106.8 → 0.107.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.
@@ -33655,933 +33655,1060 @@
33655
33655
  },
33656
33656
  {
33657
33657
  "kind": "javascript-module",
33658
- "path": "components/spinner/spinner.component.js",
33658
+ "path": "components/slider/slider.component.js",
33659
33659
  "declarations": [
33660
33660
  {
33661
33661
  "kind": "class",
33662
- "description": "`mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\nit's best for cases where the progress or duration of a process is variable or unknown.\n\nSpinner Variants:\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\nicon or label text.\n\nSpinner Sizes:\n- **Large (96px)**: Use when replacing entire regions or pages that are still loading\n- **MidSize (48px) (Default)**: Use for most use cases.\n- **Small (24px)**: Use for inline with loading text.\n\nCustomisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\nCSS property.\n\nSpinner Colors:\n- **Default**: Use for most use cases.\n- **Inverted**: Only to be used within inverted components, such as coachmarks.\n\nRegarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\nwill be unset\nand aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.",
33663
- "name": "Spinner",
33662
+ "description": "slider component, which ...",
33663
+ "name": "Slider",
33664
33664
  "cssProperties": [
33665
33665
  {
33666
- "description": "Allows customization of the default spinner color.",
33667
- "name": "--mdc-spinner-default-color"
33668
- },
33669
- {
33670
- "description": "Allows customization of the inverted spinner color.",
33671
- "name": "--mdc-spinner-inverted-color"
33672
- },
33673
- {
33674
- "description": "Allows customization of the spinner Button variant color.",
33675
- "name": "--mdc-spinner-button-variant-color"
33676
- },
33677
- {
33678
- "description": "Allows customization of the spinner size.",
33679
- "name": "--mdc-spinner-size"
33666
+ "description": "Description of the CSS custom property",
33667
+ "name": "--custom-property-name"
33680
33668
  }
33681
33669
  ],
33682
- "cssParts": [
33683
- {
33684
- "description": "The svg which contains the circle spinner.",
33685
- "name": "container"
33686
- },
33670
+ "slots": [
33687
33671
  {
33688
- "description": "The circle of the spinner.",
33689
- "name": "circle"
33672
+ "description": "This is a default/unnamed slot",
33673
+ "name": "default"
33690
33674
  }
33691
33675
  ],
33692
33676
  "members": [
33693
33677
  {
33694
33678
  "kind": "field",
33695
- "name": "inverted",
33679
+ "name": "range",
33696
33680
  "type": {
33697
- "text": "boolean | undefined"
33681
+ "text": "boolean"
33698
33682
  },
33699
- "description": "The spinner color can be inverted by setting the inverted attribute to true.",
33700
33683
  "default": "false",
33701
- "attribute": "inverted",
33702
- "reflects": true
33684
+ "description": "Whether or not to show a value range. When false, the slider displays a slide-able handle for the value property; when true, it displays slide-able handles for the valueStart and valueEnd properties.",
33685
+ "attribute": "range"
33703
33686
  },
33704
33687
  {
33705
33688
  "kind": "field",
33706
- "name": "size",
33689
+ "name": "disabled",
33707
33690
  "type": {
33708
- "text": "SpinnerSize | undefined"
33691
+ "text": "boolean | undefined"
33709
33692
  },
33710
- "description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
33711
- "default": "midsize",
33712
- "attribute": "size",
33713
- "reflects": true
33693
+ "description": "Whether the slider is disabled.",
33694
+ "attribute": "disabled"
33714
33695
  },
33715
33696
  {
33716
33697
  "kind": "field",
33717
- "name": "ariaLabel",
33698
+ "name": "softDisabled",
33718
33699
  "type": {
33719
- "text": "string | null"
33700
+ "text": "boolean | undefined"
33720
33701
  },
33721
- "default": "null",
33722
- "description": "Aria-label attribute to be set for accessibility",
33723
- "attribute": "aria-label"
33702
+ "description": "Acts similar to disabled, but component is focusable and tooltip is shown on focus.",
33703
+ "attribute": "soft-disabled"
33724
33704
  },
33725
33705
  {
33726
33706
  "kind": "field",
33727
- "name": "variant",
33707
+ "name": "leadingIcon",
33728
33708
  "type": {
33729
- "text": "SpinnerVariant"
33709
+ "text": "string | undefined"
33730
33710
  },
33731
- "description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
33732
- "default": "standalone",
33733
- "attribute": "variant",
33734
- "reflects": true
33735
- }
33736
- ],
33737
- "attributes": [
33711
+ "description": "Icon that represents the minimum value; ex: muted speaker.",
33712
+ "attribute": "leading-icon"
33713
+ },
33738
33714
  {
33739
- "name": "inverted",
33715
+ "kind": "field",
33716
+ "name": "trailingIcon",
33740
33717
  "type": {
33741
- "text": "boolean | undefined"
33718
+ "text": "string | undefined"
33742
33719
  },
33743
- "description": "The spinner color can be inverted by setting the inverted attribute to true.",
33744
- "default": "false",
33745
- "fieldName": "inverted"
33720
+ "description": "Icon that represents the maximum value; ex: speaker with full volume.",
33721
+ "attribute": "trailing-icon"
33746
33722
  },
33747
33723
  {
33748
- "name": "size",
33724
+ "kind": "field",
33725
+ "name": "min",
33749
33726
  "type": {
33750
- "text": "SpinnerSize | undefined"
33727
+ "text": "number"
33751
33728
  },
33752
- "description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
33753
- "default": "midsize",
33754
- "fieldName": "size"
33729
+ "default": "0",
33730
+ "description": "The slider minimum value.",
33731
+ "attribute": "min"
33755
33732
  },
33756
33733
  {
33757
- "name": "aria-label",
33734
+ "kind": "field",
33735
+ "name": "max",
33758
33736
  "type": {
33759
- "text": "string | null"
33737
+ "text": "number"
33760
33738
  },
33761
- "default": "null",
33762
- "description": "Aria-label attribute to be set for accessibility",
33763
- "fieldName": "ariaLabel"
33739
+ "default": "100",
33740
+ "description": "The slider maximum value.",
33741
+ "attribute": "max"
33764
33742
  },
33765
33743
  {
33766
- "name": "variant",
33744
+ "kind": "field",
33745
+ "name": "value",
33767
33746
  "type": {
33768
- "text": "SpinnerVariant"
33747
+ "text": "number | undefined"
33769
33748
  },
33770
- "description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
33771
- "default": "standalone",
33772
- "fieldName": "variant"
33773
- }
33774
- ],
33775
- "superclass": {
33776
- "name": "Component",
33777
- "module": "/src/models"
33778
- },
33779
- "tagName": "mdc-spinner",
33780
- "jsDoc": "/**\n * `mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\n * it's best for cases where the progress or duration of a process is variable or unknown.\n *\n * Spinner Variants:\n * - **Standalone (Default)**: Track has a blue color.\n * - **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\n * To ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\n * icon or label text.\n *\n * Spinner Sizes:\n * - **Large (96px)**: Use when replacing entire regions or pages that are still loading\n * - **MidSize (48px) (Default)**: Use for most use cases.\n * - **Small (24px)**: Use for inline with loading text.\n *\n * Customisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\n * CSS property.\n *\n * Spinner Colors:\n * - **Default**: Use for most use cases.\n * - **Inverted**: Only to be used within inverted components, such as coachmarks.\n *\n * Regarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\n * will be unset\n * and aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.\n *\n * @tagname mdc-spinner\n *\n * @cssproperty --mdc-spinner-default-color - Allows customization of the default spinner color.\n * @cssproperty --mdc-spinner-inverted-color - Allows customization of the inverted spinner color.\n * @cssproperty --mdc-spinner-button-variant-color - Allows customization of the spinner Button variant color.\n * @cssproperty --mdc-spinner-size - Allows customization of the spinner size.\n *\n * @csspart container - The svg which contains the circle spinner.\n * @csspart circle - The circle of the spinner.\n */",
33781
- "customElement": true
33782
- }
33783
- ],
33784
- "exports": [
33785
- {
33786
- "kind": "js",
33787
- "name": "default",
33788
- "declaration": {
33789
- "name": "Spinner",
33790
- "module": "components/spinner/spinner.component.js"
33791
- }
33792
- }
33793
- ]
33794
- },
33795
- {
33796
- "kind": "javascript-module",
33797
- "path": "components/staticcheckbox/staticcheckbox.component.js",
33798
- "declarations": [
33799
- {
33800
- "kind": "class",
33801
- "description": "This is a decorative component that is styled to look as a checkbox.\n\nIt has 3 properties - checked, indeterminate and disabled.\n\nWe are using the same styling that has been created for the `mdc-checkbox` component.",
33802
- "name": "StaticCheckbox",
33803
- "cssProperties": [
33804
- {
33805
- "description": "Border color in high contrast.",
33806
- "name": "--mdc-staticcheckbox-border-color"
33749
+ "description": "The slider value displayed when range is false.",
33750
+ "attribute": "value"
33807
33751
  },
33808
33752
  {
33809
- "description": "Background color for a selected checkbox.",
33810
- "name": "--mdc-staticcheckbox-checked-background-color"
33753
+ "kind": "field",
33754
+ "name": "valueStart",
33755
+ "type": {
33756
+ "text": "number | undefined"
33757
+ },
33758
+ "description": "The slider start value displayed when range is true.",
33759
+ "attribute": "value-start"
33811
33760
  },
33812
33761
  {
33813
- "description": "Background color for a disabled checkbox.",
33814
- "name": "--mdc-staticcheckbox-disabled-background-color"
33762
+ "kind": "field",
33763
+ "name": "valueEnd",
33764
+ "type": {
33765
+ "text": "number | undefined"
33766
+ },
33767
+ "description": "The slider end value displayed when range is true.",
33768
+ "attribute": "value-end"
33815
33769
  },
33816
33770
  {
33817
- "description": "Border color for a disabled checkbox.",
33818
- "name": "--mdc-checkbox-disabled-border-color"
33771
+ "kind": "field",
33772
+ "name": "step",
33773
+ "type": {
33774
+ "text": "number"
33775
+ },
33776
+ "default": "1",
33777
+ "description": "The step between values. This will show tick marks and the stepper will snap to the nearest tick mark.",
33778
+ "attribute": "step"
33819
33779
  },
33820
33780
  {
33821
- "description": "Background color for a disabled, selected checkbox.",
33822
- "name": "--mdc-checkbox-disabled-checked-icon-color"
33781
+ "kind": "field",
33782
+ "name": "label",
33783
+ "type": {
33784
+ "text": "string | undefined"
33785
+ },
33786
+ "description": "It represents the label for slider component.",
33787
+ "attribute": "label"
33823
33788
  },
33824
33789
  {
33825
- "description": "Icon color for a disabled checkbox.",
33826
- "name": "--mdc-staticcheckbox-disabled-icon-color"
33790
+ "kind": "field",
33791
+ "name": "labelStart",
33792
+ "type": {
33793
+ "text": "string | undefined"
33794
+ },
33795
+ "description": "The label text is shown below the slider (on leading side) representing the minimum starting value of the slider.",
33796
+ "attribute": "label-start"
33827
33797
  },
33828
33798
  {
33829
- "description": "Background color for an unselected checkbox.",
33830
- "name": "--mdc-staticcheckbox-icon-background-color"
33799
+ "kind": "field",
33800
+ "name": "labelEnd",
33801
+ "type": {
33802
+ "text": "string | undefined"
33803
+ },
33804
+ "description": "The label text is shown below the slider (on trailing side) representing the maximum starting value of the slider.",
33805
+ "attribute": "label-end"
33831
33806
  },
33832
33807
  {
33833
- "description": "Default background color for an unselected checkbox.",
33834
- "name": "--mdc-staticcheckbox-icon-border-color"
33808
+ "kind": "field",
33809
+ "name": "valueLabel",
33810
+ "type": {
33811
+ "text": "string"
33812
+ },
33813
+ "default": "''",
33814
+ "description": "An optional label for the slider's value displayed when range is false; if not set, the label is the value itself.",
33815
+ "attribute": "value-label"
33835
33816
  },
33836
33817
  {
33837
- "description": "Icon color for an unselected checkbox.",
33838
- "name": "--mdc-staticcheckbox-icon-color"
33839
- }
33840
- ],
33841
- "members": [
33818
+ "kind": "field",
33819
+ "name": "valueLabelStart",
33820
+ "type": {
33821
+ "text": "string"
33822
+ },
33823
+ "default": "''",
33824
+ "description": "An optional label for the slider's start value displayed when range is true; if not set, the label is the valueStart itself.",
33825
+ "attribute": "value-label-start"
33826
+ },
33842
33827
  {
33843
33828
  "kind": "field",
33844
- "name": "checked",
33829
+ "name": "valueLabelEnd",
33845
33830
  "type": {
33846
- "text": "boolean"
33831
+ "text": "string"
33847
33832
  },
33848
- "default": "false",
33849
- "description": "Determines whether the checkbox is selected or unselected.",
33850
- "attribute": "checked",
33851
- "reflects": true
33833
+ "default": "''",
33834
+ "description": "An optional label for the slider's end value displayed when range is true; if not set, the label is the valueEnd itself.",
33835
+ "attribute": "value-label-end"
33852
33836
  },
33853
33837
  {
33854
33838
  "kind": "field",
33855
- "name": "indeterminate",
33839
+ "name": "ariaLabelStart",
33856
33840
  "type": {
33857
- "text": "boolean"
33841
+ "text": "string"
33858
33842
  },
33859
- "default": "false",
33860
- "description": "Determines whether the checkbox is in an indeterminate state.",
33861
- "attribute": "indeterminate",
33862
- "reflects": true
33843
+ "default": "''",
33844
+ "description": "Aria label for the slider's start handle displayed when range is true.",
33845
+ "attribute": "aria-label-start"
33863
33846
  },
33864
33847
  {
33865
33848
  "kind": "field",
33866
- "name": "disabled",
33849
+ "name": "ariaValuetextStart",
33867
33850
  "type": {
33868
- "text": "boolean | undefined"
33851
+ "text": "string"
33869
33852
  },
33870
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
33871
- "default": "undefined",
33872
- "attribute": "disabled",
33873
- "reflects": true,
33874
- "inheritedFrom": {
33875
- "name": "DisabledMixin",
33876
- "module": "utils/mixins/DisabledMixin.js"
33877
- }
33878
- }
33879
- ],
33880
- "attributes": [
33881
- {
33882
- "name": "checked",
33883
- "type": {
33884
- "text": "boolean"
33885
- },
33886
- "default": "false",
33887
- "description": "Determines whether the checkbox is selected or unselected.",
33888
- "fieldName": "checked"
33853
+ "default": "''",
33854
+ "description": "Aria value text for the slider's start value displayed when range is true.",
33855
+ "attribute": "aria-valuetext-start"
33889
33856
  },
33890
33857
  {
33891
- "name": "indeterminate",
33858
+ "kind": "field",
33859
+ "name": "ariaLabelEnd",
33892
33860
  "type": {
33893
- "text": "boolean"
33861
+ "text": "string"
33894
33862
  },
33895
- "default": "false",
33896
- "description": "Determines whether the checkbox is in an indeterminate state.",
33897
- "fieldName": "indeterminate"
33863
+ "default": "''",
33864
+ "description": "Aria label for the slider's end handle displayed when range is true.",
33865
+ "attribute": "aria-label-end"
33898
33866
  },
33899
33867
  {
33900
- "name": "disabled",
33868
+ "kind": "field",
33869
+ "name": "ariaValuetextEnd",
33901
33870
  "type": {
33902
- "text": "boolean | undefined"
33871
+ "text": "string"
33903
33872
  },
33904
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
33905
- "default": "undefined",
33906
- "fieldName": "disabled",
33907
- "inheritedFrom": {
33908
- "name": "DisabledMixin",
33909
- "module": "src/utils/mixins/DisabledMixin.ts"
33910
- }
33911
- }
33912
- ],
33913
- "mixins": [
33914
- {
33915
- "name": "DisabledMixin",
33916
- "module": "/src/utils/mixins/DisabledMixin"
33917
- }
33918
- ],
33919
- "superclass": {
33920
- "name": "Component",
33921
- "module": "/src/models"
33922
- },
33923
- "tagName": "mdc-staticcheckbox",
33924
- "jsDoc": "/**\n * This is a decorative component that is styled to look as a checkbox.\n *\n * It has 3 properties - checked, indeterminate and disabled.\n *\n * We are using the same styling that has been created for the `mdc-checkbox` component.\n *\n * @tagname mdc-staticcheckbox\n *\n * @dependency mdc-icon\n *\n * @cssproperty --mdc-staticcheckbox-border-color - Border color in high contrast.\n * @cssproperty --mdc-staticcheckbox-checked-background-color - Background color for a selected checkbox.\n * @cssproperty --mdc-staticcheckbox-disabled-background-color - Background color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-border-color - Border color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-checked-icon-color - Background color for a disabled, selected checkbox.\n * @cssproperty --mdc-staticcheckbox-disabled-icon-color - Icon color for a disabled checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-background-color - Background color for an unselected checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-border-color - Default background color for an unselected checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-color - Icon color for an unselected checkbox.\n *\n */",
33925
- "customElement": true
33926
- }
33927
- ],
33928
- "exports": [
33929
- {
33930
- "kind": "js",
33931
- "name": "default",
33932
- "declaration": {
33933
- "name": "StaticCheckbox",
33934
- "module": "components/staticcheckbox/staticcheckbox.component.js"
33935
- }
33936
- }
33937
- ]
33938
- },
33939
- {
33940
- "kind": "javascript-module",
33941
- "path": "components/staticradio/staticradio.component.js",
33942
- "declarations": [
33943
- {
33944
- "kind": "class",
33945
- "description": "This is a decorative component that is styled to look as a radio.\nIt has 2 properties - checked and disabled.\n\nWe are using the same styling that has been created for the `mdc-radio` component.",
33946
- "name": "StaticRadio",
33947
- "cssProperties": [
33948
- {
33949
- "description": "size of the inner circle",
33950
- "name": "--mdc-staticradio-inner-circle-size"
33951
- },
33952
- {
33953
- "description": "color of the label when disabled",
33954
- "name": "--mdc-staticradio-text-disabled-color"
33955
- },
33956
- {
33957
- "description": "color of the radio button border when normal",
33958
- "name": "--mdc-staticradio-normal-border-color"
33959
- },
33960
- {
33961
- "description": "color of the radio button border when disabled",
33962
- "name": "--mdc-staticradio-disabled-border-color"
33963
- },
33964
- {
33965
- "description": "background color of the inner circle when normal",
33966
- "name": "--mdc-staticradio-inner-circle-normal-background"
33967
- },
33968
- {
33969
- "description": "background color of the inner circle when disabled",
33970
- "name": "--mdc-staticradio-inner-circle-disabled-background"
33971
- },
33972
- {
33973
- "description": "color of the radio button when inactive",
33974
- "name": "--mdc-staticradio-control-inactive-color"
33975
- },
33976
- {
33977
- "description": "background color of the radio button when inactive and disabled",
33978
- "name": "--mdc-staticradio-control-inactive-disabled-background"
33979
- },
33980
- {
33981
- "description": "color of the radio button when active",
33982
- "name": "--mdc-staticradio-control-active-color"
33873
+ "default": "''",
33874
+ "description": "Aria value text for the slider's end value displayed when range is true.",
33875
+ "attribute": "aria-valuetext-end"
33983
33876
  },
33984
- {
33985
- "description": "background color of the radio button when active and disabled",
33986
- "name": "--mdc-staticradio-control-active-disabled-background"
33987
- }
33988
- ],
33989
- "members": [
33990
33877
  {
33991
33878
  "kind": "field",
33992
- "name": "checked",
33879
+ "name": "name",
33993
33880
  "type": {
33994
- "text": "boolean"
33881
+ "text": "string | undefined"
33995
33882
  },
33996
- "default": "false",
33997
- "description": "Determines whether the radio is selected or unselected.",
33998
- "attribute": "checked",
33999
- "reflects": true
33883
+ "description": "Name attribute for the slider (single value).",
33884
+ "attribute": "name"
34000
33885
  },
34001
33886
  {
34002
33887
  "kind": "field",
34003
- "name": "readonly",
33888
+ "name": "nameStart",
34004
33889
  "type": {
34005
- "text": "boolean"
33890
+ "text": "string | undefined"
34006
33891
  },
34007
- "default": "false",
34008
- "description": "Determines whether the radio is read-only.",
34009
- "attribute": "readonly",
34010
- "reflects": true
33892
+ "description": "Name attribute for the slider's start handle (range).",
33893
+ "attribute": "name-start"
34011
33894
  },
34012
33895
  {
34013
33896
  "kind": "field",
34014
- "name": "disabled",
34015
- "type": {
34016
- "text": "boolean | undefined"
34017
- },
34018
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
34019
- "default": "undefined",
34020
- "attribute": "disabled",
34021
- "reflects": true,
34022
- "inheritedFrom": {
34023
- "name": "DisabledMixin",
34024
- "module": "utils/mixins/DisabledMixin.js"
34025
- }
34026
- }
34027
- ],
34028
- "attributes": [
34029
- {
34030
- "name": "checked",
33897
+ "name": "nameEnd",
34031
33898
  "type": {
34032
- "text": "boolean"
33899
+ "text": "string | undefined"
34033
33900
  },
34034
- "default": "false",
34035
- "description": "Determines whether the radio is selected or unselected.",
34036
- "fieldName": "checked"
33901
+ "description": "Name attribute for the slider's end handle (range).",
33902
+ "attribute": "name-end"
34037
33903
  },
34038
33904
  {
34039
- "name": "readonly",
33905
+ "kind": "field",
33906
+ "name": "dataAriaValuetext",
34040
33907
  "type": {
34041
- "text": "boolean"
33908
+ "text": "string"
34042
33909
  },
34043
- "default": "false",
34044
- "description": "Determines whether the radio is read-only.",
34045
- "fieldName": "readonly"
33910
+ "default": "''",
33911
+ "description": "Aria value text for the slider's value displayed when range is false.",
33912
+ "attribute": "data-aria-valuetext"
34046
33913
  },
34047
33914
  {
34048
- "name": "disabled",
33915
+ "kind": "field",
33916
+ "name": "dataAriaLabel",
34049
33917
  "type": {
34050
- "text": "boolean | undefined"
33918
+ "text": "string"
34051
33919
  },
34052
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
34053
- "default": "undefined",
34054
- "fieldName": "disabled",
34055
- "inheritedFrom": {
34056
- "name": "DisabledMixin",
34057
- "module": "src/utils/mixins/DisabledMixin.ts"
34058
- }
34059
- }
34060
- ],
34061
- "mixins": [
34062
- {
34063
- "name": "DisabledMixin",
34064
- "module": "/src/utils/mixins/DisabledMixin"
34065
- }
34066
- ],
34067
- "superclass": {
34068
- "name": "Component",
34069
- "module": "/src/models"
34070
- },
34071
- "tagName": "mdc-staticradio",
34072
- "jsDoc": "/**\n * This is a decorative component that is styled to look as a radio.\n * It has 2 properties - checked and disabled.\n *\n * We are using the same styling that has been created for the `mdc-radio` component.\n *\n * @tagname mdc-staticradio\n *\n * @cssproperty --mdc-staticradio-inner-circle-size - size of the inner circle\n * @cssproperty --mdc-staticradio-text-disabled-color - color of the label when disabled\n * @cssproperty --mdc-staticradio-normal-border-color - color of the radio button border when normal\n * @cssproperty --mdc-staticradio-disabled-border-color - color of the radio button border when disabled\n * @cssproperty --mdc-staticradio-inner-circle-normal-background - background color of the inner circle when normal\n * @cssproperty --mdc-staticradio-inner-circle-disabled-background - background color of the inner circle when disabled\n * @cssproperty --mdc-staticradio-control-inactive-color - color of the radio button when inactive\n * @cssproperty --mdc-staticradio-control-inactive-disabled-background - background color of the radio button when\n * inactive and disabled\n * @cssproperty --mdc-staticradio-control-active-color - color of the radio button when active\n * @cssproperty --mdc-staticradio-control-active-disabled-background - background color of the radio button\n * when active and disabled\n */",
34073
- "customElement": true
34074
- }
34075
- ],
34076
- "exports": [
34077
- {
34078
- "kind": "js",
34079
- "name": "default",
34080
- "declaration": {
34081
- "name": "StaticRadio",
34082
- "module": "components/staticradio/staticradio.component.js"
34083
- }
34084
- }
34085
- ]
34086
- },
34087
- {
34088
- "kind": "javascript-module",
34089
- "path": "components/slider/slider.component.js",
34090
- "declarations": [
34091
- {
34092
- "kind": "class",
34093
- "description": "slider component, which ...",
34094
- "name": "Slider",
34095
- "cssProperties": [
34096
- {
34097
- "description": "Description of the CSS custom property",
34098
- "name": "--custom-property-name"
34099
- }
34100
- ],
34101
- "slots": [
34102
- {
34103
- "description": "This is a default/unnamed slot",
34104
- "name": "default"
33920
+ "default": "''",
33921
+ "description": "Aria label for the slider's handle displayed when range is false.",
33922
+ "attribute": "data-aria-label"
34105
33923
  }
34106
33924
  ],
34107
- "members": [
33925
+ "attributes": [
34108
33926
  {
34109
- "kind": "field",
34110
33927
  "name": "range",
34111
33928
  "type": {
34112
33929
  "text": "boolean"
34113
33930
  },
34114
33931
  "default": "false",
34115
33932
  "description": "Whether or not to show a value range. When false, the slider displays a slide-able handle for the value property; when true, it displays slide-able handles for the valueStart and valueEnd properties.",
34116
- "attribute": "range"
33933
+ "fieldName": "range"
34117
33934
  },
34118
33935
  {
34119
- "kind": "field",
34120
33936
  "name": "disabled",
34121
33937
  "type": {
34122
33938
  "text": "boolean | undefined"
34123
33939
  },
34124
33940
  "description": "Whether the slider is disabled.",
34125
- "attribute": "disabled"
33941
+ "fieldName": "disabled"
34126
33942
  },
34127
33943
  {
34128
- "kind": "field",
34129
- "name": "softDisabled",
33944
+ "name": "soft-disabled",
34130
33945
  "type": {
34131
33946
  "text": "boolean | undefined"
34132
33947
  },
34133
33948
  "description": "Acts similar to disabled, but component is focusable and tooltip is shown on focus.",
34134
- "attribute": "soft-disabled"
33949
+ "fieldName": "softDisabled"
34135
33950
  },
34136
33951
  {
34137
- "kind": "field",
34138
- "name": "leadingIcon",
33952
+ "name": "leading-icon",
34139
33953
  "type": {
34140
33954
  "text": "string | undefined"
34141
33955
  },
34142
33956
  "description": "Icon that represents the minimum value; ex: muted speaker.",
34143
- "attribute": "leading-icon"
33957
+ "fieldName": "leadingIcon"
34144
33958
  },
34145
33959
  {
34146
- "kind": "field",
34147
- "name": "trailingIcon",
33960
+ "name": "trailing-icon",
34148
33961
  "type": {
34149
33962
  "text": "string | undefined"
34150
33963
  },
34151
33964
  "description": "Icon that represents the maximum value; ex: speaker with full volume.",
34152
- "attribute": "trailing-icon"
33965
+ "fieldName": "trailingIcon"
34153
33966
  },
34154
33967
  {
34155
- "kind": "field",
34156
33968
  "name": "min",
34157
33969
  "type": {
34158
33970
  "text": "number"
34159
33971
  },
34160
33972
  "default": "0",
34161
33973
  "description": "The slider minimum value.",
34162
- "attribute": "min"
33974
+ "fieldName": "min"
34163
33975
  },
34164
33976
  {
34165
- "kind": "field",
34166
33977
  "name": "max",
34167
33978
  "type": {
34168
33979
  "text": "number"
34169
33980
  },
34170
33981
  "default": "100",
34171
33982
  "description": "The slider maximum value.",
34172
- "attribute": "max"
33983
+ "fieldName": "max"
34173
33984
  },
34174
33985
  {
34175
- "kind": "field",
34176
33986
  "name": "value",
34177
33987
  "type": {
34178
33988
  "text": "number | undefined"
34179
33989
  },
34180
33990
  "description": "The slider value displayed when range is false.",
34181
- "attribute": "value"
33991
+ "fieldName": "value"
34182
33992
  },
34183
33993
  {
34184
- "kind": "field",
34185
- "name": "valueStart",
33994
+ "name": "value-start",
34186
33995
  "type": {
34187
33996
  "text": "number | undefined"
34188
33997
  },
34189
33998
  "description": "The slider start value displayed when range is true.",
34190
- "attribute": "value-start"
33999
+ "fieldName": "valueStart"
34191
34000
  },
34192
34001
  {
34193
- "kind": "field",
34194
- "name": "valueEnd",
34002
+ "name": "value-end",
34195
34003
  "type": {
34196
34004
  "text": "number | undefined"
34197
34005
  },
34198
34006
  "description": "The slider end value displayed when range is true.",
34199
- "attribute": "value-end"
34007
+ "fieldName": "valueEnd"
34200
34008
  },
34201
34009
  {
34202
- "kind": "field",
34203
34010
  "name": "step",
34204
34011
  "type": {
34205
34012
  "text": "number"
34206
34013
  },
34207
34014
  "default": "1",
34208
34015
  "description": "The step between values. This will show tick marks and the stepper will snap to the nearest tick mark.",
34209
- "attribute": "step"
34016
+ "fieldName": "step"
34210
34017
  },
34211
34018
  {
34212
- "kind": "field",
34213
34019
  "name": "label",
34214
34020
  "type": {
34215
34021
  "text": "string | undefined"
34216
34022
  },
34217
34023
  "description": "It represents the label for slider component.",
34218
- "attribute": "label"
34024
+ "fieldName": "label"
34219
34025
  },
34220
34026
  {
34221
- "kind": "field",
34222
- "name": "labelStart",
34027
+ "name": "label-start",
34223
34028
  "type": {
34224
34029
  "text": "string | undefined"
34225
34030
  },
34226
34031
  "description": "The label text is shown below the slider (on leading side) representing the minimum starting value of the slider.",
34227
- "attribute": "label-start"
34032
+ "fieldName": "labelStart"
34228
34033
  },
34229
34034
  {
34230
- "kind": "field",
34231
- "name": "labelEnd",
34035
+ "name": "label-end",
34232
34036
  "type": {
34233
34037
  "text": "string | undefined"
34234
34038
  },
34235
34039
  "description": "The label text is shown below the slider (on trailing side) representing the maximum starting value of the slider.",
34236
- "attribute": "label-end"
34040
+ "fieldName": "labelEnd"
34237
34041
  },
34238
34042
  {
34239
- "kind": "field",
34240
- "name": "valueLabel",
34043
+ "name": "value-label",
34241
34044
  "type": {
34242
34045
  "text": "string"
34243
34046
  },
34244
34047
  "default": "''",
34245
34048
  "description": "An optional label for the slider's value displayed when range is false; if not set, the label is the value itself.",
34246
- "attribute": "value-label"
34049
+ "fieldName": "valueLabel"
34247
34050
  },
34248
34051
  {
34249
- "kind": "field",
34250
- "name": "valueLabelStart",
34052
+ "name": "value-label-start",
34251
34053
  "type": {
34252
34054
  "text": "string"
34253
34055
  },
34254
34056
  "default": "''",
34255
34057
  "description": "An optional label for the slider's start value displayed when range is true; if not set, the label is the valueStart itself.",
34256
- "attribute": "value-label-start"
34058
+ "fieldName": "valueLabelStart"
34257
34059
  },
34258
34060
  {
34259
- "kind": "field",
34260
- "name": "valueLabelEnd",
34061
+ "name": "value-label-end",
34261
34062
  "type": {
34262
34063
  "text": "string"
34263
34064
  },
34264
34065
  "default": "''",
34265
34066
  "description": "An optional label for the slider's end value displayed when range is true; if not set, the label is the valueEnd itself.",
34266
- "attribute": "value-label-end"
34067
+ "fieldName": "valueLabelEnd"
34267
34068
  },
34268
34069
  {
34269
- "kind": "field",
34270
- "name": "ariaLabelStart",
34070
+ "name": "aria-label-start",
34271
34071
  "type": {
34272
34072
  "text": "string"
34273
34073
  },
34274
34074
  "default": "''",
34275
34075
  "description": "Aria label for the slider's start handle displayed when range is true.",
34276
- "attribute": "aria-label-start"
34076
+ "fieldName": "ariaLabelStart"
34077
+ },
34078
+ {
34079
+ "name": "aria-valuetext-start",
34080
+ "type": {
34081
+ "text": "string"
34082
+ },
34083
+ "default": "''",
34084
+ "description": "Aria value text for the slider's start value displayed when range is true.",
34085
+ "fieldName": "ariaValuetextStart"
34086
+ },
34087
+ {
34088
+ "name": "aria-label-end",
34089
+ "type": {
34090
+ "text": "string"
34091
+ },
34092
+ "default": "''",
34093
+ "description": "Aria label for the slider's end handle displayed when range is true.",
34094
+ "fieldName": "ariaLabelEnd"
34095
+ },
34096
+ {
34097
+ "name": "aria-valuetext-end",
34098
+ "type": {
34099
+ "text": "string"
34100
+ },
34101
+ "default": "''",
34102
+ "description": "Aria value text for the slider's end value displayed when range is true.",
34103
+ "fieldName": "ariaValuetextEnd"
34104
+ },
34105
+ {
34106
+ "name": "name",
34107
+ "type": {
34108
+ "text": "string | undefined"
34109
+ },
34110
+ "description": "Name attribute for the slider (single value).",
34111
+ "fieldName": "name"
34112
+ },
34113
+ {
34114
+ "name": "name-start",
34115
+ "type": {
34116
+ "text": "string | undefined"
34117
+ },
34118
+ "description": "Name attribute for the slider's start handle (range).",
34119
+ "fieldName": "nameStart"
34120
+ },
34121
+ {
34122
+ "name": "name-end",
34123
+ "type": {
34124
+ "text": "string | undefined"
34125
+ },
34126
+ "description": "Name attribute for the slider's end handle (range).",
34127
+ "fieldName": "nameEnd"
34128
+ },
34129
+ {
34130
+ "name": "data-aria-valuetext",
34131
+ "type": {
34132
+ "text": "string"
34133
+ },
34134
+ "default": "''",
34135
+ "description": "Aria value text for the slider's value displayed when range is false.",
34136
+ "fieldName": "dataAriaValuetext"
34137
+ },
34138
+ {
34139
+ "name": "data-aria-label",
34140
+ "type": {
34141
+ "text": "string"
34142
+ },
34143
+ "default": "''",
34144
+ "description": "Aria label for the slider's handle displayed when range is false.",
34145
+ "fieldName": "dataAriaLabel"
34146
+ }
34147
+ ],
34148
+ "superclass": {
34149
+ "name": "Component",
34150
+ "module": "/src/models"
34151
+ },
34152
+ "tagName": "mdc-slider",
34153
+ "jsDoc": "/**\n * slider component, which ...\n *\n * @tagname mdc-slider\n *\n * @slot default - This is a default/unnamed slot\n *\n * @cssproperty --custom-property-name - Description of the CSS custom property\n */",
34154
+ "customElement": true
34155
+ }
34156
+ ],
34157
+ "exports": [
34158
+ {
34159
+ "kind": "js",
34160
+ "name": "default",
34161
+ "declaration": {
34162
+ "name": "Slider",
34163
+ "module": "components/slider/slider.component.js"
34164
+ }
34165
+ }
34166
+ ]
34167
+ },
34168
+ {
34169
+ "kind": "javascript-module",
34170
+ "path": "components/spinner/spinner.component.js",
34171
+ "declarations": [
34172
+ {
34173
+ "kind": "class",
34174
+ "description": "`mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\nit's best for cases where the progress or duration of a process is variable or unknown.\n\nSpinner Variants:\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\nicon or label text.\n\nSpinner Sizes:\n- **Large (96px)**: Use when replacing entire regions or pages that are still loading\n- **MidSize (48px) (Default)**: Use for most use cases.\n- **Small (24px)**: Use for inline with loading text.\n\nCustomisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\nCSS property.\n\nSpinner Colors:\n- **Default**: Use for most use cases.\n- **Inverted**: Only to be used within inverted components, such as coachmarks.\n\nRegarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\nwill be unset\nand aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.",
34175
+ "name": "Spinner",
34176
+ "cssProperties": [
34177
+ {
34178
+ "description": "Allows customization of the default spinner color.",
34179
+ "name": "--mdc-spinner-default-color"
34180
+ },
34181
+ {
34182
+ "description": "Allows customization of the inverted spinner color.",
34183
+ "name": "--mdc-spinner-inverted-color"
34184
+ },
34185
+ {
34186
+ "description": "Allows customization of the spinner Button variant color.",
34187
+ "name": "--mdc-spinner-button-variant-color"
34188
+ },
34189
+ {
34190
+ "description": "Allows customization of the spinner size.",
34191
+ "name": "--mdc-spinner-size"
34192
+ }
34193
+ ],
34194
+ "cssParts": [
34195
+ {
34196
+ "description": "The svg which contains the circle spinner.",
34197
+ "name": "container"
34198
+ },
34199
+ {
34200
+ "description": "The circle of the spinner.",
34201
+ "name": "circle"
34202
+ }
34203
+ ],
34204
+ "members": [
34205
+ {
34206
+ "kind": "field",
34207
+ "name": "inverted",
34208
+ "type": {
34209
+ "text": "boolean | undefined"
34210
+ },
34211
+ "description": "The spinner color can be inverted by setting the inverted attribute to true.",
34212
+ "default": "false",
34213
+ "attribute": "inverted",
34214
+ "reflects": true
34215
+ },
34216
+ {
34217
+ "kind": "field",
34218
+ "name": "size",
34219
+ "type": {
34220
+ "text": "SpinnerSize | undefined"
34221
+ },
34222
+ "description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
34223
+ "default": "midsize",
34224
+ "attribute": "size",
34225
+ "reflects": true
34226
+ },
34227
+ {
34228
+ "kind": "field",
34229
+ "name": "ariaLabel",
34230
+ "type": {
34231
+ "text": "string | null"
34232
+ },
34233
+ "default": "null",
34234
+ "description": "Aria-label attribute to be set for accessibility",
34235
+ "attribute": "aria-label"
34236
+ },
34237
+ {
34238
+ "kind": "field",
34239
+ "name": "variant",
34240
+ "type": {
34241
+ "text": "SpinnerVariant"
34242
+ },
34243
+ "description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
34244
+ "default": "standalone",
34245
+ "attribute": "variant",
34246
+ "reflects": true
34247
+ }
34248
+ ],
34249
+ "attributes": [
34250
+ {
34251
+ "name": "inverted",
34252
+ "type": {
34253
+ "text": "boolean | undefined"
34254
+ },
34255
+ "description": "The spinner color can be inverted by setting the inverted attribute to true.",
34256
+ "default": "false",
34257
+ "fieldName": "inverted"
34277
34258
  },
34278
34259
  {
34279
- "kind": "field",
34280
- "name": "ariaValuetextStart",
34260
+ "name": "size",
34281
34261
  "type": {
34282
- "text": "string"
34262
+ "text": "SpinnerSize | undefined"
34283
34263
  },
34284
- "default": "''",
34285
- "description": "Aria value text for the slider's start value displayed when range is true.",
34286
- "attribute": "aria-valuetext-start"
34264
+ "description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
34265
+ "default": "midsize",
34266
+ "fieldName": "size"
34287
34267
  },
34288
34268
  {
34289
- "kind": "field",
34290
- "name": "ariaLabelEnd",
34269
+ "name": "aria-label",
34291
34270
  "type": {
34292
- "text": "string"
34271
+ "text": "string | null"
34293
34272
  },
34294
- "default": "''",
34295
- "description": "Aria label for the slider's end handle displayed when range is true.",
34296
- "attribute": "aria-label-end"
34273
+ "default": "null",
34274
+ "description": "Aria-label attribute to be set for accessibility",
34275
+ "fieldName": "ariaLabel"
34297
34276
  },
34298
34277
  {
34299
- "kind": "field",
34300
- "name": "ariaValuetextEnd",
34278
+ "name": "variant",
34301
34279
  "type": {
34302
- "text": "string"
34280
+ "text": "SpinnerVariant"
34303
34281
  },
34304
- "default": "''",
34305
- "description": "Aria value text for the slider's end value displayed when range is true.",
34306
- "attribute": "aria-valuetext-end"
34282
+ "description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
34283
+ "default": "standalone",
34284
+ "fieldName": "variant"
34285
+ }
34286
+ ],
34287
+ "superclass": {
34288
+ "name": "Component",
34289
+ "module": "/src/models"
34290
+ },
34291
+ "tagName": "mdc-spinner",
34292
+ "jsDoc": "/**\n * `mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\n * it's best for cases where the progress or duration of a process is variable or unknown.\n *\n * Spinner Variants:\n * - **Standalone (Default)**: Track has a blue color.\n * - **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\n * To ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\n * icon or label text.\n *\n * Spinner Sizes:\n * - **Large (96px)**: Use when replacing entire regions or pages that are still loading\n * - **MidSize (48px) (Default)**: Use for most use cases.\n * - **Small (24px)**: Use for inline with loading text.\n *\n * Customisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\n * CSS property.\n *\n * Spinner Colors:\n * - **Default**: Use for most use cases.\n * - **Inverted**: Only to be used within inverted components, such as coachmarks.\n *\n * Regarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\n * will be unset\n * and aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.\n *\n * @tagname mdc-spinner\n *\n * @cssproperty --mdc-spinner-default-color - Allows customization of the default spinner color.\n * @cssproperty --mdc-spinner-inverted-color - Allows customization of the inverted spinner color.\n * @cssproperty --mdc-spinner-button-variant-color - Allows customization of the spinner Button variant color.\n * @cssproperty --mdc-spinner-size - Allows customization of the spinner size.\n *\n * @csspart container - The svg which contains the circle spinner.\n * @csspart circle - The circle of the spinner.\n */",
34293
+ "customElement": true
34294
+ }
34295
+ ],
34296
+ "exports": [
34297
+ {
34298
+ "kind": "js",
34299
+ "name": "default",
34300
+ "declaration": {
34301
+ "name": "Spinner",
34302
+ "module": "components/spinner/spinner.component.js"
34303
+ }
34304
+ }
34305
+ ]
34306
+ },
34307
+ {
34308
+ "kind": "javascript-module",
34309
+ "path": "components/staticcheckbox/staticcheckbox.component.js",
34310
+ "declarations": [
34311
+ {
34312
+ "kind": "class",
34313
+ "description": "This is a decorative component that is styled to look as a checkbox.\n\nIt has 3 properties - checked, indeterminate and disabled.\n\nWe are using the same styling that has been created for the `mdc-checkbox` component.",
34314
+ "name": "StaticCheckbox",
34315
+ "cssProperties": [
34316
+ {
34317
+ "description": "Border color in high contrast.",
34318
+ "name": "--mdc-staticcheckbox-border-color"
34307
34319
  },
34308
34320
  {
34309
- "kind": "field",
34310
- "name": "name",
34311
- "type": {
34312
- "text": "string | undefined"
34313
- },
34314
- "description": "Name attribute for the slider (single value).",
34315
- "attribute": "name"
34321
+ "description": "Background color for a selected checkbox.",
34322
+ "name": "--mdc-staticcheckbox-checked-background-color"
34316
34323
  },
34317
34324
  {
34318
- "kind": "field",
34319
- "name": "nameStart",
34320
- "type": {
34321
- "text": "string | undefined"
34322
- },
34323
- "description": "Name attribute for the slider's start handle (range).",
34324
- "attribute": "name-start"
34325
+ "description": "Background color for a disabled checkbox.",
34326
+ "name": "--mdc-staticcheckbox-disabled-background-color"
34327
+ },
34328
+ {
34329
+ "description": "Border color for a disabled checkbox.",
34330
+ "name": "--mdc-checkbox-disabled-border-color"
34331
+ },
34332
+ {
34333
+ "description": "Background color for a disabled, selected checkbox.",
34334
+ "name": "--mdc-checkbox-disabled-checked-icon-color"
34335
+ },
34336
+ {
34337
+ "description": "Icon color for a disabled checkbox.",
34338
+ "name": "--mdc-staticcheckbox-disabled-icon-color"
34339
+ },
34340
+ {
34341
+ "description": "Background color for an unselected checkbox.",
34342
+ "name": "--mdc-staticcheckbox-icon-background-color"
34343
+ },
34344
+ {
34345
+ "description": "Default background color for an unselected checkbox.",
34346
+ "name": "--mdc-staticcheckbox-icon-border-color"
34325
34347
  },
34348
+ {
34349
+ "description": "Icon color for an unselected checkbox.",
34350
+ "name": "--mdc-staticcheckbox-icon-color"
34351
+ }
34352
+ ],
34353
+ "members": [
34326
34354
  {
34327
34355
  "kind": "field",
34328
- "name": "nameEnd",
34356
+ "name": "checked",
34329
34357
  "type": {
34330
- "text": "string | undefined"
34358
+ "text": "boolean"
34331
34359
  },
34332
- "description": "Name attribute for the slider's end handle (range).",
34333
- "attribute": "name-end"
34360
+ "default": "false",
34361
+ "description": "Determines whether the checkbox is selected or unselected.",
34362
+ "attribute": "checked",
34363
+ "reflects": true
34334
34364
  },
34335
34365
  {
34336
34366
  "kind": "field",
34337
- "name": "dataAriaValuetext",
34367
+ "name": "indeterminate",
34338
34368
  "type": {
34339
- "text": "string"
34369
+ "text": "boolean"
34340
34370
  },
34341
- "default": "''",
34342
- "description": "Aria value text for the slider's value displayed when range is false.",
34343
- "attribute": "data-aria-valuetext"
34371
+ "default": "false",
34372
+ "description": "Determines whether the checkbox is in an indeterminate state.",
34373
+ "attribute": "indeterminate",
34374
+ "reflects": true
34344
34375
  },
34345
34376
  {
34346
34377
  "kind": "field",
34347
- "name": "dataAriaLabel",
34378
+ "name": "disabled",
34348
34379
  "type": {
34349
- "text": "string"
34380
+ "text": "boolean | undefined"
34350
34381
  },
34351
- "default": "''",
34352
- "description": "Aria label for the slider's handle displayed when range is false.",
34353
- "attribute": "data-aria-label"
34382
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
34383
+ "default": "undefined",
34384
+ "attribute": "disabled",
34385
+ "reflects": true,
34386
+ "inheritedFrom": {
34387
+ "name": "DisabledMixin",
34388
+ "module": "utils/mixins/DisabledMixin.js"
34389
+ }
34354
34390
  }
34355
34391
  ],
34356
34392
  "attributes": [
34357
34393
  {
34358
- "name": "range",
34394
+ "name": "checked",
34359
34395
  "type": {
34360
34396
  "text": "boolean"
34361
34397
  },
34362
34398
  "default": "false",
34363
- "description": "Whether or not to show a value range. When false, the slider displays a slide-able handle for the value property; when true, it displays slide-able handles for the valueStart and valueEnd properties.",
34364
- "fieldName": "range"
34399
+ "description": "Determines whether the checkbox is selected or unselected.",
34400
+ "fieldName": "checked"
34365
34401
  },
34366
34402
  {
34367
- "name": "disabled",
34403
+ "name": "indeterminate",
34368
34404
  "type": {
34369
- "text": "boolean | undefined"
34405
+ "text": "boolean"
34370
34406
  },
34371
- "description": "Whether the slider is disabled.",
34372
- "fieldName": "disabled"
34407
+ "default": "false",
34408
+ "description": "Determines whether the checkbox is in an indeterminate state.",
34409
+ "fieldName": "indeterminate"
34373
34410
  },
34374
34411
  {
34375
- "name": "soft-disabled",
34412
+ "name": "disabled",
34376
34413
  "type": {
34377
34414
  "text": "boolean | undefined"
34378
34415
  },
34379
- "description": "Acts similar to disabled, but component is focusable and tooltip is shown on focus.",
34380
- "fieldName": "softDisabled"
34381
- },
34416
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
34417
+ "default": "undefined",
34418
+ "fieldName": "disabled",
34419
+ "inheritedFrom": {
34420
+ "name": "DisabledMixin",
34421
+ "module": "src/utils/mixins/DisabledMixin.ts"
34422
+ }
34423
+ }
34424
+ ],
34425
+ "mixins": [
34382
34426
  {
34383
- "name": "leading-icon",
34384
- "type": {
34385
- "text": "string | undefined"
34386
- },
34387
- "description": "Icon that represents the minimum value; ex: muted speaker.",
34388
- "fieldName": "leadingIcon"
34389
- },
34427
+ "name": "DisabledMixin",
34428
+ "module": "/src/utils/mixins/DisabledMixin"
34429
+ }
34430
+ ],
34431
+ "superclass": {
34432
+ "name": "Component",
34433
+ "module": "/src/models"
34434
+ },
34435
+ "tagName": "mdc-staticcheckbox",
34436
+ "jsDoc": "/**\n * This is a decorative component that is styled to look as a checkbox.\n *\n * It has 3 properties - checked, indeterminate and disabled.\n *\n * We are using the same styling that has been created for the `mdc-checkbox` component.\n *\n * @tagname mdc-staticcheckbox\n *\n * @dependency mdc-icon\n *\n * @cssproperty --mdc-staticcheckbox-border-color - Border color in high contrast.\n * @cssproperty --mdc-staticcheckbox-checked-background-color - Background color for a selected checkbox.\n * @cssproperty --mdc-staticcheckbox-disabled-background-color - Background color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-border-color - Border color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-checked-icon-color - Background color for a disabled, selected checkbox.\n * @cssproperty --mdc-staticcheckbox-disabled-icon-color - Icon color for a disabled checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-background-color - Background color for an unselected checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-border-color - Default background color for an unselected checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-color - Icon color for an unselected checkbox.\n *\n */",
34437
+ "customElement": true
34438
+ }
34439
+ ],
34440
+ "exports": [
34441
+ {
34442
+ "kind": "js",
34443
+ "name": "default",
34444
+ "declaration": {
34445
+ "name": "StaticCheckbox",
34446
+ "module": "components/staticcheckbox/staticcheckbox.component.js"
34447
+ }
34448
+ }
34449
+ ]
34450
+ },
34451
+ {
34452
+ "kind": "javascript-module",
34453
+ "path": "components/staticchip/staticchip.component.js",
34454
+ "declarations": [
34455
+ {
34456
+ "kind": "class",
34457
+ "description": "mdc-staticchip is an static element that can be used to represent a chip. It supports a leading icon along with label.\n\nIt is recommended to keep the label text for the chip component concise and compact.\nFor best results, we recommend limiting the <b>maximum length of the label text to 20 characters</b>, including empty spaces to split words.",
34458
+ "name": "StaticChip",
34459
+ "cssProperties": [
34390
34460
  {
34391
- "name": "trailing-icon",
34392
- "type": {
34393
- "text": "string | undefined"
34394
- },
34395
- "description": "Icon that represents the maximum value; ex: speaker with full volume.",
34396
- "fieldName": "trailingIcon"
34461
+ "description": "The color of the static chip.",
34462
+ "name": "--mdc-chip-color"
34397
34463
  },
34398
34464
  {
34399
- "name": "min",
34400
- "type": {
34401
- "text": "number"
34402
- },
34403
- "default": "0",
34404
- "description": "The slider minimum value.",
34405
- "fieldName": "min"
34465
+ "description": "The border color of the static chip.",
34466
+ "name": "--mdc-chip-border-color"
34406
34467
  },
34407
34468
  {
34408
- "name": "max",
34469
+ "description": "The background color of the static chip.",
34470
+ "name": "--mdc-chip-background-color"
34471
+ }
34472
+ ],
34473
+ "members": [
34474
+ {
34475
+ "kind": "field",
34476
+ "name": "color",
34409
34477
  "type": {
34410
- "text": "number"
34478
+ "text": "ColorType"
34411
34479
  },
34412
- "default": "100",
34413
- "description": "The slider maximum value.",
34414
- "fieldName": "max"
34480
+ "description": "The color of the chip. It supports the following colors\n- default\n- cobalt\n- gold\n- lime\n- mint\n- orange\n- pink\n- purple\n- slate\n- violet",
34481
+ "default": "default",
34482
+ "attribute": "color",
34483
+ "reflects": true
34415
34484
  },
34416
34485
  {
34417
- "name": "value",
34486
+ "kind": "field",
34487
+ "name": "label",
34418
34488
  "type": {
34419
- "text": "number | undefined"
34489
+ "text": "string"
34420
34490
  },
34421
- "description": "The slider value displayed when range is false.",
34422
- "fieldName": "value"
34491
+ "default": "''",
34492
+ "description": "The visible label text of the chip.\n\nWe recommend limiting the <b>maximum length of the label text to 20 characters</b>,\nincluding empty spaces to split words.",
34493
+ "attribute": "label"
34423
34494
  },
34424
34495
  {
34425
- "name": "value-start",
34426
- "type": {
34427
- "text": "number | undefined"
34428
- },
34429
- "description": "The slider start value displayed when range is true.",
34430
- "fieldName": "valueStart"
34496
+ "kind": "method",
34497
+ "name": "renderIcon",
34498
+ "privacy": "private",
34499
+ "description": "Renders the icon element if available.",
34500
+ "return": {
34501
+ "type": {
34502
+ "text": ""
34503
+ }
34504
+ }
34431
34505
  },
34432
34506
  {
34433
- "name": "value-end",
34507
+ "kind": "field",
34508
+ "name": "iconName",
34434
34509
  "type": {
34435
- "text": "number | undefined"
34510
+ "text": "IconNames | undefined"
34436
34511
  },
34437
- "description": "The slider end value displayed when range is true.",
34438
- "fieldName": "valueEnd"
34439
- },
34512
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
34513
+ "attribute": "icon-name",
34514
+ "inheritedFrom": {
34515
+ "name": "IconNameMixin",
34516
+ "module": "utils/mixins/IconNameMixin.js"
34517
+ }
34518
+ }
34519
+ ],
34520
+ "attributes": [
34440
34521
  {
34441
- "name": "step",
34522
+ "name": "color",
34442
34523
  "type": {
34443
- "text": "number"
34524
+ "text": "ColorType"
34444
34525
  },
34445
- "default": "1",
34446
- "description": "The step between values. This will show tick marks and the stepper will snap to the nearest tick mark.",
34447
- "fieldName": "step"
34526
+ "description": "The color of the chip. It supports the following colors\n- default\n- cobalt\n- gold\n- lime\n- mint\n- orange\n- pink\n- purple\n- slate\n- violet",
34527
+ "default": "default",
34528
+ "fieldName": "color"
34448
34529
  },
34449
34530
  {
34450
34531
  "name": "label",
34451
34532
  "type": {
34452
- "text": "string | undefined"
34533
+ "text": "string"
34453
34534
  },
34454
- "description": "It represents the label for slider component.",
34535
+ "default": "''",
34536
+ "description": "The visible label text of the chip.\n\nWe recommend limiting the <b>maximum length of the label text to 20 characters</b>,\nincluding empty spaces to split words.",
34455
34537
  "fieldName": "label"
34456
34538
  },
34457
34539
  {
34458
- "name": "label-start",
34540
+ "name": "icon-name",
34459
34541
  "type": {
34460
- "text": "string | undefined"
34542
+ "text": "IconNames | undefined"
34461
34543
  },
34462
- "description": "The label text is shown below the slider (on leading side) representing the minimum starting value of the slider.",
34463
- "fieldName": "labelStart"
34544
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
34545
+ "fieldName": "iconName",
34546
+ "inheritedFrom": {
34547
+ "name": "IconNameMixin",
34548
+ "module": "src/utils/mixins/IconNameMixin.ts"
34549
+ }
34550
+ }
34551
+ ],
34552
+ "mixins": [
34553
+ {
34554
+ "name": "IconNameMixin",
34555
+ "module": "/src/utils/mixins/IconNameMixin"
34556
+ }
34557
+ ],
34558
+ "superclass": {
34559
+ "name": "Component",
34560
+ "module": "/src/models"
34561
+ },
34562
+ "tagName": "mdc-staticchip",
34563
+ "jsDoc": "/**\n * mdc-staticchip is an static element that can be used to represent a chip. It supports a leading icon along with label.\n *\n * It is recommended to keep the label text for the chip component concise and compact.\n * For best results, we recommend limiting the <b>maximum length of the label text to 20 characters</b>, including empty spaces to split words.\n *\n *\n * @tagname mdc-staticchip\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-chip-color - The color of the static chip.\n * @cssproperty --mdc-chip-border-color - The border color of the static chip.\n * @cssproperty --mdc-chip-background-color - The background color of the static chip.\n *\n */",
34564
+ "customElement": true
34565
+ }
34566
+ ],
34567
+ "exports": [
34568
+ {
34569
+ "kind": "js",
34570
+ "name": "default",
34571
+ "declaration": {
34572
+ "name": "StaticChip",
34573
+ "module": "components/staticchip/staticchip.component.js"
34574
+ }
34575
+ }
34576
+ ]
34577
+ },
34578
+ {
34579
+ "kind": "javascript-module",
34580
+ "path": "components/staticradio/staticradio.component.js",
34581
+ "declarations": [
34582
+ {
34583
+ "kind": "class",
34584
+ "description": "This is a decorative component that is styled to look as a radio.\nIt has 2 properties - checked and disabled.\n\nWe are using the same styling that has been created for the `mdc-radio` component.",
34585
+ "name": "StaticRadio",
34586
+ "cssProperties": [
34587
+ {
34588
+ "description": "size of the inner circle",
34589
+ "name": "--mdc-staticradio-inner-circle-size"
34464
34590
  },
34465
34591
  {
34466
- "name": "label-end",
34467
- "type": {
34468
- "text": "string | undefined"
34469
- },
34470
- "description": "The label text is shown below the slider (on trailing side) representing the maximum starting value of the slider.",
34471
- "fieldName": "labelEnd"
34592
+ "description": "color of the label when disabled",
34593
+ "name": "--mdc-staticradio-text-disabled-color"
34472
34594
  },
34473
34595
  {
34474
- "name": "value-label",
34475
- "type": {
34476
- "text": "string"
34477
- },
34478
- "default": "''",
34479
- "description": "An optional label for the slider's value displayed when range is false; if not set, the label is the value itself.",
34480
- "fieldName": "valueLabel"
34596
+ "description": "color of the radio button border when normal",
34597
+ "name": "--mdc-staticradio-normal-border-color"
34481
34598
  },
34482
34599
  {
34483
- "name": "value-label-start",
34484
- "type": {
34485
- "text": "string"
34486
- },
34487
- "default": "''",
34488
- "description": "An optional label for the slider's start value displayed when range is true; if not set, the label is the valueStart itself.",
34489
- "fieldName": "valueLabelStart"
34600
+ "description": "color of the radio button border when disabled",
34601
+ "name": "--mdc-staticradio-disabled-border-color"
34490
34602
  },
34491
34603
  {
34492
- "name": "value-label-end",
34493
- "type": {
34494
- "text": "string"
34495
- },
34496
- "default": "''",
34497
- "description": "An optional label for the slider's end value displayed when range is true; if not set, the label is the valueEnd itself.",
34498
- "fieldName": "valueLabelEnd"
34604
+ "description": "background color of the inner circle when normal",
34605
+ "name": "--mdc-staticradio-inner-circle-normal-background"
34499
34606
  },
34500
34607
  {
34501
- "name": "aria-label-start",
34502
- "type": {
34503
- "text": "string"
34504
- },
34505
- "default": "''",
34506
- "description": "Aria label for the slider's start handle displayed when range is true.",
34507
- "fieldName": "ariaLabelStart"
34608
+ "description": "background color of the inner circle when disabled",
34609
+ "name": "--mdc-staticradio-inner-circle-disabled-background"
34508
34610
  },
34509
34611
  {
34510
- "name": "aria-valuetext-start",
34511
- "type": {
34512
- "text": "string"
34513
- },
34514
- "default": "''",
34515
- "description": "Aria value text for the slider's start value displayed when range is true.",
34516
- "fieldName": "ariaValuetextStart"
34612
+ "description": "color of the radio button when inactive",
34613
+ "name": "--mdc-staticradio-control-inactive-color"
34517
34614
  },
34518
34615
  {
34519
- "name": "aria-label-end",
34520
- "type": {
34521
- "text": "string"
34522
- },
34523
- "default": "''",
34524
- "description": "Aria label for the slider's end handle displayed when range is true.",
34525
- "fieldName": "ariaLabelEnd"
34616
+ "description": "background color of the radio button when inactive and disabled",
34617
+ "name": "--mdc-staticradio-control-inactive-disabled-background"
34526
34618
  },
34527
34619
  {
34528
- "name": "aria-valuetext-end",
34620
+ "description": "color of the radio button when active",
34621
+ "name": "--mdc-staticradio-control-active-color"
34622
+ },
34623
+ {
34624
+ "description": "background color of the radio button when active and disabled",
34625
+ "name": "--mdc-staticradio-control-active-disabled-background"
34626
+ }
34627
+ ],
34628
+ "members": [
34629
+ {
34630
+ "kind": "field",
34631
+ "name": "checked",
34529
34632
  "type": {
34530
- "text": "string"
34633
+ "text": "boolean"
34531
34634
  },
34532
- "default": "''",
34533
- "description": "Aria value text for the slider's end value displayed when range is true.",
34534
- "fieldName": "ariaValuetextEnd"
34635
+ "default": "false",
34636
+ "description": "Determines whether the radio is selected or unselected.",
34637
+ "attribute": "checked",
34638
+ "reflects": true
34535
34639
  },
34536
34640
  {
34537
- "name": "name",
34641
+ "kind": "field",
34642
+ "name": "readonly",
34538
34643
  "type": {
34539
- "text": "string | undefined"
34644
+ "text": "boolean"
34540
34645
  },
34541
- "description": "Name attribute for the slider (single value).",
34542
- "fieldName": "name"
34646
+ "default": "false",
34647
+ "description": "Determines whether the radio is read-only.",
34648
+ "attribute": "readonly",
34649
+ "reflects": true
34543
34650
  },
34544
34651
  {
34545
- "name": "name-start",
34652
+ "kind": "field",
34653
+ "name": "disabled",
34546
34654
  "type": {
34547
- "text": "string | undefined"
34655
+ "text": "boolean | undefined"
34548
34656
  },
34549
- "description": "Name attribute for the slider's start handle (range).",
34550
- "fieldName": "nameStart"
34551
- },
34657
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
34658
+ "default": "undefined",
34659
+ "attribute": "disabled",
34660
+ "reflects": true,
34661
+ "inheritedFrom": {
34662
+ "name": "DisabledMixin",
34663
+ "module": "utils/mixins/DisabledMixin.js"
34664
+ }
34665
+ }
34666
+ ],
34667
+ "attributes": [
34552
34668
  {
34553
- "name": "name-end",
34669
+ "name": "checked",
34554
34670
  "type": {
34555
- "text": "string | undefined"
34671
+ "text": "boolean"
34556
34672
  },
34557
- "description": "Name attribute for the slider's end handle (range).",
34558
- "fieldName": "nameEnd"
34673
+ "default": "false",
34674
+ "description": "Determines whether the radio is selected or unselected.",
34675
+ "fieldName": "checked"
34559
34676
  },
34560
34677
  {
34561
- "name": "data-aria-valuetext",
34678
+ "name": "readonly",
34562
34679
  "type": {
34563
- "text": "string"
34680
+ "text": "boolean"
34564
34681
  },
34565
- "default": "''",
34566
- "description": "Aria value text for the slider's value displayed when range is false.",
34567
- "fieldName": "dataAriaValuetext"
34682
+ "default": "false",
34683
+ "description": "Determines whether the radio is read-only.",
34684
+ "fieldName": "readonly"
34568
34685
  },
34569
34686
  {
34570
- "name": "data-aria-label",
34687
+ "name": "disabled",
34571
34688
  "type": {
34572
- "text": "string"
34689
+ "text": "boolean | undefined"
34573
34690
  },
34574
- "default": "''",
34575
- "description": "Aria label for the slider's handle displayed when range is false.",
34576
- "fieldName": "dataAriaLabel"
34691
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
34692
+ "default": "undefined",
34693
+ "fieldName": "disabled",
34694
+ "inheritedFrom": {
34695
+ "name": "DisabledMixin",
34696
+ "module": "src/utils/mixins/DisabledMixin.ts"
34697
+ }
34698
+ }
34699
+ ],
34700
+ "mixins": [
34701
+ {
34702
+ "name": "DisabledMixin",
34703
+ "module": "/src/utils/mixins/DisabledMixin"
34577
34704
  }
34578
34705
  ],
34579
34706
  "superclass": {
34580
34707
  "name": "Component",
34581
34708
  "module": "/src/models"
34582
34709
  },
34583
- "tagName": "mdc-slider",
34584
- "jsDoc": "/**\n * slider component, which ...\n *\n * @tagname mdc-slider\n *\n * @slot default - This is a default/unnamed slot\n *\n * @cssproperty --custom-property-name - Description of the CSS custom property\n */",
34710
+ "tagName": "mdc-staticradio",
34711
+ "jsDoc": "/**\n * This is a decorative component that is styled to look as a radio.\n * It has 2 properties - checked and disabled.\n *\n * We are using the same styling that has been created for the `mdc-radio` component.\n *\n * @tagname mdc-staticradio\n *\n * @cssproperty --mdc-staticradio-inner-circle-size - size of the inner circle\n * @cssproperty --mdc-staticradio-text-disabled-color - color of the label when disabled\n * @cssproperty --mdc-staticradio-normal-border-color - color of the radio button border when normal\n * @cssproperty --mdc-staticradio-disabled-border-color - color of the radio button border when disabled\n * @cssproperty --mdc-staticradio-inner-circle-normal-background - background color of the inner circle when normal\n * @cssproperty --mdc-staticradio-inner-circle-disabled-background - background color of the inner circle when disabled\n * @cssproperty --mdc-staticradio-control-inactive-color - color of the radio button when inactive\n * @cssproperty --mdc-staticradio-control-inactive-disabled-background - background color of the radio button when\n * inactive and disabled\n * @cssproperty --mdc-staticradio-control-active-color - color of the radio button when active\n * @cssproperty --mdc-staticradio-control-active-disabled-background - background color of the radio button\n * when active and disabled\n */",
34585
34712
  "customElement": true
34586
34713
  }
34587
34714
  ],
@@ -34590,8 +34717,8 @@
34590
34717
  "kind": "js",
34591
34718
  "name": "default",
34592
34719
  "declaration": {
34593
- "name": "Slider",
34594
- "module": "components/slider/slider.component.js"
34720
+ "name": "StaticRadio",
34721
+ "module": "components/staticradio/staticradio.component.js"
34595
34722
  }
34596
34723
  }
34597
34724
  ]