@momentum-design/components 0.96.2 → 0.96.3
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/custom-elements.json +110 -110
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js +1 -1
- package/package.json +1 -1
@@ -33359,116 +33359,6 @@
|
|
33359
33359
|
}
|
33360
33360
|
]
|
33361
33361
|
},
|
33362
|
-
{
|
33363
|
-
"kind": "javascript-module",
|
33364
|
-
"path": "components/themeprovider/themeprovider.component.js",
|
33365
|
-
"declarations": [
|
33366
|
-
{
|
33367
|
-
"kind": "class",
|
33368
|
-
"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\nAvailable Momentum theme classes:\n\n`mds-theme-stable-darkWebex`, `mds-theme-stable-lightWebex`\n\n`mds-theme-stable-darkBronzeWebex`, `mds-theme-stable-lightBronzeWebex`\n\n`mds-theme-stable-darkIndigoWebex`, `mds-theme-stable-lightIndigoWebex`\n\n`mds-theme-stable-darkJadeWebex`, `mds-theme-stable-lightJadeWebex`\n\n`mds-theme-stable-darkLavenderWebex`, `mds-theme-stable-lightLavenderWebex`\n\n`mds-theme-stable-darkRoseWebex`, `mds-theme-stable-lightRoseWebex`\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.",
|
33369
|
-
"name": "ThemeProvider",
|
33370
|
-
"cssProperties": [
|
33371
|
-
{
|
33372
|
-
"description": "Option to override the default color, default: color-theme-text-primary-normal",
|
33373
|
-
"name": "--mdc-themeprovider-color-default"
|
33374
|
-
},
|
33375
|
-
{
|
33376
|
-
"description": "Option to override the font family, default: `Momentum` (from momentum-design/fonts)",
|
33377
|
-
"name": "--mdc-themeprovider-font-family"
|
33378
|
-
},
|
33379
|
-
{
|
33380
|
-
"description": "Option to override the font weight, default: `400`",
|
33381
|
-
"name": "--mdc-themeprovider-font-weight"
|
33382
|
-
},
|
33383
|
-
{
|
33384
|
-
"description": "Option to override the default letter-spacing, default: `-0.25px` (this is to match the old CiscoSans)",
|
33385
|
-
"name": "--mdc-themeprovider-letter-spacing-adjustment"
|
33386
|
-
},
|
33387
|
-
{
|
33388
|
-
"description": "Option to override the font feature settings, default: `\"ss02\" on`",
|
33389
|
-
"name": "--mdc-themeprovider-font-feature-settings"
|
33390
|
-
},
|
33391
|
-
{
|
33392
|
-
"description": "Option to override the color of the scrollbar track.",
|
33393
|
-
"name": "--mdc-themeprovider-scrollbar-track-color"
|
33394
|
-
},
|
33395
|
-
{
|
33396
|
-
"description": "Option to override the color of the scrollbar thumb.",
|
33397
|
-
"name": "--mdc-themeprovider-scrollbar-thumb-color"
|
33398
|
-
}
|
33399
|
-
],
|
33400
|
-
"slots": [
|
33401
|
-
{
|
33402
|
-
"description": "children",
|
33403
|
-
"name": ""
|
33404
|
-
}
|
33405
|
-
],
|
33406
|
-
"members": [
|
33407
|
-
{
|
33408
|
-
"kind": "field",
|
33409
|
-
"name": "Context",
|
33410
|
-
"privacy": "public",
|
33411
|
-
"static": true,
|
33412
|
-
"description": "Context object of the ThemeProvider, to be consumed by child components",
|
33413
|
-
"readonly": true
|
33414
|
-
},
|
33415
|
-
{
|
33416
|
-
"kind": "field",
|
33417
|
-
"name": "themeclass",
|
33418
|
-
"type": {
|
33419
|
-
"text": "string"
|
33420
|
-
},
|
33421
|
-
"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'",
|
33422
|
-
"attribute": "themeclass"
|
33423
|
-
},
|
33424
|
-
{
|
33425
|
-
"kind": "method",
|
33426
|
-
"name": "updateContext",
|
33427
|
-
"privacy": "protected",
|
33428
|
-
"return": {
|
33429
|
-
"type": {
|
33430
|
-
"text": "void"
|
33431
|
-
}
|
33432
|
-
},
|
33433
|
-
"description": "Update all observing components of this\nprovider to update the themeclass\n\nIs called on every re-render, see Provider class"
|
33434
|
-
},
|
33435
|
-
{
|
33436
|
-
"kind": "method",
|
33437
|
-
"name": "setThemeInClassList",
|
33438
|
-
"privacy": "private",
|
33439
|
-
"description": "Function to update the active theme classnames to update the theme tokens\nas CSS variables on the web component."
|
33440
|
-
}
|
33441
|
-
],
|
33442
|
-
"attributes": [
|
33443
|
-
{
|
33444
|
-
"name": "themeclass",
|
33445
|
-
"type": {
|
33446
|
-
"text": "string"
|
33447
|
-
},
|
33448
|
-
"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'",
|
33449
|
-
"fieldName": "themeclass"
|
33450
|
-
}
|
33451
|
-
],
|
33452
|
-
"superclass": {
|
33453
|
-
"name": "Provider",
|
33454
|
-
"module": "/src/models"
|
33455
|
-
},
|
33456
|
-
"tagName": "mdc-themeprovider",
|
33457
|
-
"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 * Available Momentum theme classes:\n *\n * `mds-theme-stable-darkWebex`, `mds-theme-stable-lightWebex`\n *\n * `mds-theme-stable-darkBronzeWebex`, `mds-theme-stable-lightBronzeWebex`\n *\n * `mds-theme-stable-darkIndigoWebex`, `mds-theme-stable-lightIndigoWebex`\n *\n * `mds-theme-stable-darkJadeWebex`, `mds-theme-stable-lightJadeWebex`\n *\n * `mds-theme-stable-darkLavenderWebex`, `mds-theme-stable-lightLavenderWebex`\n *\n * `mds-theme-stable-darkRoseWebex`, `mds-theme-stable-lightRoseWebex`\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 */",
|
33458
|
-
"customElement": true
|
33459
|
-
}
|
33460
|
-
],
|
33461
|
-
"exports": [
|
33462
|
-
{
|
33463
|
-
"kind": "js",
|
33464
|
-
"name": "default",
|
33465
|
-
"declaration": {
|
33466
|
-
"name": "ThemeProvider",
|
33467
|
-
"module": "components/themeprovider/themeprovider.component.js"
|
33468
|
-
}
|
33469
|
-
}
|
33470
|
-
]
|
33471
|
-
},
|
33472
33362
|
{
|
33473
33363
|
"kind": "javascript-module",
|
33474
33364
|
"path": "components/textarea/textarea.component.js",
|
@@ -34383,6 +34273,116 @@
|
|
34383
34273
|
}
|
34384
34274
|
]
|
34385
34275
|
},
|
34276
|
+
{
|
34277
|
+
"kind": "javascript-module",
|
34278
|
+
"path": "components/themeprovider/themeprovider.component.js",
|
34279
|
+
"declarations": [
|
34280
|
+
{
|
34281
|
+
"kind": "class",
|
34282
|
+
"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\nAvailable Momentum theme classes:\n\n`mds-theme-stable-darkWebex`, `mds-theme-stable-lightWebex`\n\n`mds-theme-stable-darkBronzeWebex`, `mds-theme-stable-lightBronzeWebex`\n\n`mds-theme-stable-darkIndigoWebex`, `mds-theme-stable-lightIndigoWebex`\n\n`mds-theme-stable-darkJadeWebex`, `mds-theme-stable-lightJadeWebex`\n\n`mds-theme-stable-darkLavenderWebex`, `mds-theme-stable-lightLavenderWebex`\n\n`mds-theme-stable-darkRoseWebex`, `mds-theme-stable-lightRoseWebex`\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.",
|
34283
|
+
"name": "ThemeProvider",
|
34284
|
+
"cssProperties": [
|
34285
|
+
{
|
34286
|
+
"description": "Option to override the default color, default: color-theme-text-primary-normal",
|
34287
|
+
"name": "--mdc-themeprovider-color-default"
|
34288
|
+
},
|
34289
|
+
{
|
34290
|
+
"description": "Option to override the font family, default: `Momentum` (from momentum-design/fonts)",
|
34291
|
+
"name": "--mdc-themeprovider-font-family"
|
34292
|
+
},
|
34293
|
+
{
|
34294
|
+
"description": "Option to override the font weight, default: `400`",
|
34295
|
+
"name": "--mdc-themeprovider-font-weight"
|
34296
|
+
},
|
34297
|
+
{
|
34298
|
+
"description": "Option to override the default letter-spacing, default: `-0.25px` (this is to match the old CiscoSans)",
|
34299
|
+
"name": "--mdc-themeprovider-letter-spacing-adjustment"
|
34300
|
+
},
|
34301
|
+
{
|
34302
|
+
"description": "Option to override the font feature settings, default: `\"ss02\" on`",
|
34303
|
+
"name": "--mdc-themeprovider-font-feature-settings"
|
34304
|
+
},
|
34305
|
+
{
|
34306
|
+
"description": "Option to override the color of the scrollbar track.",
|
34307
|
+
"name": "--mdc-themeprovider-scrollbar-track-color"
|
34308
|
+
},
|
34309
|
+
{
|
34310
|
+
"description": "Option to override the color of the scrollbar thumb.",
|
34311
|
+
"name": "--mdc-themeprovider-scrollbar-thumb-color"
|
34312
|
+
}
|
34313
|
+
],
|
34314
|
+
"slots": [
|
34315
|
+
{
|
34316
|
+
"description": "children",
|
34317
|
+
"name": ""
|
34318
|
+
}
|
34319
|
+
],
|
34320
|
+
"members": [
|
34321
|
+
{
|
34322
|
+
"kind": "field",
|
34323
|
+
"name": "Context",
|
34324
|
+
"privacy": "public",
|
34325
|
+
"static": true,
|
34326
|
+
"description": "Context object of the ThemeProvider, to be consumed by child components",
|
34327
|
+
"readonly": true
|
34328
|
+
},
|
34329
|
+
{
|
34330
|
+
"kind": "field",
|
34331
|
+
"name": "themeclass",
|
34332
|
+
"type": {
|
34333
|
+
"text": "string"
|
34334
|
+
},
|
34335
|
+
"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'",
|
34336
|
+
"attribute": "themeclass"
|
34337
|
+
},
|
34338
|
+
{
|
34339
|
+
"kind": "method",
|
34340
|
+
"name": "updateContext",
|
34341
|
+
"privacy": "protected",
|
34342
|
+
"return": {
|
34343
|
+
"type": {
|
34344
|
+
"text": "void"
|
34345
|
+
}
|
34346
|
+
},
|
34347
|
+
"description": "Update all observing components of this\nprovider to update the themeclass\n\nIs called on every re-render, see Provider class"
|
34348
|
+
},
|
34349
|
+
{
|
34350
|
+
"kind": "method",
|
34351
|
+
"name": "setThemeInClassList",
|
34352
|
+
"privacy": "private",
|
34353
|
+
"description": "Function to update the active theme classnames to update the theme tokens\nas CSS variables on the web component."
|
34354
|
+
}
|
34355
|
+
],
|
34356
|
+
"attributes": [
|
34357
|
+
{
|
34358
|
+
"name": "themeclass",
|
34359
|
+
"type": {
|
34360
|
+
"text": "string"
|
34361
|
+
},
|
34362
|
+
"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'",
|
34363
|
+
"fieldName": "themeclass"
|
34364
|
+
}
|
34365
|
+
],
|
34366
|
+
"superclass": {
|
34367
|
+
"name": "Provider",
|
34368
|
+
"module": "/src/models"
|
34369
|
+
},
|
34370
|
+
"tagName": "mdc-themeprovider",
|
34371
|
+
"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 * Available Momentum theme classes:\n *\n * `mds-theme-stable-darkWebex`, `mds-theme-stable-lightWebex`\n *\n * `mds-theme-stable-darkBronzeWebex`, `mds-theme-stable-lightBronzeWebex`\n *\n * `mds-theme-stable-darkIndigoWebex`, `mds-theme-stable-lightIndigoWebex`\n *\n * `mds-theme-stable-darkJadeWebex`, `mds-theme-stable-lightJadeWebex`\n *\n * `mds-theme-stable-darkLavenderWebex`, `mds-theme-stable-lightLavenderWebex`\n *\n * `mds-theme-stable-darkRoseWebex`, `mds-theme-stable-lightRoseWebex`\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 */",
|
34372
|
+
"customElement": true
|
34373
|
+
}
|
34374
|
+
],
|
34375
|
+
"exports": [
|
34376
|
+
{
|
34377
|
+
"kind": "js",
|
34378
|
+
"name": "default",
|
34379
|
+
"declaration": {
|
34380
|
+
"name": "ThemeProvider",
|
34381
|
+
"module": "components/themeprovider/themeprovider.component.js"
|
34382
|
+
}
|
34383
|
+
}
|
34384
|
+
]
|
34385
|
+
},
|
34386
34386
|
{
|
34387
34387
|
"kind": "javascript-module",
|
34388
34388
|
"path": "components/toggle/toggle.component.js",
|
package/dist/react/index.d.ts
CHANGED
@@ -64,8 +64,8 @@ export { default as StepperItem } from './stepperitem';
|
|
64
64
|
export { default as Tab } from './tab';
|
65
65
|
export { default as TabList } from './tablist';
|
66
66
|
export { default as Text } from './text';
|
67
|
-
export { default as ThemeProvider } from './themeprovider';
|
68
67
|
export { default as Textarea } from './textarea';
|
68
|
+
export { default as ThemeProvider } from './themeprovider';
|
69
69
|
export { default as Toggle } from './toggle';
|
70
70
|
export { default as ToggleTip } from './toggletip';
|
71
71
|
export { default as Tooltip } from './tooltip';
|
package/dist/react/index.js
CHANGED
@@ -64,8 +64,8 @@ export { default as StepperItem } from './stepperitem';
|
|
64
64
|
export { default as Tab } from './tab';
|
65
65
|
export { default as TabList } from './tablist';
|
66
66
|
export { default as Text } from './text';
|
67
|
-
export { default as ThemeProvider } from './themeprovider';
|
68
67
|
export { default as Textarea } from './textarea';
|
68
|
+
export { default as ThemeProvider } from './themeprovider';
|
69
69
|
export { default as Toggle } from './toggle';
|
70
70
|
export { default as ToggleTip } from './toggletip';
|
71
71
|
export { default as Tooltip } from './tooltip';
|