Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vaadin/vaadin-themable-mixin

Package Overview
Dependencies
Maintainers
14
Versions
479
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/vaadin-themable-mixin - npm Package Compare versions

Comparing version 23.0.4 to 23.1.0-alpha1

4

package.json
{
"name": "@vaadin/vaadin-themable-mixin",
"version": "23.0.4",
"version": "23.1.0-alpha1",
"publishConfig": {

@@ -43,3 +43,3 @@ "access": "public"

},
"gitHead": "d8db2046661c42fb5aac09ed683b500bf4613b26"
"gitHead": "5d0cdee069f866037c507265fafb4d0476795333"
}

@@ -27,4 +27,27 @@ /**

* page for more information.
*
* @deprecated The `theme` property is not supposed for public use and will be dropped in Vaadin 24.
* Please, use the `theme` attribute instead.
* @protected
*/
readonly theme: string | null | undefined;
theme: string | null | undefined;
/**
* Helper property with theme attribute value facilitating propagation
* in shadow DOM.
*
* Enables the component implementation to propagate the `theme`
* attribute value to the sub-components in Shadow DOM by binding
* the sub-component’s "theme" attribute to the `theme` property of
* the host.
*
* **NOTE:** Extending the mixin only provides the property for binding,
* and does not make the propagation alone.
*
* See [Styling Components: Sub-components](https://vaadin.com/docs/latest/ds/customization/styling-components/#sub-components).
* page for more information.
*
* @protected
*/
readonly _theme: string | null | undefined;
}

@@ -28,2 +28,4 @@ /**

*
* @deprecated The `theme` property is not supposed for public use and will be dropped in Vaadin 24.
* Please, use the `theme` attribute instead.
* @protected

@@ -33,2 +35,25 @@ */

type: String,
reflectToAttribute: true,
observer: '__deprecatedThemePropertyChanged'
},
/**
* Helper property with theme attribute value facilitating propagation
* in shadow DOM.
*
* Enables the component implementation to propagate the `theme`
* attribute value to the sub-components in Shadow DOM by binding
* the sub-component’s "theme" attribute to the `theme` property of
* the host.
*
* **NOTE:** Extending the mixin only provides the property for binding,
* and does not make the propagation alone.
*
* See [Styling Components: Sub-components](https://vaadin.com/docs/latest/ds/customization/styling-components/#sub-components).
* page for more information.
*
* @protected
*/
_theme: {
type: String,
readOnly: true

@@ -39,10 +64,6 @@ }

/** @protected */
attributeChangedCallback(name, oldValue, newValue) {
super.attributeChangedCallback(name, oldValue, newValue);
if (name === 'theme') {
this._setTheme(newValue);
}
/** @private */
__deprecatedThemePropertyChanged(theme) {
this._set_theme(theme);
}
};
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc