@jack-henry/jh-elements 2.0.0-beta.12 → 2.0.0-beta.14

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.
@@ -84,12 +84,6 @@
84
84
  "description": "Sets the link's destination.",
85
85
  "type": "?string"
86
86
  },
87
- {
88
- "name": "icon-position",
89
- "description": "Sets location of icon in relation to the label.",
90
- "type": "'before'|'after'",
91
- "default": "\"before\""
92
- },
93
87
  {
94
88
  "name": "pending",
95
89
  "description": "Displays a progress indicator.",
@@ -109,7 +103,7 @@
109
103
  {
110
104
  "name": "size",
111
105
  "description": "Sets the size of the button.",
112
- "type": "'small'|'medium'|'large'",
106
+ "type": "'x-small'|'small'|'medium'|'large'",
113
107
  "default": "\"medium\""
114
108
  },
115
109
  {
@@ -169,13 +163,6 @@
169
163
  "description": "Sets the link's destination.",
170
164
  "type": "?string"
171
165
  },
172
- {
173
- "name": "iconPosition",
174
- "attribute": "icon-position",
175
- "description": "Sets location of icon in relation to the label.",
176
- "type": "'before'|'after'",
177
- "default": "\"before\""
178
- },
179
166
  {
180
167
  "name": "pending",
181
168
  "attribute": "pending",
@@ -199,7 +186,7 @@
199
186
  "name": "size",
200
187
  "attribute": "size",
201
188
  "description": "Sets the size of the button.",
202
- "type": "'small'|'medium'|'large'",
189
+ "type": "'x-small'|'small'|'medium'|'large'",
203
190
  "default": "\"medium\""
204
191
  },
205
192
  {
@@ -224,8 +211,12 @@
224
211
  ],
225
212
  "slots": [
226
213
  {
227
- "name": "jh-button-icon",
228
- "description": "Use to insert an icon."
214
+ "name": "jh-button-icon-left",
215
+ "description": "Use to insert an icon on the left side of the button and for single icon buttons."
216
+ },
217
+ {
218
+ "name": "jh-button-icon-right",
219
+ "description": "Use to insert an icon on the right side of the button and for single icon buttons."
229
220
  }
230
221
  ],
231
222
  "cssProperties": [
@@ -611,7 +602,7 @@
611
602
  },
612
603
  {
613
604
  "name": "--jh-button-size",
614
- "description": "The button width when no label is set, and the button height. Button width and height defaults to `--jh-dimension-1000` when `size=\"small\"`, `--jh-dimension-1200` when `size=\"medium\"`, and `--jh-dimension-1400` when `size=\"large\"`."
605
+ "description": "The button width of single icon buttons, and the button height. Button width and height defaults to `--jh-dimension-600` when `size=\"x-small\"`,`--jh-dimension-800` when `size=\"small\"`, `--jh-dimension-1000` when `size=\"medium\"`, and `--jh-dimension-1200` when `size=\"large\"`."
615
606
  }
616
607
  ]
617
608
  },
@@ -1458,6 +1449,10 @@
1458
1449
  }
1459
1450
  ],
1460
1451
  "properties": [
1452
+ {
1453
+ "name": "uniqueId",
1454
+ "type": "number | null"
1455
+ },
1461
1456
  {
1462
1457
  "name": "accessibleLabel",
1463
1458
  "attribute": "accessible-label",
@@ -1651,7 +1646,7 @@
1651
1646
  },
1652
1647
  {
1653
1648
  "name": "--jh-input-field-color-background",
1654
- "description": "The input field background-color. Defaults to `--jh-color-container-primary-enabled`."
1649
+ "description": "The input field background-color when in an editable state. This property does not apply when the component is set to `readonly`. Defaults to `--jh-color-container-primary-enabled`."
1655
1650
  },
1656
1651
  {
1657
1652
  "name": "--jh-input-field-color-border-enabled",
@@ -1837,7 +1832,7 @@
1837
1832
  "name": "hide-right-slot",
1838
1833
  "description": "Hides the right slot from input.",
1839
1834
  "type": "boolean",
1840
- "default": "true"
1835
+ "default": "false"
1841
1836
  },
1842
1837
  {
1843
1838
  "name": "input-mask",
@@ -1937,6 +1932,10 @@
1937
1932
  "type": "boolean",
1938
1933
  "default": "false"
1939
1934
  },
1935
+ {
1936
+ "name": "uniqueId",
1937
+ "type": "number | null"
1938
+ },
1940
1939
  {
1941
1940
  "name": "accessibleLabel",
1942
1941
  "attribute": "accessible-label",
@@ -1992,7 +1991,7 @@
1992
1991
  "attribute": "hide-right-slot",
1993
1992
  "description": "Hides the right slot from input.",
1994
1993
  "type": "boolean",
1995
- "default": "true"
1994
+ "default": "false"
1996
1995
  },
1997
1996
  {
1998
1997
  "name": "inputMask",
@@ -2137,7 +2136,7 @@
2137
2136
  },
2138
2137
  {
2139
2138
  "name": "--jh-input-field-color-background",
2140
- "description": "The input field background-color. Defaults to `--jh-color-container-primary-enabled`."
2139
+ "description": "The input field background-color when in an editable state. This property does not apply when the component is set to `readonly`. Defaults to `--jh-color-container-primary-enabled`."
2141
2140
  },
2142
2141
  {
2143
2142
  "name": "--jh-input-field-color-border-enabled",
@@ -2389,6 +2388,10 @@
2389
2388
  }
2390
2389
  ],
2391
2390
  "properties": [
2391
+ {
2392
+ "name": "uniqueId",
2393
+ "type": "number | null"
2394
+ },
2392
2395
  {
2393
2396
  "name": "accessibleLabel",
2394
2397
  "attribute": "accessible-label",
@@ -2581,7 +2584,7 @@
2581
2584
  },
2582
2585
  {
2583
2586
  "name": "--jh-input-field-color-background",
2584
- "description": "The input field background-color. Defaults to `--jh-color-container-primary-enabled`."
2587
+ "description": "The input field background-color when in an editable state. This property does not apply when the component is set to `readonly`. Defaults to `--jh-color-container-primary-enabled`."
2585
2588
  },
2586
2589
  {
2587
2590
  "name": "--jh-input-field-color-border-enabled",
@@ -2833,6 +2836,10 @@
2833
2836
  }
2834
2837
  ],
