@skedulo/breeze-ui 0.9.4 → 0.9.6

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.
@@ -72,109 +72,6 @@
72
72
  }
73
73
  ]
74
74
  },
75
- {
76
- "kind": "javascript-module",
77
- "path": "src/animation/fade-in-out.ts",
78
- "declarations": [
79
- {
80
- "kind": "variable",
81
- "name": "FADE_IN_OUT"
82
- },
83
- {
84
- "kind": "class",
85
- "description": "Fade in out animation.",
86
- "name": "FadeInOut",
87
- "members": [
88
- {
89
- "kind": "field",
90
- "name": "shown",
91
- "type": {
92
- "text": "boolean"
93
- },
94
- "default": "false",
95
- "attribute": "shown"
96
- },
97
- {
98
- "kind": "field",
99
- "name": "removed",
100
- "type": {
101
- "text": "boolean"
102
- },
103
- "default": "!this.shown"
104
- },
105
- {
106
- "kind": "method",
107
- "name": "_handleTransitionEnd",
108
- "privacy": "private",
109
- "parameters": [
110
- {
111
- "name": "event",
112
- "type": {
113
- "text": "Event"
114
- }
115
- }
116
- ]
117
- }
118
- ],
119
- "attributes": [
120
- {
121
- "name": "shown",
122
- "type": {
123
- "text": "boolean"
124
- },
125
- "default": "false",
126
- "fieldName": "shown"
127
- }
128
- ],
129
- "superclass": {
130
- "name": "LitElement",
131
- "package": "lit"
132
- },
133
- "tagName": "brz-fade-in-out",
134
- "customElement": true
135
- }
136
- ],
137
- "exports": [
138
- {
139
- "kind": "js",
140
- "name": "FADE_IN_OUT",
141
- "declaration": {
142
- "name": "FADE_IN_OUT",
143
- "module": "src/animation/fade-in-out.ts"
144
- }
145
- },
146
- {
147
- "kind": "js",
148
- "name": "FadeInOut",
149
- "declaration": {
150
- "name": "FadeInOut",
151
- "module": "src/animation/fade-in-out.ts"
152
- }
153
- },
154
- {
155
- "kind": "custom-element-definition",
156
- "declaration": {
157
- "name": "FadeInOut",
158
- "module": "src/animation/fade-in-out.ts"
159
- }
160
- }
161
- ]
162
- },
163
- {
164
- "kind": "javascript-module",
165
- "path": "src/animation/index.ts",
166
- "declarations": [],
167
- "exports": [
168
- {
169
- "kind": "js",
170
- "name": "*",
171
- "declaration": {
172
- "name": "*",
173
- "package": "./fade-in-out"
174
- }
175
- }
176
- ]
177
- },
178
75
  {
179
76
  "kind": "javascript-module",
180
77
  "path": "src/layout/flex.ts",
@@ -890,97 +787,6 @@
890
787
  }
891
788
  ]
892
789
  },
893
- {
894
- "kind": "javascript-module",
895
- "path": "src/helpers/css-helpers.ts",
896
- "declarations": [
897
- {
898
- "kind": "function",
899
- "name": "getFocusStyles",
900
- "parameters": [
901
- {
902
- "name": "selector",
903
- "type": {
904
- "text": "string"
905
- },
906
- "description": "A CSS selector targeting an interactive element."
907
- },
908
- {
909
- "name": "extraRules",
910
- "default": "css``",
911
- "description": "Optional rules to append. Useful for overrides."
912
- }
913
- ],
914
- "description": "Returns a CSSResult applying focus outline styles to a given interactive\nelement. Reduces repetition throughout multiple components.\n\nTargets modern `:focus-visible` by default and includes a `:focus` fallback\nfor older browsers."
915
- },
916
- {
917
- "kind": "variable",
918
- "name": "invisibleButtonRules",
919
- "default": "css`\n background: none;\n border: 0;\n border-radius: var(--brz-border-radius-default);\n color: var(--brz-color-neutral-750);\n cursor: pointer;\n display: inline-flex;\n font: inherit;\n margin: 0;\n padding: 0;\n`",
920
- "description": "CSS rules to apply invisible styles to buttons. Use within a CSS declaration\nblock."
921
- },
922
- {
923
- "kind": "function",
924
- "name": "getInvisibleButtonStyles",
925
- "parameters": [
926
- {
927
- "name": "selector",
928
- "type": {
929
- "text": "string"
930
- },
931
- "description": "A CSS selector targeting a button"
932
- },
933
- {
934
- "name": "extraRules",
935
- "default": "css``",
936
- "description": "Optional rules to append. Useful for overrides."
937
- }
938
- ],
939
- "description": "Returns a CSSResult applying invisible styles to a button matching the given\nselector. Invisible buttons are a common pattern for icon-only close buttons.\n\nSince this applies to buttons, default focus styles are also automatically\nincluded for the selector. If you don't need them, or need to customise them,\nuse `invisibleButtonStyles` and `getFocusStyles()` separately instead."
940
- }
941
- ],
942
- "exports": [
943
- {
944
- "kind": "js",
945
- "name": "getFocusStyles",
946
- "declaration": {
947
- "name": "getFocusStyles",
948
- "module": "src/helpers/css-helpers.ts"
949
- }
950
- },
951
- {
952
- "kind": "js",
953
- "name": "invisibleButtonRules",
954
- "declaration": {
955
- "name": "invisibleButtonRules",
956
- "module": "src/helpers/css-helpers.ts"
957
- }
958
- },
959
- {
960
- "kind": "js",
961
- "name": "getInvisibleButtonStyles",
962
- "declaration": {
963
- "name": "getInvisibleButtonStyles",
964
- "module": "src/helpers/css-helpers.ts"
965
- }
966
- }
967
- ]
968
- },
969
- {
970
- "kind": "javascript-module",
971
- "path": "src/helpers/index.ts",
972
- "declarations": [],
973
- "exports": [
974
- {
975
- "kind": "js",
976
- "name": "*",
977
- "declaration": {
978
- "name": "*",
979
- "package": "./css-helpers"
980
- }
981
- }
982
- ]
983
- },
984
790
  {
985
791
  "kind": "javascript-module",
986
792
  "path": "src/components/alert.ts",
@@ -7463,6 +7269,7 @@
7463
7269
  "text": "boolean"
7464
7270
  },
7465
7271
  "default": "false",
7272
+ "description": "Shows and hides slotted content",
7466
7273
  "fieldName": "shown",
7467
7274
  "inheritedFrom": {
7468
7275
  "name": "FadeInOut",
@@ -7478,24 +7285,13 @@
7478
7285
  "text": "boolean"
7479
7286
  },
7480
7287
  "default": "false",
7288
+ "description": "Shows and hides slotted content",
7481
7289
  "attribute": "shown",
7482
7290
  "inheritedFrom": {
7483
7291
  "name": "FadeInOut",
7484
7292
  "module": "src/animation/fade-in-out.ts"
7485
7293
  }
7486
7294
  },
7487
- {
7488
- "kind": "field",
7489
- "name": "removed",
7490
- "type": {
7491
- "text": "boolean"
7492
- },
7493
- "default": "!this.shown",
7494
- "inheritedFrom": {
7495
- "name": "FadeInOut",
7496
- "module": "src/animation/fade-in-out.ts"
7497
- }
7498
- },
7499
7295
  {
7500
7296
  "kind": "method",
7501
7297
  "name": "_handleTransitionEnd",
@@ -8914,6 +8710,19 @@
8914
8710
  "module": "src/components/form-elements/input-checkbox.ts"
8915
8711
  }
8916
8712
  },
8713
+ {
8714
+ "name": "required",
8715
+ "type": {
8716
+ "text": "boolean"
8717
+ },
8718
+ "default": "false",
8719
+ "description": "Indicates that the input requires a value",
8720
+ "fieldName": "required",
8721
+ "inheritedFrom": {
8722
+ "name": "InputBase",
8723
+ "module": "src/components/form-elements/input-base.ts"
8724
+ }
8725
+ },
8917
8726
  {
8918
8727
  "name": "invalid",
8919
8728
  "type": {
@@ -9070,12 +8879,14 @@
9070
8879
  },
9071
8880
  {
9072
8881
  "kind": "field",
9073
- "name": "shadowRootOptions",
8882
+ "name": "required",
9074
8883
  "type": {
9075
- "text": "ShadowRootInit"
8884
+ "text": "boolean"
9076
8885
  },
9077
- "static": true,
9078
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n }",
8886
+ "default": "false",
8887
+ "description": "Indicates that the input requires a value",
8888
+ "attribute": "required",
8889
+ "reflects": true,
9079
8890
  "inheritedFrom": {
9080
8891
  "name": "InputBase",
9081
8892
  "module": "src/components/form-elements/input-base.ts"
@@ -9270,26 +9081,26 @@
9270
9081
  }
9271
9082
  },
9272
9083
  {
9273
- "name": "required",
9084
+ "name": "label-position",
9274
9085
  "type": {
9275
- "text": "boolean"
9086
+ "text": "LabelPosition"
9276
9087
  },
9277
- "default": "false",
9278
- "description": "Makes the field go into a required state",
9279
- "fieldName": "required",
9088
+ "default": "'top'",
9089
+ "description": "The position of the supplied label",
9090
+ "fieldName": "labelPosition",
9280
9091
  "inheritedFrom": {
9281
9092
  "name": "LabeledInput",
9282
9093
  "module": "src/components/form-elements/labeled-input.ts"
9283
9094
  }
9284
9095
  },
9285
9096
  {
9286
- "name": "label-position",
9097
+ "name": "optional",
9287
9098
  "type": {
9288
- "text": "LabelPosition"
9099
+ "text": "boolean"
9289
9100
  },
9290
- "default": "'top'",
9291
- "description": "The position of the supplied label",
9292
- "fieldName": "labelPosition",
9101
+ "default": "false",
9102
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
9103
+ "fieldName": "optional",
9293
9104
  "inheritedFrom": {
9294
9105
  "name": "LabeledInput",
9295
9106
  "module": "src/components/form-elements/labeled-input.ts"
@@ -9308,6 +9119,19 @@
9308
9119
  "module": "src/components/form-elements/input-base.ts"
9309
9120
  }
9310
9121
  },
