@momentum-design/components 0.18.5 → 0.18.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.
@@ -1096,77 +1096,6 @@
1096
1096
  }
1097
1097
  ]
1098
1098
  },
1099
- {
1100
- "kind": "javascript-module",
1101
- "path": "components/bullet/bullet.component.js",
1102
- "declarations": [
1103
- {
1104
- "kind": "class",
1105
- "description": "Bullet component, which is a visual marker\nand be used to organize and present items in a list format.",
1106
- "name": "Bullet",
1107
- "cssProperties": [
1108
- {
1109
- "description": "background color of the bullet",
1110
- "name": "--mdc-bullet-background-color"
1111
- },
1112
- {
1113
- "description": "small size value of the bullet",
1114
- "name": "--mdc-bullet-size-small"
1115
- },
1116
- {
1117
- "description": "medium size value of the bullet",
1118
- "name": "--mdc-bullet-size-medium"
1119
- },
1120
- {
1121
- "description": "large size value of the bullet",
1122
- "name": "--mdc-bullet-size-large"
1123
- }
1124
- ],
1125
- "members": [
1126
- {
1127
- "kind": "field",
1128
- "name": "size",
1129
- "type": {
1130
- "text": "Size"
1131
- },
1132
- "privacy": "public",
1133
- "description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
1134
- "default": "small",
1135
- "attribute": "size",
1136
- "reflects": true
1137
- }
1138
- ],
1139
- "attributes": [
1140
- {
1141
- "name": "size",
1142
- "type": {
1143
- "text": "Size"
1144
- },
1145
- "description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
1146
- "default": "small",
1147
- "fieldName": "size"
1148
- }
1149
- ],
1150
- "superclass": {
1151
- "name": "Component",
1152
- "module": "/src/models"
1153
- },
1154
- "tagName": "mdc-bullet",
1155
- "jsDoc": "/**\n * Bullet component, which is a visual marker\n * and be used to organize and present items in a list format.\n *\n * @tagname mdc-bullet\n *\n * @cssproperty --mdc-bullet-background-color - background color of the bullet\n * @cssproperty --mdc-bullet-size-small - small size value of the bullet\n * @cssproperty --mdc-bullet-size-medium - medium size value of the bullet\n * @cssproperty --mdc-bullet-size-large - large size value of the bullet\n*/",
1156
- "customElement": true
1157
- }
1158
- ],
1159
- "exports": [
1160
- {
1161
- "kind": "js",
1162
- "name": "default",
1163
- "declaration": {
1164
- "name": "Bullet",
1165
- "module": "components/bullet/bullet.component.js"
1166
- }
1167
- }
1168
- ]
1169
- },
1170
1099
  {
1171
1100
  "kind": "javascript-module",
1172
1101
  "path": "components/button/button.component.js",
@@ -1975,6 +1904,77 @@
1975
1904
  }
1976
1905
  ]
1977
1906
  },
1907
+ {
1908
+ "kind": "javascript-module",
1909
+ "path": "components/bullet/bullet.component.js",
1910
+ "declarations": [
1911
+ {
1912
+ "kind": "class",
1913
+ "description": "Bullet component, which is a visual marker\nand be used to organize and present items in a list format.",
1914
+ "name": "Bullet",
1915
+ "cssProperties": [
1916
+ {
1917
+ "description": "background color of the bullet",
1918
+ "name": "--mdc-bullet-background-color"
1919
+ },
1920
+ {
1921
+ "description": "small size value of the bullet",
1922
+ "name": "--mdc-bullet-size-small"
1923
+ },
1924
+ {
1925
+ "description": "medium size value of the bullet",
1926
+ "name": "--mdc-bullet-size-medium"
1927
+ },
1928
+ {
1929
+ "description": "large size value of the bullet",
1930
+ "name": "--mdc-bullet-size-large"
1931
+ }
1932
+ ],
1933
+ "members": [
1934
+ {
1935
+ "kind": "field",
1936
+ "name": "size",
1937
+ "type": {
1938
+ "text": "Size"
1939
+ },
1940
+ "privacy": "public",
1941
+ "description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
1942
+ "default": "small",
1943
+ "attribute": "size",
1944
+ "reflects": true
1945
+ }
1946
+ ],
1947
+ "attributes": [
1948
+ {
1949
+ "name": "size",
1950
+ "type": {
1951
+ "text": "Size"
1952
+ },
1953
+ "description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
1954
+ "default": "small",
1955
+ "fieldName": "size"
1956
+ }
1957
+ ],
1958
+ "superclass": {
1959
+ "name": "Component",
1960
+ "module": "/src/models"
1961
+ },
1962
+ "tagName": "mdc-bullet",
1963
+ "jsDoc": "/**\n * Bullet component, which is a visual marker\n * and be used to organize and present items in a list format.\n *\n * @tagname mdc-bullet\n *\n * @cssproperty --mdc-bullet-background-color - background color of the bullet\n * @cssproperty --mdc-bullet-size-small - small size value of the bullet\n * @cssproperty --mdc-bullet-size-medium - medium size value of the bullet\n * @cssproperty --mdc-bullet-size-large - large size value of the bullet\n*/",
1964
+ "customElement": true
1965
+ }
1966
+ ],
1967
+ "exports": [
1968
+ {
1969
+ "kind": "js",
1970
+ "name": "default",
1971
+ "declaration": {
1972
+ "name": "Bullet",
1973
+ "module": "components/bullet/bullet.component.js"
1974
+ }
1975
+ }
1976
+ ]
1977
+ },
1978
1978
  {
1979
1979
  "kind": "javascript-module",
1980
1980
  "path": "components/checkbox/checkbox.component.js",
@@ -3226,165 +3226,975 @@
3226
3226
  },
