@getvitops/generator 8.0.1 → 8.2.0-alpha.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/CHANGELOG.md +382 -17
- package/assets/css/layout-utilities.css +13 -0
- package/assets/css/layout.css +31 -0
- package/assets/css/patterns/banner.css +7 -0
- package/assets/css/patterns/cluster.css +19 -0
- package/assets/css/patterns/comment.css +18 -0
- package/assets/css/patterns/gallery.css +16 -0
- package/assets/css/patterns/list.css +17 -0
- package/assets/css/patterns/marquee.css +6 -0
- package/assets/css/patterns/masonry.css +18 -0
- package/assets/js/consent.js +1 -1
- package/assets/js/deferred.js +1 -1
- package/assets/js/editor.js +2 -2
- package/assets/js/elements.js +4 -4
- package/assets/js/polyfills/adoptedStyleSheets.js +1 -1
- package/assets/js/polyfills/css-anchor-positioning-fn.js +4 -4
- package/assets/js/polyfills/global.esm.js +1 -1
- package/assets/js/polyfills/invokers-polyfill.js +1 -1
- package/assets/js/polyfills/popover.js +2 -2
- package/assets/js/polyfills/webcomponents-bundle.js +9 -9
- package/config.schema.json +333 -118
- package/dist/config-DvbYx3Gi.mjs +1971 -0
- package/dist/config-DvbYx3Gi.mjs.map +1 -0
- package/dist/config.d.mts +2544 -0
- package/dist/config.d.mts.map +1 -0
- package/dist/config.mjs +3 -0
- package/dist/icons-sprite-Bf_KmKeX.d.mts +267 -0
- package/dist/icons-sprite-Bf_KmKeX.d.mts.map +1 -0
- package/dist/icons-sprite.d.mts +2 -0
- package/dist/icons-sprite.mjs +129 -0
- package/dist/icons-sprite.mjs.map +1 -0
- package/dist/index.d.mts +60 -2857
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +95 -2386
- package/dist/index.mjs.map +1 -1
- package/dist/schema-Dmq1J7S3.d.mts +292 -0
- package/dist/schema-Dmq1J7S3.d.mts.map +1 -0
- package/dist/tokens-8SXMDAd1.d.mts +229 -0
- package/dist/tokens-8SXMDAd1.d.mts.map +1 -0
- package/dist/tokens-zi594IZ3.mjs +697 -0
- package/dist/tokens-zi594IZ3.mjs.map +1 -0
- package/dist/tokens.d.mts +2 -0
- package/dist/tokens.mjs +3 -0
- package/package.json +17 -5
- package/schema.json +12 -28
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(){if(typeof document>`u`||`adoptedStyleSheets`in document)return;var e=`ShadyCSS`in window&&!ShadyCSS.nativeShadow,t=document.implementation.createHTMLDocument(``),n
|
|
1
|
+
(function(){if(typeof document>`u`||`adoptedStyleSheets`in document)return;var e=`ShadyCSS`in window&&!ShadyCSS.nativeShadow,t=document.implementation.createHTMLDocument(``),n=/* @__PURE__ */ new WeakMap,r=typeof DOMException==`object`?Error:DOMException,i=Object.defineProperty,a=Array.prototype.forEach,o=/@import.+?;?$/gm;function s(e){var t=e.replace(o,``);return t!==e&&console.warn(`@import rules are not allowed here. See https://github.com/WICG/construct-stylesheets/issues/119#issuecomment-588352418`),t.trim()}function c(e){return`isConnected`in e?e.isConnected:document.contains(e)}function l(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function u(e,t){return e.filter(function(e){return t.indexOf(e)===-1})}function d(e){e.parentNode.removeChild(e)}function f(e){return e.shadowRoot||n.get(e)}var p=[`addRule`,`deleteRule`,`insertRule`,`removeRule`],m=CSSStyleSheet.prototype;m.replace=function(){return Promise.reject(new r(`Can't call replace on non-constructed CSSStyleSheets.`))},m.replaceSync=function(){throw new r(`Failed to execute 'replaceSync' on 'CSSStyleSheet': Can't call replaceSync on non-constructed CSSStyleSheets.`)};function h(e){return typeof e==`object`?D.isPrototypeOf(e)||m.isPrototypeOf(e):!1}function g(e){return typeof e==`object`&&m.isPrototypeOf(e)}var _=/* @__PURE__ */ new WeakMap,v=/* @__PURE__ */ new WeakMap,y=/* @__PURE__ */ new WeakMap,b=/* @__PURE__ */ new WeakMap;function x(e,t){var n=document.createElement(`style`);return y.get(e).set(t,n),v.get(e).push(t),n}function S(e,t){return y.get(e).get(t)}function C(e,t){y.get(e).delete(t),v.set(e,v.get(e).filter(function(e){return e!==t}))}function w(e,t){requestAnimationFrame(function(){t.textContent=_.get(e).textContent,b.get(e).forEach(function(e){return t.sheet[e.method].apply(t.sheet,e.args)})})}function T(e){if(!_.has(e))throw TypeError(`Illegal invocation`)}function E(){var e=this,n=document.createElement(`style`);t.body.appendChild(n),_.set(e,n),v.set(e,[]),y.set(e,/* @__PURE__ */ new WeakMap),b.set(e,[])}var D=E.prototype;D.replace=function(e){try{return this.replaceSync(e),Promise.resolve(this)}catch(e){return Promise.reject(e)}},D.replaceSync=function(e){if(T(this),typeof e==`string`){var t=this;_.get(t).textContent=s(e),b.set(t,[]),v.get(t).forEach(function(e){e.isConnected()&&w(t,S(t,e))})}},i(D,`cssRules`,{configurable:!0,enumerable:!0,get:function(){return T(this),_.get(this).sheet.cssRules}}),i(D,`media`,{configurable:!0,enumerable:!0,get:function(){return T(this),_.get(this).sheet.media}}),p.forEach(function(e){D[e]=function(){var t=this;T(t);var n=arguments;b.get(t).push({method:e,args:n}),v.get(t).forEach(function(r){if(r.isConnected()){var i=S(t,r).sheet;i[e].apply(i,n)}});var r=_.get(t).sheet;return r[e].apply(r,n)}}),i(E,Symbol.hasInstance,{configurable:!0,value:h});var O={childList:!0,subtree:!0},k=/* @__PURE__ */ new WeakMap;function A(e){var t=k.get(e);return t||(t=new z(e),k.set(e,t)),t}function j(e){i(e.prototype,`adoptedStyleSheets`,{configurable:!0,enumerable:!0,get:function(){return A(this).sheets},set:function(e){A(this).update(e)}})}function M(e,t){for(var n=document.createNodeIterator(e,NodeFilter.SHOW_ELEMENT,function(e){return f(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT},null,!1),r=void 0;r=n.nextNode();)t(f(r))}var N=/* @__PURE__ */ new WeakMap,P=/* @__PURE__ */ new WeakMap,F=/* @__PURE__ */ new WeakMap;function I(e,t){return t instanceof HTMLStyleElement&&P.get(e).some(function(t){return S(t,e)})}function L(e){var t=N.get(e);return t instanceof Document?t.body:t}function R(e){var t=document.createDocumentFragment(),n=P.get(e),r=F.get(e),i=L(e);r.disconnect(),n.forEach(function(n){t.appendChild(S(n,e)||x(n,e))}),i.insertBefore(t,null),r.observe(i,O),n.forEach(function(t){w(t,S(t,e))})}function z(t){var n=this;n.sheets=[],N.set(n,t),P.set(n,[]),F.set(n,new MutationObserver(function(t,r){if(!document){r.disconnect();return}t.forEach(function(t){e||a.call(t.addedNodes,function(e){e instanceof Element&&M(e,function(e){A(e).connect()})}),a.call(t.removedNodes,function(t){t instanceof Element&&(I(n,t)&&R(n),e||M(t,function(e){A(e).disconnect()}))})})}))}if(z.prototype={isConnected:function(){var e=N.get(this);return e instanceof Document?e.readyState!==`loading`:c(e.host)},connect:function(){var e=L(this);F.get(this).observe(e,O),P.get(this).length>0&&R(this),M(e,function(e){A(e).connect()})},disconnect:function(){F.get(this).disconnect()},update:function(e){var t=this,n=N.get(t)===document?`Document`:`ShadowRoot`;if(!Array.isArray(e))throw TypeError(`Failed to set the 'adoptedStyleSheets' property on `+n+`: Iterator getter is not callable.`);if(!e.every(h))throw TypeError(`Failed to set the 'adoptedStyleSheets' property on `+n+`: Failed to convert value to 'CSSStyleSheet'`);if(e.some(g))throw TypeError(`Failed to set the 'adoptedStyleSheets' property on `+n+`: Can't adopt non-constructed stylesheets`);t.sheets=e;var r=P.get(t),i=l(e);u(r,i).forEach(function(e){d(S(e,t)),C(e,t)}),P.set(t,i),t.isConnected()&&i.length>0&&R(t)}},window.CSSStyleSheet=E,j(Document),`ShadowRoot`in window){j(ShadowRoot);var B=Element.prototype,V=B.attachShadow;B.attachShadow=function(e){var t=V.call(this,e);return e.mode===`closed`&&n.set(this,t),t}}var H=A(document);H.isConnected()?H.connect():document.addEventListener(`DOMContentLoaded`,H.connect.bind(H))})();
|