@momentum-design/components 0.28.4 → 0.28.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +68 -49
- package/dist/browser/index.js.map +2 -2
- package/dist/components/input/input.component.js +1 -1
- package/dist/components/input/input.styles.js +3 -3
- package/dist/components/link/link.component.js +5 -1
- package/dist/components/link/link.styles.js +23 -15
- package/dist/custom-elements.json +367 -367
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +2 -2
- package/dist/utils/styles/index.js +9 -2
- package/package.json +1 -1
@@ -3238,252 +3238,6 @@
|
|
3238
3238
|
}
|
3239
3239
|
]
|
3240
3240
|
},
|
3241
|
-
{
|
3242
|
-
"kind": "javascript-module",
|
3243
|
-
"path": "components/divider/divider.component.js",
|
3244
|
-
"declarations": [
|
3245
|
-
{
|
3246
|
-
"kind": "class",
|
3247
|
-
"description": "`mdc-divider` is a component that provides a line to separate and organize content.\nIt can also include a button or text positioned centrally, allowing users to interact with the layout.\n\n**Divider Orientation:**\n- **Horizontal**: A thin, horizontal line.\n- **Vertical**: A thin, vertical line.\n\n**Divider Variants:**\n- **solid**: Solid line.\n- **gradient**: Gradient Line.\n\n**Divider Types:**\n- The type of divider is inferred based on the kind of slot present.\n - **Primary**: A simple horizontal or vertical divider.\n - **Text**: A horizontal divider with a text label in the center.\n - **Grabber Button**: A horizontal or vertical divider with a styled button in the center.\n\n**Accessibility:**\n- When the slot is replaced by an `mdc-button`:\n - `aria-label` should be passed to the `mdc-button`.\n - `aria-expanded` should be passed to the `mdc-button`.\n\n**Notes:**\n- If the slot is replaced by an invalid tag name or contains multiple elements,\n the divider defaults to the **Primary** type.\n- To override the styles of the divider, use the provided CSS custom properties.",
|
3248
|
-
"name": "Divider",
|
3249
|
-
"cssProperties": [
|
3250
|
-
{
|
3251
|
-
"description": "background color of the divider",
|
3252
|
-
"name": "--mdc-divider-background-color"
|
3253
|
-
},
|
3254
|
-
{
|
3255
|
-
"description": "width of the divider",
|
3256
|
-
"name": "--mdc-divider-width"
|
3257
|
-
},
|
3258
|
-
{
|
3259
|
-
"description": "gradient of the horizontal divider",
|
3260
|
-
"name": "--mdc-divider-horizontal-gradient"
|
3261
|
-
},
|
3262
|
-
{
|
3263
|
-
"description": "gradient of the vertical divider",
|
3264
|
-
"name": "--mdc-divider-vertical-gradient"
|
3265
|
-
},
|
3266
|
-
{
|
3267
|
-
"description": "font size of label in the text divider",
|
3268
|
-
"name": "--mdc-divider-text-size"
|
3269
|
-
},
|
3270
|
-
{
|
3271
|
-
"description": "font color of label in the text divider",
|
3272
|
-
"name": "--mdc-divider-text-color"
|
3273
|
-
},
|
3274
|
-
{
|
3275
|
-
"description": "left and right margin of label in the text divider",
|
3276
|
-
"name": "--mdc-divider-text-margin"
|
3277
|
-
},
|
3278
|
-
{
|
3279
|
-
"description": "line height of label in the text divider",
|
3280
|
-
"name": "--mdc-divider-text-line-height"
|
3281
|
-
},
|
3282
|
-
{
|
3283
|
-
"description": "background color of the grabber button in rest state",
|
3284
|
-
"name": "--mdc-divider-grabber-button-background-color-normal"
|
3285
|
-
},
|
3286
|
-
{
|
3287
|
-
"description": "background color of the grabber button in hover state",
|
3288
|
-
"name": "--mdc-divider-grabber-button-background-color-hover"
|
3289
|
-
},
|
3290
|
-
{
|
3291
|
-
"description": "background color of the grabber button in pressed state",
|
3292
|
-
"name": "--mdc-divider-grabber-button-background-color-pressed"
|
3293
|
-
},
|
3294
|
-
{
|
3295
|
-
"description": "border color of the grabber button",
|
3296
|
-
"name": "--mdc-divider-grabber-button-border-color"
|
3297
|
-
},
|
3298
|
-
{
|
3299
|
-
"description": "border radius of the grabber button",
|
3300
|
-
"name": "--mdc-divider-grabber-button-border-radius"
|
3301
|
-
}
|
3302
|
-
],
|
3303
|
-
"members": [
|
3304
|
-
{
|
3305
|
-
"kind": "field",
|
3306
|
-
"name": "orientation",
|
3307
|
-
"type": {
|
3308
|
-
"text": "DividerOrientation"
|
3309
|
-
},
|
3310
|
-
"description": "Two orientations of divider\n- **horizontal**: A thin, horizontal line with 0.0625rem width.\n- **vertical**: A thin, vertical line with 0.0625rem width.\n\nNote: We do not support \"Vertical Text Divider\" as of now.",
|
3311
|
-
"default": "horizontal",
|
3312
|
-
"attribute": "orientation",
|
3313
|
-
"reflects": true
|
3314
|
-
},
|
3315
|
-
{
|
3316
|
-
"kind": "field",
|
3317
|
-
"name": "variant",
|
3318
|
-
"type": {
|
3319
|
-
"text": "DividerVariant"
|
3320
|
-
},
|
3321
|
-
"description": "Two variants of divider\n- **solid**: Solid line.\n- **gradient**: Gradient Line that fades on either sides of the divider.",
|
3322
|
-
"default": "solid",
|
3323
|
-
"attribute": "variant",
|
3324
|
-
"reflects": true
|
3325
|
-
},
|
3326
|
-
{
|
3327
|
-
"kind": "field",
|
3328
|
-
"name": "arrowDirection",
|
3329
|
-
"type": {
|
3330
|
-
"text": "Directions"
|
3331
|
-
},
|
3332
|
-
"description": "Direction of the arrow icon, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
3333
|
-
"default": "'negative'",
|
3334
|
-
"attribute": "arrow-direction",
|
3335
|
-
"reflects": true
|
3336
|
-
},
|
3337
|
-
{
|
3338
|
-
"kind": "field",
|
3339
|
-
"name": "buttonPosition",
|
3340
|
-
"type": {
|
3341
|
-
"text": "Directions"
|
3342
|
-
},
|
3343
|
-
"description": "Position of the button, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
3344
|
-
"default": "'negative'",
|
3345
|
-
"attribute": "button-position",
|
3346
|
-
"reflects": true
|
3347
|
-
},
|
3348
|
-
{
|
3349
|
-
"kind": "method",
|
3350
|
-
"name": "setVariant",
|
3351
|
-
"privacy": "private",
|
3352
|
-
"parameters": [
|
3353
|
-
{
|
3354
|
-
"name": "variant",
|
3355
|
-
"type": {
|
3356
|
-
"text": "DividerVariant"
|
3357
|
-
},
|
3358
|
-
"description": "The variant to set."
|
3359
|
-
}
|
3360
|
-
],
|
3361
|
-
"description": "Sets the variant attribute for the divider component.\nIf the provided variant is not included in the DIVIDER_VARIANT,\nit defaults to the value specified in DEFAULTS.VARIANT."
|
3362
|
-
},
|
3363
|
-
{
|
3364
|
-
"kind": "method",
|
3365
|
-
"name": "setOrientation",
|
3366
|
-
"privacy": "private",
|
3367
|
-
"parameters": [
|
3368
|
-
{
|
3369
|
-
"name": "orientation",
|
3370
|
-
"type": {
|
3371
|
-
"text": "DividerOrientation"
|
3372
|
-
},
|
3373
|
-
"description": "The orientation to set."
|
3374
|
-
}
|
3375
|
-
],
|
3376
|
-
"description": "Sets the orientation attribute for the divider component.\nIf the provided orientation is not included in the DIVIDER_ORIENTATION,\nit defaults to the value specified in DEFAULTS.ORIENTATION."
|
3377
|
-
},
|
3378
|
-
{
|
3379
|
-
"kind": "method",
|
3380
|
-
"name": "ensureValidDirections",
|
3381
|
-
"privacy": "private",
|
3382
|
-
"description": "Sets the buttonPosition and arrowDirection attribute for the divider component.\nIf the provided buttonPosition and arrowDirection are not included in the DIRECTIONS,\nit defaults to the value specified in DIRECTIONS based on the ORIENTATION.",
|
3383
|
-
"parameters": [
|
3384
|
-
{
|
3385
|
-
"description": "The buttonPosition to set.",
|
3386
|
-
"name": "buttonPosition"
|
3387
|
-
},
|
3388
|
-
{
|
3389
|
-
"description": "The arrowDirection to set.",
|
3390
|
-
"name": "arrowDirection"
|
3391
|
-
}
|
3392
|
-
]
|
3393
|
-
},
|
3394
|
-
{
|
3395
|
-
"kind": "method",
|
3396
|
-
"name": "setGrabberButton",
|
3397
|
-
"privacy": "private",
|
3398
|
-
"return": {
|
3399
|
-
"type": {
|
3400
|
-
"text": "void"
|
3401
|
-
}
|
3402
|
-
},
|
3403
|
-
"description": "Configures the grabber button within the divider.\n\n- Sets the `prefix-icon` attribute for the grabber button based\non the `arrow-direction` and `orientation` properties.\n\nThis method updates the DOM element dynamically if a grabber button is present."
|
3404
|
-
},
|
3405
|
-
{
|
3406
|
-
"kind": "method",
|
3407
|
-
"name": "getArrowIcon",
|
3408
|
-
"privacy": "private",
|
3409
|
-
"return": {
|
3410
|
-
"type": {
|
3411
|
-
"text": ""
|
3412
|
-
}
|
3413
|
-
},
|
3414
|
-
"description": "Determines the arrow icon based on the consumer-defined `arrowDirection`."
|
3415
|
-
},
|
3416
|
-
{
|
3417
|
-
"kind": "method",
|
3418
|
-
"name": "inferDividerType",
|
3419
|
-
"privacy": "private",
|
3420
|
-
"description": "Infers the type of divider based on the kind of slot present.",
|
3421
|
-
"parameters": [
|
3422
|
-
{
|
3423
|
-
"description": "default slot of divider",
|
3424
|
-
"name": "slot"
|
3425
|
-
}
|
3426
|
-
]
|
3427
|
-
}
|
3428
|
-
],
|
3429
|
-
"attributes": [
|
3430
|
-
{
|
3431
|
-
"name": "orientation",
|
3432
|
-
"type": {
|
3433
|
-
"text": "DividerOrientation"
|
3434
|
-
},
|
3435
|
-
"description": "Two orientations of divider\n- **horizontal**: A thin, horizontal line with 0.0625rem width.\n- **vertical**: A thin, vertical line with 0.0625rem width.\n\nNote: We do not support \"Vertical Text Divider\" as of now.",
|
3436
|
-
"default": "horizontal",
|
3437
|
-
"fieldName": "orientation"
|
3438
|
-
},
|
3439
|
-
{
|
3440
|
-
"name": "variant",
|
3441
|
-
"type": {
|
3442
|
-
"text": "DividerVariant"
|
3443
|
-
},
|
3444
|
-
"description": "Two variants of divider\n- **solid**: Solid line.\n- **gradient**: Gradient Line that fades on either sides of the divider.",
|
3445
|
-
"default": "solid",
|
3446
|
-
"fieldName": "variant"
|
3447
|
-
},
|
3448
|
-
{
|
3449
|
-
"name": "arrow-direction",
|
3450
|
-
"type": {
|
3451
|
-
"text": "Directions"
|
3452
|
-
},
|
3453
|
-
"description": "Direction of the arrow icon, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
3454
|
-
"default": "'negative'",
|
3455
|
-
"fieldName": "arrowDirection"
|
3456
|
-
},
|
3457
|
-
{
|
3458
|
-
"name": "button-position",
|
3459
|
-
"type": {
|
3460
|
-
"text": "Directions"
|
3461
|
-
},
|
3462
|
-
"description": "Position of the button, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
3463
|
-
"default": "'negative'",
|
3464
|
-
"fieldName": "buttonPosition"
|
3465
|
-
}
|
3466
|
-
],
|
3467
|
-
"superclass": {
|
3468
|
-
"name": "Component",
|
3469
|
-
"module": "/src/models"
|
3470
|
-
},
|
3471
|
-
"tagName": "mdc-divider",
|
3472
|
-
"jsDoc": "/**\n * `mdc-divider` is a component that provides a line to separate and organize content.\n * It can also include a button or text positioned centrally, allowing users to interact with the layout.\n *\n * **Divider Orientation:**\n * - **Horizontal**: A thin, horizontal line.\n * - **Vertical**: A thin, vertical line.\n *\n * **Divider Variants:**\n * - **solid**: Solid line.\n * - **gradient**: Gradient Line.\n *\n * **Divider Types:**\n * - The type of divider is inferred based on the kind of slot present.\n * - **Primary**: A simple horizontal or vertical divider.\n * - **Text**: A horizontal divider with a text label in the center.\n * - **Grabber Button**: A horizontal or vertical divider with a styled button in the center.\n *\n * **Accessibility:**\n * - When the slot is replaced by an `mdc-button`:\n * - `aria-label` should be passed to the `mdc-button`.\n * - `aria-expanded` should be passed to the `mdc-button`.\n *\n * **Notes:**\n * - If the slot is replaced by an invalid tag name or contains multiple elements,\n * the divider defaults to the **Primary** type.\n * - To override the styles of the divider, use the provided CSS custom properties.\n *\n * @tagname mdc-divider\n *\n * @cssproperty --mdc-divider-background-color - background color of the divider\n * @cssproperty --mdc-divider-width - width of the divider\n * @cssproperty --mdc-divider-horizontal-gradient - gradient of the horizontal divider\n * @cssproperty --mdc-divider-vertical-gradient - gradient of the vertical divider\n * @cssproperty --mdc-divider-text-size - font size of label in the text divider\n * @cssproperty --mdc-divider-text-color - font color of label in the text divider\n * @cssproperty --mdc-divider-text-margin - left and right margin of label in the text divider\n * @cssproperty --mdc-divider-text-line-height - line height of label in the text divider\n * @cssproperty --mdc-divider-grabber-button-background-color-normal - background color of the grabber button\n * in rest state\n * @cssproperty --mdc-divider-grabber-button-background-color-hover - background color of the grabber button\n * in hover state\n * @cssproperty --mdc-divider-grabber-button-background-color-pressed - background color of the grabber button\n * in pressed state\n * @cssproperty --mdc-divider-grabber-button-border-color - border color of the grabber button\n * @cssproperty --mdc-divider-grabber-button-border-radius - border radius of the grabber button\n */",
|
3473
|
-
"customElement": true
|
3474
|
-
}
|
3475
|
-
],
|
3476
|
-
"exports": [
|
3477
|
-
{
|
3478
|
-
"kind": "js",
|
3479
|
-
"name": "default",
|
3480
|
-
"declaration": {
|
3481
|
-
"name": "Divider",
|
3482
|
-
"module": "components/divider/divider.component.js"
|
3483
|
-
}
|
3484
|
-
}
|
3485
|
-
]
|
3486
|
-
},
|
3487
3241
|
{
|
3488
3242
|
"kind": "javascript-module",
|
3489
3243
|
"path": "components/formfieldgroup/formfieldgroup.component.js",
|
@@ -3794,7 +3548,253 @@
|
|
3794
3548
|
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
3795
3549
|
}
|
3796
3550
|
}
|
3797
|
-
]
|
3551
|
+
]
|
3552
|
+
}
|
3553
|
+
],
|
3554
|
+
"exports": [
|
3555
|
+
{
|
3556
|
+
"kind": "js",
|
3557
|
+
"name": "default",
|
3558
|
+
"declaration": {
|
3559
|
+
"name": "FormfieldGroup",
|
3560
|
+
"module": "components/formfieldgroup/formfieldgroup.component.js"
|
3561
|
+
}
|
3562
|
+
}
|
3563
|
+
]
|
3564
|
+
},
|
3565
|
+
{
|
3566
|
+
"kind": "javascript-module",
|
3567
|
+
"path": "components/divider/divider.component.js",
|
3568
|
+
"declarations": [
|
3569
|
+
{
|
3570
|
+
"kind": "class",
|
3571
|
+
"description": "`mdc-divider` is a component that provides a line to separate and organize content.\nIt can also include a button or text positioned centrally, allowing users to interact with the layout.\n\n**Divider Orientation:**\n- **Horizontal**: A thin, horizontal line.\n- **Vertical**: A thin, vertical line.\n\n**Divider Variants:**\n- **solid**: Solid line.\n- **gradient**: Gradient Line.\n\n**Divider Types:**\n- The type of divider is inferred based on the kind of slot present.\n - **Primary**: A simple horizontal or vertical divider.\n - **Text**: A horizontal divider with a text label in the center.\n - **Grabber Button**: A horizontal or vertical divider with a styled button in the center.\n\n**Accessibility:**\n- When the slot is replaced by an `mdc-button`:\n - `aria-label` should be passed to the `mdc-button`.\n - `aria-expanded` should be passed to the `mdc-button`.\n\n**Notes:**\n- If the slot is replaced by an invalid tag name or contains multiple elements,\n the divider defaults to the **Primary** type.\n- To override the styles of the divider, use the provided CSS custom properties.",
|
3572
|
+
"name": "Divider",
|
3573
|
+
"cssProperties": [
|
3574
|
+
{
|
3575
|
+
"description": "background color of the divider",
|
3576
|
+
"name": "--mdc-divider-background-color"
|
3577
|
+
},
|
3578
|
+
{
|
3579
|
+
"description": "width of the divider",
|
3580
|
+
"name": "--mdc-divider-width"
|
3581
|
+
},
|
3582
|
+
{
|
3583
|
+
"description": "gradient of the horizontal divider",
|
3584
|
+
"name": "--mdc-divider-horizontal-gradient"
|
3585
|
+
},
|
3586
|
+
{
|
3587
|
+
"description": "gradient of the vertical divider",
|
3588
|
+
"name": "--mdc-divider-vertical-gradient"
|
3589
|
+
},
|
3590
|
+
{
|
3591
|
+
"description": "font size of label in the text divider",
|
3592
|
+
"name": "--mdc-divider-text-size"
|
3593
|
+
},
|
3594
|
+
{
|
3595
|
+
"description": "font color of label in the text divider",
|
3596
|
+
"name": "--mdc-divider-text-color"
|
3597
|
+
},
|
3598
|
+
{
|
3599
|
+
"description": "left and right margin of label in the text divider",
|
3600
|
+
"name": "--mdc-divider-text-margin"
|
3601
|
+
},
|
3602
|
+
{
|
3603
|
+
"description": "line height of label in the text divider",
|
3604
|
+
"name": "--mdc-divider-text-line-height"
|
3605
|
+
},
|
3606
|
+
{
|
3607
|
+
"description": "background color of the grabber button in rest state",
|
3608
|
+
"name": "--mdc-divider-grabber-button-background-color-normal"
|
3609
|
+
},
|
3610
|
+
{
|
3611
|
+
"description": "background color of the grabber button in hover state",
|
3612
|
+
"name": "--mdc-divider-grabber-button-background-color-hover"
|
3613
|
+
},
|
3614
|
+
{
|
3615
|
+
"description": "background color of the grabber button in pressed state",
|
3616
|
+
"name": "--mdc-divider-grabber-button-background-color-pressed"
|
3617
|
+
},
|
3618
|
+
{
|
3619
|
+
"description": "border color of the grabber button",
|
3620
|
+
"name": "--mdc-divider-grabber-button-border-color"
|
3621
|
+
},
|
3622
|
+
{
|
3623
|
+
"description": "border radius of the grabber button",
|
3624
|
+
"name": "--mdc-divider-grabber-button-border-radius"
|
3625
|
+
}
|
3626
|
+
],
|
3627
|
+
"members": [
|
3628
|
+
{
|
3629
|
+
"kind": "field",
|
3630
|
+
"name": "orientation",
|
3631
|
+
"type": {
|
3632
|
+
"text": "DividerOrientation"
|
3633
|
+
},
|
3634
|
+
"description": "Two orientations of divider\n- **horizontal**: A thin, horizontal line with 0.0625rem width.\n- **vertical**: A thin, vertical line with 0.0625rem width.\n\nNote: We do not support \"Vertical Text Divider\" as of now.",
|
3635
|
+
"default": "horizontal",
|
3636
|
+
"attribute": "orientation",
|
3637
|
+
"reflects": true
|
3638
|
+
},
|
3639
|
+
{
|
3640
|
+
"kind": "field",
|
3641
|
+
"name": "variant",
|
3642
|
+
"type": {
|
3643
|
+
"text": "DividerVariant"
|
3644
|
+
},
|
3645
|
+
"description": "Two variants of divider\n- **solid**: Solid line.\n- **gradient**: Gradient Line that fades on either sides of the divider.",
|
3646
|
+
"default": "solid",
|
3647
|
+
"attribute": "variant",
|
3648
|
+
"reflects": true
|
3649
|
+
},
|
3650
|
+
{
|
3651
|
+
"kind": "field",
|
3652
|
+
"name": "arrowDirection",
|
3653
|
+
"type": {
|
3654
|
+
"text": "Directions"
|
3655
|
+
},
|
3656
|
+
"description": "Direction of the arrow icon, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
3657
|
+
"default": "'negative'",
|
3658
|
+
"attribute": "arrow-direction",
|
3659
|
+
"reflects": true
|
3660
|
+
},
|
3661
|
+
{
|
3662
|
+
"kind": "field",
|
3663
|
+
"name": "buttonPosition",
|
3664
|
+
"type": {
|
3665
|
+
"text": "Directions"
|
3666
|
+
},
|
3667
|
+
"description": "Position of the button, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
3668
|
+
"default": "'negative'",
|
3669
|
+
"attribute": "button-position",
|
3670
|
+
"reflects": true
|
3671
|
+
},
|
3672
|
+
{
|
3673
|
+
"kind": "method",
|
3674
|
+
"name": "setVariant",
|
3675
|
+
"privacy": "private",
|
3676
|
+
"parameters": [
|
3677
|
+
{
|
3678
|
+
"name": "variant",
|
3679
|
+
"type": {
|
3680
|
+
"text": "DividerVariant"
|
3681
|
+
},
|
3682
|
+
"description": "The variant to set."
|
3683
|
+
}
|
3684
|
+
],
|
3685
|
+
"description": "Sets the variant attribute for the divider component.\nIf the provided variant is not included in the DIVIDER_VARIANT,\nit defaults to the value specified in DEFAULTS.VARIANT."
|
3686
|
+
},
|
3687
|
+
{
|
3688
|
+
"kind": "method",
|
3689
|
+
"name": "setOrientation",
|
3690
|
+
"privacy": "private",
|
3691
|
+
"parameters": [
|
3692
|
+
{
|
3693
|
+
"name": "orientation",
|
3694
|
+
"type": {
|
3695
|
+
"text": "DividerOrientation"
|
3696
|
+
},
|
3697
|
+
"description": "The orientation to set."
|
3698
|
+
}
|
3699
|
+
],
|
3700
|
+
"description": "Sets the orientation attribute for the divider component.\nIf the provided orientation is not included in the DIVIDER_ORIENTATION,\nit defaults to the value specified in DEFAULTS.ORIENTATION."
|
3701
|
+
},
|
3702
|
+
{
|
3703
|
+
"kind": "method",
|
3704
|
+
"name": "ensureValidDirections",
|
3705
|
+
"privacy": "private",
|
3706
|
+
"description": "Sets the buttonPosition and arrowDirection attribute for the divider component.\nIf the provided buttonPosition and arrowDirection are not included in the DIRECTIONS,\nit defaults to the value specified in DIRECTIONS based on the ORIENTATION.",
|
3707
|
+
"parameters": [
|
3708
|
+
{
|
3709
|
+
"description": "The buttonPosition to set.",
|
3710
|
+
"name": "buttonPosition"
|
3711
|
+
},
|
3712
|
+
{
|
3713
|
+
"description": "The arrowDirection to set.",
|
3714
|
+
"name": "arrowDirection"
|
3715
|
+
}
|
3716
|
+
]
|
3717
|
+
},
|
3718
|
+
{
|
3719
|
+
"kind": "method",
|
3720
|
+
"name": "setGrabberButton",
|
3721
|
+
"privacy": "private",
|
3722
|
+
"return": {
|
3723
|
+
"type": {
|
3724
|
+
"text": "void"
|
3725
|
+
}
|
3726
|
+
},
|
3727
|
+
"description": "Configures the grabber button within the divider.\n\n- Sets the `prefix-icon` attribute for the grabber button based\non the `arrow-direction` and `orientation` properties.\n\nThis method updates the DOM element dynamically if a grabber button is present."
|
3728
|
+
},
|
3729
|
+
{
|
3730
|
+
"kind": "method",
|
3731
|
+
"name": "getArrowIcon",
|
3732
|
+
"privacy": "private",
|
3733
|
+
"return": {
|
3734
|
+
"type": {
|
3735
|
+
"text": ""
|
3736
|
+
}
|
3737
|
+
},
|
3738
|
+
"description": "Determines the arrow icon based on the consumer-defined `arrowDirection`."
|
3739
|
+
},
|
3740
|
+
{
|
3741
|
+
"kind": "method",
|
3742
|
+
"name": "inferDividerType",
|
3743
|
+
"privacy": "private",
|
3744
|
+
"description": "Infers the type of divider based on the kind of slot present.",
|
3745
|
+
"parameters": [
|
3746
|
+
{
|
3747
|
+
"description": "default slot of divider",
|
3748
|
+
"name": "slot"
|
3749
|
+
}
|
3750
|
+
]
|
3751
|
+
}
|
3752
|
+
],
|
3753
|
+
"attributes": [
|
3754
|
+
{
|
3755
|
+
"name": "orientation",
|
3756
|
+
"type": {
|
3757
|
+
"text": "DividerOrientation"
|
3758
|
+
},
|
3759
|
+
"description": "Two orientations of divider\n- **horizontal**: A thin, horizontal line with 0.0625rem width.\n- **vertical**: A thin, vertical line with 0.0625rem width.\n\nNote: We do not support \"Vertical Text Divider\" as of now.",
|
3760
|
+
"default": "horizontal",
|
3761
|
+
"fieldName": "orientation"
|
3762
|
+
},
|
3763
|
+
{
|
3764
|
+
"name": "variant",
|
3765
|
+
"type": {
|
3766
|
+
"text": "DividerVariant"
|
3767
|
+
},
|
3768
|
+
"description": "Two variants of divider\n- **solid**: Solid line.\n- **gradient**: Gradient Line that fades on either sides of the divider.",
|
3769
|
+
"default": "solid",
|
3770
|
+
"fieldName": "variant"
|
3771
|
+
},
|
3772
|
+
{
|
3773
|
+
"name": "arrow-direction",
|
3774
|
+
"type": {
|
3775
|
+
"text": "Directions"
|
3776
|
+
},
|
3777
|
+
"description": "Direction of the arrow icon, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
3778
|
+
"default": "'negative'",
|
3779
|
+
"fieldName": "arrowDirection"
|
3780
|
+
},
|
3781
|
+
{
|
3782
|
+
"name": "button-position",
|
3783
|
+
"type": {
|
3784
|
+
"text": "Directions"
|
3785
|
+
},
|
3786
|
+
"description": "Position of the button, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
|
3787
|
+
"default": "'negative'",
|
3788
|
+
"fieldName": "buttonPosition"
|
3789
|
+
}
|
3790
|
+
],
|
3791
|
+
"superclass": {
|
3792
|
+
"name": "Component",
|
3793
|
+
"module": "/src/models"
|
3794
|
+
},
|
3795
|
+
"tagName": "mdc-divider",
|
3796
|
+
"jsDoc": "/**\n * `mdc-divider` is a component that provides a line to separate and organize content.\n * It can also include a button or text positioned centrally, allowing users to interact with the layout.\n *\n * **Divider Orientation:**\n * - **Horizontal**: A thin, horizontal line.\n * - **Vertical**: A thin, vertical line.\n *\n * **Divider Variants:**\n * - **solid**: Solid line.\n * - **gradient**: Gradient Line.\n *\n * **Divider Types:**\n * - The type of divider is inferred based on the kind of slot present.\n * - **Primary**: A simple horizontal or vertical divider.\n * - **Text**: A horizontal divider with a text label in the center.\n * - **Grabber Button**: A horizontal or vertical divider with a styled button in the center.\n *\n * **Accessibility:**\n * - When the slot is replaced by an `mdc-button`:\n * - `aria-label` should be passed to the `mdc-button`.\n * - `aria-expanded` should be passed to the `mdc-button`.\n *\n * **Notes:**\n * - If the slot is replaced by an invalid tag name or contains multiple elements,\n * the divider defaults to the **Primary** type.\n * - To override the styles of the divider, use the provided CSS custom properties.\n *\n * @tagname mdc-divider\n *\n * @cssproperty --mdc-divider-background-color - background color of the divider\n * @cssproperty --mdc-divider-width - width of the divider\n * @cssproperty --mdc-divider-horizontal-gradient - gradient of the horizontal divider\n * @cssproperty --mdc-divider-vertical-gradient - gradient of the vertical divider\n * @cssproperty --mdc-divider-text-size - font size of label in the text divider\n * @cssproperty --mdc-divider-text-color - font color of label in the text divider\n * @cssproperty --mdc-divider-text-margin - left and right margin of label in the text divider\n * @cssproperty --mdc-divider-text-line-height - line height of label in the text divider\n * @cssproperty --mdc-divider-grabber-button-background-color-normal - background color of the grabber button\n * in rest state\n * @cssproperty --mdc-divider-grabber-button-background-color-hover - background color of the grabber button\n * in hover state\n * @cssproperty --mdc-divider-grabber-button-background-color-pressed - background color of the grabber button\n * in pressed state\n * @cssproperty --mdc-divider-grabber-button-border-color - border color of the grabber button\n * @cssproperty --mdc-divider-grabber-button-border-radius - border radius of the grabber button\n */",
|
3797
|
+
"customElement": true
|
3798
3798
|
}
|
3799
3799
|
],
|
3800
3800
|
"exports": [
|
@@ -3802,8 +3802,8 @@
|
|
3802
3802
|
"kind": "js",
|
3803
3803
|
"name": "default",
|
3804
3804
|
"declaration": {
|
3805
|
-
"name": "
|
3806
|
-
"module": "components/
|
3805
|
+
"name": "Divider",
|
3806
|
+
"module": "components/divider/divider.component.js"
|
3807
3807
|
}
|
3808
3808
|
}
|
3809
3809
|
]
|
@@ -9518,6 +9518,124 @@
|
|
9518
9518
|
}
|
9519
9519
|
]
|
9520
9520
|
},
|
9521
|
+
{
|
9522
|
+
"kind": "javascript-module",
|
9523
|
+
"path": "components/themeprovider/themeprovider.component.js",
|
9524
|
+
"declarations": [
|
9525
|
+
{
|
9526
|
+
"kind": "class",
|
9527
|
+
"description": "ThemeProvider component, which sets the passed in themeclass as class.\nIf the themeclass switches, the existing themeclass will be removed as a class\nand the new themeclass will be added.\n\nCSS variables defined in the themeclass will be used for the styling of child dom nodes.\n\nThemeclass context can be be consumed from Lit child components\n(see providerUtils.consume for how to consume)\n\nThemeProvider also includes basic font defaults for text.",
|
9528
|
+
"name": "ThemeProvider",
|
9529
|
+
"cssProperties": [
|
9530
|
+
{
|
9531
|
+
"description": "Option to override the default color, default: color-theme-text-primary-normal",
|
9532
|
+
"name": "--mdc-themeprovider-color-default"
|
9533
|
+
},
|
9534
|
+
{
|
9535
|
+
"description": "Option to override the font family, default: `Momentum` (from momentum-design/fonts)",
|
9536
|
+
"name": "--mdc-themeprovider-font-family"
|
9537
|
+
},
|
9538
|
+
{
|
9539
|
+
"description": "Option to override the font weight, default: `400`",
|
9540
|
+
"name": "--mdc-themeprovider-font-weight"
|
9541
|
+
},
|
9542
|
+
{
|
9543
|
+
"description": "Option to override the default letter-spacing, default: `-0.25px` (this is to match the old CiscoSans)",
|
9544
|
+
"name": "--mdc-themeprovider-letter-spacing-adjustment"
|
9545
|
+
},
|
9546
|
+
{
|
9547
|
+
"description": "Option to override the font feature settings, default: `\"ss02\" on`",
|
9548
|
+
"name": "--mdc-themeprovider-font-feature-settings"
|
9549
|
+
},
|
9550
|
+
{
|
9551
|
+
"description": "Option to override the color of the scrollbar track.",
|
9552
|
+
"name": "--mdc-themeprovider-scrollbar-track-color"
|
9553
|
+
},
|
9554
|
+
{
|
9555
|
+
"description": "Option to override the color of the scrollbar thumb.",
|
9556
|
+
"name": "--mdc-themeprovider-scrollbar-thumb-color"
|
9557
|
+
},
|
9558
|
+
{
|
9559
|
+
"description": "Option to override the color of the scrollbar thumb on hover. Applicable only on webkit browsers.",
|
9560
|
+
"name": "--mdc-themeprovider-scrollbar-thumb-hover-color"
|
9561
|
+
},
|
9562
|
+
{
|
9563
|
+
"description": "Option to override the color of the scrollbar thumb on press. Applicable only on webkit browsers.",
|
9564
|
+
"name": "--mdc-themeprovider-scrollbar-thumb-active-color"
|
9565
|
+
}
|
9566
|
+
],
|
9567
|
+
"slots": [
|
9568
|
+
{
|
9569
|
+
"description": "children",
|
9570
|
+
"name": ""
|
9571
|
+
}
|
9572
|
+
],
|
9573
|
+
"members": [
|
9574
|
+
{
|
9575
|
+
"kind": "field",
|
9576
|
+
"name": "Context",
|
9577
|
+
"privacy": "public",
|
9578
|
+
"static": true,
|
9579
|
+
"description": "Context object of the ThemeProvider, to be consumed by child components",
|
9580
|
+
"readonly": true
|
9581
|
+
},
|
9582
|
+
{
|
9583
|
+
"kind": "field",
|
9584
|
+
"name": "themeclass",
|
9585
|
+
"type": {
|
9586
|
+
"text": "string"
|
9587
|
+
},
|
9588
|
+
"description": "Current theme class\n\nHas to be fully qualified, such that\nthe theme class matches the class of the respective\ntheme stylesheet\n\nDefault: 'mds-theme-stable-darkWebex'",
|
9589
|
+
"attribute": "themeclass"
|
9590
|
+
},
|
9591
|
+
{
|
9592
|
+
"kind": "method",
|
9593
|
+
"name": "updateContext",
|
9594
|
+
"privacy": "protected",
|
9595
|
+
"return": {
|
9596
|
+
"type": {
|
9597
|
+
"text": "void"
|
9598
|
+
}
|
9599
|
+
},
|
9600
|
+
"description": "Update all observing components of this\nprovider to update the themeclass\n\nIs called on every re-render, see Provider class"
|
9601
|
+
},
|
9602
|
+
{
|
9603
|
+
"kind": "method",
|
9604
|
+
"name": "setThemeInClassList",
|
9605
|
+
"privacy": "private",
|
9606
|
+
"description": "Function to update the active theme classnames to update the theme tokens\nas CSS variables on the web component."
|
9607
|
+
}
|
9608
|
+
],
|
9609
|
+
"attributes": [
|
9610
|
+
{
|
9611
|
+
"name": "themeclass",
|
9612
|
+
"type": {
|
9613
|
+
"text": "string"
|
9614
|
+
},
|
9615
|
+
"description": "Current theme class\n\nHas to be fully qualified, such that\nthe theme class matches the class of the respective\ntheme stylesheet\n\nDefault: 'mds-theme-stable-darkWebex'",
|
9616
|
+
"fieldName": "themeclass"
|
9617
|
+
}
|
9618
|
+
],
|
9619
|
+
"superclass": {
|
9620
|
+
"name": "Provider",
|
9621
|
+
"module": "/src/models"
|
9622
|
+
},
|
9623
|
+
"tagName": "mdc-themeprovider",
|
9624
|
+
"jsDoc": "/**\n * ThemeProvider component, which sets the passed in themeclass as class.\n * If the themeclass switches, the existing themeclass will be removed as a class\n * and the new themeclass will be added.\n *\n * CSS variables defined in the themeclass will be used for the styling of child dom nodes.\n *\n * Themeclass context can be be consumed from Lit child components\n * (see providerUtils.consume for how to consume)\n *\n * ThemeProvider also includes basic font defaults for text.\n *\n * @tagname mdc-themeprovider\n *\n * @slot - children\n *\n * @cssproperty --mdc-themeprovider-color-default - Option to override the default color,\n * default: color-theme-text-primary-normal\n * @cssproperty --mdc-themeprovider-font-family - Option to override the font family,\n * default: `Momentum` (from momentum-design/fonts)\n * @cssproperty --mdc-themeprovider-font-weight - Option to override the font weight, default: `400`\n * @cssproperty --mdc-themeprovider-letter-spacing-adjustment - Option to override the default letter-spacing,\n * default: `-0.25px` (this is to match the old CiscoSans)\n * @cssproperty --mdc-themeprovider-font-feature-settings - Option to override the font feature settings,\n * default: `\"ss02\" on`\n * @cssproperty --mdc-themeprovider-scrollbar-track-color - Option to override the color of the scrollbar track.\n * @cssproperty --mdc-themeprovider-scrollbar-thumb-color - Option to override the color of the scrollbar thumb.\n * @cssproperty --mdc-themeprovider-scrollbar-thumb-hover-color - Option to override the color of the\n * scrollbar thumb on hover. Applicable only on webkit browsers.\n * @cssproperty --mdc-themeprovider-scrollbar-thumb-active-color - Option to override the color of the\n * scrollbar thumb on press. Applicable only on webkit browsers.\n */",
|
9625
|
+
"customElement": true
|
9626
|
+
}
|
9627
|
+
],
|
9628
|
+
"exports": [
|
9629
|
+
{
|
9630
|
+
"kind": "js",
|
9631
|
+
"name": "default",
|
9632
|
+
"declaration": {
|
9633
|
+
"name": "ThemeProvider",
|
9634
|
+
"module": "components/themeprovider/themeprovider.component.js"
|
9635
|
+
}
|
9636
|
+
}
|
9637
|
+
]
|
9638
|
+
},
|
9521
9639
|
{
|
9522
9640
|
"kind": "javascript-module",
|
9523
9641
|
"path": "components/toggle/toggle.component.js",
|
@@ -10201,124 +10319,6 @@
|
|
10201
10319
|
}
|
10202
10320
|
]
|
10203
10321
|
},
|
10204
|
-
{
|
10205
|
-
"kind": "javascript-module",
|
10206
|
-
"path": "components/themeprovider/themeprovider.component.js",
|
10207
|
-
"declarations": [
|
10208
|
-
{
|
10209
|
-
"kind": "class",
|
10210
|
-
"description": "ThemeProvider component, which sets the passed in themeclass as class.\nIf the themeclass switches, the existing themeclass will be removed as a class\nand the new themeclass will be added.\n\nCSS variables defined in the themeclass will be used for the styling of child dom nodes.\n\nThemeclass context can be be consumed from Lit child components\n(see providerUtils.consume for how to consume)\n\nThemeProvider also includes basic font defaults for text.",
|
10211
|
-
"name": "ThemeProvider",
|
10212
|
-
"cssProperties": [
|
10213
|
-
{
|
10214
|
-
"description": "Option to override the default color, default: color-theme-text-primary-normal",
|
10215
|
-
"name": "--mdc-themeprovider-color-default"
|
10216
|
-
},
|
10217
|
-
{
|
10218
|
-
"description": "Option to override the font family, default: `Momentum` (from momentum-design/fonts)",
|
10219
|
-
"name": "--mdc-themeprovider-font-family"
|
10220
|
-
},
|
10221
|
-
{
|
10222
|
-
"description": "Option to override the font weight, default: `400`",
|
10223
|
-
"name": "--mdc-themeprovider-font-weight"
|
10224
|
-
},
|
10225
|
-
{
|
10226
|
-
"description": "Option to override the default letter-spacing, default: `-0.25px` (this is to match the old CiscoSans)",
|
10227
|
-
"name": "--mdc-themeprovider-letter-spacing-adjustment"
|
10228
|
-
},
|
10229
|
-
{
|
10230
|
-
"description": "Option to override the font feature settings, default: `\"ss02\" on`",
|
10231
|
-
"name": "--mdc-themeprovider-font-feature-settings"
|
10232
|
-
},
|
10233
|
-
{
|
10234
|
-
"description": "Option to override the color of the scrollbar track.",
|
10235
|
-
"name": "--mdc-themeprovider-scrollbar-track-color"
|
10236
|
-
},
|
10237
|
-
{
|
10238
|
-
"description": "Option to override the color of the scrollbar thumb.",
|
10239
|
-
"name": "--mdc-themeprovider-scrollbar-thumb-color"
|
10240
|
-
},
|
10241
|
-
{
|
10242
|
-
"description": "Option to override the color of the scrollbar thumb on hover. Applicable only on webkit browsers.",
|
10243
|
-
"name": "--mdc-themeprovider-scrollbar-thumb-hover-color"
|
10244
|
-
},
|
10245
|
-
{
|
10246
|
-
"description": "Option to override the color of the scrollbar thumb on press. Applicable only on webkit browsers.",
|
10247
|
-
"name": "--mdc-themeprovider-scrollbar-thumb-active-color"
|
10248
|
-
}
|
10249
|
-
],
|
10250
|
-
"slots": [
|
10251
|
-
{
|
10252
|
-
"description": "children",
|
10253
|
-
"name": ""
|
10254
|
-
}
|
10255
|
-
],
|
10256
|
-
"members": [
|
10257
|
-
{
|
10258
|
-
"kind": "field",
|
10259
|
-
"name": "Context",
|
10260
|
-
"privacy": "public",
|
10261
|
-
"static": true,
|
10262
|
-
"description": "Context object of the ThemeProvider, to be consumed by child components",
|
10263
|
-
"readonly": true
|
10264
|
-
},
|
10265
|
-
{
|
10266
|
-
"kind": "field",
|
10267
|
-
"name": "themeclass",
|
10268
|
-
"type": {
|
10269
|
-
"text": "string"
|
10270
|
-
},
|
10271
|
-
"description": "Current theme class\n\nHas to be fully qualified, such that\nthe theme class matches the class of the respective\ntheme stylesheet\n\nDefault: 'mds-theme-stable-darkWebex'",
|
10272
|
-
"attribute": "themeclass"
|
10273
|
-
},
|
10274
|
-
{
|
10275
|
-
"kind": "method",
|
10276
|
-
"name": "updateContext",
|
10277
|
-
"privacy": "protected",
|
10278
|
-
"return": {
|
10279
|
-
"type": {
|
10280
|
-
"text": "void"
|
10281
|
-
}
|
10282
|
-
},
|
10283
|
-
"description": "Update all observing components of this\nprovider to update the themeclass\n\nIs called on every re-render, see Provider class"
|
10284
|
-
},
|
10285
|
-
{
|
10286
|
-
"kind": "method",
|
10287
|
-
"name": "setThemeInClassList",
|
10288
|
-
"privacy": "private",
|
10289
|
-
"description": "Function to update the active theme classnames to update the theme tokens\nas CSS variables on the web component."
|
10290
|
-
}
|
10291
|
-
],
|
10292
|
-
"attributes": [
|
10293
|
-
{
|
10294
|
-
"name": "themeclass",
|
10295
|
-
"type": {
|
10296
|
-
"text": "string"
|
10297
|
-
},
|
10298
|
-
"description": "Current theme class\n\nHas to be fully qualified, such that\nthe theme class matches the class of the respective\ntheme stylesheet\n\nDefault: 'mds-theme-stable-darkWebex'",
|
10299
|
-
"fieldName": "themeclass"
|
10300
|
-
}
|
10301
|
-
],
|
10302
|
-
"superclass": {
|
10303
|
-
"name": "Provider",
|
10304
|
-
"module": "/src/models"
|
10305
|
-
},
|
10306
|
-
"tagName": "mdc-themeprovider",
|
10307
|
-
"jsDoc": "/**\n * ThemeProvider component, which sets the passed in themeclass as class.\n * If the themeclass switches, the existing themeclass will be removed as a class\n * and the new themeclass will be added.\n *\n * CSS variables defined in the themeclass will be used for the styling of child dom nodes.\n *\n * Themeclass context can be be consumed from Lit child components\n * (see providerUtils.consume for how to consume)\n *\n * ThemeProvider also includes basic font defaults for text.\n *\n * @tagname mdc-themeprovider\n *\n * @slot - children\n *\n * @cssproperty --mdc-themeprovider-color-default - Option to override the default color,\n * default: color-theme-text-primary-normal\n * @cssproperty --mdc-themeprovider-font-family - Option to override the font family,\n * default: `Momentum` (from momentum-design/fonts)\n * @cssproperty --mdc-themeprovider-font-weight - Option to override the font weight, default: `400`\n * @cssproperty --mdc-themeprovider-letter-spacing-adjustment - Option to override the default letter-spacing,\n * default: `-0.25px` (this is to match the old CiscoSans)\n * @cssproperty --mdc-themeprovider-font-feature-settings - Option to override the font feature settings,\n * default: `\"ss02\" on`\n * @cssproperty --mdc-themeprovider-scrollbar-track-color - Option to override the color of the scrollbar track.\n * @cssproperty --mdc-themeprovider-scrollbar-thumb-color - Option to override the color of the scrollbar thumb.\n * @cssproperty --mdc-themeprovider-scrollbar-thumb-hover-color - Option to override the color of the\n * scrollbar thumb on hover. Applicable only on webkit browsers.\n * @cssproperty --mdc-themeprovider-scrollbar-thumb-active-color - Option to override the color of the\n * scrollbar thumb on press. Applicable only on webkit browsers.\n */",
|
10308
|
-
"customElement": true
|
10309
|
-
}
|
10310
|
-
],
|
10311
|
-
"exports": [
|
10312
|
-
{
|
10313
|
-
"kind": "js",
|
10314
|
-
"name": "default",
|
10315
|
-
"declaration": {
|
10316
|
-
"name": "ThemeProvider",
|
10317
|
-
"module": "components/themeprovider/themeprovider.component.js"
|
10318
|
-
}
|
10319
|
-
}
|
10320
|
-
]
|
10321
|
-
},
|
10322
10322
|
{
|
10323
10323
|
"kind": "javascript-module",
|
10324
10324
|
"path": "components/virtualizedlist/virtualizedlist.component.js",
|