@maggioli-design-system/mds-paginator-item 2.2.0 → 2.4.0
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/cjs/{index-969219be.js → index-30ee4c25.js} +166 -32
- package/dist/cjs/loader.cjs.js +3 -12
- package/dist/cjs/mds-paginator-item.cjs.entry.js +5 -5
- package/dist/cjs/mds-paginator-item.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/common/aria.js +4 -2
- package/dist/collection/common/keyboard-manager.js +1 -1
- package/dist/collection/common/unit.js +10 -0
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +4 -3
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +13 -10
- package/dist/collection/dictionary/button.js +5 -1
- package/dist/collection/dictionary/icon.js +2 -2
- package/dist/collection/dictionary/variant.js +9 -1
- package/dist/components/index.d.ts +5 -3
- package/dist/components/index.js +1 -2
- package/dist/components/mds-paginator-item.js +6 -6
- package/dist/documentation.d.ts +421 -0
- package/dist/documentation.json +183 -0
- package/dist/esm/{index-43abfe8a.js → index-3fa51808.js} +166 -32
- package/dist/esm/loader.js +4 -13
- package/dist/esm/mds-paginator-item.entry.js +5 -5
- package/dist/esm/mds-paginator-item.js +4 -4
- package/dist/esm-es5/index-3fa51808.js +2 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
- package/dist/esm-es5/mds-paginator-item.js +1 -1
- package/dist/mds-paginator-item/mds-paginator-item.esm.js +1 -1
- package/dist/mds-paginator-item/mds-paginator-item.js +2 -6
- package/dist/mds-paginator-item/p-2e3a33e5.js +2 -0
- package/dist/mds-paginator-item/p-2f534d96.system.entry.js +1 -0
- package/dist/mds-paginator-item/p-61d399b8.system.js +1 -0
- package/dist/mds-paginator-item/p-8e675782.system.js +2 -0
- package/dist/mds-paginator-item/p-e78a049a.entry.js +1 -0
- package/dist/stats.json +76 -68
- package/dist/types/common/unit.d.ts +2 -0
- package/dist/types/components.d.ts +8 -8
- package/dist/types/dictionary/button.d.ts +2 -1
- package/dist/types/dictionary/variant.d.ts +2 -1
- package/dist/types/interface/input-value.d.ts +1 -1
- package/dist/types/stencil-public-runtime.d.ts +32 -17
- package/dist/types/{types → type}/button.d.ts +1 -0
- package/dist/types/{types → type}/variant.d.ts +1 -0
- package/documentation.json +538 -0
- package/loader/index.d.ts +2 -2
- package/package.json +10 -4
- package/readme.md +12 -5
- package/src/common/aria.ts +2 -2
- package/src/common/keyboard-manager.ts +1 -1
- package/src/common/unit.ts +14 -0
- package/src/components/mds-paginator-item/mds-paginator-item.css +4 -4
- package/src/components/mds-paginator-item/mds-paginator-item.tsx +7 -3
- package/src/components/mds-paginator-item/readme.md +12 -5
- package/src/components.d.ts +8 -8
- package/src/dictionary/button.ts +7 -1
- package/src/dictionary/variant.ts +10 -0
- package/src/fixtures/icons.json +40 -0
- package/src/fixtures/iconsauce.json +38 -0
- package/src/interface/input-value.ts +1 -1
- package/src/{types → type}/button.ts +4 -0
- package/src/{types → type}/variant.ts +9 -0
- package/www/build/mds-paginator-item.esm.js +1 -1
- package/www/build/mds-paginator-item.js +2 -6
- package/www/build/p-2e3a33e5.js +2 -0
- package/www/build/p-2f534d96.system.entry.js +1 -0
- package/www/build/p-61d399b8.system.js +1 -0
- package/www/build/p-8e675782.system.js +2 -0
- package/www/build/p-e78a049a.entry.js +1 -0
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm-es5/index-43abfe8a.js +0 -2
- package/dist/mds-paginator-item/p-043d636e.system.js +0 -1
- package/dist/mds-paginator-item/p-545e4388.system.js +0 -2
- package/dist/mds-paginator-item/p-632f225a.system.entry.js +0 -1
- package/dist/mds-paginator-item/p-6f0a5176.entry.js +0 -1
- package/dist/mds-paginator-item/p-cd35cb31.js +0 -2
- package/www/build/p-043d636e.system.js +0 -1
- package/www/build/p-545e4388.system.js +0 -2
- package/www/build/p-632f225a.system.entry.js +0 -1
- package/www/build/p-6f0a5176.entry.js +0 -1
- package/www/build/p-cd35cb31.js +0 -2
- /package/dist/collection/{types → type}/autocomplete.js +0 -0
- /package/dist/collection/{types → type}/button.js +0 -0
- /package/dist/collection/{types → type}/floating-ui.js +0 -0
- /package/dist/collection/{types → type}/form-rel.js +0 -0
- /package/dist/collection/{types → type}/input-text-type.js +0 -0
- /package/dist/collection/{types → type}/input-value-type.js +0 -0
- /package/dist/collection/{types → type}/loading.js +0 -0
- /package/dist/collection/{types → type}/typography.js +0 -0
- /package/dist/collection/{types → type}/variant.js +0 -0
- /package/dist/types/{types → type}/autocomplete.d.ts +0 -0
- /package/dist/types/{types → type}/floating-ui.d.ts +0 -0
- /package/dist/types/{types → type}/form-rel.d.ts +0 -0
- /package/dist/types/{types → type}/input-text-type.d.ts +0 -0
- /package/dist/types/{types → type}/input-value-type.d.ts +0 -0
- /package/dist/types/{types → type}/loading.d.ts +0 -0
- /package/dist/types/{types → type}/typography.d.ts +0 -0
- /package/src/{types → type}/autocomplete.ts +0 -0
- /package/src/{types → type}/floating-ui.ts +0 -0
- /package/src/{types → type}/form-rel.ts +0 -0
- /package/src/{types → type}/input-text-type.ts +0 -0
- /package/src/{types → type}/input-value-type.ts +0 -0
- /package/src/{types → type}/loading.ts +0 -0
- /package/src/{types → type}/typography.ts +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var __extends=this&&this.__extends||function(){var e=function(t,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};return e(t,n)};return function(t,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();var __awaiter=this&&this.__awaiter||function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function o(e){try{u(r.next(e))}catch(e){i(e)}}function l(e){try{u(r["throw"](e))}catch(e){i(e)}}function u(e){e.done?n(e.value):a(e.value).then(o,l)}u((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,a,i,o;return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(e){return function(t){return u([e,t])}}function u(l){if(r)throw new TypeError("Generator is already executing.");while(o&&(o=0,l[0]&&(n=0)),n)try{if(r=1,a&&(i=l[0]&2?a["return"]:l[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,l[1])).done)return i;if(a=0,i)l=[l[0]&2,i.value];switch(l[0]){case 0:case 1:i=l;break;case 4:n.label++;return{value:l[1],done:false};case 5:n.label++;a=l[1];l=[0];continue;case 7:l=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){n.label=l[1];break}if(l[0]===6&&n.label<i[1]){n.label=i[1];i=l;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(l);break}if(i[2])n.ops.pop();n.trys.pop();continue}l=t.call(e,n)}catch(e){l=[6,e];a=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,a=t.length,i;r<a;r++){if(i||!(r in t)){if(!i)i=Array.prototype.slice.call(t,0,r);i[r]=t[r]}}return e.concat(i||Array.prototype.slice.call(t))};System.register([],(function(e,t){"use strict";return{execute:function(){var n=this;var r="mds-paginator-item";var a;var i;var o=false;var l=false;var u=function(e,t){if(t===void 0){t=""}{return function(){return}}};var f=function(e,t){{return function(){return}}};var s="{visibility:hidden}[hydrated]{visibility:inherit}";var c={};var $=function(e){return e!=null};var v=function(e){e=typeof e;return e==="object"||e==="function"};function d(e){var t,n,r;return(r=(n=(t=e.head)===null||t===void 0?void 0:t.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&r!==void 0?r:undefined}var p=e("h",(function(e,t){var n=[];for(var r=2;r<arguments.length;r++){n[r-2]=arguments[r]}var a=null;var i=false;var o=false;var l=[];var u=function(t){for(var n=0;n<t.length;n++){a=t[n];if(Array.isArray(a)){u(a)}else if(a!=null&&typeof a!=="boolean"){if(i=typeof e!=="function"&&!v(a)){a=String(a)}if(i&&o){l[l.length-1].$text$+=a}else{l.push(i?h(null,a):a)}o=i}}};u(n);if(t){{var f=t.className||t.class;if(f){t.class=typeof f!=="object"?f:Object.keys(f).filter((function(e){return f[e]})).join(" ")}}}var s=h(e,null);s.$attrs$=t;if(l.length>0){s.$children$=l}return s}));var h=function(e,t){var n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{n.$attrs$=null}return n};var m=e("H",{});var g=function(e){return e&&e.$tag$===m};var y=function(e,t){if(e!=null&&!v(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&1){return String(e)}return e}return e};var b=e("g",(function(e){return ie(e).$hostElement$}));var w=function(e,t,n){var r=pe.ce(t,n);e.dispatchEvent(r);return r};var _=new WeakMap;var S=function(e,t,n){var r=$e.get(e);if(me&&n){r=r||new CSSStyleSheet;if(typeof r==="string"){r=t}else{r.replaceSync(t)}}else{r=t}$e.set(e,r)};var R=function(e,t,n){var r;var a=x(t);var i=$e.get(a);e=e.nodeType===11?e:de;if(i){if(typeof i==="string"){e=e.head||e;var o=_.get(e);var l=void 0;if(!o){_.set(e,o=new Set)}if(!o.has(a)){{l=de.createElement("style");l.innerHTML=i;var u=(r=pe.$nonce$)!==null&&r!==void 0?r:d(de);if(u!=null){l.setAttribute("nonce",u)}e.insertBefore(l,e.querySelector("link"))}if(o){o.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return a};var N=function(e){var t=e.$cmpMeta$;var n=e.$hostElement$;var r=t.$flags$;var a=u("attachStyles",t.$tagName$);var i=R(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);if(r&10){n["s-sc"]=i;n.classList.add(i+"-h")}a()};var x=function(e,t){return"sc-"+e.$tagName$};var A=function(e,t,n,r,a,i){if(n!==r){var o=ue(e,t);t.toLowerCase();if(t==="class"){var l=e.classList;var u=C(n);var f=C(r);l.remove.apply(l,u.filter((function(e){return e&&!f.includes(e)})));l.add.apply(l,f.filter((function(e){return e&&!u.includes(e)})))}else{var s=v(r);if((o||s&&r!==null)&&!a){try{if(!e.tagName.includes("-")){var c=r==null?"":r;if(t==="list"){o=false}else if(n==null||e[t]!=c){e[t]=c}}else{e[t]=r}}catch(e){}}if(r==null||r===false){if(r!==false||e.getAttribute(t)===""){{e.removeAttribute(t)}}}else if((!o||i&4||a)&&!s){r=r===true?"":r;{e.setAttribute(t,r)}}}}};var P=/\s/;var C=function(e){return!e?[]:e.split(P)};var E=function(e,t,n,r){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var i=e&&e.$attrs$||c;var o=t.$attrs$||c;{for(r in i){if(!(r in o)){A(a,r,i[r],undefined,n,t.$flags$)}}}for(r in o){A(a,r,i[r],o[r],n,t.$flags$)}};var j=function(e,t,n,r){var i=t.$children$[n];var l=0;var u;var f;if(i.$text$!==null){u=i.$elm$=de.createTextNode(i.$text$)}else{u=i.$elm$=de.createElement(i.$tag$);{E(null,i,o)}if($(a)&&u["s-si"]!==a){u.classList.add(u["s-si"]=a)}if(i.$children$){for(l=0;l<i.$children$.length;++l){f=j(e,i,l);if(f){u.appendChild(f)}}}}return u};var M=function(e,t,n,r,a,o){var l=e;var u;if(l.shadowRoot&&l.tagName===i){l=l.shadowRoot}for(;a<=o;++a){if(r[a]){u=j(null,n,a);if(u){r[a].$elm$=u;l.insertBefore(u,t)}}}};var k=function(e,t,n){for(var r=t;r<=n;++r){var a=e[r];if(a){var i=a.$elm$;if(i){i.remove()}}}};var O=function(e,t,n,r){var a=0;var i=0;var o=t.length-1;var l=t[0];var u=t[o];var f=r.length-1;var s=r[0];var c=r[f];var $;while(a<=o&&i<=f){if(l==null){l=t[++a]}else if(u==null){u=t[--o]}else if(s==null){s=r[++i]}else if(c==null){c=r[--f]}else if(T(l,s)){L(l,s);l=t[++a];s=r[++i]}else if(T(u,c)){L(u,c);u=t[--o];c=r[--f]}else if(T(l,c)){L(l,c);e.insertBefore(l.$elm$,u.$elm$.nextSibling);l=t[++a];c=r[--f]}else if(T(u,s)){L(u,s);e.insertBefore(u.$elm$,l.$elm$);u=t[--o];s=r[++i]}else{{$=j(t&&t[i],n,i);s=r[++i]}if($){{l.$elm$.parentNode.insertBefore($,l.$elm$)}}}}if(a>o){M(e,r[f+1]==null?null:r[f+1].$elm$,n,r,i,f)}else if(i>f){k(t,a,o)}};var T=function(e,t){if(e.$tag$===t.$tag$){return true}return false};var L=function(e,t){var n=t.$elm$=e.$elm$;var r=e.$children$;var a=t.$children$;var i=t.$tag$;var l=t.$text$;if(l===null){{if(i==="slot");else{E(e,t,o)}}if(r!==null&&a!==null){O(n,r,t,a)}else if(a!==null){if(e.$text$!==null){n.textContent=""}M(n,null,t,a,0,a.length-1)}else if(r!==null){k(r,0,r.length-1)}}else if(e.$text$!==l){n.data=l}};var I=function(e,t,n){if(n===void 0){n=false}var r=e.$hostElement$;var o=e.$cmpMeta$;var l=e.$vnode$||h(null,null);var u=g(t)?t:p(null,null,t);i=r.tagName;if(o.$attrsToReflect$){u.$attrs$=u.$attrs$||{};o.$attrsToReflect$.map((function(e){var t=e[0],n=e[1];return u.$attrs$[n]=r[t]}))}if(n&&u.$attrs$){for(var f=0,s=Object.keys(u.$attrs$);f<s.length;f++){var c=s[f];if(r.hasAttribute(c)&&!["key","ref","style","class"].includes(c)){u.$attrs$[c]=r[c]}}}u.$tag$=null;u.$flags$|=4;e.$vnode$=u;u.$elm$=l.$elm$=r.shadowRoot||r;{a=r["s-sc"]}L(l,u)};var B=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var z=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}B(e,e.$ancestorComponent$);var n=function(){return U(e,t)};return Re(n)};var U=function(e,t){var n=u("scheduleUpdate",e.$cmpMeta$.$tagName$);var r=e.$lazyInstance$;var a;n();return q(a,(function(){return V(e,r,t)}))};var q=function(e,t){return H(e)?e.then(t):t()};var H=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var V=function(e,t,r){return __awaiter(n,void 0,void 0,(function(){var n,a,i,o,l,f,s;return __generator(this,(function(c){a=e.$hostElement$;i=u("update",e.$cmpMeta$.$tagName$);o=a["s-rc"];if(r){N(e)}l=u("render",e.$cmpMeta$.$tagName$);{W(e,t,a,r)}if(o){o.map((function(e){return e()}));a["s-rc"]=undefined}l();i();{f=(n=a["s-p"])!==null&&n!==void 0?n:[];s=function(){return F(e)};if(f.length===0){s()}else{Promise.all(f).then(s);e.$flags$|=4;f.length=0}}return[2]}))}))};var W=function(e,t,n,r){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{I(e,t,r)}}}}catch(t){fe(t,e.$hostElement$)}return null};var F=function(e){var t=e.$cmpMeta$.$tagName$;var n=e.$hostElement$;var r=u("postUpdate",t);var a=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{D(n)}r();{e.$onReadyResolve$(n);if(!a){G()}}}else{r()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){Se((function(){return z(e,false)}))}e.$flags$&=~(4|512)}};var G=function(e){{D(de.documentElement)}Se((function(){return w(ve,"appload",{detail:{namespace:r}})}))};var D=function(e){return e.setAttribute("hydrated","")};var J=function(e,t){return ie(e).$instanceValues$.get(t)};var K=function(e,t,n,r){var a=ie(e);var i=a.$instanceValues$.get(t);var o=a.$flags$;var l=a.$lazyInstance$;n=y(n,r.$members$[t][0]);var u=Number.isNaN(i)&&Number.isNaN(n);var f=n!==i&&!u;if((!(o&8)||i===undefined)&&f){a.$instanceValues$.set(t,n);if(l){if((o&(2|16))===2){z(a,false)}}}};var Q=function(e,t,n){if(t.$members$){var r=Object.entries(t.$members$);var a=e.prototype;r.map((function(e){var r=e[0],i=e[1][0];if(i&31||n&2&&i&32){Object.defineProperty(a,r,{get:function(){return J(this,r)},set:function(e){K(this,r,e,t)},configurable:true,enumerable:true})}}));if(n&1){var i=new Map;a.attributeChangedCallback=function(e,t,n){var r=this;pe.jmp((function(){var t=i.get(e);if(r.hasOwnProperty(t)){n=r[t];delete r[t]}else if(a.hasOwnProperty(t)&&typeof r[t]==="number"&&r[t]==n){return}r[t]=n===null&&typeof r[t]==="boolean"?false:n}))};e.observedAttributes=r.filter((function(e){var t=e[0],n=e[1];return n[0]&15})).map((function(e){var n=e[0],r=e[1];var a=r[1]||n;i.set(a,n);if(r[0]&512){t.$attrsToReflect$.push([n,a])}return a}))}}return e};var X=function(e,t,r,a,i){return __awaiter(n,void 0,void 0,(function(){var e,n,a,o,l,s,c;return __generator(this,(function($){switch($.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;i=ce(r);if(!i.then)return[3,2];e=f();return[4,i];case 1:i=$.sent();e();$.label=2;case 2:if(!i.isProxied){Q(i,r,2);i.isProxied=true}n=u("createInstance",r.$tagName$);{t.$flags$|=8}try{new i(t)}catch(e){fe(e)}{t.$flags$&=~8}n();if(i.style){a=i.style;o=x(r);if(!$e.has(o)){l=u("registerStyles",r.$tagName$);S(o,a,!!(r.$flags$&1));l()}}$.label=3;case 3:s=t.$ancestorComponent$;c=function(){return z(t,true)};if(s&&s["s-rc"]){s["s-rc"].push(c)}else{c()}return[2]}}))}))};var Y=function(e){};var Z=function(e){if((pe.$flags$&1)===0){var t=ie(e);var n=t.$cmpMeta$;var r=u("connectedCallback",n.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){B(t,t.$ancestorComponent$=a);break}}}if(n.$members$){Object.entries(n.$members$).map((function(t){var n=t[0],r=t[1][0];if(r&31&&e.hasOwnProperty(n)){var a=e[n];delete e[n];e[n]=a}}))}{X(e,t,n)}}else{if(t===null||t===void 0?void 0:t.$lazyInstance$);else if(t===null||t===void 0?void 0:t.$onReadyPromise$){t.$onReadyPromise$.then((function(){return Y()}))}}r()}};var ee=function(e){};var te=function(e){return __awaiter(n,void 0,void 0,(function(){var t;return __generator(this,(function(n){if((pe.$flags$&1)===0){t=ie(e);if(t===null||t===void 0?void 0:t.$lazyInstance$);else if(t===null||t===void 0?void 0:t.$onReadyPromise$){t.$onReadyPromise$.then((function(){return ee()}))}}return[2]}))}))};var ne=e("b",(function(e,t){if(t===void 0){t={}}var n;var r=u();var a=[];var i=t.exclude||[];var o=ve.customElements;var l=de.head;var f=l.querySelector("meta[charset]");var c=de.createElement("style");var $=[];var v;var p=true;Object.assign(pe,t);pe.$resourcesUrl$=new URL(t.resourcesUrl||"./",de.baseURI).href;e.map((function(e){e[1].map((function(t){var n={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{n.$members$=t[2]}{n.$attrsToReflect$=[]}var r=n.$tagName$;var l=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;t=r;le(t,n);if(n.$flags$&1){{{t.attachShadow({mode:"open"})}}}return r}t.prototype.connectedCallback=function(){var e=this;if(v){clearTimeout(v);v=null}if(p){$.push(this)}else{pe.jmp((function(){return Z(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;pe.jmp((function(){return te(e)}))};t.prototype.componentOnReady=function(){return ie(this).$onReadyPromise$};return t}(HTMLElement);n.$lazyBundleId$=e[0];if(!i.includes(r)&&!o.get(r)){a.push(r);o.define(r,Q(l,n,1))}}))}));{c.innerHTML=a+s;c.setAttribute("data-styles","");var h=(n=pe.$nonce$)!==null&&n!==void 0?n:d(de);if(h!=null){c.setAttribute("nonce",h)}l.insertBefore(c,f?f.nextSibling:l.firstChild)}p=false;if($.length){$.map((function(e){return e.connectedCallback()}))}else{{pe.jmp((function(){return v=setTimeout(G,30)}))}}r()}));var re=e("s",(function(e){return pe.$nonce$=e}));var ae=new WeakMap;var ie=function(e){return ae.get(e)};var oe=e("r",(function(e,t){return ae.set(t.$lazyInstance$=e,t)}));var le=function(e,t){var n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{n.$onReadyPromise$=new Promise((function(e){return n.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}return ae.set(e,n)};var ue=function(e,t){return t in e};var fe=function(e,t){return(0,console.error)(e,t)};var se=new Map;var ce=function(e,n,r){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var o=se.get(i);if(o){return o[a]}
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return t.import("./".concat(i,".entry.js").concat("")).then((function(e){{se.set(i,e)}return e[a]}),fe)};var $e=new Map;var ve=typeof window!=="undefined"?window:{};var de=ve.document||{head:{}};var pe={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,n,r){return e.addEventListener(t,n,r)},rel:function(e,t,n,r){return e.removeEventListener(t,n,r)},ce:function(e,t){return new CustomEvent(e,t)}};var he=e("p",(function(e){return Promise.resolve(e)}));var me=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var ge=[];var ye=[];var be=function(e,t){return function(n){e.push(n);if(!l){l=true;if(t&&pe.$flags$&4){Se(_e)}else{pe.raf(_e)}}}};var we=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){fe(e)}}e.length=0};var _e=function(){we(ge);{we(ye);if(l=ge.length>0){pe.raf(_e)}}};var Se=function(e){return he().then(e)};var Re=be(ye,true)}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,h as t,H as i,g as r}from"./p-2e3a33e5.js";class e{constructor(){this.elements=[],this.handleClickBehaviorDispatchEvent=o=>{"Space"!==o.code&&"Enter"!==o.code&&"NumpadEnter"!==o.code||o.target.click()},this.handleEscapeBehaviorDispatchEvent=o=>{"Escape"===o.code&&this.escapeCallback&&this.escapeCallback()},this.addElement=(o,t="element")=>{this.elements[t]=o},this.attachClickBehavior=(o="element")=>{this.elements[o]&&this.elements[o].addEventListener("keydown",this.handleClickBehaviorDispatchEvent)},this.detachClickBehavior=(o="element")=>{this.elements[o]&&this.elements[o].removeEventListener("keydown",this.handleClickBehaviorDispatchEvent)},this.attachEscapeBehavior=o=>{this.escapeCallback=o,void 0!==typeof window&&window.addEventListener("keydown",this.handleEscapeBehaviorDispatchEvent.bind(this))},this.detachEscapeBehavior=()=>{this.escapeCallback=()=>{},void 0!==typeof window&&window.removeEventListener("keydown",this.handleEscapeBehaviorDispatchEvent.bind(this))}}}const a=class{constructor(t){o(this,t),this.km=new e,this.componentDidLoad=()=>{this.km.addElement(this.host),this.km.attachClickBehavior()},this.componentDidUpdate=()=>{this.disabled||this.selected?this.km.detachClickBehavior():this.km.attachClickBehavior()},this.disconnectedCallback=()=>{this.km.detachClickBehavior()},this.icon=void 0,this.selected=void 0,this.disabled=void 0}render(){return t(i,{tabindex:"0"},void 0!==this.icon?t("mds-icon",{name:this.icon}):t("mds-text",{class:"text",typography:"detail"},t("slot",null)))}get host(){return r(this)}};a.style="@tailwind components; .fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{--mds-paginator-item-background-disabled:rgb(var(--tone-neutral-09));--mds-paginator-item-background-hover:rgb(var(--tone-neutral-08));--mds-paginator-item-background-selected:rgb(var(--brand-maggioli-03));--mds-paginator-item-background:transparent;--mds-paginator-item-color-disabled:rgb(var(--tone-neutral-06));--mds-paginator-item-color-hover:rgb(var(--tone-neutral-02));--mds-paginator-item-color-selected:rgb(var(--tone-neutral));--mds-paginator-item-color:rgb(var(--tone-neutral-02));--mds-paginator-item-radius:200px;--mds-paginator-item-shadow-disabled:none;--mds-paginator-item-shadow-hover:none;--mds-paginator-item-shadow-selected:0 0 1px 1px rgba(0, 0, 0, 0.06), 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);--mds-paginator-item-shadow:none;--mds-paginator-item-size:2.25rem;outline-offset:var(--magma-outline-blur-offset);outline:var(--magma-outline-blur);-webkit-transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform, -webkit-box-shadow, -webkit-transform;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;padding-left:0.75rem;padding-right:0.75rem;-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);background-color:var(--mds-paginator-item-background);border-radius:var(--mds-paginator-item-radius);-webkit-box-shadow:var(--mds-paginator-item-shadow);box-shadow:var(--mds-paginator-item-shadow);color:var(--mds-paginator-item-color);height:var(--mds-paginator-item-size);min-width:var(--mds-paginator-item-size);-webkit-transition-property:background-color, color, outline, outline-offset, -webkit-box-shadow;transition-property:background-color, color, outline, outline-offset, -webkit-box-shadow;transition-property:background-color, box-shadow, color, outline, outline-offset;transition-property:background-color, box-shadow, color, outline, outline-offset, -webkit-box-shadow}:host(:focus-visible){--magma-outline-blur-offset:var(--magma-outline-focus-offset);--magma-outline-blur:var(--magma-outline-focus)}:host(:hover){background-color:var(--mds-paginator-item-background-hover);-webkit-box-shadow:var(--mds-paginator-item-shadow-hover);box-shadow:var(--mds-paginator-item-shadow-hover);color:var(--mds-paginator-item-color-hover);fill:var(--mds-paginator-item-color-hover)}:host([icon]){padding:0px}:host([selected]){pointer-events:none;background-color:var(--mds-paginator-item-background-selected);-webkit-box-shadow:var(--mds-paginator-item-shadow-selected);box-shadow:var(--mds-paginator-item-shadow-selected);color:var(--mds-paginator-item-color-selected);fill:var(--mds-paginator-item-color-selected)}:host([disabled]){pointer-events:none;background-color:var(--mds-paginator-item-background-disabled);-webkit-box-shadow:var(--mds-paginator-item-shadow-disabled);box-shadow:var(--mds-paginator-item-shadow-disabled);color:var(--mds-paginator-item-color-disabled);fill:var(--mds-paginator-item-color-disabled)}.icon{padding-left:0px;padding-right:0px}";export{a as mds_paginator_item}
|
package/dist/stats.json
CHANGED
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2023-
|
|
2
|
+
"timestamp": "2023-09-18T09:19:06",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "node",
|
|
5
|
-
"version": "18.
|
|
5
|
+
"version": "18.12.1"
|
|
6
6
|
},
|
|
7
7
|
"app": {
|
|
8
8
|
"namespace": "MdsPaginatorItem",
|
|
9
9
|
"fsNamespace": "mds-paginator-item",
|
|
10
10
|
"components": 1,
|
|
11
11
|
"entries": 1,
|
|
12
|
-
"bundles":
|
|
12
|
+
"bundles": 65,
|
|
13
13
|
"outputs": [
|
|
14
14
|
{
|
|
15
15
|
"name": "dist-collection",
|
|
16
|
-
"files":
|
|
16
|
+
"files": 24,
|
|
17
17
|
"generatedFiles": [
|
|
18
18
|
"./dist/collection/common/aria.js",
|
|
19
19
|
"./dist/collection/common/keyboard-manager.js",
|
|
20
|
+
"./dist/collection/common/unit.js",
|
|
20
21
|
"./dist/collection/components/mds-paginator-item/mds-paginator-item.js",
|
|
21
22
|
"./dist/collection/dictionary/autocomplete.js",
|
|
22
23
|
"./dist/collection/dictionary/button.js",
|
|
@@ -29,15 +30,15 @@
|
|
|
29
30
|
"./dist/collection/dictionary/variant.js",
|
|
30
31
|
"./dist/collection/fixtures/cities.js",
|
|
31
32
|
"./dist/collection/interface/input-value.js",
|
|
32
|
-
"./dist/collection/
|
|
33
|
-
"./dist/collection/
|
|
34
|
-
"./dist/collection/
|
|
35
|
-
"./dist/collection/
|
|
36
|
-
"./dist/collection/
|
|
37
|
-
"./dist/collection/
|
|
38
|
-
"./dist/collection/
|
|
39
|
-
"./dist/collection/
|
|
40
|
-
"./dist/collection/
|
|
33
|
+
"./dist/collection/type/autocomplete.js",
|
|
34
|
+
"./dist/collection/type/button.js",
|
|
35
|
+
"./dist/collection/type/floating-ui.js",
|
|
36
|
+
"./dist/collection/type/form-rel.js",
|
|
37
|
+
"./dist/collection/type/input-text-type.js",
|
|
38
|
+
"./dist/collection/type/input-value-type.js",
|
|
39
|
+
"./dist/collection/type/loading.js",
|
|
40
|
+
"./dist/collection/type/typography.js",
|
|
41
|
+
"./dist/collection/type/variant.js"
|
|
41
42
|
]
|
|
42
43
|
},
|
|
43
44
|
{
|
|
@@ -54,17 +55,17 @@
|
|
|
54
55
|
"name": "dist-lazy",
|
|
55
56
|
"files": 35,
|
|
56
57
|
"generatedFiles": [
|
|
57
|
-
"./dist/cjs/index-
|
|
58
|
+
"./dist/cjs/index-30ee4c25.js",
|
|
58
59
|
"./dist/cjs/index.cjs.js",
|
|
59
60
|
"./dist/cjs/loader.cjs.js",
|
|
60
61
|
"./dist/cjs/mds-paginator-item.cjs.entry.js",
|
|
61
62
|
"./dist/cjs/mds-paginator-item.cjs.js",
|
|
62
|
-
"./dist/esm-es5/index-
|
|
63
|
+
"./dist/esm-es5/index-3fa51808.js",
|
|
63
64
|
"./dist/esm-es5/index.js",
|
|
64
65
|
"./dist/esm-es5/loader.js",
|
|
65
66
|
"./dist/esm-es5/mds-paginator-item.entry.js",
|
|
66
67
|
"./dist/esm-es5/mds-paginator-item.js",
|
|
67
|
-
"./dist/esm/index-
|
|
68
|
+
"./dist/esm/index-3fa51808.js",
|
|
68
69
|
"./dist/esm/index.js",
|
|
69
70
|
"./dist/esm/loader.js",
|
|
70
71
|
"./dist/esm/mds-paginator-item.entry.js",
|
|
@@ -74,21 +75,21 @@
|
|
|
74
75
|
"./dist/mds-paginator-item/index.esm.js",
|
|
75
76
|
"./dist/mds-paginator-item/mds-paginator-item.esm.js",
|
|
76
77
|
"./dist/mds-paginator-item/mds-paginator-item.js",
|
|
77
|
-
"./dist/mds-paginator-item/p-
|
|
78
|
+
"./dist/mds-paginator-item/p-2e3a33e5.js",
|
|
79
|
+
"./dist/mds-paginator-item/p-2f534d96.system.entry.js",
|
|
78
80
|
"./dist/mds-paginator-item/p-50ea2036.system.js",
|
|
79
|
-
"./dist/mds-paginator-item/p-
|
|
80
|
-
"./dist/mds-paginator-item/p-
|
|
81
|
-
"./dist/mds-paginator-item/p-
|
|
82
|
-
"./dist/mds-paginator-item/p-cd35cb31.js",
|
|
81
|
+
"./dist/mds-paginator-item/p-61d399b8.system.js",
|
|
82
|
+
"./dist/mds-paginator-item/p-8e675782.system.js",
|
|
83
|
+
"./dist/mds-paginator-item/p-e78a049a.entry.js",
|
|
83
84
|
"./www/build/index.esm.js",
|
|
84
85
|
"./www/build/mds-paginator-item.esm.js",
|
|
85
86
|
"./www/build/mds-paginator-item.js",
|
|
86
|
-
"./www/build/p-
|
|
87
|
+
"./www/build/p-2e3a33e5.js",
|
|
88
|
+
"./www/build/p-2f534d96.system.entry.js",
|
|
87
89
|
"./www/build/p-50ea2036.system.js",
|
|
88
|
-
"./www/build/p-
|
|
89
|
-
"./www/build/p-
|
|
90
|
-
"./www/build/p-
|
|
91
|
-
"./www/build/p-cd35cb31.js"
|
|
90
|
+
"./www/build/p-61d399b8.system.js",
|
|
91
|
+
"./www/build/p-8e675782.system.js",
|
|
92
|
+
"./www/build/p-e78a049a.entry.js"
|
|
92
93
|
]
|
|
93
94
|
},
|
|
94
95
|
{
|
|
@@ -121,12 +122,12 @@
|
|
|
121
122
|
"components": [
|
|
122
123
|
"mds-paginator-item"
|
|
123
124
|
],
|
|
124
|
-
"bundleId": "p-
|
|
125
|
-
"fileName": "p-
|
|
125
|
+
"bundleId": "p-e78a049a",
|
|
126
|
+
"fileName": "p-e78a049a.entry.js",
|
|
126
127
|
"imports": [
|
|
127
|
-
"p-
|
|
128
|
+
"p-2e3a33e5.js"
|
|
128
129
|
],
|
|
129
|
-
"originalByteSize":
|
|
130
|
+
"originalByteSize": 6707
|
|
130
131
|
}
|
|
131
132
|
],
|
|
132
133
|
"esm": [
|
|
@@ -138,9 +139,9 @@
|
|
|
138
139
|
"bundleId": "mds-paginator-item",
|
|
139
140
|
"fileName": "mds-paginator-item.entry.js",
|
|
140
141
|
"imports": [
|
|
141
|
-
"index-
|
|
142
|
+
"index-3fa51808.js"
|
|
142
143
|
],
|
|
143
|
-
"originalByteSize":
|
|
144
|
+
"originalByteSize": 6711
|
|
144
145
|
}
|
|
145
146
|
],
|
|
146
147
|
"es5": [
|
|
@@ -152,9 +153,9 @@
|
|
|
152
153
|
"bundleId": "mds-paginator-item",
|
|
153
154
|
"fileName": "mds-paginator-item.entry.js",
|
|
154
155
|
"imports": [
|
|
155
|
-
"index-
|
|
156
|
+
"index-3fa51808.js"
|
|
156
157
|
],
|
|
157
|
-
"originalByteSize":
|
|
158
|
+
"originalByteSize": 6711
|
|
158
159
|
}
|
|
159
160
|
],
|
|
160
161
|
"system": [
|
|
@@ -163,12 +164,12 @@
|
|
|
163
164
|
"components": [
|
|
164
165
|
"mds-paginator-item"
|
|
165
166
|
],
|
|
166
|
-
"bundleId": "p-
|
|
167
|
-
"fileName": "p-
|
|
167
|
+
"bundleId": "p-2f534d96.system",
|
|
168
|
+
"fileName": "p-2f534d96.system.entry.js",
|
|
168
169
|
"imports": [
|
|
169
|
-
"p-
|
|
170
|
+
"p-8e675782.system.js"
|
|
170
171
|
],
|
|
171
|
-
"originalByteSize":
|
|
172
|
+
"originalByteSize": 7353
|
|
172
173
|
}
|
|
173
174
|
],
|
|
174
175
|
"commonjs": [
|
|
@@ -180,9 +181,9 @@
|
|
|
180
181
|
"bundleId": "mds-paginator-item.cjs",
|
|
181
182
|
"fileName": "mds-paginator-item.cjs.entry.js",
|
|
182
183
|
"imports": [
|
|
183
|
-
"index-
|
|
184
|
+
"index-30ee4c25.js"
|
|
184
185
|
],
|
|
185
|
-
"originalByteSize":
|
|
186
|
+
"originalByteSize": 6782
|
|
186
187
|
}
|
|
187
188
|
]
|
|
188
189
|
},
|
|
@@ -199,15 +200,18 @@
|
|
|
199
200
|
"directDependencies": [],
|
|
200
201
|
"directDependents": [],
|
|
201
202
|
"docs": {
|
|
202
|
-
"tags": [
|
|
203
|
+
"tags": [
|
|
204
|
+
{
|
|
205
|
+
"name": "slot",
|
|
206
|
+
"text": "default - Add `text string` to this slot, **avoid** to add `HTML elements` or `components` here."
|
|
207
|
+
}
|
|
208
|
+
],
|
|
203
209
|
"text": ""
|
|
204
210
|
},
|
|
205
211
|
"encapsulation": "shadow",
|
|
206
212
|
"excludeFromCollection": false,
|
|
207
213
|
"events": [],
|
|
208
214
|
"internal": false,
|
|
209
|
-
"legacyConnect": [],
|
|
210
|
-
"legacyContext": [],
|
|
211
215
|
"listeners": [],
|
|
212
216
|
"methods": [],
|
|
213
217
|
"potentialCmpRefs": [
|
|
@@ -225,7 +229,7 @@
|
|
|
225
229
|
"optional": true,
|
|
226
230
|
"complexType": {
|
|
227
231
|
"original": "string",
|
|
228
|
-
"resolved": "string",
|
|
232
|
+
"resolved": "string | undefined",
|
|
229
233
|
"references": {}
|
|
230
234
|
},
|
|
231
235
|
"docs": {
|
|
@@ -235,21 +239,21 @@
|
|
|
235
239
|
"internal": false
|
|
236
240
|
},
|
|
237
241
|
{
|
|
238
|
-
"name": "
|
|
242
|
+
"name": "selected",
|
|
239
243
|
"type": "boolean",
|
|
240
|
-
"attribute": "
|
|
244
|
+
"attribute": "selected",
|
|
241
245
|
"reflect": true,
|
|
242
246
|
"mutable": false,
|
|
243
247
|
"required": false,
|
|
244
248
|
"optional": true,
|
|
245
249
|
"complexType": {
|
|
246
250
|
"original": "boolean",
|
|
247
|
-
"resolved": "boolean",
|
|
251
|
+
"resolved": "boolean | undefined",
|
|
248
252
|
"references": {}
|
|
249
253
|
},
|
|
250
254
|
"docs": {
|
|
251
255
|
"tags": [],
|
|
252
|
-
"text": "Specifies if the item is
|
|
256
|
+
"text": "Specifies if the item is selected or not, is handled from the parent paginator"
|
|
253
257
|
},
|
|
254
258
|
"internal": false
|
|
255
259
|
},
|
|
@@ -263,7 +267,7 @@
|
|
|
263
267
|
"optional": true,
|
|
264
268
|
"complexType": {
|
|
265
269
|
"original": "boolean",
|
|
266
|
-
"resolved": "boolean",
|
|
270
|
+
"resolved": "boolean | undefined",
|
|
267
271
|
"references": {}
|
|
268
272
|
},
|
|
269
273
|
"docs": {
|
|
@@ -299,7 +303,7 @@
|
|
|
299
303
|
"optional": true,
|
|
300
304
|
"complexType": {
|
|
301
305
|
"original": "string",
|
|
302
|
-
"resolved": "string",
|
|
306
|
+
"resolved": "string | undefined",
|
|
303
307
|
"references": {}
|
|
304
308
|
},
|
|
305
309
|
"docs": {
|
|
@@ -309,21 +313,21 @@
|
|
|
309
313
|
"internal": false
|
|
310
314
|
},
|
|
311
315
|
{
|
|
312
|
-
"name": "
|
|
316
|
+
"name": "selected",
|
|
313
317
|
"type": "boolean",
|
|
314
|
-
"attribute": "
|
|
318
|
+
"attribute": "selected",
|
|
315
319
|
"reflect": true,
|
|
316
320
|
"mutable": false,
|
|
317
321
|
"required": false,
|
|
318
322
|
"optional": true,
|
|
319
323
|
"complexType": {
|
|
320
324
|
"original": "boolean",
|
|
321
|
-
"resolved": "boolean",
|
|
325
|
+
"resolved": "boolean | undefined",
|
|
322
326
|
"references": {}
|
|
323
327
|
},
|
|
324
328
|
"docs": {
|
|
325
329
|
"tags": [],
|
|
326
|
-
"text": "Specifies if the item is
|
|
330
|
+
"text": "Specifies if the item is selected or not, is handled from the parent paginator"
|
|
327
331
|
},
|
|
328
332
|
"internal": false
|
|
329
333
|
},
|
|
@@ -337,7 +341,7 @@
|
|
|
337
341
|
"optional": true,
|
|
338
342
|
"complexType": {
|
|
339
343
|
"original": "boolean",
|
|
340
|
-
"resolved": "boolean",
|
|
344
|
+
"resolved": "boolean | undefined",
|
|
341
345
|
"references": {}
|
|
342
346
|
},
|
|
343
347
|
"docs": {
|
|
@@ -368,8 +372,6 @@
|
|
|
368
372
|
]
|
|
369
373
|
}
|
|
370
374
|
],
|
|
371
|
-
"legacyConnect": [],
|
|
372
|
-
"legacyContext": [],
|
|
373
375
|
"internal": false,
|
|
374
376
|
"assetsDirs": [],
|
|
375
377
|
"styleDocs": [
|
|
@@ -445,7 +447,12 @@
|
|
|
445
447
|
}
|
|
446
448
|
],
|
|
447
449
|
"docs": {
|
|
448
|
-
"tags": [
|
|
450
|
+
"tags": [
|
|
451
|
+
{
|
|
452
|
+
"name": "slot",
|
|
453
|
+
"text": "default - Add `text string` to this slot, **avoid** to add `HTML elements` or `components` here."
|
|
454
|
+
}
|
|
455
|
+
],
|
|
449
456
|
"text": ""
|
|
450
457
|
},
|
|
451
458
|
"jsFilePath": "/builds/maggiolispa/ricerca-sviluppo-new-media/magma/design-system/projects/stencil/.build/mds-paginator-item/src/components/mds-paginator-item/mds-paginator-item.js",
|
|
@@ -525,12 +532,13 @@
|
|
|
525
532
|
],
|
|
526
533
|
"componentGraph": {
|
|
527
534
|
"sc-mds-paginator-item": [
|
|
528
|
-
"p-
|
|
535
|
+
"p-2e3a33e5.js"
|
|
529
536
|
]
|
|
530
537
|
},
|
|
531
538
|
"sourceGraph": {
|
|
532
539
|
"./src/common/aria.ts": [],
|
|
533
540
|
"./src/common/keyboard-manager.ts": [],
|
|
541
|
+
"./src/common/unit.ts": [],
|
|
534
542
|
"./src/components/mds-paginator-item/mds-paginator-item.tsx": [],
|
|
535
543
|
"./src/dictionary/autocomplete.ts": [],
|
|
536
544
|
"./src/dictionary/button.ts": [],
|
|
@@ -546,15 +554,15 @@
|
|
|
546
554
|
"./src/dictionary/variant.ts": [],
|
|
547
555
|
"./src/fixtures/cities.ts": [],
|
|
548
556
|
"./src/interface/input-value.ts": [],
|
|
549
|
-
"./src/
|
|
550
|
-
"./src/
|
|
551
|
-
"./src/
|
|
552
|
-
"./src/
|
|
553
|
-
"./src/
|
|
554
|
-
"./src/
|
|
555
|
-
"./src/
|
|
556
|
-
"./src/
|
|
557
|
-
"./src/
|
|
557
|
+
"./src/type/autocomplete.ts": [],
|
|
558
|
+
"./src/type/button.ts": [],
|
|
559
|
+
"./src/type/floating-ui.ts": [],
|
|
560
|
+
"./src/type/form-rel.ts": [],
|
|
561
|
+
"./src/type/input-text-type.ts": [],
|
|
562
|
+
"./src/type/input-value-type.ts": [],
|
|
563
|
+
"./src/type/loading.ts": [],
|
|
564
|
+
"./src/type/typography.ts": [],
|
|
565
|
+
"./src/type/variant.ts": []
|
|
558
566
|
},
|
|
559
567
|
"collections": []
|
|
560
568
|
}
|
|
@@ -7,10 +7,6 @@
|
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
export namespace Components {
|
|
9
9
|
interface MdsPaginatorItem {
|
|
10
|
-
/**
|
|
11
|
-
* Specifies if the item is active or not, is handled from the parent paginator
|
|
12
|
-
*/
|
|
13
|
-
"active"?: boolean;
|
|
14
10
|
/**
|
|
15
11
|
* Specifies if the item is disabled or not, is handled from the parent paginator
|
|
16
12
|
*/
|
|
@@ -19,6 +15,10 @@ export namespace Components {
|
|
|
19
15
|
* Specifies the icon used inside the paginator item
|
|
20
16
|
*/
|
|
21
17
|
"icon"?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Specifies if the item is selected or not, is handled from the parent paginator
|
|
20
|
+
*/
|
|
21
|
+
"selected"?: boolean;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
declare global {
|
|
@@ -34,10 +34,6 @@ declare global {
|
|
|
34
34
|
}
|
|
35
35
|
declare namespace LocalJSX {
|
|
36
36
|
interface MdsPaginatorItem {
|
|
37
|
-
/**
|
|
38
|
-
* Specifies if the item is active or not, is handled from the parent paginator
|
|
39
|
-
*/
|
|
40
|
-
"active"?: boolean;
|
|
41
37
|
/**
|
|
42
38
|
* Specifies if the item is disabled or not, is handled from the parent paginator
|
|
43
39
|
*/
|
|
@@ -46,6 +42,10 @@ declare namespace LocalJSX {
|
|
|
46
42
|
* Specifies the icon used inside the paginator item
|
|
47
43
|
*/
|
|
48
44
|
"icon"?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Specifies if the item is selected or not, is handled from the parent paginator
|
|
47
|
+
*/
|
|
48
|
+
"selected"?: boolean;
|
|
49
49
|
}
|
|
50
50
|
interface IntrinsicElements {
|
|
51
51
|
"mds-paginator-item": MdsPaginatorItem;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
declare const buttonVariantDictionary: string[];
|
|
2
2
|
declare const buttonToneVariantDictionary: string[];
|
|
3
|
+
declare const buttonTargetDictionary: string[];
|
|
3
4
|
declare const buttonSizeDictionary: string[];
|
|
4
5
|
declare const buttonIconPositionDictionary: string[];
|
|
5
|
-
export { buttonSizeDictionary, buttonToneVariantDictionary, buttonVariantDictionary,
|
|
6
|
+
export { buttonIconPositionDictionary, buttonSizeDictionary, buttonTargetDictionary, buttonToneVariantDictionary, buttonVariantDictionary, };
|
|
@@ -4,6 +4,7 @@ declare const themeStatusVariantDictionary: string[];
|
|
|
4
4
|
declare const themeFullVariantDictionary: string[];
|
|
5
5
|
declare const themeLabelVariantDictionary: string[];
|
|
6
6
|
declare const toneVariantDictionary: string[];
|
|
7
|
+
declare const toneActionVariantDictionary: string[];
|
|
7
8
|
declare const toneSimpleVariantDictionary: string[];
|
|
8
9
|
declare const toneMinimalVariantDictionary: string[];
|
|
9
|
-
export { themeFullVariantDictionary, themeLabelVariantDictionary, themeLuminanceVariantDictionary, themeStatusVariantDictionary, themeVariantDictionary, toneMinimalVariantDictionary, toneSimpleVariantDictionary, toneVariantDictionary, };
|
|
10
|
+
export { themeFullVariantDictionary, themeLabelVariantDictionary, themeLuminanceVariantDictionary, themeStatusVariantDictionary, themeVariantDictionary, toneActionVariantDictionary, toneMinimalVariantDictionary, toneSimpleVariantDictionary, toneVariantDictionary, };
|
|
@@ -62,7 +62,7 @@ export interface PropOptions {
|
|
|
62
62
|
/**
|
|
63
63
|
* The name of the associated DOM attribute.
|
|
64
64
|
* Stencil uses different heuristics to determine the default name of the attribute,
|
|
65
|
-
* but using this property, you can override the default
|
|
65
|
+
* but using this property, you can override the default behavior.
|
|
66
66
|
*/
|
|
67
67
|
attribute?: string | null;
|
|
68
68
|
/**
|
|
@@ -128,7 +128,7 @@ export interface ListenOptions {
|
|
|
128
128
|
* By default, Stencil uses several heuristics to determine if
|
|
129
129
|
* it must attach a `passive` event listener or not.
|
|
130
130
|
*
|
|
131
|
-
* Using the `passive` option can be used to change the default
|
|
131
|
+
* Using the `passive` option can be used to change the default behavior.
|
|
132
132
|
* Please see https://developers.google.com/web/updates/2016/06/passive-event-listeners for further information.
|
|
133
133
|
*/
|
|
134
134
|
passive?: boolean;
|
|
@@ -432,7 +432,7 @@ export interface QueueApi {
|
|
|
432
432
|
/**
|
|
433
433
|
* Host
|
|
434
434
|
*/
|
|
435
|
-
interface HostAttributes {
|
|
435
|
+
export interface HostAttributes {
|
|
436
436
|
class?: string | {
|
|
437
437
|
[className: string]: boolean;
|
|
438
438
|
};
|
|
@@ -471,7 +471,7 @@ export interface FunctionalUtilities {
|
|
|
471
471
|
/**
|
|
472
472
|
* Utility for reading the children of a functional component at runtime.
|
|
473
473
|
* Since the Stencil runtime uses a different interface for children it is
|
|
474
|
-
* not
|
|
474
|
+
* not recommended to read the children directly, and is preferable to use
|
|
475
475
|
* this utility to, for instance, perform a side effect for each child.
|
|
476
476
|
*/
|
|
477
477
|
forEach: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => void) => void;
|
|
@@ -812,6 +812,7 @@ export declare namespace JSXBase {
|
|
|
812
812
|
datetime?: string;
|
|
813
813
|
}
|
|
814
814
|
interface DialogHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
815
|
+
onCancel?: (event: Event) => void;
|
|
815
816
|
onClose?: (event: Event) => void;
|
|
816
817
|
open?: boolean;
|
|
817
818
|
returnValue?: string;
|
|
@@ -871,6 +872,8 @@ export declare namespace JSXBase {
|
|
|
871
872
|
}
|
|
872
873
|
interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
873
874
|
alt?: string;
|
|
875
|
+
crossOrigin?: string;
|
|
876
|
+
crossorigin?: string;
|
|
874
877
|
decoding?: 'async' | 'auto' | 'sync';
|
|
875
878
|
importance?: 'low' | 'auto' | 'high';
|
|
876
879
|
height?: number | string;
|
|
@@ -892,8 +895,8 @@ export declare namespace JSXBase {
|
|
|
892
895
|
accept?: string;
|
|
893
896
|
allowdirs?: boolean;
|
|
894
897
|
alt?: string;
|
|
895
|
-
autoCapitalize?:
|
|
896
|
-
autocapitalize?:
|
|
898
|
+
autoCapitalize?: string;
|
|
899
|
+
autocapitalize?: string;
|
|
897
900
|
autoComplete?: string;
|
|
898
901
|
autocomplete?: string;
|
|
899
902
|
autoFocus?: boolean;
|
|
@@ -929,6 +932,8 @@ export declare namespace JSXBase {
|
|
|
929
932
|
minlength?: number | string;
|
|
930
933
|
multiple?: boolean;
|
|
931
934
|
name?: string;
|
|
935
|
+
onSelect?: (event: Event) => void;
|
|
936
|
+
onselect?: (event: Event) => void;
|
|
932
937
|
pattern?: string;
|
|
933
938
|
placeholder?: string;
|
|
934
939
|
readOnly?: boolean;
|
|
@@ -1130,6 +1135,8 @@ export declare namespace JSXBase {
|
|
|
1130
1135
|
summary?: string;
|
|
1131
1136
|
}
|
|
1132
1137
|
interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1138
|
+
autoComplete?: string;
|
|
1139
|
+
autocomplete?: string;
|
|
1133
1140
|
autoFocus?: boolean;
|
|
1134
1141
|
autofocus?: boolean | string;
|
|
1135
1142
|
cols?: number;
|
|
@@ -1140,6 +1147,8 @@ export declare namespace JSXBase {
|
|
|
1140
1147
|
minLength?: number;
|
|
1141
1148
|
minlength?: number | string;
|
|
1142
1149
|
name?: string;
|
|
1150
|
+
onSelect?: (event: Event) => void;
|
|
1151
|
+
onselect?: (event: Event) => void;
|
|
1143
1152
|
placeholder?: string;
|
|
1144
1153
|
readOnly?: boolean;
|
|
1145
1154
|
readonly?: boolean | string;
|
|
@@ -1217,8 +1226,8 @@ export declare namespace JSXBase {
|
|
|
1217
1226
|
resource?: string;
|
|
1218
1227
|
typeof?: string;
|
|
1219
1228
|
vocab?: string;
|
|
1220
|
-
autoCapitalize?:
|
|
1221
|
-
autocapitalize?:
|
|
1229
|
+
autoCapitalize?: string;
|
|
1230
|
+
autocapitalize?: string;
|
|
1222
1231
|
autoCorrect?: string;
|
|
1223
1232
|
autocorrect?: string;
|
|
1224
1233
|
autoSave?: string;
|
|
@@ -1286,7 +1295,7 @@ export declare namespace JSXBase {
|
|
|
1286
1295
|
clipPathUnits?: number | string;
|
|
1287
1296
|
'clip-rule'?: number | string;
|
|
1288
1297
|
'color-interpolation'?: number | string;
|
|
1289
|
-
'color-interpolation-filters'?: 'auto' | '
|
|
1298
|
+
'color-interpolation-filters'?: 'auto' | 'sRGB' | 'linearRGB';
|
|
1290
1299
|
'color-profile'?: number | string;
|
|
1291
1300
|
'color-rendering'?: number | string;
|
|
1292
1301
|
contentScriptType?: number | string;
|
|
@@ -1509,12 +1518,12 @@ export declare namespace JSXBase {
|
|
|
1509
1518
|
onCutCapture?: (event: ClipboardEvent) => void;
|
|
1510
1519
|
onPaste?: (event: ClipboardEvent) => void;
|
|
1511
1520
|
onPasteCapture?: (event: ClipboardEvent) => void;
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1521
|
+
onCompositionend?: (event: CompositionEvent) => void;
|
|
1522
|
+
onCompositionendCapture?: (event: CompositionEvent) => void;
|
|
1523
|
+
onCompositionstart?: (event: CompositionEvent) => void;
|
|
1524
|
+
onCompositionstartCapture?: (event: CompositionEvent) => void;
|
|
1525
|
+
onCompositionupdate?: (event: CompositionEvent) => void;
|
|
1526
|
+
onCompositionupdateCapture?: (event: CompositionEvent) => void;
|
|
1518
1527
|
onFocus?: (event: FocusEvent) => void;
|
|
1519
1528
|
onFocusCapture?: (event: FocusEvent) => void;
|
|
1520
1529
|
onFocusin?: (event: FocusEvent) => void;
|
|
@@ -1525,8 +1534,8 @@ export declare namespace JSXBase {
|
|
|
1525
1534
|
onBlurCapture?: (event: FocusEvent) => void;
|
|
1526
1535
|
onChange?: (event: Event) => void;
|
|
1527
1536
|
onChangeCapture?: (event: Event) => void;
|
|
1528
|
-
onInput?: (event:
|
|
1529
|
-
onInputCapture?: (event:
|
|
1537
|
+
onInput?: (event: InputEvent) => void;
|
|
1538
|
+
onInputCapture?: (event: InputEvent) => void;
|
|
1530
1539
|
onReset?: (event: Event) => void;
|
|
1531
1540
|
onResetCapture?: (event: Event) => void;
|
|
1532
1541
|
onSubmit?: (event: Event) => void;
|
|
@@ -1616,8 +1625,14 @@ export declare namespace JSXBase {
|
|
|
1616
1625
|
onAnimationEndCapture?: (event: AnimationEvent) => void;
|
|
1617
1626
|
onAnimationIteration?: (event: AnimationEvent) => void;
|
|
1618
1627
|
onAnimationIterationCapture?: (event: AnimationEvent) => void;
|
|
1628
|
+
onTransitionCancel?: (event: TransitionEvent) => void;
|
|
1629
|
+
onTransitionCancelCapture?: (event: TransitionEvent) => void;
|
|
1619
1630
|
onTransitionEnd?: (event: TransitionEvent) => void;
|
|
1620
1631
|
onTransitionEndCapture?: (event: TransitionEvent) => void;
|
|
1632
|
+
onTransitionRun?: (event: TransitionEvent) => void;
|
|
1633
|
+
onTransitionRunCapture?: (event: TransitionEvent) => void;
|
|
1634
|
+
onTransitionStart?: (event: TransitionEvent) => void;
|
|
1635
|
+
onTransitionStartCapture?: (event: TransitionEvent) => void;
|
|
1621
1636
|
}
|
|
1622
1637
|
}
|
|
1623
1638
|
export interface JSXAttributes<T = Element> {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export type ButtonType = 'a' | 'button' | 'reset' | 'submit';
|
|
2
|
+
export type ButtonTargetType = 'self' | 'blank';
|
|
2
3
|
export type ButtonSizeType = 'sm' | 'md' | 'lg' | 'xl';
|
|
3
4
|
export type ButtonIconPositionType = 'left' | 'right';
|
|
4
5
|
export type ButtonVariantType = 'primary' | 'dark' | 'light' | 'error' | 'info' | 'success' | 'warning';
|
|
@@ -5,6 +5,7 @@ export type ThemeLuminanceVariantType = 'dark' | 'light';
|
|
|
5
5
|
export type LabelVariantType = 'amaranth' | 'aqua' | 'blue' | 'green' | 'lime' | 'orange' | 'orchid' | 'sky' | 'violet' | 'yellow';
|
|
6
6
|
export type ActionVariantType = 'primary' | 'dark' | 'light';
|
|
7
7
|
export type StateVariantType = 'disabled' | 'focused' | 'readonly';
|
|
8
|
+
export type ToneActionVariantType = 'primary' | 'secondary' | 'tertiary' | 'strong' | 'weak' | 'ghost' | 'quiet';
|
|
8
9
|
export type ToneVariantType = 'strong' | 'weak' | 'ghost' | 'quiet';
|
|
9
10
|
export type ToneSimpleVariantType = 'strong' | 'weak' | 'quiet';
|
|
10
11
|
export type ToneMinimalVariantType = 'strong' | 'weak';
|