@jsenv/navi 0.14.24 → 0.14.25
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.
|
@@ -38,6 +38,14 @@ import.meta.css = /* css */ `
|
|
|
38
38
|
--navi-warning-color: #f19c05;
|
|
39
39
|
--navi-error-color-light: #fcebed;
|
|
40
40
|
--navi-error-color: #eb364b;
|
|
41
|
+
|
|
42
|
+
--navi-spacing-xxs: 0.125em;
|
|
43
|
+
--navi-spacing-xs: 0.25em;
|
|
44
|
+
--navi-spacing-s: 0.5em;
|
|
45
|
+
--navi-spacing-m: 1em;
|
|
46
|
+
--navi-spacing-l: 1.5em;
|
|
47
|
+
--navi-spacing-xl: 2em;
|
|
48
|
+
--navi-spacing-xxl: 3em;
|
|
41
49
|
}
|
|
42
50
|
}
|
|
43
51
|
`;
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
],
|
|
8
8
|
"sourcesContent": [
|
|
9
9
|
"const installImportMetaCss = (importMeta) => {\n const stylesheet = new CSSStyleSheet({ baseUrl: importMeta.url });\n\n let called = false;\n // eslint-disable-next-line accessor-pairs\n Object.defineProperty(importMeta, \"css\", {\n configurable: true,\n set(value) {\n if (called) {\n throw new Error(\"import.meta.css setter can only be called once\");\n }\n called = true;\n stylesheet.replaceSync(value);\n document.adoptedStyleSheets = [\n ...document.adoptedStyleSheets,\n stylesheet,\n ];\n },\n });\n};\n\nexport { installImportMetaCss };\n",
|
|
10
|
-
"/**\n * Regroup CSS vars that makes sense to share across all navi components.\n */\n\nimport.meta.css = /* css */ `\n @layer navi {\n :root {\n --navi-focus-outline-color: light-dark(#4476ff, #3b82f6);\n --navi-loader-color: light-dark(#355fcc, #3b82f6);\n --navi-selection-border-color: #0078d4;\n --navi-selection-background-color: #eaf1fd;\n --navi-color-light: white;\n --navi-color-dark: rgb(55, 60, 69);\n\n --navi-info-color-light: #eaf6fc;\n --navi-info-color: #376cc2;\n --navi-success-color-light: #ecf9ef;\n --navi-success-color: #50c464;\n --navi-warning-color-light: #fdf6e3;\n --navi-warning-color: #f19c05;\n --navi-error-color-light: #fcebed;\n --navi-error-color: #eb364b;\n }\n }\n`;\n"
|
|
10
|
+
"/**\n * Regroup CSS vars that makes sense to share across all navi components.\n */\n\nimport.meta.css = /* css */ `\n @layer navi {\n :root {\n --navi-focus-outline-color: light-dark(#4476ff, #3b82f6);\n --navi-loader-color: light-dark(#355fcc, #3b82f6);\n --navi-selection-border-color: #0078d4;\n --navi-selection-background-color: #eaf1fd;\n --navi-color-light: white;\n --navi-color-dark: rgb(55, 60, 69);\n\n --navi-info-color-light: #eaf6fc;\n --navi-info-color: #376cc2;\n --navi-success-color-light: #ecf9ef;\n --navi-success-color: #50c464;\n --navi-warning-color-light: #fdf6e3;\n --navi-warning-color: #f19c05;\n --navi-error-color-light: #fcebed;\n --navi-error-color: #eb364b;\n\n --navi-spacing-xxs: 0.125em;\n --navi-spacing-xs: 0.25em;\n --navi-spacing-s: 0.5em;\n --navi-spacing-m: 1em;\n --navi-spacing-l: 1.5em;\n --navi-spacing-xl: 2em;\n --navi-spacing-xxl: 3em;\n }\n }\n`;\n"
|
|
11
11
|
],
|
|
12
12
|
"names": [],
|
|
13
|
-
"mappings": "AAAK,MAAC,oBAAoB,GAAG,CAAC,UAAU,KAAK;AAC7C,EAAE,MAAM,UAAU,GAAG,IAAI,aAAa,CAAC,EAAE,OAAO,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC;;AAEnE,EAAE,IAAI,MAAM,GAAG,KAAK;AACpB;AACA,EAAE,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,KAAK,EAAE;AAC3C,IAAI,YAAY,EAAE,IAAI;AACtB,IAAI,GAAG,CAAC,KAAK,EAAE;AACf,MAAM,IAAI,MAAM,EAAE;AAClB,QAAQ,MAAM,IAAI,KAAK,CAAC,gDAAgD,CAAC;AACzE,MAAM;AACN,MAAM,MAAM,GAAG,IAAI;AACnB,MAAM,UAAU,CAAC,WAAW,CA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