3227
3227
  {
3228
3228
  "kind": "javascript-module",
3229
- "path": "components/link/link.component.js",
3229
+ "path": "components/input/input.component.js",
3230
3230
  "declarations": [
3231
3231
  {
3232
3232
  "kind": "class",
3233
- "description": "`mdc-link` component can be used to navigate to a different page\nwithin the application or to an external site. It can be used to link to\nemails or phone numbers.\n\nThe `children` of the link component is expected to be an anchor element\ncontaining the text, href, and other attributes.\n\nFor `icon`, the `mdc-icon` component is used to render the icon.",
3234
- "name": "Link",
3233
+ "description": "mdc-input is a component that allows users to input text.\n It contains:\n- label field - describe the input field.\n- input field - contains the value\n- help text or validation message - displayed below the input field.\n- trailing button - it displays a clear the input field.\n- prefix text - displayed before the input field.\n- leading icon - displayed before the input field.\n- clear-aria-label - aria label for the trailing button.\n- all the attributes of the input field.",
3234
+ "name": "Input",
3235
3235
  "cssProperties": [
3236
3236
  {
3237
- "description": "Border radius of the link",
3238
- "name": "--mdc-link-border-radius"
3237
+ "description": "Border color for the input container when disabled",
3238
+ "name": "--mdc-input-disabled-border-color"
3239
3239
  },
3240
3240
  {
3241
- "description": "Text and icon color of the link in active state",
3242
- "name": "--mdc-link-color-active"
3241
+ "description": "Text color for the input field when disabled",
3242
+ "name": "--mdc-input-disabled-text-color"
3243
3243
  },
3244
3244
  {
3245
- "description": "Text and icon color of the link in disabled state",
3246
- "name": "--mdc-link-color-disabled"
3245
+ "description": "Background color for the input field when disabled",
3246
+ "name": "--mdc-input-disabled-background-color"
3247
3247
  },
3248
3248
  {
3249
- "description": "Text and icon color of the link in hover state",
3250
- "name": "--mdc-link-color-hover"
3249
+ "description": "Border color for the input container",
3250
+ "name": "--mdc-input-border-color"
3251
3251
  },
3252
3252
  {
3253
- "description": "Text and icon color of the link in normal state",
3254
- "name": "--mdc-link-color-normal"
3253
+ "description": "Text color for the input field",
3254
+ "name": "--mdc-input-text-color"
3255
3255
  },
3256
3256
  {
3257
- "description": "Gap between the text and icon (only applicable when an icon is set)",
3258
- "name": "--mdc-link-icon-margin-left"
3257
+ "description": "Background color for the input field",
3258
+ "name": "--mdc-input-background-color"
3259
3259
  },
3260
3260
  {
3261
- "description": "Text and icon color of the inverted link in active state",
3262
- "name": "--mdc-link-inverted-color-active"
3261
+ "description": "Background color for the selected text",
3262
+ "name": "--mdc-input-selection-background-color"
3263
3263
  },
3264
3264
  {
3265
- "description": "Text and icon color of the inverted link in disabled state",
3266
- "name": "--mdc-link-inverted-color-disabled"
3265
+ "description": "Text color for the selected text",
3266
+ "name": "--mdc-input-selection-text-color"
3267
3267
  },
3268
3268
  {
3269
- "description": "Text and icon color of the inverted link in hover state",
3270
- "name": "--mdc-link-inverted-color-hover"
3269
+ "description": "Text color for the help text",
3270
+ "name": "--mdc-input-support-text-color"
3271
3271
  },
3272
3272
  {
3273
- "description": "Text and icon color of the inverted link in normal state",
3274
- "name": "--mdc-link-inverted-color-normal"
3273
+ "description": "Background color for the input field when hovered",
3274
+ "name": "--mdc-input-hover-background-color"
3275
3275
  },
3276
3276
  {
3277
- "description": "Text decoration of the link in disabled state for all variants",
3278
- "name": "--mdc-link-text-decoration-disabled"
3277
+ "description": "Background color for the input field when focused",
3278
+ "name": "--mdc-input-focused-background-color"
3279
+ },
3280
+ {
3281
+ "description": "Border color for the input container when focused",
3282
+ "name": "--mdc-input-focused-border-color"
3283
+ },
3284
+ {
3285
+ "description": "Border color for the input container when error",
3286
+ "name": "--mdc-input-error-border-color"
3287
+ },
3288
+ {
3289
+ "description": "Border color for the input container when warning",
3290
+ "name": "--mdc-input-warning-border-color"
3291
+ },
3292
+ {
3293
+ "description": "Border color for the input container when success",
3294
+ "name": "--mdc-input-success-border-color"
3295
+ },
3296
+ {
3297
+ "description": "Border color for the input container when primary",
3298
+ "name": "--mdc-input-primary-border-color"
3279
3299
  }
3280
3300
  ],
3281
3301
  "members": [
3282
3302
  {
3283
3303
  "kind": "field",
3284
- "name": "iconName",
3304
+ "name": "placeholder",
3285
3305
  "type": {
3286
- "text": "IconNames | undefined"
3306
+ "text": "string"
3287
3307
  },
3288
- "description": "Name of the icon (= filename) to be used as trailing icon for link.\n\nIf no `icon` is provided, no icon will be rendered.",
3289
- "attribute": "icon-name"
3308
+ "default": "''",
3309
+ "description": "The placeholder text that is displayed when the input field is empty.",
3310
+ "attribute": "placeholder"
3290
3311
  },
3291
3312
  {
3292
3313
  "kind": "field",
3293
- "name": "inline",
3314
+ "name": "required",
3294
3315
  "type": {
3295
3316
  "text": "boolean"
3296
3317
  },
3297
- "description": "The link can be inline or standalone.",
3298
3318
  "default": "false",
3299
- "attribute": "inline",
3300
- "reflects": true
3319
+ "description": "required attribute of the input field.\nIf true, the consumer should indicate it on the label that the input field is required.",
3320
+ "attribute": "required"
3301
3321
  },
3302
3322
  {
3303
3323
  "kind": "field",
3304
- "name": "inverted",
3324
+ "name": "readonly",
3305
3325
  "type": {
3306
3326
  "text": "boolean"
3307
3327
  },
3308
- "description": "The link color can be inverted by setting the inverted attribute to true.",
3309
3328
  "default": "false",
3310
- "attribute": "inverted",
3311
- "reflects": true
3329
+ "description": "readonly attribute of the input field. If true, the input field is read-only.",
3330
+ "attribute": "readonly"
3312
3331
  },
3313
3332
  {
3314
3333
  "kind": "field",
3315
- "name": "size",
3334
+ "name": "prefixText",
3316
3335
  "type": {
3317
- "text": "LinkSize"
3336
+ "text": "string | undefined"
3318
3337
  },
3319
- "description": "Size of the link.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'",
3320
- "default": "large",
3321
- "attribute": "size",
3322
- "reflects": true
3338
+ "description": "The prefix text that is displayed before the input field. It has a max length of 10 characters.\nWhen the prefix text is set, make sure to set the 'data-aria-label'\nattribute with the appropriate value for accessibility.",
3339
+ "attribute": "prefix-text"
3323
3340
  },
3324
3341
  {
3325
- "kind": "method",
3326
- "name": "getIconSize",
3327
- "privacy": "private",
3328
- "return": {
3329
- "type": {
3330
- "text": ""
3331
- }
3342
+ "kind": "field",
3343
+ "name": "leadingIcon",
3344
+ "type": {
3345
+ "text": "IconNames | undefined"
3332
3346
  },
3333
- "description": "Method to get the size of the trailing icon based on the link size."
3334
- },
3335
- {
3336
- "kind": "method",
3337
- "name": "setDisabled",
3338
- "privacy": "private",
3339
- "parameters": [
3340
- {
3341
- "name": "disabled",
3342
- "type": {
3343
- "text": "boolean"
3344
- },
3345
- "description": "The disabled state of icon"
3346
- }
3347
- ],
3348
- "description": "Updates the tabindex of the host element to disable or enable the link.\nWhen disabled, the link is not focusable or clickable, and tabindex is set to -1\nand aria-disabled attribute is set to true\nWhen link is not disabled, the previous tabindex of the host element is restored\nand aria-disabled attribute is removed."
3349
- },
3350
- {
3351
- "kind": "method",
3352
- "name": "updateTrailingIcon",
3353
- "privacy": "private",
3354
- "description": "Method to create and append trailing icon to the first anchor element in the slot.\nIf no icon name is provided, no icon will be rendered."
3347
+ "description": "The leading icon that is displayed before the input field.",
3348
+ "attribute": "leading-icon"
3355
3349
  },
3356
3350
  {
3357
3351
  "kind": "field",
3358
- "name": "disabled",
3352
+ "name": "trailingButton",
3359
3353
  "type": {
3360
3354
  "text": "boolean"
3361
3355
  },
3362
3356
  "default": "false",
3363
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
3364
- "attribute": "disabled",
3365
- "reflects": true,
3366
- "inheritedFrom": {
3367
- "name": "DisabledMixin",
3368
- "module": "utils/mixins/DisabledMixin.js"
3369
- }
3370
- }
3371
- ],
3372
- "attributes": [
3357
+ "description": "The trailing button when set to true, shows a clear button that clears the input field.",
3358
+ "attribute": "trailing-button"
3359
+ },
3373
3360
  {
3374
- "name": "icon-name",
3361
+ "kind": "field",
3362
+ "name": "maxlength",
3375
3363
  "type": {
3376
- "text": "IconNames | undefined"
3364
+ "text": "number | undefined"
3377
3365
  },
3378
- "description": "Name of the icon (= filename) to be used as trailing icon for link.\n\nIf no `icon` is provided, no icon will be rendered.",
3379
- "fieldName": "iconName"
3366
+ "description": "The maximum number of characters that the input field can accept.",
3367
+ "attribute": "maxlength"
3380
3368
  },
3381
3369
  {
3382
- "name": "inline",
3370
+ "kind": "field",
3371
+ "name": "minlength",
3383
3372
  "type": {
3384
- "text": "boolean"
3373
+ "text": "number | undefined"
3385
3374
  },
3386
- "description": "The link can be inline or standalone.",
3387
- "default": "false",
3375
+ "description": "The minimum number of characters that the input field can accept.",
3376
+ "attribute": "minlength"
3377
+ },
3378
+ {
3379
+ "kind": "field",
3380
+ "name": "autocapitalize",
3381
+ "type": {
3382
+ "text": "AutoCapitalizeType"
3383
+ },
3384
+ "description": "The autocapitalize attribute of the input field.",
3385
+ "default": "'off'",
3386
+ "attribute": "autocapitalize"
3387
+ },
3388
+ {
3389
+ "kind": "field",
3390
+ "name": "autocomplete",
3391
+ "type": {
3392
+ "text": "any"
3393
+ },
3394
+ "default": "'off'",
3395
+ "description": "The autocomplete attribute of the input field.",
3396
+ "attribute": "autocomplete"
3397
+ },
3398
+ {
3399
+ "kind": "field",
3400
+ "name": "autofocus",
3401
+ "type": {
3402
+ "text": "boolean"
3403
+ },
3404
+ "default": "false",
3405
+ "description": "If true, the input field is focused when the component is rendered.",
3406
+ "attribute": "autofocus"
3407
+ },
3408
+ {
3409
+ "kind": "field",
3410
+ "name": "dirname",
3411
+ "type": {
3412
+ "text": "string | undefined"
3413
+ },
3414
+ "description": "Specifies the name of the directionality of text for submission purposes (e.g., \"rtl\" for right-to-left).",
3415
+ "attribute": "dirname"
3416
+ },
3417
+ {
3418
+ "kind": "field",
3419
+ "name": "pattern",
3420
+ "type": {
3421
+ "text": "string | undefined"
3422
+ },
3423
+ "description": "The pattern attribute of the input field.\nSpecifies a regular expression that the input value must match for validation purposes.",
3424
+ "attribute": "pattern"
3425
+ },
3426
+ {
3427
+ "kind": "field",
3428
+ "name": "list",
3429
+ "type": {
3430
+ "text": "string | undefined"
3431
+ },
3432
+ "description": "The list attribute of the input field.\nIdentifies a list of pre-defined options to suggest to the user.",
3433
+ "attribute": "list"
3434
+ },
3435
+ {
3436
+ "kind": "field",
3437
+ "name": "size",
3438
+ "type": {
3439
+ "text": "number | undefined | undefined"
3440
+ },
3441
+ "description": "The size attribute of the input field.\nSpecifies the width of the input field.",
3442
+ "default": "undefined",
3443
+ "attribute": "size"
3444
+ },
3445
+ {
3446
+ "kind": "field",
3447
+ "name": "clearAriaLabel",
3448
+ "type": {
3449
+ "text": "string"
3450
+ },
3451
+ "default": "''",
3452
+ "description": "Aria label for the trailing button. If trailing button is set to true, this label is used for the clear button.",
3453
+ "attribute": "clear-aria-label"
3454
+ },
3455
+ {
3456
+ "kind": "method",
3457
+ "name": "checkValidity",
3458
+ "return": {
3459
+ "type": {
3460
+ "text": "boolean"
3461
+ }
3462
+ }
3463
+ },
3464
+ {
3465
+ "kind": "method",
3466
+ "name": "reportValidity"
3467
+ },
3468
+ {
3469
+ "kind": "method",
3470
+ "name": "handleValueChange",
3471
+ "description": "Handles the value change of the input field.\nSets the form value and updates the validity of the input field.",
3472
+ "return": {
3473
+ "type": {
3474
+ "text": ""
3475
+ }
3476
+ }
3477
+ },
3478
+ {
3479
+ "kind": "method",
3480
+ "name": "setValidityFromInput",
3481
+ "privacy": "private",
3482
+ "description": "Sets the validity of the input field based on the input field's validity.",
3483
+ "return": {
3484
+ "type": {
3485
+ "text": ""
3486
+ }
3487
+ }
3488
+ },
3489
+ {
3490
+ "kind": "method",
3491
+ "name": "updateValue",
3492
+ "privacy": "private",
3493
+ "description": "Updates the value of the input field.\nSets the form value.",
3494
+ "return": {
3495
+ "type": {
3496
+ "text": ""
3497
+ }
3498
+ }
3499
+ },
3500
+ {
3501
+ "kind": "method",
3502
+ "name": "onInput",
3503
+ "privacy": "private",
3504
+ "description": "Handles the input event of the input field.\nUpdates the value and sets the validity of the input field."
3505
+ },
3506
+ {
3507
+ "kind": "method",
3508
+ "name": "onChange",
3509
+ "privacy": "private",
3510
+ "parameters": [
3511
+ {
3512
+ "name": "event",
3513
+ "type": {
3514
+ "text": "Event"
3515
+ },
3516
+ "description": "Event which contains information about the value change."
3517
+ }
3518
+ ],
3519
+ "description": "Handles the change event of the input field.\nUpdates the value and sets the validity of the input field.\n\nThe 'change' event does not bubble up through the shadow DOM as it was not composed.\nTherefore, we need to re-dispatch the same event to ensure it is propagated correctly.\nRead more: https://developer.mozilla.org/en-US/docs/Web/API/Event/composed"
3520
+ },
3521
+ {
3522
+ "kind": "method",
3523
+ "name": "renderLeadingIcon",
3524
+ "privacy": "protected",
3525
+ "description": "Renders the leading icon before the input field.\nIf the leading icon is not set, it will not be displayed.",
3526
+ "return": {
3527
+ "type": {
3528
+ "text": ""
3529
+ }
3530
+ }
3531
+ },
3532
+ {
3533
+ "kind": "method",
3534
+ "name": "renderPrefixText",
3535
+ "privacy": "protected",
3536
+ "description": "Renders the prefix text before the input field.\nIf the prefix text is more than 10 characters,\n- it will not be displayed.\n- the validation messsage will be displayed.\n\n Note: We are setting aria-hidden so that the screen reader does not read the prefix text.\n The consumers should set the appropriate aria-label for the input field using 'data-aria-label' attribute.",
3537
+ "return": {
3538
+ "type": {
3539
+ "text": ""
3540
+ }
3541
+ }
3542
+ },
3543
+ {
3544
+ "kind": "method",
3545
+ "name": "clearInputText",
3546
+ "privacy": "private",
3547
+ "description": "Clears the input field."
3548
+ },
3549
+ {
3550
+ "kind": "method",
3551
+ "name": "renderTrailingButton",
3552
+ "privacy": "protected",
3553
+ "description": "Renders the trailing button to clear the input field if the trailingButton is set to true.",
3554
+ "return": {
3555
+ "type": {
3556
+ "text": ""
3557
+ }
3558
+ }
3559
+ },
3560
+ {
3561
+ "kind": "field",
3562
+ "name": "dataAriaLabel",
3563
+ "type": {
3564
+ "text": "string | null"
3565
+ },
3566
+ "default": "null",
3567
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
3568
+ "attribute": "data-aria-label",
3569
+ "reflects": true,
3570
+ "inheritedFrom": {
3571
+ "name": "DataAriaLabelMixin",
3572
+ "module": "utils/mixins/DataAriaLabelMixin.js"
3573
+ }
3574
+ },
3575
+ {
3576
+ "kind": "field",
3577
+ "name": "value",
3578
+ "type": {
3579
+ "text": "string"
3580
+ },
3581
+ "default": "''",
3582
+ "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
3583
+ "attribute": "value",
3584
+ "reflects": true,
3585
+ "inheritedFrom": {
3586
+ "name": "ValueMixin",
3587
+ "module": "utils/mixins/ValueMixin.js"
3588
+ }
3589
+ },
3590
+ {
3591
+ "kind": "field",
3592
+ "name": "name",
3593
+ "type": {
3594
+ "text": "string"
3595
+ },
3596
+ "default": "''",
3597
+ "description": "Indicates the name of the component group (ex: checkbox, radio group).\nThey are used to group elements in a form together.",
3598
+ "attribute": "name",
3599
+ "reflects": true,
3600
+ "inheritedFrom": {
3601
+ "name": "NameMixin",
3602
+ "module": "utils/mixins/NameMixin.js"
3603
+ }
3604
+ },
3605
+ {
3606
+ "kind": "field",
3607
+ "name": "disabled",
3608
+ "type": {
3609
+ "text": "boolean"
3610
+ },
3611
+ "default": "false",
3612
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
3613
+ "attribute": "disabled",
3614
+ "reflects": true,
3615
+ "inheritedFrom": {
3616
+ "name": "FormfieldWrapper",
3617
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
3618
+ }
3619
+ },
3620
+ {
3621
+ "kind": "field",
3622
+ "name": "label",
3623
+ "type": {
3624
+ "text": "string | undefined"
3625
+ },
3626
+ "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
3627
+ "attribute": "label",
3628
+ "reflects": true,
3629
+ "inheritedFrom": {
3630
+ "name": "FormfieldWrapper",
3631
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
3632
+ }
3633
+ },
3634
+ {
3635
+ "kind": "field",
3636
+ "name": "id",
3637
+ "default": "`mdc-input-${uuidv4()}`",
3638
+ "description": "The unique id of the input field. It is used to link the input field with the label.",
3639
+ "attribute": "id",
3640
+ "inheritedFrom": {
3641
+ "name": "FormfieldWrapper",
3642
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
3643
+ }
3644
+ },
3645
+ {
3646
+ "kind": "field",
3647
+ "name": "helpTextType",
3648
+ "type": {
3649
+ "text": "ValidationType"
3650
+ },
3651
+ "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
3652
+ "attribute": "help-text-type",
3653
+ "reflects": true,
3654
+ "inheritedFrom": {
3655
+ "name": "FormfieldWrapper",
3656
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
3657
+ }
3658
+ },
3659
+ {
3660
+ "kind": "field",
3661
+ "name": "helpText",
3662
+ "type": {
3663
+ "text": "string | undefined"
3664
+ },
3665
+ "description": "The help text that is displayed below the input field.",
3666
+ "attribute": "help-text",
3667
+ "reflects": true,
3668
+ "inheritedFrom": {
3669
+ "name": "FormfieldWrapper",
3670
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
3671
+ }
3672
+ },
3673
+ {
3674
+ "kind": "method",
3675
+ "name": "renderLabelElement",
3676
+ "privacy": "protected",
3677
+ "description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
3678
+ "return": {
3679
+ "type": {
3680
+ "text": ""
3681
+ }
3682
+ },
3683
+ "inheritedFrom": {
3684
+ "name": "FormfieldWrapper",
3685
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
3686
+ }
3687
+ },
3688
+ {
3689
+ "kind": "method",
3690
+ "name": "renderHelpTextIcon",
3691
+ "privacy": "protected",
3692
+ "description": "creates the helpertext icon based on the helpTextType for validation.\nIf the helpTextType is not set, it defaults to 'default' and it doesn't display any icon.",
3693
+ "return": {
3694
+ "type": {
3695
+ "text": ""
3696
+ }
3697
+ },
3698
+ "inheritedFrom": {
3699
+ "name": "FormfieldWrapper",
3700
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
3701
+ }
3702
+ },
3703
+ {
3704
+ "kind": "method",
3705
+ "name": "renderHelpText",
3706
+ "privacy": "protected",
3707
+ "description": "creates the helper text component when the helpertext value is set.\nIt is also used to display the validation message based on the helpTextType.",
3708
+ "return": {
3709
+ "type": {
3710
+ "text": ""
3711
+ }
3712
+ },
3713
+ "inheritedFrom": {
3714
+ "name": "FormfieldWrapper",
3715
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
3716
+ }
3717
+ },
3718
+ {
3719
+ "kind": "method",
3720
+ "name": "renderLabel",
3721
+ "privacy": "protected",
3722
+ "description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
3723
+ "return": {
3724
+ "type": {
3725
+ "text": ""
3726
+ }
3727
+ },
3728
+ "inheritedFrom": {
3729
+ "name": "FormfieldWrapper",
3730
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
3731
+ }
3732
+ },
3733
+ {
3734
+ "kind": "method",
3735
+ "name": "renderHelperText",
3736
+ "privacy": "protected",
3737
+ "description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
3738
+ "return": {
3739
+ "type": {
3740
+ "text": ""
3741
+ }
3742
+ },
3743
+ "inheritedFrom": {
3744
+ "name": "FormfieldWrapper",
3745
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
3746
+ }
3747
+ }
3748
+ ],
3749
+ "events": [
3750
+ {
3751
+ "type": {
3752
+ "text": "EventConstructor"
3753
+ }
3754
+ }
3755
+ ],
3756
+ "attributes": [
3757
+ {
3758
+ "name": "placeholder",
3759
+ "type": {
3760
+ "text": "string"
3761
+ },
3762
+ "default": "''",
3763
+ "description": "The placeholder text that is displayed when the input field is empty.",
3764
+ "fieldName": "placeholder"
3765
+ },
3766
+ {
3767
+ "name": "required",
3768
+ "type": {
3769
+ "text": "boolean"
3770
+ },
3771
+ "default": "false",
3772
+ "description": "required attribute of the input field.\nIf true, the consumer should indicate it on the label that the input field is required.",
3773
+ "fieldName": "required"
3774
+ },
3775
+ {
3776
+ "name": "readonly",
3777
+ "type": {
3778
+ "text": "boolean"
3779
+ },
3780
+ "default": "false",
3781
+ "description": "readonly attribute of the input field. If true, the input field is read-only.",
3782
+ "fieldName": "readonly"
3783
+ },
3784
+ {
3785
+ "name": "prefix-text",
3786
+ "type": {
3787
+ "text": "string | undefined"
3788
+ },
3789
+ "description": "The prefix text that is displayed before the input field. It has a max length of 10 characters.\nWhen the prefix text is set, make sure to set the 'data-aria-label'\nattribute with the appropriate value for accessibility.",
3790
+ "fieldName": "prefixText"
3791
+ },
3792
+ {
3793
+ "name": "leading-icon",
3794
+ "type": {
3795
+ "text": "IconNames | undefined"
3796
+ },
3797
+ "description": "The leading icon that is displayed before the input field.",
3798
+ "fieldName": "leadingIcon"
3799
+ },
3800
+ {
3801
+ "name": "trailing-button",
3802
+ "type": {
3803
+ "text": "boolean"
3804
+ },
3805
+ "default": "false",
3806
+ "description": "The trailing button when set to true, shows a clear button that clears the input field.",
3807
+ "fieldName": "trailingButton"
3808
+ },
3809
+ {
3810
+ "name": "maxlength",
3811
+ "type": {
3812
+ "text": "number | undefined"
3813
+ },
3814
+ "description": "The maximum number of characters that the input field can accept.",
3815
+ "fieldName": "maxlength"
3816
+ },
3817
+ {
3818
+ "name": "minlength",
3819
+ "type": {
3820
+ "text": "number | undefined"
3821
+ },
3822
+ "description": "The minimum number of characters that the input field can accept.",
3823
+ "fieldName": "minlength"
3824
+ },
3825
+ {
3826
+ "name": "autocapitalize",
3827
+ "type": {
3828
+ "text": "AutoCapitalizeType"
3829
+ },
3830
+ "description": "The autocapitalize attribute of the input field.",
3831
+ "default": "'off'",
3832
+ "fieldName": "autocapitalize"
3833
+ },
3834
+ {
3835
+ "name": "autocomplete",
3836
+ "type": {
3837
+ "text": "any"
3838
+ },
3839
+ "default": "'off'",
3840
+ "description": "The autocomplete attribute of the input field.",
3841
+ "fieldName": "autocomplete"
3842
+ },
3843
+ {
3844
+ "name": "autofocus",
3845
+ "type": {
3846
+ "text": "boolean"
3847
+ },
3848
+ "default": "false",
3849
+ "description": "If true, the input field is focused when the component is rendered.",
3850
+ "fieldName": "autofocus"
3851
+ },
3852
+ {
3853
+ "name": "dirname",
3854
+ "type": {
3855
+ "text": "string | undefined"
3856
+ },
3857
+ "description": "Specifies the name of the directionality of text for submission purposes (e.g., \"rtl\" for right-to-left).",
3858
+ "fieldName": "dirname"
3859
+ },
3860
+ {
3861
+ "name": "pattern",
3862
+ "type": {
3863
+ "text": "string | undefined"
3864
+ },
3865
+ "description": "The pattern attribute of the input field.\nSpecifies a regular expression that the input value must match for validation purposes.",
3866
+ "fieldName": "pattern"
3867
+ },
3868
+ {
3869
+ "name": "list",
3870
+ "type": {
3871
+ "text": "string | undefined"
3872
+ },
3873
+ "description": "The list attribute of the input field.\nIdentifies a list of pre-defined options to suggest to the user.",
3874
+ "fieldName": "list"
3875
+ },
3876
+ {
3877
+ "name": "size",
3878
+ "type": {
3879
+ "text": "number | undefined | undefined"
3880
+ },
3881
+ "description": "The size attribute of the input field.\nSpecifies the width of the input field.",
3882
+ "default": "undefined",
3883
+ "fieldName": "size"
3884
+ },
3885
+ {
3886
+ "name": "clear-aria-label",
3887
+ "type": {
3888
+ "text": "string"
3889
+ },
3890
+ "default": "''",
3891
+ "description": "Aria label for the trailing button. If trailing button is set to true, this label is used for the clear button.",
3892
+ "fieldName": "clearAriaLabel"
3893
+ },
3894
+ {
3895
+ "name": "data-aria-label",
3896
+ "type": {
3897
+ "text": "string | null"
3898
+ },
3899
+ "default": "null",
3900
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
3901
+ "fieldName": "dataAriaLabel",
3902
+ "inheritedFrom": {
3903
+ "name": "DataAriaLabelMixin",
3904
+ "module": "src/utils/mixins/DataAriaLabelMixin.ts"
3905
+ }
3906
+ },
3907
+ {
3908
+ "name": "value",
3909
+ "type": {
3910
+ "text": "string"
3911
+ },
3912
+ "default": "''",
3913
+ "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
3914
+ "fieldName": "value",
3915
+ "inheritedFrom": {
3916
+ "name": "ValueMixin",
3917
+ "module": "src/utils/mixins/ValueMixin.ts"
3918
+ }
3919
+ },
3920
+ {
3921
+ "name": "name",
3922
+ "type": {
3923
+ "text": "string"
3924
+ },
3925
+ "default": "''",
3926
+ "description": "Indicates the name of the component group (ex: checkbox, radio group).\nThey are used to group elements in a form together.",
3927
+ "fieldName": "name",
3928
+ "inheritedFrom": {
3929
+ "name": "NameMixin",
3930
+ "module": "src/utils/mixins/NameMixin.ts"
3931
+ }
3932
+ },
3933
+ {
3934
+ "name": "disabled",
3935
+ "type": {
3936
+ "text": "boolean"
3937
+ },
3938
+ "default": "false",
3939
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
3940
+ "fieldName": "disabled",
3941
+ "inheritedFrom": {
3942
+ "name": "FormfieldWrapper",
3943
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
3944
+ }
3945
+ },
3946
+ {
3947
+ "name": "label",
3948
+ "type": {
3949
+ "text": "string | undefined"
3950
+ },
3951
+ "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
3952
+ "fieldName": "label",
3953
+ "inheritedFrom": {
3954
+ "name": "FormfieldWrapper",
3955
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
3956
+ }
3957
+ },
3958
+ {
3959
+ "name": "id",
3960
+ "default": "`mdc-input-${uuidv4()}`",
3961
+ "description": "The unique id of the input field. It is used to link the input field with the label.",
3962
+ "fieldName": "id",
3963
+ "inheritedFrom": {
3964
+ "name": "FormfieldWrapper",
3965
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
3966
+ }
3967
+ },
3968
+ {
3969
+ "name": "help-text-type",
3970
+ "type": {
3971
+ "text": "ValidationType"
3972
+ },
3973
+ "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
3974
+ "fieldName": "helpTextType",
3975
+ "inheritedFrom": {
3976
+ "name": "FormfieldWrapper",
3977
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
3978
+ }
3979
+ },
3980
+ {
3981
+ "name": "help-text",
3982
+ "type": {
3983
+ "text": "string | undefined"
3984
+ },
3985
+ "description": "The help text that is displayed below the input field.",
3986
+ "fieldName": "helpText",
3987
+ "inheritedFrom": {
3988
+ "name": "FormfieldWrapper",
3989
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
3990
+ }
3991
+ }
3992
+ ],
3993
+ "mixins": [
3994
+ {
3995
+ "name": "DataAriaLabelMixin",
3996
+ "module": "/src/utils/mixins/DataAriaLabelMixin"
3997
+ },
3998
+ {
3999
+ "name": "ValueMixin",
4000
+ "module": "/src/utils/mixins/ValueMixin"
4001
+ },
4002
+ {
4003
+ "name": "NameMixin",
4004
+ "module": "/src/utils/mixins/NameMixin"
4005
+ }
4006
+ ],
4007
+ "superclass": {
4008
+ "name": "FormfieldWrapper",
4009
+ "module": "/src/components/formfieldwrapper"
4010
+ },
4011
+ "tagName": "mdc-input",
4012
+ "jsDoc": "/**\n * mdc-input is a component that allows users to input text.\n * It contains:\n * - label field - describe the input field.\n * - input field - contains the value\n * - help text or validation message - displayed below the input field.\n * - trailing button - it displays a clear the input field.\n * - prefix text - displayed before the input field.\n * - leading icon - displayed before the input field.\n * - clear-aria-label - aria label for the trailing button.\n * - all the attributes of the input field.\n *\n * @tagname mdc-input\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-button\n *\n * @cssproperty --mdc-input-disabled-border-color - Border color for the input container when disabled\n * @cssproperty --mdc-input-disabled-text-color - Text color for the input field when disabled\n * @cssproperty --mdc-input-disabled-background-color - Background color for the input field when disabled\n * @cssproperty --mdc-input-border-color - Border color for the input container\n * @cssproperty --mdc-input-text-color - Text color for the input field\n * @cssproperty --mdc-input-background-color - Background color for the input field\n * @cssproperty --mdc-input-selection-background-color - Background color for the selected text\n * @cssproperty --mdc-input-selection-text-color - Text color for the selected text\n * @cssproperty --mdc-input-support-text-color - Text color for the help text\n * @cssproperty --mdc-input-hover-background-color - Background color for the input field when hovered\n * @cssproperty --mdc-input-focused-background-color - Background color for the input field when focused\n * @cssproperty --mdc-input-focused-border-color - Border color for the input container when focused\n * @cssproperty --mdc-input-error-border-color - Border color for the input container when error\n * @cssproperty --mdc-input-warning-border-color - Border color for the input container when warning\n * @cssproperty --mdc-input-success-border-color - Border color for the input container when success\n * @cssproperty --mdc-input-primary-border-color - Border color for the input container when primary\n *\n */",
4013
+ "customElement": true,
4014
+ "slots": [
4015
+ {
4016
+ "description": "slot to add the label info icon",
4017
+ "name": "label-info",
4018
+ "inheritedFrom": {
4019
+ "name": "FormfieldWrapper",
4020
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
4021
+ }
4022
+ }
4023
+ ]
4024
+ }
4025
+ ],
4026
+ "exports": [
4027
+ {
4028
+ "kind": "js",
4029
+ "name": "default",
4030
+ "declaration": {
4031
+ "name": "Input",
4032
+ "module": "components/input/input.component.js"
4033
+ }
4034
+ }
4035
+ ]
4036
+ },
4037
+ {
4038
+ "kind": "javascript-module",
4039
+ "path": "components/link/link.component.js",
4040
+ "declarations": [
4041
+ {
4042
+ "kind": "class",
4043
+ "description": "`mdc-link` component can be used to navigate to a different page\nwithin the application or to an external site. It can be used to link to\nemails or phone numbers.\n\nThe `children` of the link component is expected to be an anchor element\ncontaining the text, href, and other attributes.\n\nFor `icon`, the `mdc-icon` component is used to render the icon.",
4044
+ "name": "Link",
4045
+ "cssProperties": [
4046
+ {
4047
+ "description": "Border radius of the link",
4048
+ "name": "--mdc-link-border-radius"
4049
+ },
4050
+ {
4051
+ "description": "Text and icon color of the link in active state",
4052
+ "name": "--mdc-link-color-active"
4053
+ },
4054
+ {
4055
+ "description": "Text and icon color of the link in disabled state",
4056
+ "name": "--mdc-link-color-disabled"
4057
+ },
4058
+ {
4059
+ "description": "Text and icon color of the link in hover state",
4060
+ "name": "--mdc-link-color-hover"
4061
+ },
4062
+ {
4063
+ "description": "Text and icon color of the link in normal state",
4064
+ "name": "--mdc-link-color-normal"
4065
+ },
4066
+ {
4067
+ "description": "Gap between the text and icon (only applicable when an icon is set)",
4068
+ "name": "--mdc-link-icon-margin-left"
4069
+ },
4070
+ {
4071
+ "description": "Text and icon color of the inverted link in active state",
4072
+ "name": "--mdc-link-inverted-color-active"
4073
+ },
4074
+ {
4075
+ "description": "Text and icon color of the inverted link in disabled state",
4076
+ "name": "--mdc-link-inverted-color-disabled"
4077
+ },
4078
+ {
4079
+ "description": "Text and icon color of the inverted link in hover state",
4080
+ "name": "--mdc-link-inverted-color-hover"
4081
+ },
4082
+ {
4083
+ "description": "Text and icon color of the inverted link in normal state",
4084
+ "name": "--mdc-link-inverted-color-normal"
4085
+ },
4086
+ {
4087
+ "description": "Text decoration of the link in disabled state for all variants",
4088
+ "name": "--mdc-link-text-decoration-disabled"
4089
+ }
4090
+ ],
4091
+ "members": [
4092
+ {
4093
+ "kind": "field",
4094
+ "name": "iconName",
4095
+ "type": {
4096
+ "text": "IconNames | undefined"
4097
+ },
4098
+ "description": "Name of the icon (= filename) to be used as trailing icon for link.\n\nIf no `icon` is provided, no icon will be rendered.",
4099
+ "attribute": "icon-name"
4100
+ },
4101
+ {
4102
+ "kind": "field",
4103
+ "name": "inline",
4104
+ "type": {
4105
+ "text": "boolean"
4106
+ },
4107
+ "description": "The link can be inline or standalone.",
4108
+ "default": "false",
4109
+ "attribute": "inline",
4110
+ "reflects": true
4111
+ },
4112
+ {
4113
+ "kind": "field",
4114
+ "name": "inverted",
4115
+ "type": {
4116
+ "text": "boolean"
4117
+ },
4118
+ "description": "The link color can be inverted by setting the inverted attribute to true.",
4119
+ "default": "false",
4120
+ "attribute": "inverted",
4121
+ "reflects": true
4122
+ },
4123
+ {
4124
+ "kind": "field",
4125
+ "name": "size",
4126
+ "type": {
4127
+ "text": "LinkSize"
4128
+ },
4129
+ "description": "Size of the link.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'",
4130
+ "default": "large",
4131
+ "attribute": "size",
4132
+ "reflects": true
4133
+ },
4134
+ {
4135
+ "kind": "method",
4136
+ "name": "getIconSize",
4137
+ "privacy": "private",
4138
+ "return": {
4139
+ "type": {
4140
+ "text": ""
4141
+ }
4142
+ },
4143
+ "description": "Method to get the size of the trailing icon based on the link size."
4144
+ },
4145
+ {
4146
+ "kind": "method",
4147
+ "name": "setDisabled",
4148
+ "privacy": "private",
4149
+ "parameters": [
4150
+ {
4151
+ "name": "disabled",
4152
+ "type": {
4153
+ "text": "boolean"
4154
+ },
4155
+ "description": "The disabled state of icon"
4156
+ }
4157
+ ],
4158
+ "description": "Updates the tabindex of the host element to disable or enable the link.\nWhen disabled, the link is not focusable or clickable, and tabindex is set to -1\nand aria-disabled attribute is set to true\nWhen link is not disabled, the previous tabindex of the host element is restored\nand aria-disabled attribute is removed."
4159
+ },
4160
+ {
4161
+ "kind": "method",
4162
+ "name": "updateTrailingIcon",
4163
+ "privacy": "private",
4164
+ "description": "Method to create and append trailing icon to the first anchor element in the slot.\nIf no icon name is provided, no icon will be rendered."
4165
+ },
4166
+ {
4167
+ "kind": "field",
4168
+ "name": "disabled",
4169
+ "type": {
4170
+ "text": "boolean"
4171
+ },
4172
+ "default": "false",
4173
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
4174
+ "attribute": "disabled",
4175
+ "reflects": true,
4176
+ "inheritedFrom": {
4177
+ "name": "DisabledMixin",
4178
+ "module": "utils/mixins/DisabledMixin.js"
4179
+ }
4180
+ }
4181
+ ],
4182
+ "attributes": [
4183
+ {
4184
+ "name": "icon-name",
4185
+ "type": {
4186
+ "text": "IconNames | undefined"
4187
+ },
4188
+ "description": "Name of the icon (= filename) to be used as trailing icon for link.\n\nIf no `icon` is provided, no icon will be rendered.",
4189
+ "fieldName": "iconName"
4190
+ },
4191
+ {
4192
+ "name": "inline",
4193
+ "type": {
4194
+ "text": "boolean"
4195
+ },
4196
+ "description": "The link can be inline or standalone.",
4197
+ "default": "false",
3388
4198
  "fieldName": "inline"
3389
4199
  },
3390
4200
  {
@@ -3516,125 +4326,6 @@
3516
4326
  }
3517
4327
  ]
3518
4328
  },
3519
- {
3520
- "kind": "javascript-module",
3521
- "path": "components/modalcontainer/modalcontainer.component.js",
3522
- "declarations": [
3523
- {
3524
- "kind": "class",
3525
- "description": "The `mdc-modalcontainer` component is an element used to\ndisplay a modal container that can further be used in popover.",
3526
- "name": "Modalcontainer",
3527
- "cssProperties": [
3528
- {
3529
- "description": "primary background color of the modalcontainer",
3530
- "name": "--mdc-modalcontainer-primary-background-color"
3531
- },
3532
- {
3533
- "description": "border color of the modalcontainer",
3534
- "name": "--mdc-modalcontainer-border-color"
3535
- },
3536
- {
3537
- "description": "inverted background color of the modalcontainer",
3538
- "name": "--mdc-modalcontainer-inverted-background-color"
3539
- },
3540
- {
3541
- "description": "inverted border color of the modalcontainer",
3542
- "name": "--mdc-modalcontainer-inverted-border-color"
3543
- },
3544
- {
3545
- "description": "inverted text color of the modalcontainer",
3546
- "name": "--mdc-modalcontainer-inverted-text-color"
3547
- }
3548
- ],
3549
- "slots": [
3550
- {
3551
- "description": "Default slot for modal container",
3552
- "name": ""
3553
- }
3554
- ],
3555
- "members": [
3556
- {
3557
- "kind": "field",
3558
- "name": "color",
3559
- "type": {
3560
- "text": "ModalContainerColor"
3561
- },
3562
- "description": "Color of the modalcontainer\n- **tonal**\n- **contrast**",
3563
- "default": "tonal",
3564
- "attribute": "color",
3565
- "reflects": true
3566
- },
3567
- {
3568
- "kind": "field",
3569
- "name": "elevation",
3570
- "type": {
3571
- "text": "ModalContainerElevation"
3572
- },
3573
- "description": "Elevation of the modalcontainer where each value corresponds to a different drop shadow.\n- **0**\n- **1**\n- **2**\n- **3**\n- **4**",
3574
- "default": "0",
3575
- "attribute": "elevation",
3576
- "reflects": true
3577
- },
3578
- {
3579
- "kind": "field",
3580
- "name": "role",
3581
- "type": {
3582
- "text": "ModalContainerRole"
3583
- },
3584
- "description": "Role of the modalcontainer",
3585
- "default": "dialog",
3586
- "attribute": "role"
3587
- }
3588
- ],
3589
- "attributes": [
3590
- {
3591
- "name": "color",
3592
- "type": {
3593
- "text": "ModalContainerColor"
3594
- },
3595
- "description": "Color of the modalcontainer\n- **tonal**\n- **contrast**",
3596
- "default": "tonal",
3597
- "fieldName": "color"
3598
- },
3599
- {
3600
- "name": "elevation",
3601
- "type": {
3602
- "text": "ModalContainerElevation"
3603
- },
3604
- "description": "Elevation of the modalcontainer where each value corresponds to a different drop shadow.\n- **0**\n- **1**\n- **2**\n- **3**\n- **4**",
3605
- "default": "0",
3606
- "fieldName": "elevation"
3607
- },
3608
- {
3609
- "name": "role",
3610
- "type": {
3611
- "text": "ModalContainerRole"
3612
- },
3613
- "description": "Role of the modalcontainer",
3614
- "default": "dialog",
3615
- "fieldName": "role"
3616
- }
3617
- ],
3618
- "superclass": {
3619
- "name": "Component",
3620
- "module": "/src/models"
3621
- },
3622
- "tagName": "mdc-modalcontainer",
3623
- "jsDoc": "/**\n * The `mdc-modalcontainer` component is an element used to\n * display a modal container that can further be used in popover.\n *\n * @tagname mdc-modalcontainer\n *\n * @cssproperty --mdc-modalcontainer-primary-background-color - primary background color of the modalcontainer\n * @cssproperty --mdc-modalcontainer-border-color - border color of the modalcontainer\n * @cssproperty --mdc-modalcontainer-inverted-background-color - inverted background color of the modalcontainer\n * @cssproperty --mdc-modalcontainer-inverted-border-color - inverted border color of the modalcontainer\n * @cssproperty --mdc-modalcontainer-inverted-text-color - inverted text color of the modalcontainer\n *\n * @slot - Default slot for modal container\n */",
3624
- "customElement": true
3625
- }
3626
- ],
3627
- "exports": [
3628
- {
3629
- "kind": "js",
3630
- "name": "default",
3631
- "declaration": {
3632
- "name": "Modalcontainer",
3633
- "module": "components/modalcontainer/modalcontainer.component.js"
3634
- }
3635
- }
3636
- ]
3637
- },
3638
4329
  {
3639
4330
  "kind": "javascript-module",
3640
4331
  "path": "components/presence/presence.component.js",
@@ -3805,6 +4496,125 @@
3805
4496
  }
3806
4497
  ]
3807
4498
  },