9122
+ {
9123
+ "name": "required",
9124
+ "type": {
9125
+ "text": "boolean"
9126
+ },
9127
+ "default": "false",
9128
+ "description": "Indicates that the input requires a value",
9129
+ "fieldName": "required",
9130
+ "inheritedFrom": {
9131
+ "name": "InputBase",
9132
+ "module": "src/components/form-elements/input-base.ts"
9133
+ }
9134
+ },
9311
9135
  {
9312
9136
  "name": "invalid",
9313
9137
  "type": {
@@ -9515,28 +9339,28 @@
9515
9339
  },
9516
9340
  {
9517
9341
  "kind": "field",
9518
- "name": "required",
9342
+ "name": "labelPosition",
9519
9343
  "type": {
9520
- "text": "boolean"
9344
+ "text": "LabelPosition"
9521
9345
  },
9522
- "default": "false",
9523
- "description": "Makes the field go into a required state",
9524
- "attribute": "required",
9525
- "reflects": true,
9526
- "inheritedFrom": {
9346
+ "default": "'top'",
9347
+ "description": "The position of the supplied label",
9348
+ "attribute": "label-position",
9349
+ "reflects": true,
9350
+ "inheritedFrom": {
9527
9351
  "name": "LabeledInput",
9528
9352
  "module": "src/components/form-elements/labeled-input.ts"
9529
9353
  }
9530
9354
  },
9531
9355
  {
9532
9356
  "kind": "field",
9533
- "name": "labelPosition",
9357
+ "name": "optional",
9534
9358
  "type": {
9535
- "text": "LabelPosition"
9359
+ "text": "boolean"
9536
9360
  },
9537
- "default": "'top'",
9538
- "description": "The position of the supplied label",
9539
- "attribute": "label-position",
9361
+ "default": "false",
9362
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
9363
+ "attribute": "optional",
9540
9364
  "reflects": true,
9541
9365
  "inheritedFrom": {
9542
9366
  "name": "LabeledInput",
@@ -9566,12 +9390,14 @@
9566
9390
  },
9567
9391
  {
9568
9392
  "kind": "field",
9569
- "name": "shadowRootOptions",
9393
+ "name": "disabled",
9570
9394
  "type": {
9571
- "text": "ShadowRootInit"
9395
+ "text": "boolean"
9572
9396
  },
9573
- "static": true,
9574
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n }",
9397
+ "default": "false",
9398
+ "description": "Disables the input field",
9399
+ "attribute": "disabled",
9400
+ "reflects": true,
9575
9401
  "inheritedFrom": {
9576
9402
  "name": "InputBase",
9577
9403
  "module": "src/components/form-elements/input-base.ts"
@@ -9579,13 +9405,13 @@
9579
9405
  },
9580
9406
  {
9581
9407
  "kind": "field",
9582
- "name": "disabled",
9408
+ "name": "required",
9583
9409
  "type": {
9584
9410
  "text": "boolean"
9585
9411
  },
9586
9412
  "default": "false",
9587
- "description": "Disables the input field",
9588
- "attribute": "disabled",
9413
+ "description": "Indicates that the input requires a value",
9414
+ "attribute": "required",
9589
9415
  "reflects": true,
9590
9416
  "inheritedFrom": {
9591
9417
  "name": "InputBase",
@@ -9881,26 +9707,26 @@
9881
9707
  }
9882
9708
  },
9883
9709
  {
9884
- "name": "required",
9710
+ "name": "label-position",
9885
9711
  "type": {
9886
- "text": "boolean"
9712
+ "text": "LabelPosition"
9887
9713
  },
9888
- "default": "false",
9889
- "description": "Makes the field go into a required state",
9890
- "fieldName": "required",
9714
+ "default": "'top'",
9715
+ "description": "The position of the supplied label",
9716
+ "fieldName": "labelPosition",
9891
9717
  "inheritedFrom": {
9892
9718
  "name": "LabeledInput",
9893
9719
  "module": "src/components/form-elements/labeled-input.ts"
9894
9720
  }
9895
9721
  },
9896
9722
  {
9897
- "name": "label-position",
9723
+ "name": "optional",
9898
9724
  "type": {
9899
- "text": "LabelPosition"
9725
+ "text": "boolean"
9900
9726
  },
9901
- "default": "'top'",
9902
- "description": "The position of the supplied label",
9903
- "fieldName": "labelPosition",
9727
+ "default": "false",
9728
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
9729
+ "fieldName": "optional",
9904
9730
  "inheritedFrom": {
9905
9731
  "name": "LabeledInput",
9906
9732
  "module": "src/components/form-elements/labeled-input.ts"
@@ -9919,6 +9745,19 @@
9919
9745
  "module": "src/components/form-elements/input-base.ts"
9920
9746
  }
9921
9747
  },
9748
+ {
9749
+ "name": "required",
9750
+ "type": {
9751
+ "text": "boolean"
9752
+ },
9753
+ "default": "false",
9754
+ "description": "Indicates that the input requires a value",
9755
+ "fieldName": "required",
9756
+ "inheritedFrom": {
9757
+ "name": "InputBase",
9758
+ "module": "src/components/form-elements/input-base.ts"
9759
+ }
9760
+ },
9922
9761
  {
9923
9762
  "name": "invalid",
9924
9763
  "type": {
@@ -10516,13 +10355,13 @@
10516
10355
  },
10517
10356
  {
10518
10357
  "kind": "field",
10519
- "name": "required",
10358
+ "name": "labelPosition",
10520
10359
  "type": {
10521
- "text": "boolean"
10360
+ "text": "LabelPosition"
10522
10361
  },
10523
- "default": "false",
10524
- "description": "Makes the field go into a required state",
10525
- "attribute": "required",
10362
+ "default": "'top'",
10363
+ "description": "The position of the supplied label",
10364
+ "attribute": "label-position",
10526
10365
  "reflects": true,
10527
10366
  "inheritedFrom": {
10528
10367
  "name": "LabeledInput",
@@ -10531,13 +10370,13 @@
10531
10370
  },
10532
10371
  {
10533
10372
  "kind": "field",
10534
- "name": "labelPosition",
10373
+ "name": "optional",
10535
10374
  "type": {
10536
- "text": "LabelPosition"
10375
+ "text": "boolean"
10537
10376
  },
10538
- "default": "'top'",
10539
- "description": "The position of the supplied label",
10540
- "attribute": "label-position",
10377
+ "default": "false",
10378
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
10379
+ "attribute": "optional",
10541
10380
  "reflects": true,
10542
10381
  "inheritedFrom": {
10543
10382
  "name": "LabeledInput",
@@ -10567,12 +10406,14 @@
10567
10406
  },
10568
10407
  {
10569
10408
  "kind": "field",
10570
- "name": "shadowRootOptions",
10409
+ "name": "disabled",
10571
10410
  "type": {
10572
- "text": "ShadowRootInit"
10411
+ "text": "boolean"
10573
10412
  },
10574
- "static": true,
10575
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n }",
10413
+ "default": "false",
10414
+ "description": "Disables the input field",
10415
+ "attribute": "disabled",
10416
+ "reflects": true,
10576
10417
  "inheritedFrom": {
10577
10418
  "name": "InputBase",
10578
10419
  "module": "src/components/form-elements/input-base.ts"
@@ -10580,13 +10421,13 @@
10580
10421
  },
10581
10422
  {
10582
10423
  "kind": "field",
10583
- "name": "disabled",
10424
+ "name": "required",
10584
10425
  "type": {
10585
10426
  "text": "boolean"
10586
10427
  },
10587
10428
  "default": "false",
10588
- "description": "Disables the input field",
10589
- "attribute": "disabled",
10429
+ "description": "Indicates that the input requires a value",
10430
+ "attribute": "required",
10590
10431
  "reflects": true,
10591
10432
  "inheritedFrom": {
10592
10433
  "name": "InputBase",
@@ -10815,19 +10656,6 @@
10815
10656
  "module": "src/components/form-elements/input-text-base.ts"
10816
10657
  }
10817
10658
  },
10818
- {
10819
- "name": "required",
10820
- "type": {
10821
- "text": "boolean"
10822
- },
10823
- "default": "false",
10824
- "description": "Makes the field go into a required state",
10825
- "fieldName": "required",
10826
- "inheritedFrom": {
10827
- "name": "LabeledInput",
10828
- "module": "src/components/form-elements/labeled-input.ts"
10829
- }
10830
- },
10831
10659
  {
10832
10660
  "name": "label-position",
10833
10661
  "type": {
@@ -10854,6 +10682,19 @@
10854
10682
  "module": "src/components/form-elements/labeled-input.ts"
10855
10683
  }
10856
10684
  },
10685
+ {
10686
+ "name": "optional",
10687
+ "type": {
10688
+ "text": "boolean"
10689
+ },
10690
+ "default": "false",
10691
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
10692
+ "fieldName": "optional",
10693
+ "inheritedFrom": {
10694
+ "name": "LabeledInput",
10695
+ "module": "src/components/form-elements/labeled-input.ts"
10696
+ }
10697
+ },
10857
10698
  {
10858
10699
  "name": "disabled",
10859
10700
  "type": {
@@ -10867,6 +10708,19 @@
10867
10708
  "module": "src/components/form-elements/input-base.ts"
10868
10709
  }
10869
10710
  },
10711
+ {
10712
+ "name": "required",
10713
+ "type": {
10714
+ "text": "boolean"
10715
+ },
10716
+ "default": "false",
10717
+ "description": "Indicates that the input requires a value",
10718
+ "fieldName": "required",
10719
+ "inheritedFrom": {
10720
+ "name": "InputBase",
10721
+ "module": "src/components/form-elements/input-base.ts"
10722
+ }
10723
+ },
10870
10724
  {
10871
10725
  "name": "invalid",
10872
10726
  "type": {
@@ -11126,21 +10980,6 @@
11126
10980
  "module": "src/components/form-elements/labeled-input.ts"
11127
10981
  }
11128
10982
  },
11129
- {
11130
- "kind": "field",
11131
- "name": "required",
11132
- "type": {
11133
- "text": "boolean"
11134
- },
11135
- "default": "false",
11136
- "description": "Makes the field go into a required state",
11137
- "attribute": "required",
11138
- "reflects": true,
11139
- "inheritedFrom": {
11140
- "name": "LabeledInput",
11141
- "module": "src/components/form-elements/labeled-input.ts"
11142
- }
11143
- },
11144
10983
  {
11145
10984
  "kind": "field",
11146
10985
  "name": "labelPosition",
@@ -11171,6 +11010,21 @@
11171
11010
  "module": "src/components/form-elements/labeled-input.ts"
11172
11011
  }
11173
11012
  },
11013
+ {
11014
+ "kind": "field",
11015
+ "name": "optional",
11016
+ "type": {
11017
+ "text": "boolean"
11018
+ },
11019
+ "default": "false",
11020
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
11021
+ "attribute": "optional",
11022
+ "reflects": true,
11023
+ "inheritedFrom": {
11024
+ "name": "LabeledInput",
11025
+ "module": "src/components/form-elements/labeled-input.ts"
11026
+ }
11027
+ },
11174
11028
  {
11175
11029
  "kind": "method",
11176
11030
  "name": "handleErrorChange",
@@ -11194,12 +11048,14 @@
11194
11048
  },
11195
11049
  {
11196
11050
  "kind": "field",
11197
- "name": "shadowRootOptions",
11051
+ "name": "disabled",
11198
11052
  "type": {
11199
- "text": "ShadowRootInit"
11053
+ "text": "boolean"
11200
11054
  },
11201
- "static": true,
11202
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n }",
11055
+ "default": "false",
11056
+ "description": "Disables the input field",
11057
+ "attribute": "disabled",
11058
+ "reflects": true,
11203
11059
  "inheritedFrom": {
11204
11060
  "name": "InputBase",
11205
11061
  "module": "src/components/form-elements/input-base.ts"
@@ -11207,13 +11063,13 @@
11207
11063
  },
11208
11064
  {
11209
11065
  "kind": "field",
11210
- "name": "disabled",
11066
+ "name": "required",
11211
11067
  "type": {
11212
11068
  "text": "boolean"
11213
11069
  },
11214
11070
  "default": "false",
11215
- "description": "Disables the input field",
11216
- "attribute": "disabled",
11071
+ "description": "Indicates that the input requires a value",
11072
+ "attribute": "required",
11217
11073
  "reflects": true,
11218
11074
  "inheritedFrom": {
11219
11075
  "name": "InputBase",
@@ -11372,26 +11228,26 @@
11372
11228
  }
11373
11229
  },
11374
11230
  {
11375
- "name": "required",
11231
+ "name": "label-position",
11376
11232
  "type": {
11377
- "text": "boolean"
11233
+ "text": "LabelPosition"
11378
11234
  },
11379
- "default": "false",
11380
- "description": "Makes the field go into a required state",
11381
- "fieldName": "required",
11235
+ "default": "'top'",
11236
+ "description": "The position of the supplied label",
11237
+ "fieldName": "labelPosition",
11382
11238
  "inheritedFrom": {
11383
11239
  "name": "LabeledInput",
11384
11240
  "module": "src/components/form-elements/labeled-input.ts"
11385
11241
  }
11386
11242
  },
11387
11243
  {
11388
- "name": "label-position",
11244
+ "name": "optional",
11389
11245
  "type": {
11390
- "text": "LabelPosition"
11246
+ "text": "boolean"
11391
11247
  },
11392
- "default": "'top'",
11393
- "description": "The position of the supplied label",
11394
- "fieldName": "labelPosition",
11248
+ "default": "false",
11249
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
11250
+ "fieldName": "optional",
11395
11251
  "inheritedFrom": {
11396
11252
  "name": "LabeledInput",
11397
11253
  "module": "src/components/form-elements/labeled-input.ts"
@@ -11410,6 +11266,19 @@
11410
11266
  "module": "src/components/form-elements/input-base.ts"
11411
11267
  }
11412
11268
  },
11269
+ {
11270
+ "name": "required",
11271
+ "type": {
11272
+ "text": "boolean"
11273
+ },
11274
+ "default": "false",
11275
+ "description": "Indicates that the input requires a value",
11276
+ "fieldName": "required",
11277
+ "inheritedFrom": {
11278
+ "name": "InputBase",
11279
+ "module": "src/components/form-elements/input-base.ts"
11280
+ }
11281
+ },
11413
11282
  {
11414
11283
  "name": "invalid",
11415
11284
  "type": {
@@ -11542,13 +11411,13 @@
11542
11411
  },
11543
11412
  {
11544
11413
  "kind": "field",
11545
- "name": "required",
11414
+ "name": "labelPosition",
11546
11415
  "type": {
11547
- "text": "boolean"
11416
+ "text": "LabelPosition"
11548
11417
  },
11549
- "default": "false",
11550
- "description": "Makes the field go into a required state",
11551
- "attribute": "required",
11418
+ "default": "'top'",
11419
+ "description": "The position of the supplied label",
11420
+ "attribute": "label-position",
11552
11421
  "reflects": true,
11553
11422
  "inheritedFrom": {
11554
11423
  "name": "LabeledInput",
@@ -11557,13 +11426,13 @@
11557
11426
  },
11558
11427
  {
11559
11428
  "kind": "field",
11560
- "name": "labelPosition",
11429
+ "name": "optional",
11561
11430
  "type": {
11562
- "text": "LabelPosition"
11431
+ "text": "boolean"
11563
11432
  },
11564
- "default": "'top'",
11565
- "description": "The position of the supplied label",
11566
- "attribute": "label-position",
11433
+ "default": "false",
11434
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
11435
+ "attribute": "optional",
11567
11436
  "reflects": true,
11568
11437
  "inheritedFrom": {
11569
11438
  "name": "LabeledInput",
@@ -11602,12 +11471,14 @@
11602
11471
  },
11603
11472
  {
11604
11473
  "kind": "field",
11605
- "name": "shadowRootOptions",
11474
+ "name": "disabled",
11606
11475
  "type": {
11607
- "text": "ShadowRootInit"
11476
+ "text": "boolean"
11608
11477
  },
11609
- "static": true,
11610
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n }",
11478
+ "default": "false",
11479
+ "description": "Disables the input field",
11480
+ "attribute": "disabled",
11481
+ "reflects": true,
11611
11482
  "inheritedFrom": {
11612
11483
  "name": "InputBase",
11613
11484
  "module": "src/components/form-elements/input-base.ts"
@@ -11615,13 +11486,13 @@
11615
11486
  },
11616
11487
  {
11617
11488
  "kind": "field",
11618
- "name": "disabled",
11489
+ "name": "required",
11619
11490
  "type": {
11620
11491
  "text": "boolean"
11621
11492
  },
11622
11493
  "default": "false",
11623
- "description": "Disables the input field",
11624
- "attribute": "disabled",
11494
+ "description": "Indicates that the input requires a value",
11495
+ "attribute": "required",
11625
11496
  "reflects": true,
11626
11497
  "inheritedFrom": {
11627
11498
  "name": "InputBase",
@@ -12564,19 +12435,6 @@
12564
12435
  "module": "src/components/form-elements/input-text-base.ts"
12565
12436
  }
12566
12437
  },
12567
- {
12568
- "name": "required",
12569
- "type": {
12570
- "text": "boolean"
12571
- },
12572
- "default": "false",
12573
- "description": "Makes the field go into a required state",
12574
- "fieldName": "required",
12575
- "inheritedFrom": {
12576
- "name": "LabeledInput",
12577
- "module": "src/components/form-elements/labeled-input.ts"
12578
- }
12579
- },
12580
12438
  {
12581
12439
  "name": "label-position",
12582
12440
  "type": {
@@ -12603,6 +12461,19 @@
12603
12461
  "module": "src/components/form-elements/labeled-input.ts"
12604
12462
  }
12605
12463
  },
12464
+ {
12465
+ "name": "optional",
12466
+ "type": {
12467
+ "text": "boolean"
12468
+ },
12469
+ "default": "false",
12470
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
12471
+ "fieldName": "optional",
12472
+ "inheritedFrom": {
12473
+ "name": "LabeledInput",
12474
+ "module": "src/components/form-elements/labeled-input.ts"
12475
+ }
12476
+ },
12606
12477
  {
12607
12478
  "name": "disabled",
12608
12479
  "type": {
@@ -12616,6 +12487,19 @@
12616
12487
  "module": "src/components/form-elements/input-base.ts"
12617
12488
  }
12618
12489
  },
12490
+ {
12491
+ "name": "required",
12492
+ "type": {
12493
+ "text": "boolean"
12494
+ },
12495
+ "default": "false",
12496
+ "description": "Indicates that the input requires a value",
12497
+ "fieldName": "required",
12498
+ "inheritedFrom": {
12499
+ "name": "InputBase",
12500
+ "module": "src/components/form-elements/input-base.ts"
12501
+ }
12502
+ },
12619
12503
  {
12620
12504
  "name": "invalid",
12621
12505
  "type": {
@@ -12805,8 +12689,8 @@
12805
12689
  "attribute": "required",
12806
12690
  "reflects": true,
12807
12691
  "inheritedFrom": {
12808
- "name": "LabeledInput",
12809
- "module": "src/components/form-elements/labeled-input.ts"
12692
+ "name": "InputBase",
12693
+ "module": "src/components/form-elements/input-base.ts"
12810
12694
  }
12811
12695
  },
12812
12696
  {
@@ -13193,8 +13077,15 @@
13193
13077
  }
13194
13078
  },
13195
13079
  {
13196
- "kind": "method",
13197
- "name": "handleErrorChange",
13080
+ "kind": "field",
13081
+ "name": "optional",
13082
+ "type": {
13083
+ "text": "boolean"
13084
+ },
13085
+ "default": "false",
13086
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
13087
+ "attribute": "optional",
13088
+ "reflects": true,
13198
13089
  "inheritedFrom": {
13199
13090
  "name": "LabeledInput",
13200
13091
  "module": "src/components/form-elements/labeled-input.ts"
@@ -13202,28 +13093,23 @@
13202
13093
  },
13203
13094
  {
13204
13095
  "kind": "method",
13205
- "name": "renderGuide",
13206
- "return": {
13207
- "type": {
13208
- "text": "TemplateResult | null"
13209
- }
13210
- },
13096
+ "name": "handleErrorChange",
13211
13097
  "inheritedFrom": {
13212
13098
  "name": "LabeledInput",
13213
13099
  "module": "src/components/form-elements/labeled-input.ts"
13214
13100
  }
13215
13101
  },
13216
13102
  {
13217
- "kind": "field",
13218
- "name": "shadowRootOptions",
13219
- "type": {
13220
- "text": "ShadowRootInit"
13103
+ "kind": "method",
13104
+ "name": "renderGuide",
13105
+ "return": {
13106
+ "type": {
13107
+ "text": "TemplateResult | null"
13108
+ }
13221
13109
  },
13222
- "static": true,
13223
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n }",
13224
13110
  "inheritedFrom": {
13225
- "name": "InputBase",
13226
- "module": "src/components/form-elements/input-base.ts"
13111
+ "name": "LabeledInput",
13112
+ "module": "src/components/form-elements/labeled-input.ts"
13227
13113
  }
13228
13114
  },
13229
13115
  {
@@ -13460,26 +13346,26 @@
13460
13346
  }
13461
13347
  },
13462
13348
  {
13463
- "name": "required",
13349
+ "name": "label-position",
13464
13350
  "type": {
13465
- "text": "boolean"
13351
+ "text": "LabelPosition"
13466
13352
  },
13467
- "default": "false",
13468
- "description": "Makes the field go into a required state",
13469
- "fieldName": "required",
13353
+ "default": "'top'",
13354
+ "description": "The position of the supplied label",
13355
+ "fieldName": "labelPosition",
13470
13356
  "inheritedFrom": {
13471
13357
  "name": "LabeledInput",
13472
13358
  "module": "src/components/form-elements/labeled-input.ts"
13473
13359
  }
13474
13360
  },
13475
13361
  {
13476
- "name": "label-position",
13362
+ "name": "optional",
13477
13363
  "type": {
13478
- "text": "LabelPosition"
13364
+ "text": "boolean"
13479
13365
  },
13480
- "default": "'top'",
13481
- "description": "The position of the supplied label",
13482
- "fieldName": "labelPosition",
13366
+ "default": "false",
13367
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
13368
+ "fieldName": "optional",
13483
13369
  "inheritedFrom": {
13484
13370
  "name": "LabeledInput",
13485
13371
  "module": "src/components/form-elements/labeled-input.ts"
@@ -13498,6 +13384,19 @@
13498
13384
  "module": "src/components/form-elements/input-base.ts"
13499
13385
  }
13500
13386
  },
13387
+ {
13388
+ "name": "required",
13389
+ "type": {
13390
+ "text": "boolean"
13391
+ },
13392
+ "default": "false",
13393
+ "description": "Indicates that the input requires a value",
13394
+ "fieldName": "required",
13395
+ "inheritedFrom": {
13396
+ "name": "InputBase",
13397
+ "module": "src/components/form-elements/input-base.ts"
13398
+ }
13399
+ },
13501
13400
  {
13502
13401
  "name": "invalid",
13503
13402
  "type": {
@@ -13662,13 +13561,13 @@
13662
13561
  },
13663
13562
  {
13664
13563
  "kind": "field",
13665
- "name": "required",
13564
+ "name": "labelPosition",
13666
13565
  "type": {
13667
- "text": "boolean"
13566
+ "text": "LabelPosition"
13668
13567
  },
13669
- "default": "false",
13670
- "description": "Makes the field go into a required state",
13671
- "attribute": "required",
13568
+ "default": "'top'",
13569
+ "description": "The position of the supplied label",
13570
+ "attribute": "label-position",
13672
13571
  "reflects": true,
13673
13572
  "inheritedFrom": {
13674
13573
  "name": "LabeledInput",
@@ -13677,13 +13576,13 @@
13677
13576
  },
13678
13577
  {
13679
13578
  "kind": "field",
13680
- "name": "labelPosition",
13579
+ "name": "optional",
13681
13580
  "type": {
13682
- "text": "LabelPosition"
13581
+ "text": "boolean"
13683
13582
  },
13684
- "default": "'top'",
13685
- "description": "The position of the supplied label",
13686
- "attribute": "label-position",
13583
+ "default": "false",
13584
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
13585
+ "attribute": "optional",
13687
13586
  "reflects": true,
13688
13587
  "inheritedFrom": {
13689
13588
  "name": "LabeledInput",
@@ -13713,12 +13612,14 @@
13713
13612
  },
13714
13613
  {
13715
13614
  "kind": "field",
13716
- "name": "shadowRootOptions",
13615
+ "name": "disabled",
13717
13616
  "type": {
13718
- "text": "ShadowRootInit"
13617
+ "text": "boolean"
13719
13618
  },
13720
- "static": true,
13721
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n }",
13619
+ "default": "false",
13620
+ "description": "Disables the input field",
13621
+ "attribute": "disabled",
13622
+ "reflects": true,
13722
13623
  "inheritedFrom": {
13723
13624
  "name": "InputBase",
13724
13625
  "module": "src/components/form-elements/input-base.ts"
@@ -13726,13 +13627,13 @@
13726
13627
  },
13727
13628
  {
13728
13629
  "kind": "field",
13729
- "name": "disabled",
13630
+ "name": "required",
13730
13631
  "type": {
13731
13632
  "text": "boolean"
13732
13633
  },
13733
13634
  "default": "false",
13734
- "description": "Disables the input field",
13735
- "attribute": "disabled",
13635
+ "description": "Indicates that the input requires a value",
13636
+ "attribute": "required",
13736
13637
  "reflects": true,
13737
13638
  "inheritedFrom": {
13738
13639
  "name": "InputBase",
@@ -13938,26 +13839,26 @@
13938
13839
  }
13939
13840
  },
13940
13841
  {
13941
- "name": "required",
13842
+ "name": "label-position",
13942
13843
  "type": {
13943
- "text": "boolean"
13844
+ "text": "LabelPosition"
13944
13845
  },
13945
- "default": "false",
13946
- "description": "Makes the field go into a required state",
13947
- "fieldName": "required",
13846
+ "default": "'top'",
13847
+ "description": "The position of the supplied label",
13848
+ "fieldName": "labelPosition",
13948
13849
  "inheritedFrom": {
13949
13850
  "name": "LabeledInput",
13950
13851
  "module": "src/components/form-elements/labeled-input.ts"
13951
13852
  }
13952
13853
  },
13953
13854
  {
13954
- "name": "label-position",
13855
+ "name": "optional",
13955
13856
  "type": {
13956
- "text": "LabelPosition"
13857
+ "text": "boolean"
13957
13858
  },
13958
- "default": "'top'",
13959
- "description": "The position of the supplied label",
13960
- "fieldName": "labelPosition",
13859
+ "default": "false",
13860
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
13861
+ "fieldName": "optional",
13961
13862
  "inheritedFrom": {
13962
13863
  "name": "LabeledInput",
13963
13864
  "module": "src/components/form-elements/labeled-input.ts"
@@ -13976,6 +13877,19 @@
13976
13877
  "module": "src/components/form-elements/input-base.ts"
13977
13878
  }
13978
13879
  },
13880
+ {
13881
+ "name": "required",
13882
+ "type": {
13883
+ "text": "boolean"
13884
+ },
13885
+ "default": "false",
13886
+ "description": "Indicates that the input requires a value",
13887
+ "fieldName": "required",
13888
+ "inheritedFrom": {
13889
+ "name": "InputBase",
13890
+ "module": "src/components/form-elements/input-base.ts"
13891
+ }
13892
+ },
13979
13893
  {
13980
13894
  "name": "invalid",
13981
13895
  "type": {
@@ -14153,13 +14067,13 @@
14153
14067
  },
14154
14068
  {
14155
14069
  "kind": "field",
14156
- "name": "required",
14070
+ "name": "labelPosition",
14157
14071
  "type": {
14158
- "text": "boolean"
14072
+ "text": "LabelPosition"
14159
14073
  },
14160
- "default": "false",
14161
- "description": "Makes the field go into a required state",
14162
- "attribute": "required",
14074
+ "default": "'top'",
14075
+ "description": "The position of the supplied label",
14076
+ "attribute": "label-position",
14163
14077
  "reflects": true,
14164
14078
  "inheritedFrom": {
14165
14079
  "name": "LabeledInput",
@@ -14168,13 +14082,13 @@
14168
14082
  },
14169
14083
  {
14170
14084
  "kind": "field",
14171
- "name": "labelPosition",
14085
+ "name": "optional",
14172
14086
  "type": {
14173
- "text": "LabelPosition"
14087
+ "text": "boolean"
14174
14088
  },
14175
- "default": "'top'",
14176
- "description": "The position of the supplied label",
14177
- "attribute": "label-position",
14089
+ "default": "false",
14090
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
14091
+ "attribute": "optional",
14178
14092
  "reflects": true,
14179
14093
  "inheritedFrom": {
14180
14094
  "name": "LabeledInput",
@@ -14191,12 +14105,14 @@
14191
14105
  },
14192
14106
  {
14193
14107
  "kind": "field",
14194
- "name": "shadowRootOptions",
14108
+ "name": "disabled",
14195
14109
  "type": {
14196
- "text": "ShadowRootInit"
14110
+ "text": "boolean"
14197
14111
  },
14198
- "static": true,
14199
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n }",
14112
+ "default": "false",
14113
+ "description": "Disables the input field",
14114
+ "attribute": "disabled",
14115
+ "reflects": true,
14200
14116
  "inheritedFrom": {
14201
14117
  "name": "InputBase",
14202
14118
  "module": "src/components/form-elements/input-base.ts"
@@ -14204,13 +14120,13 @@
14204
14120
  },
14205
14121
  {
14206
14122
  "kind": "field",
14207
- "name": "disabled",
14123
+ "name": "required",
14208
14124
  "type": {
14209
14125
  "text": "boolean"
14210
14126
  },
14211
14127
  "default": "false",
14212
- "description": "Disables the input field",
14213
- "attribute": "disabled",
14128
+ "description": "Indicates that the input requires a value",
14129
+ "attribute": "required",
14214
14130
  "reflects": true,
14215
14131
  "inheritedFrom": {
14216
14132
  "name": "InputBase",
@@ -14483,19 +14399,6 @@
14483
14399
  "module": "src/components/form-elements/input-text-base.ts"
14484
14400
  }
14485
14401
  },
14486
- {
14487
- "name": "required",
14488
- "type": {
14489
- "text": "boolean"
14490
- },
14491
- "default": "false",
14492
- "description": "Makes the field go into a required state",
14493
- "fieldName": "required",
14494
- "inheritedFrom": {
14495
- "name": "LabeledInput",
14496
- "module": "src/components/form-elements/labeled-input.ts"
14497
- }
14498
- },
14499
14402
  {
14500
14403
  "name": "label-position",
14501
14404
  "type": {
@@ -14522,6 +14425,19 @@
14522
14425
  "module": "src/components/form-elements/labeled-input.ts"
14523
14426
  }
14524
14427
  },
14428
+ {
14429
+ "name": "optional",
14430
+ "type": {
14431
+ "text": "boolean"
14432
+ },
14433
+ "default": "false",
14434
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
14435
+ "fieldName": "optional",
14436
+ "inheritedFrom": {
14437
+ "name": "LabeledInput",
14438
+ "module": "src/components/form-elements/labeled-input.ts"
14439
+ }
14440
+ },
14525
14441
  {
14526
14442
  "name": "disabled",
14527
14443
  "type": {
@@ -14535,6 +14451,19 @@
14535
14451
  "module": "src/components/form-elements/input-base.ts"
14536
14452
  }
14537
14453
  },
14454
+ {
14455
+ "name": "required",
14456
+ "type": {
14457
+ "text": "boolean"
14458
+ },
14459
+ "default": "false",
14460
+ "description": "Indicates that the input requires a value",
14461
+ "fieldName": "required",
14462
+ "inheritedFrom": {
14463
+ "name": "InputBase",
14464
+ "module": "src/components/form-elements/input-base.ts"
14465
+ }
14466
+ },
14538
14467
  {
14539
14468
  "name": "invalid",
14540
14469
  "type": {
@@ -14874,8 +14803,8 @@
14874
14803
  "attribute": "required",
14875
14804
  "reflects": true,
14876
14805
  "inheritedFrom": {
14877
- "name": "LabeledInput",
14878
- "module": "src/components/form-elements/labeled-input.ts"
14806
+ "name": "InputBase",
14807
+ "module": "src/components/form-elements/input-base.ts"
14879
14808
  }
14880
14809
  },
14881
14810
  {
@@ -15190,6 +15119,21 @@
15190
15119
  "module": "src/components/form-elements/labeled-input.ts"
15191
15120
  }
15192
15121
  },
15122
+ {
15123
+ "kind": "field",
15124
+ "name": "optional",
15125
+ "type": {
15126
+ "text": "boolean"
15127
+ },
15128
+ "default": "false",
15129
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
15130
+ "attribute": "optional",
15131
+ "reflects": true,
15132
+ "inheritedFrom": {
15133
+ "name": "LabeledInput",
15134
+ "module": "src/components/form-elements/labeled-input.ts"
15135
+ }
15136
+ },
15193
15137
  {
15194
15138
  "kind": "method",
15195
15139
  "name": "handleErrorChange",
@@ -15211,19 +15155,6 @@
15211
15155
  "module": "src/components/form-elements/labeled-input.ts"
15212
15156
  }
15213
15157
  },
15214
- {
15215
- "kind": "field",
15216
- "name": "shadowRootOptions",
15217
- "type": {
15218
- "text": "ShadowRootInit"
15219
- },
15220
- "static": true,
15221
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n }",
15222
- "inheritedFrom": {
15223
- "name": "InputBase",
15224
- "module": "src/components/form-elements/input-base.ts"
15225
- }
15226
- },
15227
15158
  {
15228
15159
  "kind": "field",
15229
15160
  "name": "disabled",
@@ -15393,19 +15324,6 @@
15393
15324
  "tagName": "sp-labeled-input",
15394
15325
  "customElement": true,
15395
15326
  "attributes": [
15396
- {
15397
- "name": "required",
15398
- "type": {
15399
- "text": "boolean"
15400
- },
15401
- "default": "false",
15402
- "description": "Makes the field go into a required state",
15403
- "fieldName": "required",
15404
- "inheritedFrom": {
15405
- "name": "LabeledInput",
15406
- "module": "src/components/form-elements/labeled-input.ts"
15407
- }
15408
- },
15409
15327
  {
15410
15328
  "name": "label-position",
15411
15329
  "type": {
@@ -15432,6 +15350,19 @@
15432
15350
  "module": "src/components/form-elements/labeled-input.ts"
15433
15351
  }
15434
15352
  },
15353
+ {
15354
+ "name": "optional",
15355
+ "type": {
15356
+ "text": "boolean"
15357
+ },
15358
+ "default": "false",
15359
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
15360
+ "fieldName": "optional",
15361
+ "inheritedFrom": {
15362
+ "name": "LabeledInput",
15363
+ "module": "src/components/form-elements/labeled-input.ts"
15364
+ }
15365
+ },
15435
15366
  {
15436
15367
  "name": "disabled",
15437
15368
  "type": {
@@ -15445,6 +15376,19 @@
15445
15376
  "module": "src/components/form-elements/input-base.ts"
15446
15377
  }
15447
15378
  },
15379
+ {
15380
+ "name": "required",
15381
+ "type": {
15382
+ "text": "boolean"
15383
+ },
15384
+ "default": "false",
15385
+ "description": "Indicates that the input requires a value",
15386
+ "fieldName": "required",
15387
+ "inheritedFrom": {
15388
+ "name": "InputBase",
15389
+ "module": "src/components/form-elements/input-base.ts"
15390
+ }
15391
+ },
15448
15392
  {
15449
15393
  "name": "invalid",
15450
15394
  "type": {
@@ -15498,21 +15442,6 @@
15498
15442
  }
15499
15443
  ],
15500
15444
  "members": [
15501
- {
15502
- "kind": "field",
15503
- "name": "required",
15504
- "type": {
15505
- "text": "boolean"
15506
- },
15507
- "default": "false",
15508
- "description": "Makes the field go into a required state",
15509
- "attribute": "required",
15510
- "reflects": true,
15511
- "inheritedFrom": {
15512
- "name": "LabeledInput",
15513
- "module": "src/components/form-elements/labeled-input.ts"
15514
- }
15515
- },
15516
15445
  {
15517
15446
  "kind": "field",
15518
15447
  "name": "labelPosition",
@@ -15543,6 +15472,21 @@
15543
15472
  "module": "src/components/form-elements/labeled-input.ts"
15544
15473
  }
15545
15474
  },
15475
+ {
15476
+ "kind": "field",
15477
+ "name": "optional",
15478
+ "type": {
15479
+ "text": "boolean"
15480
+ },
15481
+ "default": "false",
15482
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
15483
+ "attribute": "optional",
15484
+ "reflects": true,
15485
+ "inheritedFrom": {
15486
+ "name": "LabeledInput",
15487
+ "module": "src/components/form-elements/labeled-input.ts"
15488
+ }
15489
+ },
15546
15490
  {
15547
15491
  "kind": "method",
15548
15492
  "name": "handleErrorChange",
@@ -15588,26 +15532,28 @@
15588
15532
  },
15589
15533
  {
15590
15534
  "kind": "field",
15591
- "name": "shadowRootOptions",
15535
+ "name": "disabled",
15592
15536
  "type": {
15593
- "text": "ShadowRootInit"
15537
+ "text": "boolean"
15594
15538
  },
15595
- "static": true,
15596
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n }",
15597
- "inheritedFrom": {
15598
- "name": "InputBase",
15599
- "module": "src/components/form-elements/input-base.ts"
15539
+ "default": "false",
15540
+ "description": "Disables the input field",
15541
+ "attribute": "disabled",
15542
+ "reflects": true,
15543
+ "inheritedFrom": {
15544
+ "name": "InputBase",
15545
+ "module": "src/components/form-elements/input-base.ts"
15600
15546
  }
15601
15547
  },
15602
15548
  {
15603
15549
  "kind": "field",
15604
- "name": "disabled",
15550
+ "name": "required",
15605
15551
  "type": {
15606
15552
  "text": "boolean"
15607
15553
  },
15608
15554
  "default": "false",
15609
- "description": "Disables the input field",
15610
- "attribute": "disabled",
15555
+ "description": "Indicates that the input requires a value",
15556
+ "attribute": "required",
15611
15557
  "reflects": true,
15612
15558
  "inheritedFrom": {
15613
15559
  "name": "InputBase",
@@ -19304,181 +19250,194 @@
19304
19250
  },
19305
19251
  {
19306
19252
  "kind": "javascript-module",
19307
- "path": "src/storybook/colors.stories.ts",
19253
+ "path": "src/animation/fade-in-out.ts",
19308
19254
  "declarations": [
19255
+ {
19256
+ "kind": "variable",
19257
+ "name": "FADE_IN_OUT"
19258
+ },
19309
19259
  {
19310
19260
  "kind": "class",
19311
- "description": "Story component to render a colour swatch.\nWill extract the hex code from a supplied color var and use it as the background.",
19312
- "name": "ColorSwatch",
19313
- "members": [
19314
- {
19315
- "kind": "field",
19316
- "name": "colorVar",
19317
- "type": {
19318
- "text": "string"
19319
- },
19320
- "default": "''",
19321
- "attribute": "colorVar"
19322
- },
19323
- {
19324
- "kind": "field",
19325
- "name": "lightText",
19326
- "type": {
19327
- "text": "boolean"
19328
- },
19329
- "default": "false",
19330
- "attribute": "light-text"
19331
- }
19332
- ],
19333
- "attributes": [
19334
- {
19335
- "name": "colorVar",
19336
- "type": {
19337
- "text": "string"
19338
- },
19339
- "default": "''",
19340
- "fieldName": "colorVar"
19341
- },
19261
+ "description": "Fade in out animation.",
19262
+ "name": "FadeInOut",
19263
+ "slots": [
19342
19264
  {
19343
- "name": "light-text",
19344
- "type": {
19345
- "text": "boolean"
19346
- },
19347
- "default": "false",
19348
- "fieldName": "lightText"
19265
+ "description": "The content to be animated",
19266
+ "name": "children"
19349
19267
  }
19350
19268
  ],
19351
- "superclass": {
19352
- "name": "LitElement",
19353
- "package": "lit"
19354
- },
19355
- "tagName": "brz-sb-color-swatch",
19356
- "customElement": true
19357
- },
19358
- {
19359
- "kind": "class",
19360
- "description": "Story component for laying out a group of swatches",
19361
- "name": "ColorSwatchGroup",
19362
19269
  "members": [
19363
19270
  {
19364
19271
  "kind": "field",
19365
- "name": "stacked",
19272
+ "name": "shown",
19366
19273
  "type": {
19367
19274
  "text": "boolean"
19368
19275
  },
19369
19276
  "default": "false",
19370
- "attribute": "stacked"
19277
+ "description": "Shows and hides slotted content",
19278
+ "attribute": "shown"
19279
+ },
19280
+ {
19281
+ "kind": "method",
19282
+ "name": "_handleTransitionEnd",
19283
+ "privacy": "private",
19284
+ "parameters": [
19285
+ {
19286
+ "name": "event",
19287
+ "type": {
19288
+ "text": "Event"
19289
+ }
19290
+ }
19291
+ ]
19371
19292
  }
19372
19293
  ],
19373
19294
  "attributes": [
19374
19295
  {
19375
- "name": "stacked",
19296
+ "name": "shown",
19376
19297
  "type": {
19377
19298
  "text": "boolean"
19378
19299
  },
19379
19300
  "default": "false",
19380
- "fieldName": "stacked"
19301
+ "description": "Shows and hides slotted content",
19302
+ "fieldName": "shown"
19381
19303
  }
19382
19304
  ],
19383
19305
  "superclass": {
19384
19306
  "name": "LitElement",
19385
19307
  "package": "lit"
19386
19308
  },
19387
- "tagName": "brz-sb-color-swatch-group",
19309
+ "tagName": "brz-fade-in-out",
19388
19310
  "customElement": true
19389
19311
  }
19390
19312
  ],
19391
19313
  "exports": [
19392
19314
  {
19393
19315
  "kind": "js",
19394
- "name": "ColorSwatch",
19316
+ "name": "FADE_IN_OUT",
19395
19317
  "declaration": {
19396
- "name": "ColorSwatch",
19397
- "module": "src/storybook/colors.stories.ts"
19318
+ "name": "FADE_IN_OUT",
19319
+ "module": "src/animation/fade-in-out.ts"
19398
19320
  }
19399
19321
  },
19400
19322
  {
19401
- "kind": "custom-element-definition",
19402
- "name": "brz-sb-color-swatch",
19323
+ "kind": "js",
19324
+ "name": "FadeInOut",
19403
19325
  "declaration": {
19404
- "name": "ColorSwatch",
19405
- "module": "src/storybook/colors.stories.ts"
19326
+ "name": "FadeInOut",
19327
+ "module": "src/animation/fade-in-out.ts"
19406
19328
  }
19407
19329
  },
19408
19330
  {
19409
- "kind": "js",
19410
- "name": "ColorSwatchGroup",
19331
+ "kind": "custom-element-definition",
19411
19332
  "declaration": {
19412
- "name": "ColorSwatchGroup",
19413
- "module": "src/storybook/colors.stories.ts"
19333
+ "name": "FadeInOut",
19334
+ "module": "src/animation/fade-in-out.ts"
19414
19335
  }
19415
- },
19336
+ }
19337
+ ]
19338
+ },
19339
+ {
19340
+ "kind": "javascript-module",
19341
+ "path": "src/animation/index.ts",
19342
+ "declarations": [],
19343
+ "exports": [
19416
19344
  {
19417
- "kind": "custom-element-definition",
19418
- "name": "brz-sb-color-swatch-group",
19345
+ "kind": "js",
19346
+ "name": "*",
19419
19347
  "declaration": {
19420
- "name": "ColorSwatchGroup",
19421
- "module": "src/storybook/colors.stories.ts"
19348
+ "name": "*",
19349
+ "package": "./fade-in-out"
19422
19350
  }
19423
19351
  }
19424
19352
  ]
19425
19353
  },
19426
19354
  {
19427
19355
  "kind": "javascript-module",
19428
- "path": "src/storybook/fade-in-out.stories.ts",
19356
+ "path": "src/helpers/css-helpers.ts",
19429
19357
  "declarations": [
19430
19358
  {
19431
- "kind": "class",
19432
- "description": "",
19433
- "name": "FadeInOutStory",
19434
- "members": [
19359
+ "kind": "function",
19360
+ "name": "getFocusStyles",
19361
+ "parameters": [
19435
19362
  {
19436
- "kind": "field",
19437
- "name": "shown",
19363
+ "name": "selector",
19438
19364
  "type": {
19439
- "text": "boolean"
19365
+ "text": "string"
19440
19366
  },
19441
- "default": "false",
19442
- "attribute": "shown"
19367
+ "description": "A CSS selector targeting an interactive element."
19443
19368
  },
19444
19369
  {
19445
- "kind": "method",
19446
- "name": "handleToggle"
19370
+ "name": "extraRules",
19371
+ "default": "css``",
19372
+ "description": "Optional rules to append. Useful for overrides."
19447
19373
  }
19448
19374
  ],
19449
- "attributes": [
19375
+ "description": "Returns a CSSResult applying focus outline styles to a given interactive\nelement. Reduces repetition throughout multiple components.\n\nTargets modern `:focus-visible` by default and includes a `:focus` fallback\nfor older browsers."
19376
+ },
19377
+ {
19378
+ "kind": "variable",
19379
+ "name": "invisibleButtonRules",
19380
+ "default": "css`\n background: none;\n border: 0;\n border-radius: var(--brz-border-radius-default);\n color: var(--brz-color-neutral-750);\n cursor: pointer;\n display: inline-flex;\n font: inherit;\n margin: 0;\n padding: 0;\n`",
19381
+ "description": "CSS rules to apply invisible styles to buttons. Use within a CSS declaration\nblock."
19382
+ },
19383
+ {
19384
+ "kind": "function",
19385
+ "name": "getInvisibleButtonStyles",
19386
+ "parameters": [
19450
19387
  {
19451
- "name": "shown",
19388
+ "name": "selector",
19452
19389
  "type": {
19453
- "text": "boolean"
19390
+ "text": "string"
19454
19391
  },
19455
- "default": "false",
19456
- "fieldName": "shown"
19392
+ "description": "A CSS selector targeting a button"
19393
+ },
19394
+ {
19395
+ "name": "extraRules",
19396
+ "default": "css``",
19397
+ "description": "Optional rules to append. Useful for overrides."
19457
19398
  }
19458
19399
  ],
19459
- "superclass": {
19460
- "name": "LitElement",
19461
- "package": "lit"
19462
- },
19463
- "tagName": "brz-sb-fade-in-out",
19464
- "customElement": true
19400
+ "description": "Returns a CSSResult applying invisible styles to a button matching the given\nselector. Invisible buttons are a common pattern for icon-only close buttons.\n\nSince this applies to buttons, default focus styles are also automatically\nincluded for the selector. If you don't need them, or need to customise them,\nuse `invisibleButtonStyles` and `getFocusStyles()` separately instead."
19465
19401
  }
19466
19402
  ],
19467
19403
  "exports": [
19468
19404
  {
19469
19405
  "kind": "js",
19470
- "name": "FadeInOutStory",
19406
+ "name": "getFocusStyles",
19471
19407
  "declaration": {
19472
- "name": "FadeInOutStory",
19473
- "module": "src/storybook/fade-in-out.stories.ts"
19408
+ "name": "getFocusStyles",
19409
+ "module": "src/helpers/css-helpers.ts"
19474
19410
  }
19475
19411
  },
19476
19412
  {
19477
- "kind": "custom-element-definition",
19478
- "name": "brz-sb-fade-in-out",
19413
+ "kind": "js",
19414
+ "name": "invisibleButtonRules",
19479
19415
  "declaration": {
19480
- "name": "FadeInOutStory",
19481
- "module": "src/storybook/fade-in-out.stories.ts"
19416
+ "name": "invisibleButtonRules",
19417
+ "module": "src/helpers/css-helpers.ts"
19418
+ }
19419
+ },
19420
+ {
19421
+ "kind": "js",
19422
+ "name": "getInvisibleButtonStyles",
19423
+ "declaration": {
19424
+ "name": "getInvisibleButtonStyles",
19425
+ "module": "src/helpers/css-helpers.ts"
19426
+ }
19427
+ }
19428
+ ]
19429
+ },
19430
+ {
19431
+ "kind": "javascript-module",
19432
+ "path": "src/helpers/index.ts",
19433
+ "declarations": [],
19434
+ "exports": [
19435
+ {
19436
+ "kind": "js",
19437
+ "name": "*",
19438
+ "declaration": {
19439
+ "name": "*",
19440
+ "package": "./css-helpers"
19482
19441
  }
19483
19442
  }
19484
19443
  ]
@@ -19573,49 +19532,170 @@
19573
19532
  },
19574
19533
  {
19575
19534
  "kind": "js",
19576
- "name": "targetAxes",
19535
+ "name": "targetAxes",
19536
+ "declaration": {
19537
+ "name": "targetAxes",
19538
+ "module": "src/mixins/component-utils.ts"
19539
+ }
19540
+ },
19541
+ {
19542
+ "kind": "js",
19543
+ "name": "targetSides",
19544
+ "declaration": {
19545
+ "name": "targetSides",
19546
+ "module": "src/mixins/component-utils.ts"
19547
+ }
19548
+ },
19549
+ {
19550
+ "kind": "js",
19551
+ "name": "WithUtils",
19552
+ "declaration": {
19553
+ "name": "WithUtils",
19554
+ "module": "src/mixins/component-utils.ts"
19555
+ }
19556
+ },
19557
+ {
19558
+ "kind": "js",
19559
+ "name": "LitElementWithUtils",
19560
+ "declaration": {
19561
+ "name": "LitElementWithUtils",
19562
+ "module": "src/mixins/component-utils.ts"
19563
+ }
19564
+ }
19565
+ ]
19566
+ },
19567
+ {
19568
+ "kind": "javascript-module",
19569
+ "path": "src/mixins/index.ts",
19570
+ "declarations": [],
19571
+ "exports": [
19572
+ {
19573
+ "kind": "js",
19574
+ "name": "*",
19575
+ "declaration": {
19576
+ "name": "*",
19577
+ "package": "./component-utils"
19578
+ }
19579
+ }
19580
+ ]
19581
+ },
19582
+ {
19583
+ "kind": "javascript-module",
19584
+ "path": "src/storybook/colors.stories.ts",
19585
+ "declarations": [
19586
+ {
19587
+ "kind": "class",
19588
+ "description": "Story component to render a colour swatch.\nWill extract the hex code from a supplied color var and use it as the background.",
19589
+ "name": "ColorSwatch",
19590
+ "members": [
19591
+ {
19592
+ "kind": "field",
19593
+ "name": "colorVar",
19594
+ "type": {
19595
+ "text": "string"
19596
+ },
19597
+ "default": "''",
19598
+ "attribute": "colorVar"
19599
+ },
19600
+ {
19601
+ "kind": "field",
19602
+ "name": "lightText",
19603
+ "type": {
19604
+ "text": "boolean"
19605
+ },
19606
+ "default": "false",
19607
+ "attribute": "light-text"
19608
+ }
19609
+ ],
19610
+ "attributes": [
19611
+ {
19612
+ "name": "colorVar",
19613
+ "type": {
19614
+ "text": "string"
19615
+ },
19616
+ "default": "''",
19617
+ "fieldName": "colorVar"
19618
+ },
19619
+ {
19620
+ "name": "light-text",
19621
+ "type": {
19622
+ "text": "boolean"
19623
+ },
19624
+ "default": "false",
19625
+ "fieldName": "lightText"
19626
+ }
19627
+ ],
19628
+ "superclass": {
19629
+ "name": "LitElement",
19630
+ "package": "lit"
19631
+ },
19632
+ "tagName": "brz-sb-color-swatch",
19633
+ "customElement": true
19634
+ },
19635
+ {
19636
+ "kind": "class",
19637
+ "description": "Story component for laying out a group of swatches",
19638
+ "name": "ColorSwatchGroup",
19639
+ "members": [
19640
+ {
19641
+ "kind": "field",
19642
+ "name": "stacked",
19643
+ "type": {
19644
+ "text": "boolean"
19645
+ },
19646
+ "default": "false",
19647
+ "attribute": "stacked"
19648
+ }
19649
+ ],
19650
+ "attributes": [
19651
+ {
19652
+ "name": "stacked",
19653
+ "type": {
19654
+ "text": "boolean"
19655
+ },
19656
+ "default": "false",
19657
+ "fieldName": "stacked"
19658
+ }
19659
+ ],
19660
+ "superclass": {
19661
+ "name": "LitElement",
19662
+ "package": "lit"
19663
+ },
19664
+ "tagName": "brz-sb-color-swatch-group",
19665
+ "customElement": true
19666
+ }
19667
+ ],
19668
+ "exports": [
19669
+ {
19670
+ "kind": "js",
19671
+ "name": "ColorSwatch",
19577
19672
  "declaration": {
19578
- "name": "targetAxes",
19579
- "module": "src/mixins/component-utils.ts"
19673
+ "name": "ColorSwatch",
19674
+ "module": "src/storybook/colors.stories.ts"
19580
19675
  }
19581
19676
  },
19582
19677
  {
19583
- "kind": "js",
19584
- "name": "targetSides",
19678
+ "kind": "custom-element-definition",
19679
+ "name": "brz-sb-color-swatch",
19585
19680
  "declaration": {
19586
- "name": "targetSides",
19587
- "module": "src/mixins/component-utils.ts"
19681
+ "name": "ColorSwatch",
19682
+ "module": "src/storybook/colors.stories.ts"
19588
19683
  }
19589
19684
  },
19590
19685
  {
19591
19686
  "kind": "js",
19592
- "name": "WithUtils",
19687
+ "name": "ColorSwatchGroup",
19593
19688
  "declaration": {
19594
- "name": "WithUtils",
19595
- "module": "src/mixins/component-utils.ts"
19689
+ "name": "ColorSwatchGroup",
19690
+ "module": "src/storybook/colors.stories.ts"
19596
19691
  }
19597
19692
  },
19598
19693
  {
19599
- "kind": "js",
19600
- "name": "LitElementWithUtils",
19601
- "declaration": {
19602
- "name": "LitElementWithUtils",
19603
- "module": "src/mixins/component-utils.ts"
19604
- }
19605
- }
19606
- ]
19607
- },
19608
- {
19609
- "kind": "javascript-module",
19610
- "path": "src/mixins/index.ts",
19611
- "declarations": [],
19612
- "exports": [
19613
- {
19614
- "kind": "js",
19615
- "name": "*",
19694
+ "kind": "custom-element-definition",
19695
+ "name": "brz-sb-color-swatch-group",
19616
19696
  "declaration": {
19617
- "name": "*",
19618
- "package": "./component-utils"
19697
+ "name": "ColorSwatchGroup",
19698
+ "module": "src/storybook/colors.stories.ts"
19619
19699
  }
19620
19700
  }
19621
19701
  ]
@@ -20641,22 +20721,24 @@
20641
20721
  "members": [
20642
20722
  {
20643
20723
  "kind": "field",
20644
- "name": "shadowRootOptions",
20724
+ "name": "disabled",
20645
20725
  "type": {
20646
- "text": "ShadowRootInit"
20726
+ "text": "boolean"
20647
20727
  },
20648
- "static": true,
20649
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n }"
20728
+ "default": "false",
20729
+ "description": "Disables the input field",
20730
+ "attribute": "disabled",
20731
+ "reflects": true
20650
20732
  },
20651
20733
  {
20652
20734
  "kind": "field",
20653
- "name": "disabled",
20735
+ "name": "required",
20654
20736
  "type": {
20655
20737
  "text": "boolean"
20656
20738
  },
20657
20739
  "default": "false",
20658
- "description": "Disables the input field",
20659
- "attribute": "disabled",
20740
+ "description": "Indicates that the input requires a value",
20741
+ "attribute": "required",
20660
20742
  "reflects": true
20661
20743
  },
20662
20744
  {
@@ -20746,6 +20828,15 @@
20746
20828
  "description": "Disables the input field",
20747
20829
  "fieldName": "disabled"
20748
20830
  },
20831
+ {
20832
+ "name": "required",
20833
+ "type": {
20834
+ "text": "boolean"
20835
+ },
20836
+ "default": "false",
20837
+ "description": "Indicates that the input requires a value",
20838
+ "fieldName": "required"
20839
+ },
20749
20840
  {
20750
20841
  "name": "invalid",
20751
20842
  "type": {
@@ -20912,12 +21003,14 @@
20912
21003
  },
20913
21004
  {
20914
21005
  "kind": "field",
20915
- "name": "shadowRootOptions",
21006
+ "name": "required",
20916
21007
  "type": {
20917
- "text": "ShadowRootInit"
21008
+ "text": "boolean"
20918
21009
  },
20919
- "static": true,
20920
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n }",
21010
+ "default": "false",
21011
+ "description": "Indicates that the input requires a value",
21012
+ "attribute": "required",
21013
+ "reflects": true,
20921
21014
  "inheritedFrom": {
20922
21015
  "name": "InputBase",
20923
21016
  "module": "src/components/form-elements/input-base.ts"
@@ -21043,6 +21136,19 @@
21043
21136
  "description": "Puts the checkbox into indeterminate state",
21044
21137
  "fieldName": "indeterminate"
21045
21138
  },
21139
+ {
21140
+ "name": "required",
21141
+ "type": {
21142
+ "text": "boolean"
21143
+ },
21144
+ "default": "false",
21145
+ "description": "Indicates that the input requires a value",
21146
+ "fieldName": "required",
21147
+ "inheritedFrom": {
21148
+ "name": "InputBase",
21149
+ "module": "src/components/form-elements/input-base.ts"
21150
+ }
21151
+ },
21046
21152
  {
21047
21153
  "name": "invalid",
21048
21154
  "type": {
@@ -21286,13 +21392,13 @@
21286
21392
  },
21287
21393
  {
21288
21394
  "kind": "field",
21289
- "name": "required",
21395
+ "name": "labelPosition",
21290
21396
  "type": {
21291
- "text": "boolean"
21397
+ "text": "LabelPosition"
21292
21398
  },
21293
- "default": "false",
21294
- "description": "Makes the field go into a required state",
21295
- "attribute": "required",
21399
+ "default": "'top'",
21400
+ "description": "The position of the supplied label",
21401
+ "attribute": "label-position",
21296
21402
  "reflects": true,
21297
21403
  "inheritedFrom": {
21298
21404
  "name": "LabeledInput",
@@ -21301,13 +21407,13 @@
21301
21407
  },
21302
21408
  {
21303
21409
  "kind": "field",
21304
- "name": "labelPosition",
21410
+ "name": "optional",
21305
21411
  "type": {
21306
- "text": "LabelPosition"
21412
+ "text": "boolean"
21307
21413
  },
21308
- "default": "'top'",
21309
- "description": "The position of the supplied label",
21310
- "attribute": "label-position",
21414
+ "default": "false",
21415
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
21416
+ "attribute": "optional",
21311
21417
  "reflects": true,
21312
21418
  "inheritedFrom": {
21313
21419
  "name": "LabeledInput",
@@ -21337,12 +21443,14 @@
21337
21443
  },
21338
21444
  {
21339
21445
  "kind": "field",
21340
- "name": "shadowRootOptions",
21446
+ "name": "disabled",
21341
21447
  "type": {
21342
- "text": "ShadowRootInit"
21448
+ "text": "boolean"
21343
21449
  },
21344
- "static": true,
21345
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n }",
21450
+ "default": "false",
21451
+ "description": "Disables the input field",
21452
+ "attribute": "disabled",
21453
+ "reflects": true,
21346
21454
  "inheritedFrom": {
21347
21455
  "name": "InputBase",
21348
21456
  "module": "src/components/form-elements/input-base.ts"
@@ -21350,13 +21458,13 @@
21350
21458
  },
21351
21459
  {
21352
21460
  "kind": "field",
21353
- "name": "disabled",
21461
+ "name": "required",
21354
21462
  "type": {
21355
21463
  "text": "boolean"
21356
21464
  },
21357
21465
  "default": "false",
21358
- "description": "Disables the input field",
21359
- "attribute": "disabled",
21466
+ "description": "Indicates that the input requires a value",
21467
+ "attribute": "required",
21360
21468
  "reflects": true,
21361
21469
  "inheritedFrom": {
21362
21470
  "name": "InputBase",
@@ -21554,26 +21662,26 @@
21554
21662
  }
21555
21663
  },
21556
21664
  {
21557
- "name": "required",
21665
+ "name": "label-position",
21558
21666
  "type": {
21559
- "text": "boolean"
21667
+ "text": "LabelPosition"
21560
21668
  },
21561
- "default": "false",
21562
- "description": "Makes the field go into a required state",
21563
- "fieldName": "required",
21669
+ "default": "'top'",
21670
+ "description": "The position of the supplied label",
21671
+ "fieldName": "labelPosition",
21564
21672
  "inheritedFrom": {
21565
21673
  "name": "LabeledInput",
21566
21674
  "module": "src/components/form-elements/labeled-input.ts"
21567
21675
  }
21568
21676
  },
21569
21677
  {
21570
- "name": "label-position",
21678
+ "name": "optional",
21571
21679
  "type": {
21572
- "text": "LabelPosition"
21680
+ "text": "boolean"
21573
21681
  },
21574
- "default": "'top'",
21575
- "description": "The position of the supplied label",
21576
- "fieldName": "labelPosition",
21682
+ "default": "false",
21683
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
21684
+ "fieldName": "optional",
21577
21685
  "inheritedFrom": {
21578
21686
  "name": "LabeledInput",
21579
21687
  "module": "src/components/form-elements/labeled-input.ts"
@@ -21592,6 +21700,19 @@
21592
21700
  "module": "src/components/form-elements/input-base.ts"
21593
21701
  }
21594
21702
  },
21703
+ {
21704
+ "name": "required",
21705
+ "type": {
21706
+ "text": "boolean"
21707
+ },
21708
+ "default": "false",
21709
+ "description": "Indicates that the input requires a value",
21710
+ "fieldName": "required",
21711
+ "inheritedFrom": {
21712
+ "name": "InputBase",
21713
+ "module": "src/components/form-elements/input-base.ts"
21714
+ }
21715
+ },
21595
21716
  {
21596
21717
  "name": "invalid",
21597
21718
  "type": {
@@ -22336,13 +22457,13 @@
22336
22457
  },
22337
22458
  {
22338
22459
  "kind": "field",
22339
- "name": "required",
22460
+ "name": "labelPosition",
22340
22461
  "type": {
22341
- "text": "boolean"
22462
+ "text": "LabelPosition"
22342
22463
  },
22343
- "default": "false",
22344
- "description": "Makes the field go into a required state",
22345
- "attribute": "required",
22464
+ "default": "'top'",
22465
+ "description": "The position of the supplied label",
22466
+ "attribute": "label-position",
22346
22467
  "reflects": true,
22347
22468
  "inheritedFrom": {
22348
22469
  "name": "LabeledInput",
@@ -22351,13 +22472,13 @@
22351
22472
  },
22352
22473
  {
22353
22474
  "kind": "field",
22354
- "name": "labelPosition",
22475
+ "name": "optional",
22355
22476
  "type": {
22356
- "text": "LabelPosition"
22477
+ "text": "boolean"
22357
22478
  },
22358
- "default": "'top'",
22359
- "description": "The position of the supplied label",
22360
- "attribute": "label-position",
22479
+ "default": "false",
22480
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
22481
+ "attribute": "optional",
22361
22482
  "reflects": true,
22362
22483
  "inheritedFrom": {
22363
22484
  "name": "LabeledInput",
@@ -22387,12 +22508,14 @@
22387
22508
  },
22388
22509
  {
22389
22510
  "kind": "field",
22390
- "name": "shadowRootOptions",
22511
+ "name": "disabled",
22391
22512
  "type": {
22392
- "text": "ShadowRootInit"
22513
+ "text": "boolean"
22393
22514
  },
22394
- "static": true,
22395
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n }",
22515
+ "default": "false",
22516
+ "description": "Disables the input field",
22517
+ "attribute": "disabled",
22518
+ "reflects": true,
22396
22519
  "inheritedFrom": {
22397
22520
  "name": "InputBase",
22398
22521
  "module": "src/components/form-elements/input-base.ts"
@@ -22400,13 +22523,13 @@
22400
22523
  },
22401
22524
  {
22402
22525
  "kind": "field",
22403
- "name": "disabled",
22526
+ "name": "required",
22404
22527
  "type": {
22405
22528
  "text": "boolean"
22406
22529
  },
22407
22530
  "default": "false",
22408
- "description": "Disables the input field",
22409
- "attribute": "disabled",
22531
+ "description": "Indicates that the input requires a value",
22532
+ "attribute": "required",
22410
22533
  "reflects": true,
22411
22534
  "inheritedFrom": {
22412
22535
  "name": "InputBase",
@@ -22663,26 +22786,26 @@
22663
22786
  }
22664
22787
  },
22665
22788
  {
22666
- "name": "required",
22789
+ "name": "label-position",
22667
22790
  "type": {
22668
- "text": "boolean"
22791
+ "text": "LabelPosition"
22669
22792
  },
22670
- "default": "false",
22671
- "description": "Makes the field go into a required state",
22672
- "fieldName": "required",
22793
+ "default": "'top'",
22794
+ "description": "The position of the supplied label",
22795
+ "fieldName": "labelPosition",
22673
22796
  "inheritedFrom": {
22674
22797
  "name": "LabeledInput",
22675
22798
  "module": "src/components/form-elements/labeled-input.ts"
22676
22799
  }
22677
22800
  },
22678
22801
  {
22679
- "name": "label-position",
22802
+ "name": "optional",
22680
22803
  "type": {
22681
- "text": "LabelPosition"
22804
+ "text": "boolean"
22682
22805
  },
22683
- "default": "'top'",
22684
- "description": "The position of the supplied label",
22685
- "fieldName": "labelPosition",
22806
+ "default": "false",
22807
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
22808
+ "fieldName": "optional",
22686
22809
  "inheritedFrom": {
22687
22810
  "name": "LabeledInput",
22688
22811
  "module": "src/components/form-elements/labeled-input.ts"
@@ -22701,6 +22824,19 @@
22701
22824
  "module": "src/components/form-elements/input-base.ts"
22702
22825
  }
22703
22826
  },
22827
+ {
22828
+ "name": "required",
22829
+ "type": {
22830
+ "text": "boolean"
22831
+ },
22832
+ "default": "false",
22833
+ "description": "Indicates that the input requires a value",
22834
+ "fieldName": "required",
22835
+ "inheritedFrom": {
22836
+ "name": "InputBase",
22837
+ "module": "src/components/form-elements/input-base.ts"
22838
+ }
22839
+ },
22704
22840
  {
22705
22841
  "name": "invalid",
22706
22842
  "type": {
@@ -22968,21 +23104,6 @@
22968
23104
  "module": "src/components/form-elements/labeled-input.ts"
22969
23105
  }
22970
23106
  },
22971
- {
22972
- "kind": "field",
22973
- "name": "required",
22974
- "type": {
22975
- "text": "boolean"
22976
- },
22977
- "default": "false",
22978
- "description": "Makes the field go into a required state",
22979
- "attribute": "required",
22980
- "reflects": true,
22981
- "inheritedFrom": {
22982
- "name": "LabeledInput",
22983
- "module": "src/components/form-elements/labeled-input.ts"
22984
- }
22985
- },
22986
23107
  {
22987
23108
  "kind": "field",
22988
23109
  "name": "labelPosition",
@@ -23013,6 +23134,21 @@
23013
23134
  "module": "src/components/form-elements/labeled-input.ts"
23014
23135
  }
23015
23136
  },
23137
+ {
23138
+ "kind": "field",
23139
+ "name": "optional",
23140
+ "type": {
23141
+ "text": "boolean"
23142
+ },
23143
+ "default": "false",
23144
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
23145
+ "attribute": "optional",
23146
+ "reflects": true,
23147
+ "inheritedFrom": {
23148
+ "name": "LabeledInput",
23149
+ "module": "src/components/form-elements/labeled-input.ts"
23150
+ }
23151
+ },
23016
23152
  {
23017
23153
  "kind": "method",
23018
23154
  "name": "handleErrorChange",
@@ -23036,12 +23172,14 @@
23036
23172
  },
23037
23173
  {
23038
23174
  "kind": "field",
23039
- "name": "shadowRootOptions",
23175
+ "name": "disabled",
23040
23176
  "type": {
23041
- "text": "ShadowRootInit"
23177
+ "text": "boolean"
23042
23178
  },
23043
- "static": true,
23044
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n }",
23179
+ "default": "false",
23180
+ "description": "Disables the input field",
23181
+ "attribute": "disabled",
23182
+ "reflects": true,
23045
23183
  "inheritedFrom": {
23046
23184
  "name": "InputBase",
23047
23185
  "module": "src/components/form-elements/input-base.ts"
@@ -23049,13 +23187,13 @@
23049
23187
  },
23050
23188
  {
23051
23189
  "kind": "field",
23052
- "name": "disabled",
23190
+ "name": "required",
23053
23191
  "type": {
23054
23192
  "text": "boolean"
23055
23193
  },
23056
23194
  "default": "false",
23057
- "description": "Disables the input field",
23058
- "attribute": "disabled",
23195
+ "description": "Indicates that the input requires a value",
23196
+ "attribute": "required",
23059
23197
  "reflects": true,
23060
23198
  "inheritedFrom": {
23061
23199
  "name": "InputBase",
@@ -23246,19 +23384,6 @@
23246
23384
  "module": "src/components/form-elements/input-text-base.ts"
23247
23385
  }
23248
23386
  },
23249
- {
23250
- "name": "required",
23251
- "type": {
23252
- "text": "boolean"
23253
- },
23254
- "default": "false",
23255
- "description": "Makes the field go into a required state",
23256
- "fieldName": "required",
23257
- "inheritedFrom": {
23258
- "name": "LabeledInput",
23259
- "module": "src/components/form-elements/labeled-input.ts"
23260
- }
23261
- },
23262
23387
  {
23263
23388
  "name": "label-position",
23264
23389
  "type": {
@@ -23285,6 +23410,19 @@
23285
23410
  "module": "src/components/form-elements/labeled-input.ts"
23286
23411
  }
23287
23412
  },
23413
+ {
23414
+ "name": "optional",
23415
+ "type": {
23416
+ "text": "boolean"
23417
+ },
23418
+ "default": "false",
23419
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
23420
+ "fieldName": "optional",
23421
+ "inheritedFrom": {
23422
+ "name": "LabeledInput",
23423
+ "module": "src/components/form-elements/labeled-input.ts"
23424
+ }
23425
+ },
23288
23426
  {
23289
23427
  "name": "disabled",
23290
23428
  "type": {
@@ -23298,6 +23436,19 @@
23298
23436
  "module": "src/components/form-elements/input-base.ts"
23299
23437
  }
23300
23438
  },
23439
+ {
23440
+ "name": "required",
23441
+ "type": {
23442
+ "text": "boolean"
23443
+ },
23444
+ "default": "false",
23445
+ "description": "Indicates that the input requires a value",
23446
+ "fieldName": "required",
23447
+ "inheritedFrom": {
23448
+ "name": "InputBase",
23449
+ "module": "src/components/form-elements/input-base.ts"
23450
+ }
23451
+ },
23301
23452
  {
23302
23453
  "name": "invalid",
23303
23454
  "type": {
@@ -23495,13 +23646,13 @@
23495
23646
  },
23496
23647
  {
23497
23648
  "kind": "field",
23498
- "name": "required",
23649
+ "name": "labelPosition",
23499
23650
  "type": {
23500
- "text": "boolean"
23651
+ "text": "LabelPosition"
23501
23652
  },
23502
- "default": "false",
23503
- "description": "Makes the field go into a required state",
23504
- "attribute": "required",
23653
+ "default": "'top'",
23654
+ "description": "The position of the supplied label",
23655
+ "attribute": "label-position",
23505
23656
  "reflects": true,
23506
23657
  "inheritedFrom": {
23507
23658
  "name": "LabeledInput",
@@ -23510,13 +23661,13 @@
23510
23661
  },
23511
23662
  {
23512
23663
  "kind": "field",
23513
- "name": "labelPosition",
23664
+ "name": "optional",
23514
23665
  "type": {
23515
- "text": "LabelPosition"
23666
+ "text": "boolean"
23516
23667
  },
23517
- "default": "'top'",
23518
- "description": "The position of the supplied label",
23519
- "attribute": "label-position",
23668
+ "default": "false",
23669
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
23670
+ "attribute": "optional",
23520
23671
  "reflects": true,
23521
23672
  "inheritedFrom": {
23522
23673
  "name": "LabeledInput",
@@ -23555,12 +23706,14 @@
23555
23706
  },
23556
23707
  {
23557
23708
  "kind": "field",
23558
- "name": "shadowRootOptions",
23709
+ "name": "disabled",
23559
23710
  "type": {
23560
- "text": "ShadowRootInit"
23711
+ "text": "boolean"
23561
23712
  },
23562
- "static": true,
23563
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n }",
23713
+ "default": "false",
23714
+ "description": "Disables the input field",
23715
+ "attribute": "disabled",
23716
+ "reflects": true,
23564
23717
  "inheritedFrom": {
23565
23718
  "name": "InputBase",
23566
23719
  "module": "src/components/form-elements/input-base.ts"
@@ -23568,13 +23721,13 @@
23568
23721
  },
23569
23722
  {
23570
23723
  "kind": "field",
23571
- "name": "disabled",
23724
+ "name": "required",
23572
23725
  "type": {
23573
23726
  "text": "boolean"
23574
23727
  },
23575
23728
  "default": "false",
23576
- "description": "Disables the input field",
23577
- "attribute": "disabled",
23729
+ "description": "Indicates that the input requires a value",
23730
+ "attribute": "required",
23578
23731
  "reflects": true,
23579
23732
  "inheritedFrom": {
23580
23733
  "name": "InputBase",
@@ -23705,26 +23858,26 @@
23705
23858
  }
23706
23859
  },
23707
23860
  {
23708
- "name": "required",
23861
+ "name": "label-position",
23709
23862
  "type": {
23710
- "text": "boolean"
23863
+ "text": "LabelPosition"
23711
23864
  },
23712
- "default": "false",
23713
- "description": "Makes the field go into a required state",
23714
- "fieldName": "required",
23865
+ "default": "'top'",
23866
+ "description": "The position of the supplied label",
23867
+ "fieldName": "labelPosition",
23715
23868
  "inheritedFrom": {
23716
23869
  "name": "LabeledInput",
23717
23870
  "module": "src/components/form-elements/labeled-input.ts"
23718
23871
  }
23719
23872
  },
23720
23873
  {
23721
- "name": "label-position",
23874
+ "name": "optional",
23722
23875
  "type": {
23723
- "text": "LabelPosition"
23876
+ "text": "boolean"
23724
23877
  },
23725
- "default": "'top'",
23726
- "description": "The position of the supplied label",
23727
- "fieldName": "labelPosition",
23878
+ "default": "false",
23879
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
23880
+ "fieldName": "optional",
23728
23881
  "inheritedFrom": {
23729
23882
  "name": "LabeledInput",
23730
23883
  "module": "src/components/form-elements/labeled-input.ts"
@@ -23743,6 +23896,19 @@
23743
23896
  "module": "src/components/form-elements/input-base.ts"
23744
23897
  }
23745
23898
  },
23899
+ {
23900
+ "name": "required",
23901
+ "type": {
23902
+ "text": "boolean"
23903
+ },
23904
+ "default": "false",
23905
+ "description": "Indicates that the input requires a value",
23906
+ "fieldName": "required",
23907
+ "inheritedFrom": {
23908
+ "name": "InputBase",
23909
+ "module": "src/components/form-elements/input-base.ts"
23910
+ }
23911
+ },
23746
23912
  {
23747
23913
  "name": "invalid",
23748
23914
  "type": {
@@ -24260,21 +24426,6 @@
24260
24426
  "module": "src/components/form-elements/labeled-input.ts"
24261
24427
  }
24262
24428
  },
24263
- {
24264
- "kind": "field",
24265
- "name": "required",
24266
- "type": {
24267
- "text": "boolean"
24268
- },
24269
- "default": "false",
24270
- "description": "Makes the field go into a required state",
24271
- "attribute": "required",
24272
- "reflects": true,
24273
- "inheritedFrom": {
24274
- "name": "LabeledInput",
24275
- "module": "src/components/form-elements/labeled-input.ts"
24276
- }
24277
- },
24278
24429
  {
24279
24430
  "kind": "field",
24280
24431
  "name": "labelPosition",
@@ -24305,6 +24456,21 @@
24305
24456
  "module": "src/components/form-elements/labeled-input.ts"
24306
24457
  }
24307
24458
  },
24459
+ {
24460
+ "kind": "field",
24461
+ "name": "optional",
24462
+ "type": {
24463
+ "text": "boolean"
24464
+ },
24465
+ "default": "false",
24466
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
24467
+ "attribute": "optional",
24468
+ "reflects": true,
24469
+ "inheritedFrom": {
24470
+ "name": "LabeledInput",
24471
+ "module": "src/components/form-elements/labeled-input.ts"
24472
+ }
24473
+ },
24308
24474
  {
24309
24475
  "kind": "method",
24310
24476
  "name": "handleErrorChange",
@@ -24328,12 +24494,14 @@
24328
24494
  },
24329
24495
  {
24330
24496
  "kind": "field",
24331
- "name": "shadowRootOptions",
24497
+ "name": "disabled",
24332
24498
  "type": {
24333
- "text": "ShadowRootInit"
24499
+ "text": "boolean"
24334
24500
  },
24335
- "static": true,
24336
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n }",
24501
+ "default": "false",
24502
+ "description": "Disables the input field",
24503
+ "attribute": "disabled",
24504
+ "reflects": true,
24337
24505
  "inheritedFrom": {
24338
24506
  "name": "InputBase",
24339
24507
  "module": "src/components/form-elements/input-base.ts"
@@ -24341,13 +24509,13 @@
24341
24509
  },
24342
24510
  {
24343
24511
  "kind": "field",
24344
- "name": "disabled",
24512
+ "name": "required",
24345
24513
  "type": {
24346
24514
  "text": "boolean"
24347
24515
  },
24348
24516
  "default": "false",
24349
- "description": "Disables the input field",
24350
- "attribute": "disabled",
24517
+ "description": "Indicates that the input requires a value",
24518
+ "attribute": "required",
24351
24519
  "reflects": true,
24352
24520
  "inheritedFrom": {
24353
24521
  "name": "InputBase",
@@ -24566,19 +24734,6 @@
24566
24734
  "module": "src/components/form-elements/input-text-base.ts"
24567
24735
  }
24568
24736
  },
24569
- {
24570
- "name": "required",
24571
- "type": {
24572
- "text": "boolean"
24573
- },
24574
- "default": "false",
24575
- "description": "Makes the field go into a required state",
24576
- "fieldName": "required",
24577
- "inheritedFrom": {
24578
- "name": "LabeledInput",
24579
- "module": "src/components/form-elements/labeled-input.ts"
24580
- }
24581
- },
24582
24737
  {
24583
24738
  "name": "label-position",
24584
24739
  "type": {
@@ -24605,6 +24760,19 @@
24605
24760
  "module": "src/components/form-elements/labeled-input.ts"
24606
24761
  }
24607
24762
  },
24763
+ {
24764
+ "name": "optional",
24765
+ "type": {
24766
+ "text": "boolean"
24767
+ },
24768
+ "default": "false",
24769
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
24770
+ "fieldName": "optional",
24771
+ "inheritedFrom": {
24772
+ "name": "LabeledInput",
24773
+ "module": "src/components/form-elements/labeled-input.ts"
24774
+ }
24775
+ },
24608
24776
  {
24609
24777
  "name": "disabled",
24610
24778
  "type": {
@@ -24618,6 +24786,19 @@
24618
24786
  "module": "src/components/form-elements/input-base.ts"
24619
24787
  }
24620
24788
  },
24789
+ {
24790
+ "name": "required",
24791
+ "type": {
24792
+ "text": "boolean"
24793
+ },
24794
+ "default": "false",
24795
+ "description": "Indicates that the input requires a value",
24796
+ "fieldName": "required",
24797
+ "inheritedFrom": {
24798
+ "name": "InputBase",
24799
+ "module": "src/components/form-elements/input-base.ts"
24800
+ }
24801
+ },
24621
24802
  {
24622
24803
  "name": "invalid",
24623
24804
  "type": {
@@ -24863,8 +25044,8 @@
24863
25044
  "attribute": "required",
24864
25045
  "reflects": true,
24865
25046
  "inheritedFrom": {
24866
- "name": "LabeledInput",
24867
- "module": "src/components/form-elements/labeled-input.ts"
25047
+ "name": "InputBase",
25048
+ "module": "src/components/form-elements/input-base.ts"
24868
25049
  }
24869
25050
  },
24870
25051
  {
@@ -25250,6 +25431,21 @@
25250
25431
  "module": "src/components/form-elements/labeled-input.ts"
25251
25432
  }
25252
25433
  },
25434
+ {
25435
+ "kind": "field",
25436
+ "name": "optional",
25437
+ "type": {
25438
+ "text": "boolean"
25439
+ },
25440
+ "default": "false",
25441
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
25442
+ "attribute": "optional",
25443
+ "reflects": true,
25444
+ "inheritedFrom": {
25445
+ "name": "LabeledInput",
25446
+ "module": "src/components/form-elements/labeled-input.ts"
25447
+ }
25448
+ },
25253
25449
  {
25254
25450
  "kind": "method",
25255
25451
  "name": "handleErrorChange",
@@ -25271,19 +25467,6 @@
25271
25467
  "module": "src/components/form-elements/labeled-input.ts"
25272
25468
  }
25273
25469
  },
25274
- {
25275
- "kind": "field",
25276
- "name": "shadowRootOptions",
25277
- "type": {
25278
- "text": "ShadowRootInit"
25279
- },
25280
- "static": true,
25281
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n }",
25282
- "inheritedFrom": {
25283
- "name": "InputBase",
25284
- "module": "src/components/form-elements/input-base.ts"
25285
- }
25286
- },
25287
25470
  {
25288
25471
  "kind": "field",
25289
25472
  "name": "disabled",
@@ -25502,19 +25685,6 @@
25502
25685
  "module": "src/components/form-elements/input-text-base.ts"
25503
25686
  }
25504
25687
  },
25505
- {
25506
- "name": "required",
25507
- "type": {
25508
- "text": "boolean"
25509
- },
25510
- "default": "false",
25511
- "description": "Makes the field go into a required state",
25512
- "fieldName": "required",
25513
- "inheritedFrom": {
25514
- "name": "LabeledInput",
25515
- "module": "src/components/form-elements/labeled-input.ts"
25516
- }
25517
- },
25518
25688
  {
25519
25689
  "name": "label-position",
25520
25690
  "type": {
@@ -25541,6 +25711,19 @@
25541
25711
  "module": "src/components/form-elements/labeled-input.ts"
25542
25712
  }
25543
25713
  },
25714
+ {
25715
+ "name": "optional",
25716
+ "type": {
25717
+ "text": "boolean"
25718
+ },
25719
+ "default": "false",
25720
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
25721
+ "fieldName": "optional",
25722
+ "inheritedFrom": {
25723
+ "name": "LabeledInput",
25724
+ "module": "src/components/form-elements/labeled-input.ts"
25725
+ }
25726
+ },
25544
25727
  {
25545
25728
  "name": "disabled",
25546
25729
  "type": {
@@ -25554,6 +25737,19 @@
25554
25737
  "module": "src/components/form-elements/input-base.ts"
25555
25738
  }
25556
25739
  },
25740
+ {
25741
+ "name": "required",
25742
+ "type": {
25743
+ "text": "boolean"
25744
+ },
25745
+ "default": "false",
25746
+ "description": "Indicates that the input requires a value",
25747
+ "fieldName": "required",
25748
+ "inheritedFrom": {
25749
+ "name": "InputBase",
25750
+ "module": "src/components/form-elements/input-base.ts"
25751
+ }
25752
+ },
25557
25753
  {
25558
25754
  "name": "invalid",
25559
25755
  "type": {
@@ -25720,21 +25916,6 @@
25720
25916
  "module": "src/components/form-elements/labeled-input.ts"
25721
25917
  }
25722
25918
  },
25723
- {
25724
- "kind": "field",
25725
- "name": "required",
25726
- "type": {
25727
- "text": "boolean"
25728
- },
25729
- "default": "false",
25730
- "description": "Makes the field go into a required state",
25731
- "attribute": "required",
25732
- "reflects": true,
25733
- "inheritedFrom": {
25734
- "name": "LabeledInput",
25735
- "module": "src/components/form-elements/labeled-input.ts"
25736
- }
25737
- },
25738
25919
  {
25739
25920
  "kind": "field",
25740
25921
  "name": "labelPosition",
@@ -25765,6 +25946,21 @@
25765
25946
  "module": "src/components/form-elements/labeled-input.ts"
25766
25947
  }
25767
25948
  },
25949
+ {
25950
+ "kind": "field",
25951
+ "name": "optional",
25952
+ "type": {
25953
+ "text": "boolean"
25954
+ },
25955
+ "default": "false",
25956
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
25957
+ "attribute": "optional",
25958
+ "reflects": true,
25959
+ "inheritedFrom": {
25960
+ "name": "LabeledInput",
25961
+ "module": "src/components/form-elements/labeled-input.ts"
25962
+ }
25963
+ },
25768
25964
  {
25769
25965
  "kind": "method",
25770
25966
  "name": "handleErrorChange",
@@ -25801,12 +25997,14 @@
25801
25997
  },
25802
25998
  {
25803
25999
  "kind": "field",
25804
- "name": "shadowRootOptions",
26000
+ "name": "disabled",
25805
26001
  "type": {
25806
- "text": "ShadowRootInit"
26002
+ "text": "boolean"
25807
26003
  },
25808
- "static": true,
25809
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n }",
26004
+ "default": "false",
26005
+ "description": "Disables the input field",
26006
+ "attribute": "disabled",
26007
+ "reflects": true,
25810
26008
  "inheritedFrom": {
25811
26009
  "name": "InputBase",
25812
26010
  "module": "src/components/form-elements/input-base.ts"
@@ -25814,13 +26012,13 @@
25814
26012
  },
25815
26013
  {
25816
26014
  "kind": "field",
25817
- "name": "disabled",
26015
+ "name": "required",
25818
26016
  "type": {
25819
26017
  "text": "boolean"
25820
26018
  },
25821
26019
  "default": "false",
25822
- "description": "Disables the input field",
25823
- "attribute": "disabled",
26020
+ "description": "Indicates that the input requires a value",
26021
+ "attribute": "required",
25824
26022
  "reflects": true,
25825
26023
  "inheritedFrom": {
25826
26024
  "name": "InputBase",
@@ -25954,25 +26152,12 @@
25954
26152
  "fieldName": "leadingIcon"
25955
26153
  },
25956
26154
  {
25957
- "name": "trailing-icon",
25958
- "type": {
25959
- "text": "IconKey | undefined"
25960
- },
25961
- "description": "Puts the supplied icon inside of the input at the trailing edge",
25962
- "fieldName": "trailingIcon"
25963
- },
25964
- {
25965
- "name": "required",
25966
- "type": {
25967
- "text": "boolean"
25968
- },
25969
- "default": "false",
25970
- "description": "Makes the field go into a required state",
25971
- "fieldName": "required",
25972
- "inheritedFrom": {
25973
- "name": "LabeledInput",
25974
- "module": "src/components/form-elements/labeled-input.ts"
25975
- }
26155
+ "name": "trailing-icon",
26156
+ "type": {
26157
+ "text": "IconKey | undefined"
26158
+ },
26159
+ "description": "Puts the supplied icon inside of the input at the trailing edge",
26160
+ "fieldName": "trailingIcon"
25976
26161
  },
25977
26162
  {
25978
26163
  "name": "label-position",
@@ -26000,6 +26185,19 @@
26000
26185
  "module": "src/components/form-elements/labeled-input.ts"
26001
26186
  }
26002
26187
  },
26188
+ {
26189
+ "name": "optional",
26190
+ "type": {
26191
+ "text": "boolean"
26192
+ },
26193
+ "default": "false",
26194
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
26195
+ "fieldName": "optional",
26196
+ "inheritedFrom": {
26197
+ "name": "LabeledInput",
26198
+ "module": "src/components/form-elements/labeled-input.ts"
26199
+ }
26200
+ },
26003
26201
  {
26004
26202
  "name": "disabled",
26005
26203
  "type": {
@@ -26013,6 +26211,19 @@
26013
26211
  "module": "src/components/form-elements/input-base.ts"
26014
26212
  }
26015
26213
  },
26214
+ {
26215
+ "name": "required",
26216
+ "type": {
26217
+ "text": "boolean"
26218
+ },
26219
+ "default": "false",
26220
+ "description": "Indicates that the input requires a value",
26221
+ "fieldName": "required",
26222
+ "inheritedFrom": {
26223
+ "name": "InputBase",
26224
+ "module": "src/components/form-elements/input-base.ts"
26225
+ }
26226
+ },
26016
26227
  {
26017
26228
  "name": "invalid",
26018
26229
  "type": {
@@ -26237,13 +26448,13 @@
26237
26448
  },
26238
26449
  {
26239
26450
  "kind": "field",
26240
- "name": "required",
26451
+ "name": "labelPosition",
26241
26452
  "type": {
26242
- "text": "boolean"
26453
+ "text": "LabelPosition"
26243
26454
  },
26244
- "default": "false",
26245
- "description": "Makes the field go into a required state",
26246
- "attribute": "required",
26455
+ "default": "'top'",
26456
+ "description": "The position of the supplied label",
26457
+ "attribute": "label-position",
26247
26458
  "reflects": true,
26248
26459
  "inheritedFrom": {
26249
26460
  "name": "LabeledInput",
@@ -26252,13 +26463,13 @@
26252
26463
  },
26253
26464
  {
26254
26465
  "kind": "field",
26255
- "name": "labelPosition",
26466
+ "name": "optional",
26256
26467
  "type": {
26257
- "text": "LabelPosition"
26468
+ "text": "boolean"
26258
26469
  },
26259
- "default": "'top'",
26260
- "description": "The position of the supplied label",
26261
- "attribute": "label-position",
26470
+ "default": "false",
26471
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
26472
+ "attribute": "optional",
26262
26473
  "reflects": true,
26263
26474
  "inheritedFrom": {
26264
26475
  "name": "LabeledInput",
@@ -26288,12 +26499,14 @@
26288
26499
  },
26289
26500
  {
26290
26501
  "kind": "field",
26291
- "name": "shadowRootOptions",
26502
+ "name": "disabled",
26292
26503
  "type": {
26293
- "text": "ShadowRootInit"
26504
+ "text": "boolean"
26294
26505
  },
26295
- "static": true,
26296
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n }",
26506
+ "default": "false",
26507
+ "description": "Disables the input field",
26508
+ "attribute": "disabled",
26509
+ "reflects": true,
26297
26510
  "inheritedFrom": {
26298
26511
  "name": "InputBase",
26299
26512
  "module": "src/components/form-elements/input-base.ts"
@@ -26301,13 +26514,13 @@
26301
26514
  },
26302
26515
  {
26303
26516
  "kind": "field",
26304
- "name": "disabled",
26517
+ "name": "required",
26305
26518
  "type": {
26306
26519
  "text": "boolean"
26307
26520
  },
26308
26521
  "default": "false",
26309
- "description": "Disables the input field",
26310
- "attribute": "disabled",
26522
+ "description": "Indicates that the input requires a value",
26523
+ "attribute": "required",
26311
26524
  "reflects": true,
26312
26525
  "inheritedFrom": {
26313
26526
  "name": "InputBase",
@@ -26485,26 +26698,26 @@
26485
26698
  }
26486
26699
  },
26487
26700
  {
26488
- "name": "required",
26701
+ "name": "label-position",
26489
26702
  "type": {
26490
- "text": "boolean"
26703
+ "text": "LabelPosition"
26491
26704
  },
26492
- "default": "false",
26493
- "description": "Makes the field go into a required state",
26494
- "fieldName": "required",
26705
+ "default": "'top'",
26706
+ "description": "The position of the supplied label",
26707
+ "fieldName": "labelPosition",
26495
26708
  "inheritedFrom": {
26496
26709
  "name": "LabeledInput",
26497
26710
  "module": "src/components/form-elements/labeled-input.ts"
26498
26711
  }
26499
26712
  },
26500
26713
  {
26501
- "name": "label-position",
26714
+ "name": "optional",
26502
26715
  "type": {
26503
- "text": "LabelPosition"
26716
+ "text": "boolean"
26504
26717
  },
26505
- "default": "'top'",
26506
- "description": "The position of the supplied label",
26507
- "fieldName": "labelPosition",
26718
+ "default": "false",
26719
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
26720
+ "fieldName": "optional",
26508
26721
  "inheritedFrom": {
26509
26722
  "name": "LabeledInput",
26510
26723
  "module": "src/components/form-elements/labeled-input.ts"
@@ -26523,6 +26736,19 @@
26523
26736
  "module": "src/components/form-elements/input-base.ts"
26524
26737
  }
26525
26738
  },
26739
+ {
26740
+ "name": "required",
26741
+ "type": {
26742
+ "text": "boolean"
26743
+ },
26744
+ "default": "false",
26745
+ "description": "Indicates that the input requires a value",
26746
+ "fieldName": "required",
26747
+ "inheritedFrom": {
26748
+ "name": "InputBase",
26749
+ "module": "src/components/form-elements/input-base.ts"
26750
+ }
26751
+ },
26526
26752
  {
26527
26753
  "name": "invalid",
26528
26754
  "type": {
@@ -26765,13 +26991,13 @@
26765
26991
  },
26766
26992
  {
26767
26993
  "kind": "field",
26768
- "name": "required",
26994
+ "name": "labelPosition",
26769
26995
  "type": {
26770
- "text": "boolean"
26996
+ "text": "LabelPosition"
26771
26997
  },
26772
- "default": "false",
26773
- "description": "Makes the field go into a required state",
26774
- "attribute": "required",
26998
+ "default": "'top'",
26999
+ "description": "The position of the supplied label",
27000
+ "attribute": "label-position",
26775
27001
  "reflects": true,
26776
27002
  "inheritedFrom": {
26777
27003
  "name": "LabeledInput",
@@ -26780,13 +27006,13 @@
26780
27006
  },
26781
27007
  {
26782
27008
  "kind": "field",
26783
- "name": "labelPosition",
27009
+ "name": "optional",
26784
27010
  "type": {
26785
- "text": "LabelPosition"
27011
+ "text": "boolean"
26786
27012
  },
26787
- "default": "'top'",
26788
- "description": "The position of the supplied label",
26789
- "attribute": "label-position",
27013
+ "default": "false",
27014
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
27015
+ "attribute": "optional",
26790
27016
  "reflects": true,
26791
27017
  "inheritedFrom": {
26792
27018
  "name": "LabeledInput",
@@ -26803,12 +27029,14 @@
26803
27029
  },
26804
27030
  {
26805
27031
  "kind": "field",
26806
- "name": "shadowRootOptions",
27032
+ "name": "disabled",
26807
27033
  "type": {
26808
- "text": "ShadowRootInit"
27034
+ "text": "boolean"
26809
27035
  },
26810
- "static": true,
26811
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n }",
27036
+ "default": "false",
27037
+ "description": "Disables the input field",
27038
+ "attribute": "disabled",
27039
+ "reflects": true,
26812
27040
  "inheritedFrom": {
26813
27041
  "name": "InputBase",
26814
27042
  "module": "src/components/form-elements/input-base.ts"
@@ -26816,13 +27044,13 @@
26816
27044
  },
26817
27045
  {
26818
27046
  "kind": "field",
26819
- "name": "disabled",
27047
+ "name": "required",
26820
27048
  "type": {
26821
27049
  "text": "boolean"
26822
27050
  },
26823
27051
  "default": "false",
26824
- "description": "Disables the input field",
26825
- "attribute": "disabled",
27052
+ "description": "Indicates that the input requires a value",
27053
+ "attribute": "required",
26826
27054
  "reflects": true,
26827
27055
  "inheritedFrom": {
26828
27056
  "name": "InputBase",
@@ -27000,26 +27228,26 @@
27000
27228
  }
27001
27229
  },
27002
27230
  {
27003
- "name": "required",
27231
+ "name": "label-position",
27004
27232
  "type": {
27005
- "text": "boolean"
27233
+ "text": "LabelPosition"
27006
27234
  },
27007
- "default": "false",
27008
- "description": "Makes the field go into a required state",
27009
- "fieldName": "required",
27235
+ "default": "'top'",
27236
+ "description": "The position of the supplied label",
27237
+ "fieldName": "labelPosition",
27010
27238
  "inheritedFrom": {
27011
27239
  "name": "LabeledInput",
27012
27240
  "module": "src/components/form-elements/labeled-input.ts"
27013
27241
  }
27014
27242
  },
27015
27243
  {
27016
- "name": "label-position",
27244
+ "name": "optional",
27017
27245
  "type": {
27018
- "text": "LabelPosition"
27246
+ "text": "boolean"
27019
27247
  },
27020
- "default": "'top'",
27021
- "description": "The position of the supplied label",
27022
- "fieldName": "labelPosition",
27248
+ "default": "false",
27249
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
27250
+ "fieldName": "optional",
27023
27251
  "inheritedFrom": {
27024
27252
  "name": "LabeledInput",
27025
27253
  "module": "src/components/form-elements/labeled-input.ts"
@@ -27038,6 +27266,19 @@
27038
27266
  "module": "src/components/form-elements/input-base.ts"
27039
27267
  }
27040
27268
  },
27269
+ {
27270
+ "name": "required",
27271
+ "type": {
27272
+ "text": "boolean"
27273
+ },
27274
+ "default": "false",
27275
+ "description": "Indicates that the input requires a value",
27276
+ "fieldName": "required",
27277
+ "inheritedFrom": {
27278
+ "name": "InputBase",
27279
+ "module": "src/components/form-elements/input-base.ts"
27280
+ }
27281
+ },
27041
27282
  {
27042
27283
  "name": "invalid",
27043
27284
  "type": {
@@ -27453,8 +27694,8 @@
27453
27694
  "attribute": "required",
27454
27695
  "reflects": true,
27455
27696
  "inheritedFrom": {
27456
- "name": "LabeledInput",
27457
- "module": "src/components/form-elements/labeled-input.ts"
27697
+ "name": "InputBase",
27698
+ "module": "src/components/form-elements/input-base.ts"
27458
27699
  }
27459
27700
  },
27460
27701
  {
@@ -27769,6 +28010,21 @@
27769
28010
  "module": "src/components/form-elements/labeled-input.ts"
27770
28011
  }
27771
28012
  },
28013
+ {
28014
+ "kind": "field",
28015
+ "name": "optional",
28016
+ "type": {
28017
+ "text": "boolean"
28018
+ },
28019
+ "default": "false",
28020
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
28021
+ "attribute": "optional",
28022
+ "reflects": true,
28023
+ "inheritedFrom": {
28024
+ "name": "LabeledInput",
28025
+ "module": "src/components/form-elements/labeled-input.ts"
28026
+ }
28027
+ },
27772
28028
  {
27773
28029
  "kind": "method",
27774
28030
  "name": "handleErrorChange",
@@ -27790,19 +28046,6 @@
27790
28046
  "module": "src/components/form-elements/labeled-input.ts"
27791
28047
  }
27792
28048
  },
27793
- {
27794
- "kind": "field",
27795
- "name": "shadowRootOptions",
27796
- "type": {
27797
- "text": "ShadowRootInit"
27798
- },
27799
- "static": true,
27800
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n }",
27801
- "inheritedFrom": {
27802
- "name": "InputBase",
27803
- "module": "src/components/form-elements/input-base.ts"
27804
- }
27805
- },
27806
28049
  {
27807
28050
  "kind": "field",
27808
28051
  "name": "disabled",
@@ -28048,19 +28291,6 @@
28048
28291
  "module": "src/components/form-elements/input-text-base.ts"
28049
28292
  }
28050
28293
  },
28051
- {
28052
- "name": "required",
28053
- "type": {
28054
- "text": "boolean"
28055
- },
28056
- "default": "false",
28057
- "description": "Makes the field go into a required state",
28058
- "fieldName": "required",
28059
- "inheritedFrom": {
28060
- "name": "LabeledInput",
28061
- "module": "src/components/form-elements/labeled-input.ts"
28062
- }
28063
- },
28064
28294
  {
28065
28295
  "name": "label-position",
28066
28296
  "type": {
@@ -28087,6 +28317,19 @@
28087
28317
  "module": "src/components/form-elements/labeled-input.ts"
28088
28318
  }
28089
28319
  },
28320
+ {
28321
+ "name": "optional",
28322
+ "type": {
28323
+ "text": "boolean"
28324
+ },
28325
+ "default": "false",
28326
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
28327
+ "fieldName": "optional",
28328
+ "inheritedFrom": {
28329
+ "name": "LabeledInput",
28330
+ "module": "src/components/form-elements/labeled-input.ts"
28331
+ }
28332
+ },
28090
28333
  {
28091
28334
  "name": "disabled",
28092
28335
  "type": {
@@ -28100,6 +28343,19 @@
28100
28343
  "module": "src/components/form-elements/input-base.ts"
28101
28344
  }
28102
28345
  },
28346
+ {
28347
+ "name": "required",
28348
+ "type": {
28349
+ "text": "boolean"
28350
+ },
28351
+ "default": "false",
28352
+ "description": "Indicates that the input requires a value",
28353
+ "fieldName": "required",
28354
+ "inheritedFrom": {
28355
+ "name": "InputBase",
28356
+ "module": "src/components/form-elements/input-base.ts"
28357
+ }
28358
+ },
28103
28359
  {
28104
28360
  "name": "invalid",
28105
28361
  "type": {
@@ -28278,17 +28534,6 @@
28278
28534
  }
28279
28535
  ],
28280
28536
  "members": [
28281
- {
28282
- "kind": "field",
28283
- "name": "required",
28284
- "type": {
28285
- "text": "boolean"
28286
- },
28287
- "default": "false",
28288
- "description": "Makes the field go into a required state",
28289
- "attribute": "required",
28290
- "reflects": true
28291
- },
28292
28537
  {
28293
28538
  "kind": "field",
28294
28539
  "name": "labelPosition",
@@ -28311,6 +28556,17 @@
28311
28556
  "attribute": "size",
28312
28557
  "reflects": true
28313
28558
  },
28559
+ {
28560
+ "kind": "field",
28561
+ "name": "optional",
28562
+ "type": {
28563
+ "text": "boolean"
28564
+ },
28565
+ "default": "false",
28566
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
28567
+ "attribute": "optional",
28568
+ "reflects": true
28569
+ },
28314
28570
  {
28315
28571
  "kind": "method",
28316
28572
  "name": "handleErrorChange"
@@ -28340,12 +28596,14 @@
28340
28596
  },
28341
28597
  {
28342
28598
  "kind": "field",
28343
- "name": "shadowRootOptions",
28599
+ "name": "disabled",
28344
28600
  "type": {
28345
- "text": "ShadowRootInit"
28601
+ "text": "boolean"
28346
28602
  },
28347
- "static": true,
28348
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n }",
28603
+ "default": "false",
28604
+ "description": "Disables the input field",
28605
+ "attribute": "disabled",
28606
+ "reflects": true,
28349
28607
  "inheritedFrom": {
28350
28608
  "name": "InputBase",
28351
28609
  "module": "src/components/form-elements/input-base.ts"
@@ -28353,13 +28611,13 @@
28353
28611
  },
28354
28612
  {
28355
28613
  "kind": "field",
28356
- "name": "disabled",
28614
+ "name": "required",
28357
28615
  "type": {
28358
28616
  "text": "boolean"
28359
28617
  },
28360
28618
  "default": "false",
28361
- "description": "Disables the input field",
28362
- "attribute": "disabled",
28619
+ "description": "Indicates that the input requires a value",
28620
+ "attribute": "required",
28363
28621
  "reflects": true,
28364
28622
  "inheritedFrom": {
28365
28623
  "name": "InputBase",
@@ -28467,15 +28725,6 @@
28467
28725
  }
28468
28726
  ],
28469
28727
  "attributes": [
28470
- {
28471
- "name": "required",
28472
- "type": {
28473
- "text": "boolean"
28474
- },
28475
- "default": "false",
28476
- "description": "Makes the field go into a required state",
28477
- "fieldName": "required"
28478
- },
28479
28728
  {
28480
28729
  "name": "label-position",
28481
28730
  "type": {
@@ -28494,6 +28743,15 @@
28494
28743
  "description": "The size of the input",
28495
28744
  "fieldName": "size"
28496
28745
  },
28746
+ {
28747
+ "name": "optional",
28748
+ "type": {
28749
+ "text": "boolean"
28750
+ },
28751
+ "default": "false",
28752
+ "description": "Indicates that the input value is optional. Appends \"(optional)\" text to\nthe label.\n\nIf the input is already `required`, this does nothing.",
28753
+ "fieldName": "optional"
28754
+ },
28497
28755
  {
28498
28756
  "name": "disabled",
28499
28757
  "type": {
@@ -28507,6 +28765,19 @@
28507
28765
  "module": "src/components/form-elements/input-base.ts"
28508
28766
  }
28509
28767
  },
28768
+ {
28769
+ "name": "required",
28770
+ "type": {
28771
+ "text": "boolean"
28772
+ },
28773
+ "default": "false",
28774
+ "description": "Indicates that the input requires a value",
28775
+ "fieldName": "required",
28776
+ "inheritedFrom": {
28777
+ "name": "InputBase",
28778
+ "module": "src/components/form-elements/input-base.ts"
28779
+ }
28780
+ },
28510
28781
  {
28511
28782
  "name": "invalid",
28512
28783
  "type": {