').append(e,i,o),n=a('
').addClass(this.$element.prop("checked")?"btn-"+this.options.onstyle:"btn-"+this.options.offstyle+" off").addClass(t).addClass(this.options.style).attr("tabindex",this.options.tabindex);(this.$element.prop("disabled")||this.$element.prop("readonly"))&&(n.addClass("disabled"),n.attr("disabled","disabled")),this.options.onvalue&&this.$element.val(this.options.onvalue);let l=null;this.options.offvalue&&((l=this.$element.clone()).val(this.options.offvalue),l.attr("data-toggle","invert-toggle"),l.removeAttr("id"),l.prop("checked",!this.$element.prop("checked"))),this.$element.wrap(n),a.extend(this,{$toggle:this.$element.parent(),$toggleOn:e,$toggleOff:i,$toggleGroup:s,$invElement:l}),this.$toggle.append(l,s),this.options.width?this.$toggle.css("width",this.options.width):(this.$toggle.css("min-width","100px"),this.$toggle.css("min-width",Math.max(e.outerWidth(),i.outerWidth())+o.outerWidth()/2+"px")),this.options.height?this.$toggle.css("height",this.options.height):(this.$toggle.css("min-height","36px"),this.$toggle.css("min-height",Math.max(e.outerHeight(),i.outerHeight())+"px")),e.addClass("toggle-on"),i.addClass("toggle-off"),this.options.height&&(e.css("line-height",e.height()+"px"),i.css("line-height",i.height()+"px")),this.$toggle.on("touchstart",t=>{h(t,this)}),this.$toggle.on("click",t=>{h(t,this)}),this.$toggle.on("keypress",t=>{" "==t.key&&h(t,this)}),this.$element.prop("id")&&a('label[for="'+this.$element.prop("id")+'"]').on("touchstart click",t=>{this.toggle(),this.$toggle.focus()})},n.prototype.toggle=function(t=!1){this.$element.prop("checked")?this.off(t):this.on(t)},n.prototype.on=function(t=!1){if(this.$element.prop("disabled")||this.$element.prop("readonly"))return!1;this.$toggle.removeClass("btn-"+this.options.offstyle+" off").addClass("btn-"+this.options.onstyle),this.$element.prop("checked",!0),this.$invElement&&this.$invElement.prop("checked",!1),t||this.trigger()},n.prototype.off=function(t=!1){if(this.$element.prop("disabled")||this.$element.prop("readonly"))return!1;this.$toggle.removeClass("btn-"+this.options.onstyle).addClass("btn-"+this.options.offstyle+" off"),this.$element.prop("checked",!1),this.$invElement&&this.$invElement.prop("checked",!0),t||this.trigger()},n.prototype.indeterminate=function(t=!1){if(!this.options.tristate||this.$element.prop("disabled")||this.$element.prop("readonly"))return!1;this.$toggle.addClass("indeterminate"),this.$element.prop("indeterminate",!0),this.$element.removeAttr("name"),this.$invElement&&this.$invElement.prop("indeterminate",!0),this.$invElement&&this.$invElement.removeAttr("name"),t||this.trigger()},n.prototype.determinate=function(t=!1){if(!this.options.tristate||this.$element.prop("disabled")||this.$element.prop("readonly"))return!1;this.$toggle.removeClass("indeterminate"),this.$element.prop("indeterminate",!1),this.options.name&&this.$element.attr("name",this.options.name),this.$invElement&&this.$invElement.prop("indeterminate",!1),this.$invElement&&this.options.name&&this.$invElement.attr("name",this.options.name),t||this.trigger()},n.prototype.enable=function(){this.$toggle.removeClass("disabled"),this.$toggle.removeAttr("disabled"),this.$element.prop("disabled",!1),this.$element.prop("readonly",!1),this.$invElement&&(this.$invElement.prop("disabled",!1),this.$invElement.prop("readonly",!1))},n.prototype.disable=function(){this.$toggle.addClass("disabled"),this.$toggle.attr("disabled","disabled"),this.$element.prop("disabled",!0),this.$element.prop("readonly",!1),this.$invElement&&(this.$invElement.prop("disabled",!0),this.$invElement.prop("readonly",!1))},n.prototype.readonly=function(){this.$toggle.addClass("disabled"),this.$toggle.attr("disabled","disabled"),this.$element.prop("disabled",!1),this.$element.prop("readonly",!0),this.$invElement&&(this.$invElement.prop("disabled",!1),this.$invElement.prop("readonly",!0))},n.prototype.update=function(t){this.$element.prop("disabled")?this.disable():this.$element.prop("readonly")?this.readonly():this.enable(),this.$element.prop("checked")?this.on(t):this.off(t)},n.prototype.trigger=function(t){this.$element.off("change.bs.toggle"),t||this.$element.change(),this.$element.on("change.bs.toggle",a.proxy(function(){this.update()},this))},n.prototype.destroy=function(){this.$element.off("change.bs.toggle"),this.$toggleGroup.remove(),this.$invElement&&this.$invElement.remove(),this.$element.removeData("bs.toggle"),this.$element.unwrap()};let t=a.fn.bootstrapToggle;a.fn.bootstrapToggle=function(o){let s=Array.prototype.slice.call(arguments,1)[0];return this.each(function(){var t=a(this);let e=t.data("bs.toggle");var i="object"==typeof o&&o;e||(e=new n(this,i),t.data("bs.toggle",e)),"string"==typeof o&&e[o]&&"boolean"==typeof s?e[o](s):"string"==typeof o&&e[o]&&e[o]()})},a.fn.bootstrapToggle.Constructor=n,a.fn.toggle.noConflict=function(){return a.fn.bootstrapToggle=t,this},a(function(){a("input[type=checkbox][data-toggle^=toggle]").bootstrapToggle()})}(jQuery);
//# sourceMappingURL=bootstrap5-toggle.jquery.min.js.map
\ No newline at end of file
diff --git a/js/bootstrap5-toggle.jquery.min.js.map b/js/bootstrap5-toggle.jquery.min.js.map
index 5a529c4..14eaece 100644
--- a/js/bootstrap5-toggle.jquery.min.js.map
+++ b/js/bootstrap5-toggle.jquery.min.js.map
@@ -1 +1 @@
-{"version":3,"file":"bootstrap5-toggle.jquery.min.js","sources":["bootstrap5-toggle.jquery.js"],"names":["$","Toggle","element","options","this","$element","extend","defaults","onlabel","DEPRECATION","value","attr","log","ATTRIBUTE","on","OPTION","DEFAULTS","offlabel","off","render","toggleActionPerformed","e","target","tristate","$toggle","hasClass","determinate","toggle","indeterminate","preventDefault","type","oldlabel","newlabel","console","warn","onstyle","offstyle","onvalue","offvalue","ontitle","offtitle","size","style","width","height","tabindex","name","prototype","is","let","$toggleOn","html","addClass","$toggleOff","$toggleHandle","$toggleGroup","append","prop","val","$invElement","clone","removeAttr","wrap","parent","css","Math","max","outerWidth","outerHeight","key","focus","silent","removeClass","trigger","enable","disable","readonly","update","change","proxy","destroy","remove","removeData","unwrap","old","fn","bootstrapToggle","option","optArg","Array","slice","call","arguments","each","$this","data","Constructor","noConflict","jQuery"],"mappings":"AAaC,CAAA,SAAWA,GACV,aAKa,SAATC,EAAmBC,EAASC,GAE9BC,KAAKC,SAAWL,EAAEE,CAAO,EAGzBE,KAAKD,QAAUH,EAAEM,OAAO,GAAIF,KAAKG,SAAS,EAAGJ,CAAO,E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AKC,SAASa,IAAI,kBAAkB,EACpCd,KAAKmD,aAAa0B,OAAO,EACrB7E,KAAKuD,aAAavD,KAAKuD,YAAYsB,OAAO,EAG9C7E,KAAKC,SAAS6E,WAAW,WAAW,EACpC9E,KAAKC,SAAS8E,OAAO,CACvB,EA4BAlC,IAAImC,EAAMpF,EAAEqF,GAAGC,gBAEftF,EAAEqF,GAAGC,gBAzBL,SAAgBC,GACdtC,IAAIuC,EAASC,MAAM1C,UAAU2C,MAAMC,KAAKC,UAAW,CAAC,EAAE,GAEtD,OAAOxF,KAAKyF,KAAK,WACf5C,IAAI6C,EAAQ9F,EAAEI,IAAI,EAClB6C,IAAI8C,EAAOD,EAAMC,KAAK,WAAW,EACjC9C,IAAI9C,EAA2B,UAAjB,OAAOoF,GAAsBA,EAEtCQ,IACHA,EAAO,IAAI9F,EAAOG,KAAMD,CAAO,EAC/B2F,EAAMC,KAAK,YAAaA,CAAI,GAGV,UAAlB,OAAOR,GACPQ,EAAKR,IACa,WAAlB,OAAOC,EAEPO,EAAKR,GAAQC,CAAM,EACM,UAAlB,OAAOD,GAAuBQ,EAAKR,IAASQ,EAAKR,GAAQ,CAEpE,CAAC,CACH,EAKAvF,EAAEqF,GAAGC,gBAAgBU,YAAc/F,EAKnCD,EAAEqF,GAAG1D,OAAOsE,WAAa,WAEvB,OADAjG,EAAEqF,GAAGC,gBAAkBF,EAChBhF,IACT,EAMAJ,EAAE,WACAA,EAAE,2CAA2C,EAAEsF,gBAAgB,CACjE,CAAC,CACF,EAAEY,MAAM"}
\ No newline at end of file
+{"version":3,"file":"bootstrap5-toggle.jquery.min.js","sources":["bootstrap5-toggle.jquery.js"],"names":["$","Toggle","element","options","this","$element","extend","defaults","onlabel","DEPRECATION","value","attr","log","ATTRIBUTE","on","OPTION","DEFAULTS","offlabel","off","render","toggleActionPerformed","e","target","tristate","$toggle","hasClass","determinate","toggle","indeterminate","preventDefault","type","oldlabel","newlabel","console","warn","onstyle","offstyle","onvalue","offvalue","ontitle","offtitle","size","style","width","height","tabindex","name","prototype","is","let","$toggleOn","html","addClass","$toggleOff","$toggleHandle","$toggleGroup","append","prop","val","$invElement","clone","removeAttr","wrap","parent","css","Math","max","outerWidth","outerHeight","key","focus","silent","removeClass","trigger","enable","disable","readonly","update","change","proxy","destroy","remove","removeData","unwrap","old","fn","bootstrapToggle","option","optArg","Array","slice","call","arguments","each","$this","data","Constructor","noConflict","jQuery"],"mappings":"AAaC,CAAA,SAAWA,GACV,aAKa,SAATC,EAAmBC,EAASC,GAE9BC,KAAKC,SAAWL,EAAEE,CAAO,EAGzBE,KAAKD,QAAUH,EAAEM,OAAO,GAAIF,KAAKG,SAAS,EAAGJ,CAAO,EAGhDC,KAAKD,QAAQK,UAAYP,EAAOQ,YAAYC,QAC1CN,KAAKC,SAASM,KAAK,SAAS,GAC9BV,EAAOQ,YAAYG,IACjBX,EAAOQ,YAAYI,UACnB,UACA,cACF,EACAT,KAAKD,QAAQK,QAAUJ,KAAKC,SAASM,KAAK,SAAS,GAC1CR,EAAQW,IACjBb,EAAOQ,YAAYG,IAAIX,EAAOQ,YAAYM,OAAQ,KAAM,SAAS,EACjEX,KAAKD,QAAQK,QAAUL,EAAQW,IAE/BV,KAAKD,QAAQK,QAAUP,EAAOe,SAASR,SAGvCJ,KAAKD,QAAQc,WAAahB,EAAOQ,YAAYC,QAC3CN,KAAKC,SAASM,KAAK,UAAU,GAC/BV,EAAOQ,YAAYG,IACjBX,EAAOQ,YAAYI,UACnB,WACA,eACF,EACAT,KAAKD,QAAQc,SAAWb,KAAKC,SAASM,KAAK,UAAU,GAC5CR,EAAQe,KACjBjB,EAAOQ,YAAYG,IAAIX,EAAOQ,YAAYM,OAAQ,MAAO,UAAU,EACnEX,KAAKD,QAAQc,SAAWd,EAAQe,KAEhCd,KAAKD,QAAQc,SAAWhB,EAAOe,SAASC,UAK5Cb,KAAKe,OAAO,CACd,CA8NA,SAASC,EAAsBC,EAAGC,GAC5BA,EAAOnB,QAAQoB,SACbD,EA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,CAEpE,CAAC,CACH,EAKAvF,EAAEqF,GAAGC,gBAAgBU,YAAc/F,EAKnCD,EAAEqF,GAAG1D,OAAOsE,WAAa,WAEvB,OADAjG,EAAEqF,GAAGC,gBAAkBF,EAChBhF,IACT,EAMAJ,EAAE,WACAA,EAAE,2CAA2C,EAAEsF,gBAAgB,CACjE,CAAC,CACF,EAAEY,MAAM"}
\ No newline at end of file
diff --git a/package.json b/package.json
index 7d74df0..e031da6 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "bootstrap5-toggle",
- "version": "5.0.4",
+ "version": "5.0.6",
"author": {
"name": "Pablo Alcaraz MartÃnez",
"url": "https://github.com/palcarazm/"
@@ -13,6 +13,7 @@
"url": "https://github.com/sponsors/palcarazm"
},
"main": "js/bootstrap5-toggle.ecmas.min.js",
+ "style": "css/bootstrap5-toggle.min.css",
"files": [
"css/*",
"js/*"
@@ -20,7 +21,7 @@
"scripts": {
"build": "grunt build",
"postversion": "grunt build && grunt readme && doctoc README.md --github",
- "prepack": "grunt build && grunt readme && doctoc README.md --github && git add -A",
+ "prepack": "grunt build && grunt readme && doctoc README.md --github && git add -A && git commit",
"test": "cypress run --browser=chrome"
},
"keywords": [