2835
2838
  "properties": [
2839
+ {
2840
+ "name": "uniqueId",
2841
+ "type": "number | null"
2842
+ },
2836
2843
  {
2837
2844
  "name": "accessibleLabel",
2838
2845
  "attribute": "accessible-label",
@@ -3025,7 +3032,7 @@
3025
3032
  },
3026
3033
  {
3027
3034
  "name": "--jh-input-field-color-background",
3028
- "description": "The input field background-color. Defaults to `--jh-color-container-primary-enabled`."
3035
+ "description": "The input field background-color when in an editable state. This property does not apply when the component is set to `readonly`. Defaults to `--jh-color-container-primary-enabled`."
3029
3036
  },
3030
3037
  {
3031
3038
  "name": "--jh-input-field-color-border-enabled",
@@ -3152,12 +3159,13 @@
3152
3159
  {
3153
3160
  "name": "auto-grow",
3154
3161
  "description": "Enables the input height to grow automatically to accommodate user input. `auto-grow` will also remove the input's native resize capability.",
3155
- "type": "boolean"
3162
+ "type": "boolean",
3163
+ "default": "false"
3156
3164
  },
3157
3165
  {
3158
3166
  "name": "cols",
3159
3167
  "description": "Sets the width of the input field.",
3160
- "type": "?string"
3168
+ "type": "?number"
3161
3169
  },
3162
3170
  {
3163
3171
  "name": "no-resize",
@@ -3168,7 +3176,7 @@
3168
3176
  {
3169
3177
  "name": "rows",
3170
3178
  "description": "Sets the height of the input field.",
3171
- "type": "?string"
3179
+ "type": "?number"
3172
3180
  },
3173
3181
  {
3174
3182
  "name": "wrap",
@@ -3306,13 +3314,14 @@
3306
3314
  "name": "autoGrow",
3307
3315
  "attribute": "auto-grow",
3308
3316
  "description": "Enables the input height to grow automatically to accommodate user input. `auto-grow` will also remove the input's native resize capability.",
3309
- "type": "boolean"
3317
+ "type": "boolean",
3318
+ "default": "false"
3310
3319
  },
3311
3320
  {
3312
3321
  "name": "cols",
3313
3322
  "attribute": "cols",
3314
3323
  "description": "Sets the width of the input field.",
3315
- "type": "?string"
3324
+ "type": "?number"
3316
3325
  },
3317
3326
  {
3318
3327
  "name": "noResize",
@@ -3325,7 +3334,7 @@
3325
3334
  "name": "rows",
3326
3335
  "attribute": "rows",
3327
3336
  "description": "Sets the height of the input field.",
3328
- "type": "?string"
3337
+ "type": "?number"
3329
3338
  },
3330
3339
  {
3331
3340
  "name": "wrap",
@@ -3333,6 +3342,10 @@
3333
3342
  "description": "Specifies how text should be wrapped when submitted in a form. The `cols` property must be set for `wrap='hard'` to take effect.",
3334
3343
  "type": "'hard'|'soft'"
3335
3344
  },
3345
+ {
3346
+ "name": "uniqueId",
3347
+ "type": "number | null"
3348
+ },
3336
3349
  {
3337
3350
  "name": "accessibleLabel",
3338
3351
  "attribute": "accessible-label",
@@ -3529,7 +3542,7 @@
3529
3542
  },
3530
3543
  {
3531
3544
  "name": "--jh-input-field-color-background",
3532
- "description": "The input field background-color. Defaults to `--jh-color-container-primary-enabled`."
3545
+ "description": "The input field background-color when in an editable state. This property does not apply when the component is set to `readonly`. Defaults to `--jh-color-container-primary-enabled`."
3533
3546
  },
3534
3547
  {
3535
3548
  "name": "--jh-input-field-color-border-enabled",
@@ -3781,6 +3794,10 @@
3781
3794
  }
3782
3795
  ],
3783
3796
  "properties": [
3797
+ {
3798
+ "name": "uniqueId",
3799
+ "type": "number | null"
3800
+ },
3784
3801
  {
3785
3802
  "name": "accessibleLabel",
3786
3803
  "attribute": "accessible-label",
@@ -3973,7 +3990,7 @@
3973
3990
  },
3974
3991
  {
3975
3992
  "name": "--jh-input-field-color-background",
3976
- "description": "The input field background-color. Defaults to `--jh-color-container-primary-enabled`."
3993
+ "description": "The input field background-color when in an editable state. This property does not apply when the component is set to `readonly`. Defaults to `--jh-color-container-primary-enabled`."
3977
3994
  },
3978
3995
  {
3979
3996
  "name": "--jh-input-field-color-border-enabled",
@@ -4224,6 +4241,10 @@
4224
4241
  }
4225
4242
  ],
4226
4243
  "properties": [
4244
+ {
4245
+ "name": "uniqueId",
4246
+ "type": "number | null"
4247
+ },
4227
4248
  {
4228
4249
  "name": "accessibleLabel",
4229
4250
  "attribute": "accessible-label",
@@ -4416,7 +4437,7 @@
4416
4437
  },
4417
4438
  {
4418
4439
  "name": "--jh-input-field-color-background",
4419
- "description": "The input field background-color. Defaults to `--jh-color-container-primary-enabled`."
4440
+ "description": "The input field background-color when in an editable state. This property does not apply when the component is set to `readonly`. Defaults to `--jh-color-container-primary-enabled`."
4420
4441
  },
4421
4442
  {
4422
4443
  "name": "--jh-input-field-color-border-enabled",
@@ -5251,7 +5272,7 @@
5251
5272
  {
5252
5273
  "name": "disabled",
5253
5274
  "description": "Disables the radio group and prevents all user interactions. May cause the group to be ignored by assistive technologies (AT).",
5254
- "type": "?Boolean",
5275
+ "type": "boolean",
5255
5276
  "default": "false"
5256
5277
  },
5257
5278
  {
@@ -5320,7 +5341,7 @@
5320
5341
  "name": "disabled",
5321
5342
  "attribute": "disabled",
5322
5343
  "description": "Disables the radio group and prevents all user interactions. May cause the group to be ignored by assistive technologies (AT).",
5323
- "type": "?Boolean",
5344
+ "type": "boolean",
5324
5345
  "default": "false"
5325
5346
  },
5326
5347
  {
@@ -5628,201 +5649,841 @@
5628
5649
  ]
5629
5650
  },
5630
5651
  {
5631
- "name": "jh-switch",
5632
- "path": "./components/switch/switch.js",
5652
+ "name": "jh-select",
5653
+ "path": "./components/select/select.js",
5654
+ "description": "Select",
5633
5655
  "attributes": [
5634
5656
  {
5635
- "name": "accessible-disabled",
5636
- "description": "Sets an `aria-disabled` to signify to screen readers that the disabled switch should remain perceivable while disabled.",
5637
- "type": "'true'|'false'"
5657
+ "name": "menu-position",
5658
+ "description": "Sets the position of the dropdown menu relative to the input field. The menu automatically flips when there is insufficient space unless `flip-disabled` is set.",
5659
+ "type": "string",
5660
+ "default": "\"bottom\""
5661
+ },
5662
+ {
5663
+ "name": "flip-disabled",
5664
+ "description": "Prevents the dropdown menu from automatically flipping its position when there is insufficient viewport space.",
5665
+ "type": "boolean",
5666
+ "default": "false"
5638
5667
  },
5639
5668
  {
5640
5669
  "name": "accessible-label",
5641
- "description": "Sets an `aria-label` to assist screen reader users when no visible label is present.",
5670
+ "description": "Sets an `aria-label` on the input field to assist screen reader users when no visible label is present.",
5642
5671
  "type": "?string"
5643
5672
  },
5644
5673
  {
5645
- "name": "checked",
5646
- "description": "Sets the selected or 'checked' state on the switch",
5647
- "type": "?boolean",
5648
- "default": "false"
5674
+ "name": "accessible-label-clear-button",
5675
+ "description": "Sets an aria-label on the clear button to assist screen reader users. Indicates that activating the button will clear the input field.",
5676
+ "type": "?string"
5677
+ },
5678
+ {
5679
+ "name": "autocomplete",
5680
+ "description": "Determines whether the browser can provide assistance in filling out the input value and what type of information is expected.\nThis property will override any autocomplete attribute present on the input's parent form element.\n\n[Visit MDN for information on supported autocomplete values](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)",
5681
+ "type": "?string"
5649
5682
  },
5650
5683
  {
5651
5684
  "name": "disabled",
5652
- "description": "Disables the switch and prevents all user interactions. May cause switch to be ignored by assistive technologies(AT). See `accessible-disabled` if switch should remain perceivable to AT.",
5653
- "type": "?boolean",
5685
+ "description": "Disables the input and prevents all user interactions. May cause the input to be ignored by assistive technologies (AT).",
5686
+ "type": "boolean",
5654
5687
  "default": "false"
5655
5688
  },
5656
5689
  {
5657
- "name": "helper-text",
5658
- "description": "Provides additional context or guidance for using the switch. For `helper-text` to be displayed, the `label` property must also be set.",
5690
+ "name": "enterkeyhint",
5691
+ "description": "Specifies which action label or icon to present for the enter key on virtual keyboards.\n\n[Visit MDN for information on supported enterkeyhint values](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint)",
5659
5692
  "type": "?string"
5660
5693
  },
5661
5694
  {
5662
- "name": "label",
5663
- "description": "Describes the intent of the switch.",
5695
+ "name": "error-text",
5696
+ "description": "Text to be displayed when input has failed validation and `invalid` is true.",
5664
5697
  "type": "?string"
5665
- }
5666
- ],
5667
- "properties": [
5668
- {
5669
- "name": "accessibleDisabled",
5670
- "attribute": "accessible-disabled",
5671
- "description": "Sets an `aria-disabled` to signify to screen readers that the disabled switch should remain perceivable while disabled.",
5672
- "type": "'true'|'false'"
5673
5698
  },
5674
5699
  {
5675
- "name": "accessibleLabel",
5676
- "attribute": "accessible-label",
5677
- "description": "Sets an `aria-label` to assist screen reader users when no visible label is present.",
5700
+ "name": "helper-text",
5701
+ "description": "Provides additional context or guidance for using the input. For `helper-text` to be displayed, the `label` property must also be set.",
5678
5702
  "type": "?string"
5679
5703
  },
5680
5704
  {
5681
- "name": "checked",
5682
- "attribute": "checked",
5683
- "description": "Sets the selected or 'checked' state on the switch",
5684
- "type": "?boolean",
5705
+ "name": "hide-left-slot",
5706
+ "description": "Hides the left slot from input.",
5707
+ "type": "boolean",
5685
5708
  "default": "false"
5686
5709
  },
5687
5710
  {
5688
- "name": "disabled",
5689
- "attribute": "disabled",
5690
- "description": "Disables the switch and prevents all user interactions. May cause switch to be ignored by assistive technologies(AT). See `accessible-disabled` if switch should remain perceivable to AT.",
5691
- "type": "?boolean",
5711
+ "name": "hide-right-slot",
5712
+ "description": "Hides the right slot from input.",
5713
+ "type": "boolean",
5692
5714
  "default": "false"
5693
5715
  },
5694
5716
  {
5695
- "name": "helperText",
5696
- "attribute": "helper-text",
5697
- "description": "Provides additional context or guidance for using the switch. For `helper-text` to be displayed, the `label` property must also be set.",
5717
+ "name": "input-mask",
5718
+ "description": "Formats user entered data on input based on fixed lengths. This property does not support dynamic formatting or pasted values. See the input mask documentation above for implementation details.",
5698
5719
  "type": "?string"
5699
5720
  },
5700
5721
  {
5701
- "name": "label",
5702
- "attribute": "label",
5703
- "description": "Describes the intent of the switch.",
5722
+ "name": "inputmode",
5723
+ "description": "Indicates expected input value type and allows for browsers to display appropriate virtual keyboard.\n\n[Visit MDN for information on supported inputmode values](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode)",
5704
5724
  "type": "?string"
5705
- }
5706
- ],
5707
- "events": [
5708
- {
5709
- "name": "jh-change",
5710
- "description": "Dispatched when the state of the switch has changed."
5711
- }
5712
- ],
5713
- "cssProperties": [
5714
- {
5715
- "name": "--jh-switch-opacity-disabled",
5716
- "description": "The switch opacity when disabled. Defaults to `--jh-opacity-disabled`."
5717
- },
5718
- {
5719
- "name": "--jh-switch-thumb-color-background",
5720
- "description": "The thumb background-color. Defaults to `--jh-color-container-primary-enabled`."
5721
- },
5722
- {
5723
- "name": "--jh-switch-color-focus",
5724
- "description": "The switch outline when it receives keyboard focus. Defaults to `--jh-border-focus-color`."
5725
5725
  },
5726
5726
  {
5727
- "name": "--jh-switch-helper-color-text",
5728
- "description": "The helper-text text color. Defaults to `--jh-color-content-secondary-enabled`."
5727
+ "name": "invalid",
5728
+ "description": "Sets an `aria-invalid` attribute on input to indicate the value supplied was invalid. Also displays `error-text` and error state styling when set.",
5729
+ "type": "boolean",
5730
+ "default": "false"
5729
5731
  },
5730
5732
  {
5731
- "name": "--jh-switch-label-color-text",
5732
- "description": "The label text color. Defaults to `--jh-color-content-primary-enabled`."
5733
+ "name": "label",
5734
+ "description": "Identifies what data should be entered into the input field.",
5735
+ "type": "?string"
5733
5736
  },
5734
5737
  {
5735
- "name": "--jh-switch-track-color-background-unselected-enabled",
5736
- "description": "The track color when unselected. Defaults to `--jh-color-control-enabled`."
5738
+ "name": "maxlength",
5739
+ "description": "Sets the maximum number of characters a user can enter into the field.",
5740
+ "type": "?string"
5737
5741
  },
5738
5742
  {
5739
- "name": "--jh-switch-track-color-background-unselected-focus",
5740
- "description": "The track color when unselected and focused. Defaults to `--jh-color-control-hover`."
5743
+ "name": "minlength",
5744
+ "description": "Sets the minimum number of characters a user can enter into the field.",
5745
+ "type": "?string"
5741
5746
  },
5742
5747
  {
5743
- "name": "--jh-switch-track-color-background-unselected-hover",
5744
- "description": "The track color when unselected and hovered. Defaults to `--jh-color-control-hover`."
5748
+ "name": "name",
5749
+ "description": "Sets a name for the input control.",
5750
+ "type": "?string"
5745
5751
  },
5746
5752
  {
5747
- "name": "--jh-switch-track-color-background-unselected-active",
5748
- "description": "The track color when unselected and active. Defaults to `--jh-color-control-active`."
5753
+ "name": "readonly",
5754
+ "description": "Prevents users from changing the input value. Removes all slotted content.",
5755
+ "type": "boolean",
5756
+ "default": "false"
5749
5757
  },
5750
5758
  {
5751
- "name": "--jh-switch-track-color-background-unselected-disabled",
5752
- "description": "The track color when unselected and disabled. Defaults to `--jh-color-control-enabled`."
5759
+ "name": "required",
5760
+ "description": "Indicates a value is required.",
5761
+ "type": "boolean",
5762
+ "default": "false"
5753
5763
  },
5754
5764
  {
5755
- "name": "--jh-switch-track-color-background-selected-enabled",
5756
- "description": "The track color when selected. Defaults to `--jh-color-content-brand-enabled`."
5765
+ "name": "show-char-count",
5766
+ "description": "Displays a character counter at the bottom right corner below the input field.",
5767
+ "type": "boolean",
5768
+ "default": "false"
5757
5769
  },
5758
5770
  {
5759
- "name": "--jh-switch-track-color-background-selected-focus",
5760
- "description": "The track color when selected and focused. Defaults to `--jh-color-content-brand-hover`."
5771
+ "name": "show-clear-button",
5772
+ "description": "Displays a clear button in the input field when it contains a value and is focused or hovered. Deletes input value when activated.",
5773
+ "type": "boolean",
5774
+ "default": "false"
5761
5775
  },
5762
5776
  {
5763
- "name": "--jh-switch-track-color-background-selected-hover",
5764
- "description": "The track color when selected and hovered. Defaults to `--jh-color-content-brand-hover`."
5777
+ "name": "show-indicator",
5778
+ "description": "Adds a visual indicator next to the label. Indicates that a value is optional(by default) or required if the `required` property is also set.",
5779
+ "type": "boolean",
5780
+ "default": "false"
5765
5781
  },
5766
5782
  {
5767
- "name": "--jh-switch-track-color-background-selected-active",
5768
- "description": "The track color when selected and active. Defaults to `--jh-color-content-brand-active`."
5783
+ "name": "size",
5784
+ "description": "Sets the size of the input.",
5785
+ "type": "'small'|'medium'|'large'",
5786
+ "default": "\"medium\""
5769
5787
  },
5770
5788
  {
5771
- "name": "--jh-switch-track-color-background-selected-disabled",
5772
- "description": "The track color when selected and disabled. Defaults to `--jh-color-content-brand-enabled`."
5773
- }
5774
- ]
5775
- },
5776
- {
5777
- "name": "jh-table-cell",
5778
- "path": "./components/table-data-cell/table-data-cell.js",
5779
- "description": "Table Cell",
5780
- "attributes": [
5781
- {
5782
- "name": "horizontal-align",
5783
- "description": "Sets the horizontal alignment of the content.",
5784
- "type": "'left' | 'center' | 'right'",
5785
- "default": "\"left\""
5789
+ "name": "value",
5790
+ "description": "Sets the value of the input.",
5791
+ "type": "?string"
5786
5792
  }
5787
5793
  ],
5788
5794
  "properties": [
5789
5795
  {
5790
- "name": "horizontalAlign",
5791
- "attribute": "horizontal-align",
5792
- "description": "Sets the horizontal alignment of the content.",
5793
- "type": "'left' | 'center' | 'right'",
5794
- "default": "\"left\""
5795
- }
5796
- ],
5797
- "slots": [
5798
- {
5799
- "name": "default",
5800
- "description": "Use to insert content."
5801
- }
5802
- ],
5803
- "cssProperties": [
5796
+ "name": "menuPosition",
5797
+ "attribute": "menu-position",
5798
+ "description": "Sets the position of the dropdown menu relative to the input field. The menu automatically flips when there is insufficient space unless `flip-disabled` is set.",
5799
+ "type": "string",
5800
+ "default": "\"bottom\""
5801
+ },
5804
5802
  {
5805
- "name": "--jh-table-data-cell-color-text",
5806
- "description": "The cell text color. Defaults to `--jh-color-content-primary-enabled`."
5803
+ "name": "options",
5804
+ "description": "Sets the list of options to display in the dropdown menu. Accepts an array of flat options or grouped options. See documentation for the expected data format.",
5805
+ "type": "Array",
5806
+ "default": "[]"
5807
5807
  },
5808
5808
  {
5809
- "name": "--jh-table-data-cell-color-background",
5810
- "description": "The cell background color. Defaults to `--jh-color-container-primary-enabled`."
5809
+ "name": "flipDisabled",
5810
+ "attribute": "flip-disabled",
5811
+ "description": "Prevents the dropdown menu from automatically flipping its position when there is insufficient viewport space.",
5812
+ "type": "boolean",
5813
+ "default": "false"
5811
5814
  },
5812
5815
  {
5813
- "name": "--jh-table-data-cell-color-border-top",
5814
- "description": "The cell border top color. Defaults to `transparent`."
5816
+ "name": "uniqueId",
5817
+ "type": "number | null"
5815
5818
  },
5816
5819
  {
5817
- "name": "--jh-table-data-cell-color-border-right",
5818
- "description": "The cell border right color. Defaults to `transparent`."
5820
+ "name": "accessibleLabel",
5821
+ "attribute": "accessible-label",
5822
+ "description": "Sets an `aria-label` on the input field to assist screen reader users when no visible label is present.",
5823
+ "type": "?string"
5819
5824
  },
5820
5825
  {
5821
- "name": "--jh-table-data-cell-color-border-left",
5822
- "description": "The cell border left color. Defaults to `transparent`."
5826
+ "name": "accessibleLabelClearButton",
5827
+ "attribute": "accessible-label-clear-button",
5828
+ "description": "Sets an aria-label on the clear button to assist screen reader users. Indicates that activating the button will clear the input field.",
5829
+ "type": "?string"
5823
5830
  },
5824
5831
  {
5825
- "name": "--jh-table-data-cell-color-border-bottom",
5832
+ "name": "autocomplete",
5833
+ "attribute": "autocomplete",
5834
+ "description": "Determines whether the browser can provide assistance in filling out the input value and what type of information is expected.\nThis property will override any autocomplete attribute present on the input's parent form element.\n\n[Visit MDN for information on supported autocomplete values](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)",
5835
+ "type": "?string"
5836
+ },
5837
+ {
5838
+ "name": "disabled",
5839
+ "attribute": "disabled",
5840
+ "description": "Disables the input and prevents all user interactions. May cause the input to be ignored by assistive technologies (AT).",
5841
+ "type": "boolean",
5842
+ "default": "false"
5843
+ },
5844
+ {
5845
+ "name": "enterkeyhint",
5846
+ "attribute": "enterkeyhint",
5847
+ "description": "Specifies which action label or icon to present for the enter key on virtual keyboards.\n\n[Visit MDN for information on supported enterkeyhint values](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint)",
5848
+ "type": "?string"
5849
+ },
5850
+ {
5851
+ "name": "errorText",
5852
+ "attribute": "error-text",
5853
+ "description": "Text to be displayed when input has failed validation and `invalid` is true.",
5854
+ "type": "?string"
5855
+ },
5856
+ {
5857
+ "name": "helperText",
5858
+ "attribute": "helper-text",
5859
+ "description": "Provides additional context or guidance for using the input. For `helper-text` to be displayed, the `label` property must also be set.",
5860
+ "type": "?string"
5861
+ },
5862
+ {
5863
+ "name": "hideLeftSlot",
5864
+ "attribute": "hide-left-slot",
5865
+ "description": "Hides the left slot from input.",
5866
+ "type": "boolean",
5867
+ "default": "false"
5868
+ },
5869
+ {
5870
+ "name": "hideRightSlot",
5871
+ "attribute": "hide-right-slot",
5872
+ "description": "Hides the right slot from input.",
5873
+ "type": "boolean",
5874
+ "default": "false"
5875
+ },
5876
+ {
5877
+ "name": "inputMask",
5878
+ "attribute": "input-mask",
5879
+ "description": "Formats user entered data on input based on fixed lengths. This property does not support dynamic formatting or pasted values. See the input mask documentation above for implementation details.",
5880
+ "type": "?string"
5881
+ },
5882
+ {
5883
+ "name": "inputmode",
5884
+ "attribute": "inputmode",
5885
+ "description": "Indicates expected input value type and allows for browsers to display appropriate virtual keyboard.\n\n[Visit MDN for information on supported inputmode values](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode)",
5886
+ "type": "?string"
5887
+ },
5888
+ {
5889
+ "name": "invalid",
5890
+ "attribute": "invalid",
5891
+ "description": "Sets an `aria-invalid` attribute on input to indicate the value supplied was invalid. Also displays `error-text` and error state styling when set.",
5892
+ "type": "boolean",
5893
+ "default": "false"
5894
+ },
5895
+ {
5896
+ "name": "label",
5897
+ "attribute": "label",
5898
+ "description": "Identifies what data should be entered into the input field.",
5899
+ "type": "?string"
5900
+ },
5901
+ {
5902
+ "name": "maxlength",
5903
+ "attribute": "maxlength",
5904
+ "description": "Sets the maximum number of characters a user can enter into the field.",
5905
+ "type": "?string"
5906
+ },
5907
+ {
5908
+ "name": "minlength",
5909
+ "attribute": "minlength",
5910
+ "description": "Sets the minimum number of characters a user can enter into the field.",
5911
+ "type": "?string"
5912
+ },
5913
+ {
5914
+ "name": "name",
5915
+ "attribute": "name",
5916
+ "description": "Sets a name for the input control.",
5917
+ "type": "?string"
5918
+ },
5919
+ {
5920
+ "name": "readonly",
5921
+ "attribute": "readonly",
5922
+ "description": "Prevents users from changing the input value. Removes all slotted content.",
5923
+ "type": "boolean",
5924
+ "default": "false"
5925
+ },
5926
+ {
5927
+ "name": "required",
5928
+ "attribute": "required",
5929
+ "description": "Indicates a value is required.",
5930
+ "type": "boolean",
5931
+ "default": "false"
5932
+ },
5933
+ {
5934
+ "name": "showCharCount",
5935
+ "attribute": "show-char-count",
5936
+ "description": "Displays a character counter at the bottom right corner below the input field.",
5937
+ "type": "boolean",
5938
+ "default": "false"
5939
+ },
5940
+ {
5941
+ "name": "showClearButton",
5942
+ "attribute": "show-clear-button",
5943
+ "description": "Displays a clear button in the input field when it contains a value and is focused or hovered. Deletes input value when activated.",
5944
+ "type": "boolean",
5945
+ "default": "false"
5946
+ },
5947
+ {
5948
+ "name": "showIndicator",
5949
+ "attribute": "show-indicator",
5950
+ "description": "Adds a visual indicator next to the label. Indicates that a value is optional(by default) or required if the `required` property is also set.",
5951
+ "type": "boolean",
5952
+ "default": "false"
5953
+ },
5954
+ {
5955
+ "name": "size",
5956
+ "attribute": "size",
5957
+ "description": "Sets the size of the input.",
5958
+ "type": "'small'|'medium'|'large'",
5959
+ "default": "\"medium\""
5960
+ },
5961
+ {
5962
+ "name": "value",
5963
+ "attribute": "value",
5964
+ "description": "Sets the value of the input.",
5965
+ "type": "?string"
5966
+ }
5967
+ ],
5968
+ "events": [
5969
+ {
5970
+ "name": "jh-change",
5971
+ "description": "Dispatched when the selected value changes."
5972
+ },
5973
+ {
5974
+ "name": "jh-select",
5975
+ "description": "Dispatched when text is selected. Event payload contains the selected text, the starting index of the selection, and the ending index of the selection. These values can be accessed via `e.detail.selected`, `e.detail.selectionStart`, and `e.detail.selectionEnd`."
5976
+ },
5977
+ {
5978
+ "name": "jh-input",
5979
+ "description": "Dispatched when the value of the input has changed. Event payload includes the value of the input and can be accessed via `e.detail.value`. Payload also includes the raw/unformatted value when an input mask is applied and can be accessed via `e.detail.rawValue`."
5980
+ },
5981
+ {
5982
+ "name": "jh-maxlength",
5983
+ "description": "Dispatched when the `maxlength` property is set and it's value is reached."
5984
+ },
5985
+ {
5986
+ "name": "jh-input:clear-button-click",
5987
+ "description": "Dispatched when the clear button is activated. Event payload contains the previous value of the input field before it was cleared and can be accessed via `e.detail.previousValue`."
5988
+ }
5989
+ ],
5990
+ "slots": [
5991
+ {
5992
+ "name": "jh-select-trigger-left",
5993
+ "description": "Use to insert an element such as an icon on the left side of the select input field."
5994
+ },
5995
+ {
5996
+ "name": "jh-select-trigger-open",
5997
+ "description": "Use to replace the default chevron icon displayed when the select menu is open."
5998
+ },
5999
+ {
6000
+ "name": "jh-select-trigger-closed",
6001
+ "description": "Use to replace the default chevron icon displayed when the select menu is closed."
6002
+ },
6003
+ {
6004
+ "name": "jh-input-left",
6005
+ "description": "Use to insert an element on the left side of the input field, such as an icon or button."
6006
+ },
6007
+ {
6008
+ "name": "jh-input-right",
6009
+ "description": "Use to insert an element on the right side of the input field, such as an icon or button."
6010
+ },
6011
+ {
6012
+ "name": "jh-input-clear-button",
6013
+ "description": "Use to insert an icon within the clear button."
6014
+ }
6015
+ ],
6016
+ "cssProperties": [
6017
+ {
6018
+ "name": "--jh-select-input-field-border-radius",
6019
+ "description": "The input field border radius. Defaults to `--jh-border-radius-100`."
6020
+ },
6021
+ {
6022
+ "name": "--jh-select-input-field-color-background",
6023
+ "description": "The input field background-color. Defaults to `--jh-color-container-primary-enabled`."
6024
+ },
6025
+ {
6026
+ "name": "--jh-select-icon-color-fill",
6027
+ "description": "The select icons color. Defaults to `--jh-color-content-secondary-enabled`."
6028
+ },
6029
+ {
6030
+ "name": "--jh-select-menu-z-index",
6031
+ "description": "The menu z-index. Defaults to `--jh-z-index-positive-1000`."
6032
+ },
6033
+ {
6034
+ "name": "--jh-select-menu-border-radius",
6035
+ "description": "The menu border-radius. Defaults to `--jh-border-radius-200`."
6036
+ },
6037
+ {
6038
+ "name": "--jh-select-menu-shadow",
6039
+ "description": "The menu box-shadow. Defaults to `--jh-shadow-high`."
6040
+ },
6041
+ {
6042
+ "name": "--jh-select-menu-color-background",
6043
+ "description": "The menu container background-color. Defaults to `--jh-color-container-primary-enabled`."
6044
+ },
6045
+ {
6046
+ "name": "--jh-select-menu-space-padding",
6047
+ "description": "The menu container padding. Defaults to `--jh-dimension-200 0`."
6048
+ },
6049
+ {
6050
+ "name": "--jh-select-menu-size-max-width",
6051
+ "description": "The menu maximum width. Defaults to `none`."
6052
+ },
6053
+ {
6054
+ "name": "--jh-select-menu-size-min-width",
6055
+ "description": "The menu minimum width. Defaults to `none`."
6056
+ },
6057
+ {
6058
+ "name": "--jh-select-menu-size-max-height",
6059
+ "description": "The menu maximum height. Defaults to `480px`."
6060
+ },
6061
+ {
6062
+ "name": "--jh-select-input-field-color-border-error",
6063
+ "description": "The input field border-color when invalid. Defaults to `--jh-border-error-color`."
6064
+ },
6065
+ {
6066
+ "name": "--jh-select-label-color-text",
6067
+ "description": "The label text color. Defaults to `--jh-color-content-primary-enabled`."
6068
+ },
6069
+ {
6070
+ "name": "--jh-select-helper-color-text",
6071
+ "description": "The helper-text text color. Defaults to `jh-color-content-secondary-enabled`."
6072
+ },
6073
+ {
6074
+ "name": "--jh-select-required-color-text",
6075
+ "description": "The required indicator color. Defaults to `jh-color-content-negative-enabled`."
6076
+ },
6077
+ {
6078
+ "name": "--jh-select-optional-color-text",
6079
+ "description": "The optional indicator text color. Defaults to `jh-color-content-primary-enabled`."
6080
+ },
6081
+ {
6082
+ "name": "--jh-select-value-color-text",
6083
+ "description": "The value text color. Defaults to `jh-color-content-primary-enabled`."
6084
+ },
6085
+ {
6086
+ "name": "--jh-select-input-field-color-border-enabled",
6087
+ "description": "The input field border-color. Defaults to `--jh-border-control-color`."
6088
+ },
6089
+ {
6090
+ "name": "--jh-select-input-field-color-border-focus",
6091
+ "description": "The input field border-color when in focus. Defaults to `--jh-color-content-brand-hover`."
6092
+ },
6093
+ {
6094
+ "name": "--jh-select-input-color-focus",
6095
+ "description": "The input field outline when it receives keyboard focus. Defaults to `--jh-border-focus-color`."
6096
+ },
6097
+ {
6098
+ "name": "--jh-select-input-field-color-border-hover",
6099
+ "description": "The input field border-color when hovered. Defaults to `--jh-color-content-brand-hover`."
6100
+ },
6101
+ {
6102
+ "name": "--jh-select-input-field-color-border-active",
6103
+ "description": "The input field border-color when active. Defaults to `--jh-color-content-brand-active`."
6104
+ },
6105
+ {
6106
+ "name": "--jh-select-input-field-color-border-disabled",
6107
+ "description": "The input field border-color when disabled. Defaults to `--jh-border-control-color`."
6108
+ },
6109
+ {
6110
+ "name": "--jh-select-opacity-disabled",
6111
+ "description": "The select opacity when disabled. Defaults to `--jh-opacity-disabled`."
6112
+ },
6113
+ {
6114
+ "name": "--jh-select-error-color-text",
6115
+ "description": "The error message text color. Defaults to `jh-color-content-negative-enabled`."
6116
+ },
6117
+ {
6118
+ "name": "--jh-select-item-size-height",
6119
+ "description": "The list item height. Defaults to `auto`."
6120
+ },
6121
+ {
6122
+ "name": "--jh-select-item-space-padding-right",
6123
+ "description": "The list item right padding. Defaults to `--jh-dimension-600`."
6124
+ },
6125
+ {
6126
+ "name": "--jh-select-item-space-padding-left",
6127
+ "description": "The list item left padding. Defaults to `--jh-dimension-600`."
6128
+ },
6129
+ {
6130
+ "name": "--jh-select-item-color-text",
6131
+ "description": "The list item text color. Defaults to `--jh-color-content-primary-enabled`."
6132
+ },
6133
+ {
6134
+ "name": "--jh-select-item-color-background",
6135
+ "description": "The list item background color. Defaults to `transparent`."
6136
+ },
6137
+ {
6138
+ "name": "--jh-select-item-color-background-focus",
6139
+ "description": "The list item background color when focused. Defaults to `--jh-color-container-primary-hover`."
6140
+ },
6141
+ {
6142
+ "name": "--jh-select-item-color-focus",
6143
+ "description": "The list item outline color when focused. Defaults to `--jh-border-focus-color`."
6144
+ },
6145
+ {
6146
+ "name": "--jh-select-item-color-background-hover",
6147
+ "description": "The list item background color when hovered. Defaults to `--jh-color-container-primary-hover`."
6148
+ },
6149
+ {
6150
+ "name": "--jh-select-item-color-background-active",
6151
+ "description": "The list item background color when active. Defaults to `--jh-color-container-primary-active`."
6152
+ },
6153
+ {
6154
+ "name": "--jh-select-item-color-background-selected",
6155
+ "description": "The list item background color when selected. Defaults to `--jh-color-container-primary-selected`."
6156
+ },
6157
+ {
6158
+ "name": "--jh-select-item-color-border-selected",
6159
+ "description": "The list item border color when selected. Defaults to `--jh-border-selected-color`."
6160
+ },
6161
+ {
6162
+ "name": "--jh-select-item-space-padding-left-indent",
6163
+ "description": "The additional left padding for grouped list items. Defaults to `--jh-dimension-200`."
6164
+ },
6165
+ {
6166
+ "name": "--jh-input-label-color-text",
6167
+ "description": "The label text color. Defaults to `--jh-color-content-primary-enabled`."
6168
+ },
6169
+ {
6170
+ "name": "--jh-input-field-color-background",
6171
+ "description": "The input field background-color when in an editable state. This property does not apply when the component is set to `readonly`. Defaults to `--jh-color-container-primary-enabled`."
6172
+ },
6173
+ {
6174
+ "name": "--jh-input-field-color-border-enabled",
6175
+ "description": "The input field border-color. Defaults to `--jh-border-control-color`."
6176
+ },
6177
+ {
6178
+ "name": "--jh-input-field-border-radius",
6179
+ "description": "The input field border radius. Defaults to `--jh-border-radius-100`."
6180
+ },
6181
+ {
6182
+ "name": "--jh-input-color-focus",
6183
+ "description": "The input field outline when it receives keyboard focus. Defaults to `--jh-border-focus-color`."
6184
+ },
6185
+ {
6186
+ "name": "--jh-input-field-color-border-focus",
6187
+ "description": "The input field border-color when in focus. Defaults to `--jh-color-content-brand-hover`."
6188
+ },
6189
+ {
6190
+ "name": "--jh-input-field-color-border-hover",
6191
+ "description": "The input field border-color when hovered. Defaults to `--jh-color-content-brand-hover`."
6192
+ },
6193
+ {
6194
+ "name": "--jh-input-field-color-border-active",
6195
+ "description": "The input field border-color when active. Defaults to `--jh-color-content-brand-active`."
6196
+ },
6197
+ {
6198
+ "name": "--jh-input-field-color-border-disabled",
6199
+ "description": "The input field border-color when disabled. Defaults to `--jh-border-control-color`."
6200
+ },
6201
+ {
6202
+ "name": "--jh-input-opacity-disabled",
6203
+ "description": "The input opacity when disabled. Defaults to `--jh-opacity-disabled`."
6204
+ },
6205
+ {
6206
+ "name": "--jh-input-field-color-border-error",
6207
+ "description": "The input field border-color when invalid. Defaults to `--jh-border-error-color`."
6208
+ },
6209
+ {
6210
+ "name": "--jh-input-clear-border-radius",
6211
+ "description": "The clear button border radius. Defaults to `--jh-border-radius-100`."
6212
+ },
6213
+ {
6214
+ "name": "--jh-input-clear-color-background-enabled",
6215
+ "description": "The clear button background-color. Defaults to `transparent`."
6216
+ },
6217
+ {
6218
+ "name": "--jh-input-clear-color-border-enabled",
6219
+ "description": "The clear button border-color. Defaults to `transparent`."
6220
+ },
6221
+ {
6222
+ "name": "--jh-input-clear-icon-color-fill-enabled",
6223
+ "description": "The clear button icon fill color. Defaults to `--jh-color-content-brand-enabled`."
6224
+ },
6225
+ {
6226
+ "name": "--jh-input-clear-color-background-focus",
6227
+ "description": "The clear button background-color when in focus. Defaults to `--jh-color-content-brand-hover`."
6228
+ },
6229
+ {
6230
+ "name": "--jh-input-clear-color-border-focus",
6231
+ "description": "The clear button border-color when in focus. Defaults to `transparent`."
6232
+ },
6233
+ {
6234
+ "name": "--jh-input-clear-color-focus",
6235
+ "description": "The clear button outline when it receives keyboard focus. Defaults to `--jh-border-focus-color`."
6236
+ },
6237
+ {
6238
+ "name": "--jh-input-clear-icon-color-fill-focus",
6239
+ "description": "The clear button icon fill color when in focus. Defaults to `--jh-color-content-on-brand-hover`."
6240
+ },
6241
+ {
6242
+ "name": "--jh-input-clear-color-background-hover",
6243
+ "description": "The clear button background-color when hovered. Defaults to `--jh-color-content-brand-hover`."
6244
+ },
6245
+ {
6246
+ "name": "--jh-input-clear-color-border-hover",
6247
+ "description": "The clear button border-color when hovered. Defaults to `transparent`."
6248
+ },
6249
+ {
6250
+ "name": "--jh-input-clear-icon-color-fill-hover",
6251
+ "description": "The clear button icon fill color when hovered. Defaults to `--jh-color-content-on-brand-hover`."
6252
+ },
6253
+ {
6254
+ "name": "--jh-input-clear-color-background-active",
6255
+ "description": "The clear button background-color when active. Defaults to `--jh-color-content-brand-active`."
6256
+ },
6257
+ {
6258
+ "name": "--jh-input-clear-color-border-active",
6259
+ "description": "The clear button border-color when active. Defaults to `transparent`."
6260
+ },
6261
+ {
6262
+ "name": "--jh-input-clear-icon-color-fill-active",
6263
+ "description": "The clear button icon fill color when active. Defaults to `--jh-color-content-on-brand-active`."
6264
+ },
6265
+ {
6266
+ "name": "--jh-input-required-color-text",
6267
+ "description": "The required indicator color. Defaults to `jh-color-content-negative-enabled`."
6268
+ },
6269
+ {
6270
+ "name": "--jh-input-optional-color-text",
6271
+ "description": "The optional indicator text color. Defaults to `jh-color-content-primary-enabled`."
6272
+ },
6273
+ {
6274
+ "name": "--jh-input-helper-color-text",
6275
+ "description": "The helper-text text color. Defaults to `jh-color-content-secondary-enabled`."
6276
+ },
6277
+ {
6278
+ "name": "--jh-input-counter-color-text",
6279
+ "description": "The character counter text color. Defaults to `--jh-color-content-secondary-enabled`."
6280
+ },
6281
+ {
6282
+ "name": "--jh-input-value-color-text",
6283
+ "description": "The value text color. Defaults to `jh-color-content-primary-enabled`."
6284
+ },
6285
+ {
6286
+ "name": "--jh-input-error-color-text",
6287
+ "description": "The error message text color. Defaults to `jh-color-content-negative-enabled`."
6288
+ }
6289
+ ]
6290
+ },
6291
+ {
6292
+ "name": "jh-switch",
6293
+ "path": "./components/switch/switch.js",
6294
+ "attributes": [
6295
+ {
6296
+ "name": "accessible-disabled",
6297
+ "description": "Sets an `aria-disabled` to signify to screen readers that the disabled switch should remain perceivable while disabled.",
6298
+ "type": "'true'|'false'"
6299
+ },
6300
+ {
6301
+ "name": "accessible-label",
6302
+ "description": "Sets an `aria-label` to assist screen reader users when no visible label is present.",
6303
+ "type": "?string"
6304
+ },
6305
+ {
6306
+ "name": "checked",
6307
+ "description": "Sets the selected or 'checked' state on the switch",
6308
+ "type": "?boolean",
6309
+ "default": "false"
6310
+ },
6311
+ {
6312
+ "name": "disabled",
6313
+ "description": "Disables the switch and prevents all user interactions. May cause switch to be ignored by assistive technologies(AT). See `accessible-disabled` if switch should remain perceivable to AT.",
6314
+ "type": "?boolean",
6315
+ "default": "false"
6316
+ },
6317
+ {
6318
+ "name": "helper-text",
6319
+ "description": "Provides additional context or guidance for using the switch. For `helper-text` to be displayed, the `label` property must also be set.",
6320
+ "type": "?string"
6321
+ },
6322
+ {
6323
+ "name": "label",
6324
+ "description": "Describes the intent of the switch.",
6325
+ "type": "?string"
6326
+ }
6327
+ ],
6328
+ "properties": [
6329
+ {
6330
+ "name": "accessibleDisabled",
6331
+ "attribute": "accessible-disabled",
6332
+ "description": "Sets an `aria-disabled` to signify to screen readers that the disabled switch should remain perceivable while disabled.",
6333
+ "type": "'true'|'false'"
6334
+ },
6335
+ {
6336
+ "name": "accessibleLabel",
6337
+ "attribute": "accessible-label",
6338
+ "description": "Sets an `aria-label` to assist screen reader users when no visible label is present.",
6339
+ "type": "?string"
6340
+ },
6341
+ {
6342
+ "name": "checked",
6343
+ "attribute": "checked",
6344
+ "description": "Sets the selected or 'checked' state on the switch",
6345
+ "type": "?boolean",
6346
+ "default": "false"
6347
+ },
6348
+ {
6349
+ "name": "disabled",
6350
+ "attribute": "disabled",
6351
+ "description": "Disables the switch and prevents all user interactions. May cause switch to be ignored by assistive technologies(AT). See `accessible-disabled` if switch should remain perceivable to AT.",
6352
+ "type": "?boolean",
6353
+ "default": "false"
6354
+ },
6355
+ {
6356
+ "name": "helperText",
6357
+ "attribute": "helper-text",
6358
+ "description": "Provides additional context or guidance for using the switch. For `helper-text` to be displayed, the `label` property must also be set.",
6359
+ "type": "?string"
6360
+ },
6361
+ {
6362
+ "name": "label",
6363
+ "attribute": "label",
6364
+ "description": "Describes the intent of the switch.",
6365
+ "type": "?string"
6366
+ }
6367
+ ],
6368
+ "events": [
6369
+ {
6370
+ "name": "jh-change",
6371
+ "description": "Dispatched when the state of the switch has changed."
6372
+ }
6373
+ ],
6374
+ "cssProperties": [
6375
+ {
6376
+ "name": "--jh-switch-opacity-disabled",
6377
+ "description": "The switch opacity when disabled. Defaults to `--jh-opacity-disabled`."
6378
+ },
6379
+ {
6380
+ "name": "--jh-switch-thumb-color-background",
6381
+ "description": "The thumb background-color. Defaults to `--jh-color-container-primary-enabled`."
6382
+ },
6383
+ {
6384
+ "name": "--jh-switch-color-focus",
6385
+ "description": "The switch outline when it receives keyboard focus. Defaults to `--jh-border-focus-color`."
6386
+ },
6387
+ {
6388
+ "name": "--jh-switch-helper-color-text",
6389
+ "description": "The helper-text text color. Defaults to `--jh-color-content-secondary-enabled`."
6390
+ },
6391
+ {
6392
+ "name": "--jh-switch-label-color-text",
6393
+ "description": "The label text color. Defaults to `--jh-color-content-primary-enabled`."
6394
+ },
6395
+ {
6396
+ "name": "--jh-switch-track-color-background-unselected-enabled",
6397
+ "description": "The track color when unselected. Defaults to `--jh-color-control-enabled`."
6398
+ },
6399
+ {
6400
+ "name": "--jh-switch-track-color-background-unselected-focus",
6401
+ "description": "The track color when unselected and focused. Defaults to `--jh-color-control-hover`."
6402
+ },
6403
+ {
6404
+ "name": "--jh-switch-track-color-background-unselected-hover",
6405
+ "description": "The track color when unselected and hovered. Defaults to `--jh-color-control-hover`."
6406
+ },
6407
+ {
6408
+ "name": "--jh-switch-track-color-background-unselected-active",
6409
+ "description": "The track color when unselected and active. Defaults to `--jh-color-control-active`."
6410
+ },
6411
+ {
6412
+ "name": "--jh-switch-track-color-background-unselected-disabled",
6413
+ "description": "The track color when unselected and disabled. Defaults to `--jh-color-control-enabled`."
6414
+ },
6415
+ {
6416
+ "name": "--jh-switch-track-color-background-selected-enabled",
6417
+ "description": "The track color when selected. Defaults to `--jh-color-content-brand-enabled`."
6418
+ },
6419
+ {
6420
+ "name": "--jh-switch-track-color-background-selected-focus",
6421
+ "description": "The track color when selected and focused. Defaults to `--jh-color-content-brand-hover`."
6422
+ },
6423
+ {
6424
+ "name": "--jh-switch-track-color-background-selected-hover",
6425
+ "description": "The track color when selected and hovered. Defaults to `--jh-color-content-brand-hover`."
6426
+ },
6427
+ {
6428
+ "name": "--jh-switch-track-color-background-selected-active",
6429
+ "description": "The track color when selected and active. Defaults to `--jh-color-content-brand-active`."
6430
+ },
6431
+ {
6432
+ "name": "--jh-switch-track-color-background-selected-disabled",
6433
+ "description": "The track color when selected and disabled. Defaults to `--jh-color-content-brand-enabled`."
6434
+ }
6435
+ ]
6436
+ },
6437
+ {
6438
+ "name": "jh-table-cell",
6439
+ "path": "./components/table-data-cell/table-data-cell.js",
6440
+ "description": "Table Cell",
6441
+ "attributes": [
6442
+ {
6443
+ "name": "horizontal-align",
6444
+ "description": "Sets the horizontal alignment of the content.",
6445
+ "type": "'left' | 'center' | 'right'",
6446
+ "default": "\"left\""
6447
+ }
6448
+ ],
6449
+ "properties": [
6450
+ {
6451
+ "name": "horizontalAlign",
6452
+ "attribute": "horizontal-align",
6453
+ "description": "Sets the horizontal alignment of the content.",
6454
+ "type": "'left' | 'center' | 'right'",
6455
+ "default": "\"left\""
6456
+ }
6457
+ ],
6458
+ "slots": [
6459
+ {
6460
+ "name": "default",
6461
+ "description": "Use to insert content."
6462
+ }
6463
+ ],
6464
+ "cssProperties": [
6465
+ {
6466
+ "name": "--jh-table-data-cell-color-text",
6467
+ "description": "The cell text color. Defaults to `--jh-color-content-primary-enabled`."
6468
+ },
6469
+ {
6470
+ "name": "--jh-table-data-cell-color-background",
6471
+ "description": "The cell background color. Defaults to `--jh-color-container-primary-enabled`."
6472
+ },
6473
+ {
6474
+ "name": "--jh-table-data-cell-color-border-top",
6475
+ "description": "The cell border top color. Defaults to `transparent`."
6476
+ },
6477
+ {
6478
+ "name": "--jh-table-data-cell-color-border-right",
6479
+ "description": "The cell border right color. Defaults to `transparent`."
6480
+ },
6481
+ {
6482
+ "name": "--jh-table-data-cell-color-border-left",
6483
+ "description": "The cell border left color. Defaults to `transparent`."
6484
+ },
6485
+ {
6486
+ "name": "--jh-table-data-cell-color-border-bottom",
5826
6487
  "description": "The cell border bottom color. Defaults to `--jh-border-decorative-color`."
5827
6488
  },
5828
6489
  {
@@ -6757,12 +7418,6 @@
6757
7418
  "type": "number",
6758
7419
  "default": "5000"
6759
7420
  },
6760
- {
6761
- "name": "appearance",
6762
- "description": "Sets the background color of the toast to convey message connotation.",
6763
- "type": "'positive'|'neutral'|'negative'",
6764
- "default": "\"neutral\""
6765
- },
6766
7421
  {
6767
7422
  "name": "dismiss-button-accessible-label",
6768
7423
  "description": "Adds an aria-label to the dismiss button to assist screen readers.",
@@ -6789,13 +7444,6 @@
6789
7444
  "type": "number",
6790
7445
  "default": "5000"
6791
7446
  },
6792
- {
6793
- "name": "appearance",
6794
- "attribute": "appearance",
6795
- "description": "Sets the background color of the toast to convey message connotation.",
6796
- "type": "'positive'|'neutral'|'negative'",
6797
- "default": "\"neutral\""
6798
- },
6799
7447
  {
6800
7448
  "name": "dismissButtonAccessibleLabel",
6801
7449
  "attribute": "dismiss-button-accessible-label",