@jsenv/navi 0.14.30 → 0.14.31
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.
|
@@ -39,11 +39,11 @@ import.meta.css = /* css */ `
|
|
|
39
39
|
--navi-error-color-light: #fcebed;
|
|
40
40
|
--navi-error-color: #eb364b;
|
|
41
41
|
|
|
42
|
-
--navi-xxs: 0.125em;
|
|
43
|
-
--navi-xs: 0.25em;
|
|
44
|
-
--navi-s: 0.5em;
|
|
45
|
-
--navi-m: 1em;
|
|
46
|
-
--navi-l: 1.5em;
|
|
42
|
+
--navi-xxs: 0.125em; /* = 2px at 16px base */
|
|
43
|
+
--navi-xs: 0.25em; /* = 4px at 16px base */
|
|
44
|
+
--navi-s: 0.5em; /* = 8px at 16px base */
|
|
45
|
+
--navi-m: 1em; /* = 16px at 16px base (base font size) */
|
|
46
|
+
--navi-l: 1.5em; /* = 24px at 16px base */
|
|
47
47
|
--navi-xl: 2em;
|
|
48
48
|
--navi-xxl: 3em;
|
|
49
49
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
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 --navi-xxs: 0.125em
|
|
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-xxs: 0.125em; /* = 2px at 16px base */\n --navi-xs: 0.25em; /* = 4px at 16px base */\n --navi-s: 0.5em; /* = 8px at 16px base */\n --navi-m: 1em; /* = 16px at 16px base (base font size) */\n --navi-l: 1.5em; /* = 24px at 16px base */\n --navi-xl: 2em;\n --navi-xxl: 3em;\n }\n }\n`;\n"
|
|
11
11
|
],
|
|
12
12
|
"names": [],
|
|
13
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,CAAC,KAAK,CAAC;AACnC,MAAM,QAAQ,CAAC,kBAAkB,GAAG;AACpC,QAAQ,GAAG,QAAQ,CAAC,kBAAkB;AACtC,QAAQ,UAAU;AAClB,OAAO;AACP,IAAI,CAAC;AACL,GAAG,CAAC;AACJ;;ACnBwJ,oBAAoB,CAAC,MAAM,CAAC,IAAI;AAIxL,MAAM,CAAC,IAAI,CAAC,GAAG,aAAa;AAC5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;"
|