@public-ui/theme-default 1.7.5 → 1.7.6-rc.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/index.cjs +15 -16
- package/dist/index.d.ts +0 -1
- package/dist/index.mjs +15 -16
- package/package.json +8 -8
package/dist/index.cjs
CHANGED
|
@@ -301,7 +301,7 @@ var loglevel = {exports: {}};
|
|
|
301
301
|
}));
|
|
302
302
|
} (loglevel));
|
|
303
303
|
|
|
304
|
-
const createTranslation=(e,t)=>o=>o(e,t),createTheme=(e,t)=>o=>o(e,t),STORE="object"==typeof window?window:"object"==typeof global?global:"object"==typeof self?self:{};const STYLING_TASK_QUEUE=new Map,HYDRATED_HISTORY=[],CSS_PROPERTIES_REGISTERED=new Set,CSS_STYLE_CACHE=new Map,REGEX_CSS_PROPERTIES=/--[^;]+/g,REGEX_SPLIT_CSS_PROPERTY=/:/;"object"==typeof STORE.A11yUi&&null!==STORE.A11yUi||(STORE.A11yUi={CSS_STYLE_CACHE:CSS_STYLE_CACHE,HYDRATED_HISTORY:HYDRATED_HISTORY,STYLING_TASK_QUEUE:STYLING_TASK_QUEUE});const extractProperties=(e,t)=>{let o=t.match(REGEX_CSS_PROPERTIES);if(Array.isArray(o)){o=o.filter((e=>REGEX_SPLIT_CSS_PROPERTY.test(e)));const t=document.createElement("style");t.innerHTML=`.${e} {${o.join(";")}}`,document.querySelector("head")?.appendChild(t);}CSS_PROPERTIES_REGISTERED.add(e);},getCssStyle=(e,t)=>"object"==typeof STORE.A11yUi&&null!==STORE.A11yUi&&"object"==typeof STORE.A11yUi.Themes&&null!==STORE.A11yUi.Themes&&"object"==typeof STORE.A11yUi.Themes[e]&&null!==STORE.A11yUi.Themes[e]&&"string"==typeof STORE.A11yUi.Themes[e][t]?STORE.A11yUi.Themes[e][t].replace(/\r?\n/g,""):"",removeStyle=e=>{for(const t of Array.from(e.childNodes)){if(!(t instanceof HTMLStyleElement&&"STYLE"===t.tagName))break;e.removeChild(t);}},patchStyle=(e,t)=>{try{const o=[];t.forEach((e=>{const t=new CSSStyleSheet;t.replaceSync(e),o.push(t);})),e.adoptedStyleSheets=o;}catch(o){t.reverse().forEach((t=>{const o=document.createElement("style");o.innerHTML=t,e.insertBefore(o,e.firstChild);}));}},encroachStyles=(e,t,o)=>{if(!1!==o){const s=[...Array.from(e.childNodes).filter((e=>e instanceof HTMLStyleElement&&"STYLE"===e.tagName))];let r;try{r=[...Array.from(e.adoptedStyleSheets)];}catch(e){r=[];}"before"===o?.mode?(s.reverse().forEach((e=>t.unshift(e.innerHTML))),r.reverse().forEach((e=>t.unshift(Array.from(e.cssRules).map((e=>e.cssText)).join(""))))):"after"===o?.mode&&(s.forEach((e=>t.push(e.innerHTML))),r.forEach((e=>t.push(Array.from(e.cssRules).map((e=>e.cssText)).join("")))));}},setThemeStyleAfterHydrated=(e,t,o)=>{const s=t.name||"default";let r;try{if(null===e.shadowRoot)throw new Error("ShadowRoot is null");r=e.shadowRoot;}catch(t){r=e;}if(CSS_STYLE_CACHE.get(s)?.has(e.tagName))switchStyle(e,r,CSS_STYLE_CACHE.get(s)?.get(e.tagName),o);else {const
|
|
304
|
+
const createTranslation=(e,t)=>o=>o(e,t),createTheme=(e,t)=>o=>o(e,t),STORE="object"==typeof window?window:"object"==typeof global?global:"object"==typeof self?self:{};const STYLING_TASK_QUEUE=new Map,HYDRATED_HISTORY=[],CSS_PROPERTIES_REGISTERED=new Set,CSS_STYLE_CACHE=new Map,REGEX_CSS_PROPERTIES=/--[^;]+/g,REGEX_SPLIT_CSS_PROPERTY=/:/;"object"==typeof STORE.A11yUi&&null!==STORE.A11yUi||(STORE.A11yUi={CSS_STYLE_CACHE:CSS_STYLE_CACHE,HYDRATED_HISTORY:HYDRATED_HISTORY,STYLING_TASK_QUEUE:STYLING_TASK_QUEUE});const extractProperties=(e,t)=>{let o=t.match(REGEX_CSS_PROPERTIES);if(Array.isArray(o)){o=o.filter((e=>REGEX_SPLIT_CSS_PROPERTY.test(e)));const t=document.createElement("style");t.innerHTML=`.${e} {${o.join(";")}}`,document.querySelector("head")?.appendChild(t);}CSS_PROPERTIES_REGISTERED.add(e);},getCssStyle=(e,t)=>"object"==typeof STORE.A11yUi&&null!==STORE.A11yUi&&"object"==typeof STORE.A11yUi.Themes&&null!==STORE.A11yUi.Themes&&"object"==typeof STORE.A11yUi.Themes[e]&&null!==STORE.A11yUi.Themes[e]&&"string"==typeof STORE.A11yUi.Themes[e][t]?STORE.A11yUi.Themes[e][t].replace(/\r?\n/g,""):"",removeStyle=e=>{for(const t of Array.from(e.childNodes)){if(!(t instanceof HTMLStyleElement&&"STYLE"===t.tagName))break;e.removeChild(t);}},patchStyle=(e,t)=>{try{const o=[];t.forEach((e=>{const t=new CSSStyleSheet;t.replaceSync(e),o.push(t);})),e.adoptedStyleSheets=o;}catch(o){t.reverse().forEach((t=>{const o=document.createElement("style");o.innerHTML=t,e.insertBefore(o,e.firstChild);}));}},encroachStyles=(e,t,o)=>{if(!1!==o){const s=[...Array.from(e.childNodes).filter((e=>e instanceof HTMLStyleElement&&"STYLE"===e.tagName))];let r;try{r=[...Array.from(e.adoptedStyleSheets)];}catch(e){r=[];}"before"===o?.mode?(s.reverse().forEach((e=>t.unshift(e.innerHTML))),r.reverse().forEach((e=>t.unshift(Array.from(e.cssRules).map((e=>e.cssText)).join(""))))):"after"===o?.mode&&(s.forEach((e=>t.push(e.innerHTML))),r.forEach((e=>t.push(Array.from(e.cssRules).map((e=>e.cssText)).join("")))));}},setThemeStyleAfterHydrated=(e,t,o)=>{const s=t.name||"default";let r;try{if(null===e.shadowRoot)throw new Error("ShadowRoot is null");r=e.shadowRoot;}catch(t){r=e;}if(CSS_STYLE_CACHE.get(s)?.has(e.tagName))switchStyle(e,r,CSS_STYLE_CACHE.get(s)?.get(e.tagName),o);else {const a=getCssStyle(s,"PROPERTIES"),n=getCssStyle(s,"GLOBAL"),l=getCssStyle(s,e.tagName);!1===CSS_PROPERTIES_REGISTERED.has(s)&&extractProperties(s,n);const i=[a,n,l];encroachStyles(r,i,t.encroachCss),"debug"===t.loglevel&&console.log(e.tagName,i),!0===t.cache&&(!1===CSS_STYLE_CACHE.has(s)&&CSS_STYLE_CACHE.set(s,new Map),CSS_STYLE_CACHE.get(s)?.set(e.tagName,i)),switchStyle(e,r,i,o);}},switchStyle=(e,t,o,s)=>{removeStyle(t),patchStyle(t,o),e.style.display=s;},logHydratedHistory=e=>{"debug"===e.loglevel&&HYDRATED_HISTORY.push({timestamp:Date.now(),numberOfTasks:STYLING_TASK_QUEUE.size});},deleteDoneTask=e=>{STYLING_TASK_QUEUE.delete(e);},loggedDeleteDoneTask=(e,t)=>{deleteDoneTask(e),logHydratedHistory(t);},observerCallback=e=>{for(const t of e)if(STYLING_TASK_QUEUE.has(t.target)&&t.target.classList.contains("hydrated")){const{styleDisplay:e,themeDetails:o}=STYLING_TASK_QUEUE.get(t.target);setThemeStyleAfterHydrated(t.target,o,e),loggedDeleteDoneTask(t.target,o);}};let observer;try{observer=new MutationObserver(observerCallback);}catch(e){observer=null;}class Theme{constructor(e,t,o){this.createTheme=(e,t)=>createTheme(e,t),this.createTranslation=(e,t)=>createTranslation(e,t),this.Prefix=e,this.Key=Object.getOwnPropertyNames(t),this.Tag=Object.getOwnPropertyNames(o);}}
|
|
305
305
|
|
|
306
306
|
var KeyEnum = /* @__PURE__ */ ((KeyEnum2) => {
|
|
307
307
|
KeyEnum2[KeyEnum2["error"] = 0] = "error";
|
|
@@ -368,21 +368,20 @@ var TagEnum = /* @__PURE__ */ ((TagEnum2) => {
|
|
|
368
368
|
TagEnum2[TagEnum2["modal"] = 30] = "modal";
|
|
369
369
|
TagEnum2[TagEnum2["nav"] = 31] = "nav";
|
|
370
370
|
TagEnum2[TagEnum2["pagination"] = 32] = "pagination";
|
|
371
|
-
TagEnum2[TagEnum2["
|
|
372
|
-
TagEnum2[TagEnum2["
|
|
373
|
-
TagEnum2[TagEnum2["
|
|
374
|
-
TagEnum2[TagEnum2["
|
|
375
|
-
TagEnum2[TagEnum2["
|
|
376
|
-
TagEnum2[TagEnum2["
|
|
377
|
-
TagEnum2[TagEnum2["
|
|
378
|
-
TagEnum2[TagEnum2["
|
|
379
|
-
TagEnum2[TagEnum2["
|
|
380
|
-
TagEnum2[TagEnum2["
|
|
381
|
-
TagEnum2[TagEnum2["
|
|
382
|
-
TagEnum2[TagEnum2["toast"] = 44] = "toast";
|
|
383
|
-
TagEnum2[TagEnum2["
|
|
384
|
-
TagEnum2[TagEnum2["
|
|
385
|
-
TagEnum2[TagEnum2["tooltip"] = 47] = "tooltip";
|
|
371
|
+
TagEnum2[TagEnum2["progress"] = 33] = "progress";
|
|
372
|
+
TagEnum2[TagEnum2["select"] = 34] = "select";
|
|
373
|
+
TagEnum2[TagEnum2["separator"] = 35] = "separator";
|
|
374
|
+
TagEnum2[TagEnum2["skip-nav"] = 36] = "skip-nav";
|
|
375
|
+
TagEnum2[TagEnum2["spin"] = 37] = "spin";
|
|
376
|
+
TagEnum2[TagEnum2["split-button"] = 38] = "split-button";
|
|
377
|
+
TagEnum2[TagEnum2["symbol"] = 39] = "symbol";
|
|
378
|
+
TagEnum2[TagEnum2["table"] = 40] = "table";
|
|
379
|
+
TagEnum2[TagEnum2["tabs"] = 41] = "tabs";
|
|
380
|
+
TagEnum2[TagEnum2["textarea"] = 42] = "textarea";
|
|
381
|
+
TagEnum2[TagEnum2["toast"] = 43] = "toast";
|
|
382
|
+
TagEnum2[TagEnum2["toast-container"] = 44] = "toast-container";
|
|
383
|
+
TagEnum2[TagEnum2["toolbar"] = 45] = "toolbar";
|
|
384
|
+
TagEnum2[TagEnum2["tooltip"] = 46] = "tooltip";
|
|
386
385
|
return TagEnum2;
|
|
387
386
|
})(TagEnum || {});
|
|
388
387
|
|
package/dist/index.d.ts
CHANGED
|
@@ -35,7 +35,6 @@ declare const DEFAULT: (patch: (name: string, map: {
|
|
|
35
35
|
"KOL-MODAL"?: string | undefined;
|
|
36
36
|
"KOL-NAV"?: string | undefined;
|
|
37
37
|
"KOL-PAGINATION"?: string | undefined;
|
|
38
|
-
"KOL-POPOVER"?: string | undefined;
|
|
39
38
|
"KOL-PROGRESS"?: string | undefined;
|
|
40
39
|
"KOL-SELECT"?: string | undefined;
|
|
41
40
|
"KOL-SEPARATOR"?: string | undefined;
|
package/dist/index.mjs
CHANGED
|
@@ -299,7 +299,7 @@ var loglevel = {exports: {}};
|
|
|
299
299
|
}));
|
|
300
300
|
} (loglevel));
|
|
301
301
|
|
|
302
|
-
const createTranslation=(e,t)=>o=>o(e,t),createTheme=(e,t)=>o=>o(e,t),STORE="object"==typeof window?window:"object"==typeof global?global:"object"==typeof self?self:{};const STYLING_TASK_QUEUE=new Map,HYDRATED_HISTORY=[],CSS_PROPERTIES_REGISTERED=new Set,CSS_STYLE_CACHE=new Map,REGEX_CSS_PROPERTIES=/--[^;]+/g,REGEX_SPLIT_CSS_PROPERTY=/:/;"object"==typeof STORE.A11yUi&&null!==STORE.A11yUi||(STORE.A11yUi={CSS_STYLE_CACHE:CSS_STYLE_CACHE,HYDRATED_HISTORY:HYDRATED_HISTORY,STYLING_TASK_QUEUE:STYLING_TASK_QUEUE});const extractProperties=(e,t)=>{let o=t.match(REGEX_CSS_PROPERTIES);if(Array.isArray(o)){o=o.filter((e=>REGEX_SPLIT_CSS_PROPERTY.test(e)));const t=document.createElement("style");t.innerHTML=`.${e} {${o.join(";")}}`,document.querySelector("head")?.appendChild(t);}CSS_PROPERTIES_REGISTERED.add(e);},getCssStyle=(e,t)=>"object"==typeof STORE.A11yUi&&null!==STORE.A11yUi&&"object"==typeof STORE.A11yUi.Themes&&null!==STORE.A11yUi.Themes&&"object"==typeof STORE.A11yUi.Themes[e]&&null!==STORE.A11yUi.Themes[e]&&"string"==typeof STORE.A11yUi.Themes[e][t]?STORE.A11yUi.Themes[e][t].replace(/\r?\n/g,""):"",removeStyle=e=>{for(const t of Array.from(e.childNodes)){if(!(t instanceof HTMLStyleElement&&"STYLE"===t.tagName))break;e.removeChild(t);}},patchStyle=(e,t)=>{try{const o=[];t.forEach((e=>{const t=new CSSStyleSheet;t.replaceSync(e),o.push(t);})),e.adoptedStyleSheets=o;}catch(o){t.reverse().forEach((t=>{const o=document.createElement("style");o.innerHTML=t,e.insertBefore(o,e.firstChild);}));}},encroachStyles=(e,t,o)=>{if(!1!==o){const s=[...Array.from(e.childNodes).filter((e=>e instanceof HTMLStyleElement&&"STYLE"===e.tagName))];let r;try{r=[...Array.from(e.adoptedStyleSheets)];}catch(e){r=[];}"before"===o?.mode?(s.reverse().forEach((e=>t.unshift(e.innerHTML))),r.reverse().forEach((e=>t.unshift(Array.from(e.cssRules).map((e=>e.cssText)).join(""))))):"after"===o?.mode&&(s.forEach((e=>t.push(e.innerHTML))),r.forEach((e=>t.push(Array.from(e.cssRules).map((e=>e.cssText)).join("")))));}},setThemeStyleAfterHydrated=(e,t,o)=>{const s=t.name||"default";let r;try{if(null===e.shadowRoot)throw new Error("ShadowRoot is null");r=e.shadowRoot;}catch(t){r=e;}if(CSS_STYLE_CACHE.get(s)?.has(e.tagName))switchStyle(e,r,CSS_STYLE_CACHE.get(s)?.get(e.tagName),o);else {const
|
|
302
|
+
const createTranslation=(e,t)=>o=>o(e,t),createTheme=(e,t)=>o=>o(e,t),STORE="object"==typeof window?window:"object"==typeof global?global:"object"==typeof self?self:{};const STYLING_TASK_QUEUE=new Map,HYDRATED_HISTORY=[],CSS_PROPERTIES_REGISTERED=new Set,CSS_STYLE_CACHE=new Map,REGEX_CSS_PROPERTIES=/--[^;]+/g,REGEX_SPLIT_CSS_PROPERTY=/:/;"object"==typeof STORE.A11yUi&&null!==STORE.A11yUi||(STORE.A11yUi={CSS_STYLE_CACHE:CSS_STYLE_CACHE,HYDRATED_HISTORY:HYDRATED_HISTORY,STYLING_TASK_QUEUE:STYLING_TASK_QUEUE});const extractProperties=(e,t)=>{let o=t.match(REGEX_CSS_PROPERTIES);if(Array.isArray(o)){o=o.filter((e=>REGEX_SPLIT_CSS_PROPERTY.test(e)));const t=document.createElement("style");t.innerHTML=`.${e} {${o.join(";")}}`,document.querySelector("head")?.appendChild(t);}CSS_PROPERTIES_REGISTERED.add(e);},getCssStyle=(e,t)=>"object"==typeof STORE.A11yUi&&null!==STORE.A11yUi&&"object"==typeof STORE.A11yUi.Themes&&null!==STORE.A11yUi.Themes&&"object"==typeof STORE.A11yUi.Themes[e]&&null!==STORE.A11yUi.Themes[e]&&"string"==typeof STORE.A11yUi.Themes[e][t]?STORE.A11yUi.Themes[e][t].replace(/\r?\n/g,""):"",removeStyle=e=>{for(const t of Array.from(e.childNodes)){if(!(t instanceof HTMLStyleElement&&"STYLE"===t.tagName))break;e.removeChild(t);}},patchStyle=(e,t)=>{try{const o=[];t.forEach((e=>{const t=new CSSStyleSheet;t.replaceSync(e),o.push(t);})),e.adoptedStyleSheets=o;}catch(o){t.reverse().forEach((t=>{const o=document.createElement("style");o.innerHTML=t,e.insertBefore(o,e.firstChild);}));}},encroachStyles=(e,t,o)=>{if(!1!==o){const s=[...Array.from(e.childNodes).filter((e=>e instanceof HTMLStyleElement&&"STYLE"===e.tagName))];let r;try{r=[...Array.from(e.adoptedStyleSheets)];}catch(e){r=[];}"before"===o?.mode?(s.reverse().forEach((e=>t.unshift(e.innerHTML))),r.reverse().forEach((e=>t.unshift(Array.from(e.cssRules).map((e=>e.cssText)).join(""))))):"after"===o?.mode&&(s.forEach((e=>t.push(e.innerHTML))),r.forEach((e=>t.push(Array.from(e.cssRules).map((e=>e.cssText)).join("")))));}},setThemeStyleAfterHydrated=(e,t,o)=>{const s=t.name||"default";let r;try{if(null===e.shadowRoot)throw new Error("ShadowRoot is null");r=e.shadowRoot;}catch(t){r=e;}if(CSS_STYLE_CACHE.get(s)?.has(e.tagName))switchStyle(e,r,CSS_STYLE_CACHE.get(s)?.get(e.tagName),o);else {const a=getCssStyle(s,"PROPERTIES"),n=getCssStyle(s,"GLOBAL"),l=getCssStyle(s,e.tagName);!1===CSS_PROPERTIES_REGISTERED.has(s)&&extractProperties(s,n);const i=[a,n,l];encroachStyles(r,i,t.encroachCss),"debug"===t.loglevel&&console.log(e.tagName,i),!0===t.cache&&(!1===CSS_STYLE_CACHE.has(s)&&CSS_STYLE_CACHE.set(s,new Map),CSS_STYLE_CACHE.get(s)?.set(e.tagName,i)),switchStyle(e,r,i,o);}},switchStyle=(e,t,o,s)=>{removeStyle(t),patchStyle(t,o),e.style.display=s;},logHydratedHistory=e=>{"debug"===e.loglevel&&HYDRATED_HISTORY.push({timestamp:Date.now(),numberOfTasks:STYLING_TASK_QUEUE.size});},deleteDoneTask=e=>{STYLING_TASK_QUEUE.delete(e);},loggedDeleteDoneTask=(e,t)=>{deleteDoneTask(e),logHydratedHistory(t);},observerCallback=e=>{for(const t of e)if(STYLING_TASK_QUEUE.has(t.target)&&t.target.classList.contains("hydrated")){const{styleDisplay:e,themeDetails:o}=STYLING_TASK_QUEUE.get(t.target);setThemeStyleAfterHydrated(t.target,o,e),loggedDeleteDoneTask(t.target,o);}};let observer;try{observer=new MutationObserver(observerCallback);}catch(e){observer=null;}class Theme{constructor(e,t,o){this.createTheme=(e,t)=>createTheme(e,t),this.createTranslation=(e,t)=>createTranslation(e,t),this.Prefix=e,this.Key=Object.getOwnPropertyNames(t),this.Tag=Object.getOwnPropertyNames(o);}}
|
|
303
303
|
|
|
304
304
|
var KeyEnum = /* @__PURE__ */ ((KeyEnum2) => {
|
|
305
305
|
KeyEnum2[KeyEnum2["error"] = 0] = "error";
|
|
@@ -366,21 +366,20 @@ var TagEnum = /* @__PURE__ */ ((TagEnum2) => {
|
|
|
366
366
|
TagEnum2[TagEnum2["modal"] = 30] = "modal";
|
|
367
367
|
TagEnum2[TagEnum2["nav"] = 31] = "nav";
|
|
368
368
|
TagEnum2[TagEnum2["pagination"] = 32] = "pagination";
|
|
369
|
-
TagEnum2[TagEnum2["
|
|
370
|
-
TagEnum2[TagEnum2["
|
|
371
|
-
TagEnum2[TagEnum2["
|
|
372
|
-
TagEnum2[TagEnum2["
|
|
373
|
-
TagEnum2[TagEnum2["
|
|
374
|
-
TagEnum2[TagEnum2["
|
|
375
|
-
TagEnum2[TagEnum2["
|
|
376
|
-
TagEnum2[TagEnum2["
|
|
377
|
-
TagEnum2[TagEnum2["
|
|
378
|
-
TagEnum2[TagEnum2["
|
|
379
|
-
TagEnum2[TagEnum2["
|
|
380
|
-
TagEnum2[TagEnum2["toast"] = 44] = "toast";
|
|
381
|
-
TagEnum2[TagEnum2["
|
|
382
|
-
TagEnum2[TagEnum2["
|
|
383
|
-
TagEnum2[TagEnum2["tooltip"] = 47] = "tooltip";
|
|
369
|
+
TagEnum2[TagEnum2["progress"] = 33] = "progress";
|
|
370
|
+
TagEnum2[TagEnum2["select"] = 34] = "select";
|
|
371
|
+
TagEnum2[TagEnum2["separator"] = 35] = "separator";
|
|
372
|
+
TagEnum2[TagEnum2["skip-nav"] = 36] = "skip-nav";
|
|
373
|
+
TagEnum2[TagEnum2["spin"] = 37] = "spin";
|
|
374
|
+
TagEnum2[TagEnum2["split-button"] = 38] = "split-button";
|
|
375
|
+
TagEnum2[TagEnum2["symbol"] = 39] = "symbol";
|
|
376
|
+
TagEnum2[TagEnum2["table"] = 40] = "table";
|
|
377
|
+
TagEnum2[TagEnum2["tabs"] = 41] = "tabs";
|
|
378
|
+
TagEnum2[TagEnum2["textarea"] = 42] = "textarea";
|
|
379
|
+
TagEnum2[TagEnum2["toast"] = 43] = "toast";
|
|
380
|
+
TagEnum2[TagEnum2["toast-container"] = 44] = "toast-container";
|
|
381
|
+
TagEnum2[TagEnum2["toolbar"] = 45] = "toolbar";
|
|
382
|
+
TagEnum2[TagEnum2["tooltip"] = 46] = "tooltip";
|
|
384
383
|
return TagEnum2;
|
|
385
384
|
})(TagEnum || {});
|
|
386
385
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@public-ui/theme-default",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.6-rc.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"homepage": "https://public-ui.github.io",
|
|
6
6
|
"repository": "https://github.com/public-ui/kolibri",
|
|
@@ -38,18 +38,18 @@
|
|
|
38
38
|
"wcag"
|
|
39
39
|
],
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@public-ui/schema": "1.7.
|
|
42
|
-
"@public-ui/visual-tests": "1.7.
|
|
41
|
+
"@public-ui/schema": "1.7.6-rc.0",
|
|
42
|
+
"@public-ui/visual-tests": "1.7.6-rc.0",
|
|
43
43
|
"@types/node": "ts5.2",
|
|
44
|
-
"@typescript-eslint/eslint-plugin": "6.
|
|
45
|
-
"@typescript-eslint/parser": "6.
|
|
46
|
-
"eslint": "8.
|
|
44
|
+
"@typescript-eslint/eslint-plugin": "6.10.0",
|
|
45
|
+
"@typescript-eslint/parser": "6.10.0",
|
|
46
|
+
"eslint": "8.53.0",
|
|
47
47
|
"eslint-plugin-no-loops": "0.3.0",
|
|
48
48
|
"typescript": "5.2.2",
|
|
49
49
|
"unbuild": "1.2.1"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@public-ui/components": "1.7.
|
|
52
|
+
"@public-ui/components": "1.7.6-rc.0"
|
|
53
53
|
},
|
|
54
54
|
"sideEffects": false,
|
|
55
55
|
"type": "module",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"depcheck": "depcheck --ignore-bin-package --skip-missing --ignores=@types/*",
|
|
73
73
|
"format": "prettier --check src",
|
|
74
74
|
"lint": "eslint src && tsc --noemit",
|
|
75
|
-
"
|
|
75
|
+
"test": "THEME_MODULE=src/index THEME_EXPORT=DEFAULT kolibri-visual-test theme-snapshots.spec.js",
|
|
76
76
|
"test-update": "THEME_MODULE=src/index THEME_EXPORT=DEFAULT kolibri-visual-test --update-snapshots theme-snapshots.spec.js"
|
|
77
77
|
}
|
|
78
78
|
}
|