4499
+ {
4500
+ "kind": "javascript-module",
4501
+ "path": "components/modalcontainer/modalcontainer.component.js",
4502
+ "declarations": [
4503
+ {
4504
+ "kind": "class",
4505
+ "description": "The `mdc-modalcontainer` component is an element used to\ndisplay a modal container that can further be used in popover.",
4506
+ "name": "Modalcontainer",
4507
+ "cssProperties": [
4508
+ {
4509
+ "description": "primary background color of the modalcontainer",
4510
+ "name": "--mdc-modalcontainer-primary-background-color"
4511
+ },
4512
+ {
4513
+ "description": "border color of the modalcontainer",
4514
+ "name": "--mdc-modalcontainer-border-color"
4515
+ },
4516
+ {
4517
+ "description": "inverted background color of the modalcontainer",
4518
+ "name": "--mdc-modalcontainer-inverted-background-color"
4519
+ },
4520
+ {
4521
+ "description": "inverted border color of the modalcontainer",
4522
+ "name": "--mdc-modalcontainer-inverted-border-color"
4523
+ },
4524
+ {
4525
+ "description": "inverted text color of the modalcontainer",
4526
+ "name": "--mdc-modalcontainer-inverted-text-color"
4527
+ }
4528
+ ],
4529
+ "slots": [
4530
+ {
4531
+ "description": "Default slot for modal container",
4532
+ "name": ""
4533
+ }
4534
+ ],
4535
+ "members": [
4536
+ {
4537
+ "kind": "field",
4538
+ "name": "color",
4539
+ "type": {
4540
+ "text": "ModalContainerColor"
4541
+ },
4542
+ "description": "Color of the modalcontainer\n- **tonal**\n- **contrast**",
4543
+ "default": "tonal",
4544
+ "attribute": "color",
4545
+ "reflects": true
4546
+ },
4547
+ {
4548
+ "kind": "field",
4549
+ "name": "elevation",
4550
+ "type": {
4551
+ "text": "ModalContainerElevation"
4552
+ },
4553
+ "description": "Elevation of the modalcontainer where each value corresponds to a different drop shadow.\n- **0**\n- **1**\n- **2**\n- **3**\n- **4**",
4554
+ "default": "0",
4555
+ "attribute": "elevation",
4556
+ "reflects": true
4557
+ },
4558
+ {
4559
+ "kind": "field",
4560
+ "name": "role",
4561
+ "type": {
4562
+ "text": "ModalContainerRole"
4563
+ },
4564
+ "description": "Role of the modalcontainer",
4565
+ "default": "dialog",
4566
+ "attribute": "role"
4567
+ }
4568
+ ],
4569
+ "attributes": [
4570
+ {
4571
+ "name": "color",
4572
+ "type": {
4573
+ "text": "ModalContainerColor"
4574
+ },
4575
+ "description": "Color of the modalcontainer\n- **tonal**\n- **contrast**",
4576
+ "default": "tonal",
4577
+ "fieldName": "color"
4578
+ },
4579
+ {
4580
+ "name": "elevation",
4581
+ "type": {
4582
+ "text": "ModalContainerElevation"
4583
+ },
4584
+ "description": "Elevation of the modalcontainer where each value corresponds to a different drop shadow.\n- **0**\n- **1**\n- **2**\n- **3**\n- **4**",
4585
+ "default": "0",
4586
+ "fieldName": "elevation"
4587
+ },
4588
+ {
4589
+ "name": "role",
4590
+ "type": {
4591
+ "text": "ModalContainerRole"
4592
+ },
4593
+ "description": "Role of the modalcontainer",
4594
+ "default": "dialog",
4595
+ "fieldName": "role"
4596
+ }
4597
+ ],
4598
+ "superclass": {
4599
+ "name": "Component",
4600
+ "module": "/src/models"
4601
+ },
4602
+ "tagName": "mdc-modalcontainer",
4603
+ "jsDoc": "/**\n * The `mdc-modalcontainer` component is an element used to\n * display a modal container that can further be used in popover.\n *\n * @tagname mdc-modalcontainer\n *\n * @cssproperty --mdc-modalcontainer-primary-background-color - primary background color of the modalcontainer\n * @cssproperty --mdc-modalcontainer-border-color - border color of the modalcontainer\n * @cssproperty --mdc-modalcontainer-inverted-background-color - inverted background color of the modalcontainer\n * @cssproperty --mdc-modalcontainer-inverted-border-color - inverted border color of the modalcontainer\n * @cssproperty --mdc-modalcontainer-inverted-text-color - inverted text color of the modalcontainer\n *\n * @slot - Default slot for modal container\n */",
4604
+ "customElement": true
4605
+ }
4606
+ ],
4607
+ "exports": [
4608
+ {
4609
+ "kind": "js",
4610
+ "name": "default",
4611
+ "declaration": {
4612
+ "name": "Modalcontainer",
4613
+ "module": "components/modalcontainer/modalcontainer.component.js"
4614
+ }
4615
+ }
4616
+ ]
4617
+ },
3808
4618
  {
3809
4619
  "kind": "javascript-module",
3810
4620
  "path": "components/text/text.component.js",