easy-component-ui 4.0.2 → 4.0.3
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/assets/icon.css +1 -1
- package/dist/css/ea-ui-component.style.js +4 -1
- package/dist/themes/dark.js +4 -3
- package/dist/themes/light.js +4 -1
- package/dist/themes/source.js +4 -1
- package/dist/types/themes/dark.entry.d.ts +1 -0
- package/dist/types/themes/dark.entry.d.ts.map +1 -1
- package/dist/types/themes/light.entry.d.ts +1 -0
- package/dist/types/themes/light.entry.d.ts.map +1 -1
- package/dist/types/themes/source.entry.d.ts +1 -0
- package/dist/types/themes/source.entry.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/assets/icon.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:host{--ea-icon-size: var(--font-size-md);--ea-icon-color: inherit;display:inline-flex;align-items:center;justify-content:center;text-align:center;font-size:var(--ea-icon-size);color:var(--ea-icon-color)}.ea-icon{display:block;width:calc(var(--ea-icon-size) * 1.25);height:var(--ea-icon-size);line-height:var(--ea-icon-size);font-style:normal}
|
|
1
|
+
:host{--ea-icon-size: var(--font-size-md);--ea-icon-color: inherit;display:inline-flex;align-items:center;justify-content:center;text-align:center;font-size:var(--ea-icon-size);color:var(--ea-icon-color)}.ea-icon{display:block;width:calc(var(--ea-icon-size) * 1.25);height:var(--ea-icon-size);line-height:var(--ea-icon-size);font-style:normal}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
const e = ':host{--color-white: var(--ea-source-color-white, #ffffff);--color-black: var(--ea-source-color-black, #000000);--color-transparent: var(--ea-source-color-transparent, transparent);--color-border: var(--ea-source-color-border, #dcdfe6);--color-grey: var(--ea-source-color-grey, #c0c4cc);--color-grey-dark: var(--ea-source-color-grey-dark, #606266);--color-grey-light: var(--ea-source-color-grey-light, #f5f7fa);--color-blue: var(--ea-source-color-blue, #409eff);--color-green: var(--ea-source-color-green, #67c23a);--color-yellow: var(--ea-source-color-yellow, #e6a23c);--color-red: var(--ea-source-color-red, #f56c6c);--color-muted: var(--ea-source-color-muted, #909399);--blue-100: var(--ea-source-blue-100, #e8f3ff);--blue-200: var(--ea-source-blue-200, #cce6ff);--blue-300: var(--ea-source-blue-300, #a0cfff);--blue-400: var(--ea-source-blue-400, #66b1ff);--blue-500: var(--ea-source-blue-500, #409eff);--blue-600: var(--ea-source-blue-600, #3a8ee6);--blue-700: var(--ea-source-blue-700, #337ecc);--blue-800: var(--ea-source-blue-800, #266bbd);--blue-900: var(--ea-source-blue-900, #1a4f91);--green-100: var(--ea-source-green-100, #f0f9eb);--green-200: var(--ea-source-green-200, #dcefd1);--green-300: var(--ea-source-green-300, #b3e19d);--green-400: var(--ea-source-green-400, #85ce61);--green-500: var(--ea-source-green-500, #67c23a);--green-600: var(--ea-source-green-600, #5daf34);--green-700: var(--ea-source-green-700, #4aa030);--green-800: var(--ea-source-green-800, #3d8e2b);--green-900: var(--ea-source-green-900, #2e6e22);--yellow-100: var(--ea-source-yellow-100, #fdf6ec);--yellow-200: var(--ea-source-yellow-200, #faecd8);--yellow-300: var(--ea-source-yellow-300, #f3d19e);--yellow-400: var(--ea-source-yellow-400, #ebb563);--yellow-500: var(--ea-source-yellow-500, #e6a23c);--yellow-600: var(--ea-source-yellow-600, #cf9236);--yellow-700: var(--ea-source-yellow-700, #b88230);--yellow-800: var(--ea-source-yellow-800, #99692a);--yellow-900: var(--ea-source-yellow-900, #7c4f1f);--red-100: var(--ea-source-red-100, #fef0f0);--red-200: var(--ea-source-red-200, #fde2e2);--red-300: var(--ea-source-red-300, #fab6b6);--red-400: var(--ea-source-red-400, #f78989);--red-500: var(--ea-source-red-500, #f56c6c);--red-600: var(--ea-source-red-600, #dd6161);--red-700: var(--ea-source-red-700, #c45656);--red-800: var(--ea-source-red-800, #b04343);--red-900: var(--ea-source-red-900, #8b2e2e);--grey-100: var(--ea-source-grey-100, #f5f7fa);--grey-200: var(--ea-source-grey-200, #ebeef5);--grey-300: var(--ea-source-grey-300, #dcdfe6);--grey-400: var(--ea-source-grey-400, #c0c4cc);--grey-500: var(--ea-source-grey-500, #909399);--grey-600: var(--ea-source-grey-600, #82848a);--grey-700: var(--ea-source-grey-700, #606266);--grey-800: var(--ea-source-grey-800, #4a4c50);--grey-900: var(--ea-source-grey-900, #303133);--white: var(--ea-source-color-white, #ffffff);--black: var(--ea-source-color-black, #000000);--transparent: var(--ea-source-color-transparent, transparent);--font-family-base: "Helvetica Neue", Arial, sans-serif;--font-size-xs: 10px;--font-size-sm: 12px;--font-size-md: 14px;--font-size-lg: 16px;--font-weight-sm: 100;--font-weight-md: 400;--font-weight-bold: 700;--spacing-xs: 2px;--spacing-sm: 4px;--spacing-md: 8px;--spacing-lg: 12px;--border-radius-sm: 4px;--border-radius: 6px;--border-radius-lg: 10px;--border-radius-round: 999px;--border-radius-circle: 50%;--border-width: 1px;--border-style: solid;--border-color: var(--grey-300);--ea-border: var(--border-width) var(--border-style) var(--border-color);--box-shadow-sm: var(--ea-source-box-shadow-sm, 0 0 2px rgba(0, 0, 0, .08));--box-shadow-md: var(--ea-source-box-shadow-md, 0 0 6px rgba(0, 0, 0, .12));--box-shadow-lg: var(--ea-source-box-shadow-lg, 0 0 12px rgba(0, 0, 0, .15));--theme-transition: var(--ea-theme-transition, background-color .3s ease, color .3s ease);--transition-fast: .15s ease-in-out;--transition-normal: .3s ease-in-out;--transition-slow: .5s ease-in-out;--btn-height-sm: 32px;--btn-height-md: 40px;--btn-height-lg: 48px;--cursor-not-allowed: not-allowed;--cursor-pointer: pointer;--cursor-default: default}:host{--default-font-size: 16px;--default-loading-icon-color: var(--blue-300)}:host input,:host textarea,:host select,:host optgroup,:host fieldset{background:none}ul{list-style-type:none;margin-block-start:0em;margin-block-end:0em;margin-inline-start:0px;margin-inline-end:0px;padding-inline-start:0px;unicode-bidi:isolate}';
|
|
1
|
+
const e = ':host{--color-white: var(--ea-source-color-white, #ffffff);--color-black: var(--ea-source-color-black, #000000);--color-transparent: var(--ea-source-color-transparent, transparent);--color-border: var(--ea-source-color-border, #dcdfe6);--color-grey: var(--ea-source-color-grey, #c0c4cc);--color-grey-dark: var(--ea-source-color-grey-dark, #606266);--color-grey-light: var(--ea-source-color-grey-light, #f5f7fa);--color-blue: var(--ea-source-color-blue, #409eff);--color-green: var(--ea-source-color-green, #67c23a);--color-yellow: var(--ea-source-color-yellow, #e6a23c);--color-red: var(--ea-source-color-red, #f56c6c);--color-muted: var(--ea-source-color-muted, #909399);--blue-100: var(--ea-source-blue-100, #e8f3ff);--blue-200: var(--ea-source-blue-200, #cce6ff);--blue-300: var(--ea-source-blue-300, #a0cfff);--blue-400: var(--ea-source-blue-400, #66b1ff);--blue-500: var(--ea-source-blue-500, #409eff);--blue-600: var(--ea-source-blue-600, #3a8ee6);--blue-700: var(--ea-source-blue-700, #337ecc);--blue-800: var(--ea-source-blue-800, #266bbd);--blue-900: var(--ea-source-blue-900, #1a4f91);--green-100: var(--ea-source-green-100, #f0f9eb);--green-200: var(--ea-source-green-200, #dcefd1);--green-300: var(--ea-source-green-300, #b3e19d);--green-400: var(--ea-source-green-400, #85ce61);--green-500: var(--ea-source-green-500, #67c23a);--green-600: var(--ea-source-green-600, #5daf34);--green-700: var(--ea-source-green-700, #4aa030);--green-800: var(--ea-source-green-800, #3d8e2b);--green-900: var(--ea-source-green-900, #2e6e22);--yellow-100: var(--ea-source-yellow-100, #fdf6ec);--yellow-200: var(--ea-source-yellow-200, #faecd8);--yellow-300: var(--ea-source-yellow-300, #f3d19e);--yellow-400: var(--ea-source-yellow-400, #ebb563);--yellow-500: var(--ea-source-yellow-500, #e6a23c);--yellow-600: var(--ea-source-yellow-600, #cf9236);--yellow-700: var(--ea-source-yellow-700, #b88230);--yellow-800: var(--ea-source-yellow-800, #99692a);--yellow-900: var(--ea-source-yellow-900, #7c4f1f);--red-100: var(--ea-source-red-100, #fef0f0);--red-200: var(--ea-source-red-200, #fde2e2);--red-300: var(--ea-source-red-300, #fab6b6);--red-400: var(--ea-source-red-400, #f78989);--red-500: var(--ea-source-red-500, #f56c6c);--red-600: var(--ea-source-red-600, #dd6161);--red-700: var(--ea-source-red-700, #c45656);--red-800: var(--ea-source-red-800, #b04343);--red-900: var(--ea-source-red-900, #8b2e2e);--grey-100: var(--ea-source-grey-100, #f5f7fa);--grey-200: var(--ea-source-grey-200, #ebeef5);--grey-300: var(--ea-source-grey-300, #dcdfe6);--grey-400: var(--ea-source-grey-400, #c0c4cc);--grey-500: var(--ea-source-grey-500, #909399);--grey-600: var(--ea-source-grey-600, #82848a);--grey-700: var(--ea-source-grey-700, #606266);--grey-800: var(--ea-source-grey-800, #4a4c50);--grey-900: var(--ea-source-grey-900, #303133);--white: var(--ea-source-color-white, #ffffff);--black: var(--ea-source-color-black, #000000);--transparent: var(--ea-source-color-transparent, transparent);--font-family-base: "Helvetica Neue", Arial, sans-serif;--font-size-xs: 10px;--font-size-sm: 12px;--font-size-md: 14px;--font-size-lg: 16px;--font-weight-sm: 100;--font-weight-md: 400;--font-weight-bold: 700;--spacing-xs: 2px;--spacing-sm: 4px;--spacing-md: 8px;--spacing-lg: 12px;--border-radius-sm: 4px;--border-radius: 6px;--border-radius-lg: 10px;--border-radius-round: 999px;--border-radius-circle: 50%;--border-width: 1px;--border-style: solid;--border-color: var(--grey-300);--ea-border: var(--border-width) var(--border-style) var(--border-color);--box-shadow-sm: var(--ea-source-box-shadow-sm, 0 0 2px rgba(0, 0, 0, .08));--box-shadow-md: var(--ea-source-box-shadow-md, 0 0 6px rgba(0, 0, 0, .12));--box-shadow-lg: var(--ea-source-box-shadow-lg, 0 0 12px rgba(0, 0, 0, .15));--theme-transition: var(--ea-theme-transition, background-color .3s ease, color .3s ease);--transition-fast: .15s ease-in-out;--transition-normal: .3s ease-in-out;--transition-slow: .5s ease-in-out;--btn-height-sm: 32px;--btn-height-md: 40px;--btn-height-lg: 48px;--cursor-not-allowed: not-allowed;--cursor-pointer: pointer;--cursor-default: default}:host{--default-font-size: 16px;--default-loading-icon-color: var(--blue-300)}:host input,:host textarea,:host select,:host optgroup,:host fieldset{background:none}ul{list-style-type:none;margin-block-start:0em;margin-block-end:0em;margin-inline-start:0px;margin-inline-end:0px;padding-inline-start:0px;unicode-bidi:isolate}', r = "html.dark{--ea-source-color-white: #1a1a1a;--ea-source-color-black: #e5e5e5;--ea-source-color-transparent: transparent;--ea-source-color-border: #3a3a3a;--ea-source-color-grey: #666666;--ea-source-color-grey-dark: #aaaaaa;--ea-source-color-grey-light: #252525;--ea-source-color-blue: #3a8ee6;--ea-source-color-green: #5daf34;--ea-source-color-yellow: #cf9236;--ea-source-color-red: #dd6161;--ea-source-color-muted: #888888;--ea-source-blue-100: #0d1b2a;--ea-source-blue-200: #1a2d45;--ea-source-blue-300: #1e3a5f;--ea-source-blue-400: #2a5a8f;--ea-source-blue-500: #3a8ee6;--ea-source-blue-600: #4d9ef0;--ea-source-blue-700: #6bb2f5;--ea-source-blue-800: #8ec7f8;--ea-source-blue-900: #b8dcfb;--ea-source-green-100: #0d1f0a;--ea-source-green-200: #1a3514;--ea-source-green-300: #264d1e;--ea-source-green-400: #357028;--ea-source-green-500: #5daf34;--ea-source-green-600: #73c04a;--ea-source-green-700: #8fd066;--ea-source-green-800: #b0e08c;--ea-source-green-900: #d4edb3;--ea-source-yellow-100: #1f1708;--ea-source-yellow-200: #3a2c10;--ea-source-yellow-300: #554018;--ea-source-yellow-400: #7a5c22;--ea-source-yellow-500: #cf9236;--ea-source-yellow-600: #daa04a;--ea-source-yellow-700: #e4b366;--ea-source-yellow-800: #edc98c;--ea-source-yellow-900: #f3ddb3;--ea-source-red-100: #1f0a0a;--ea-source-red-200: #3a1414;--ea-source-red-300: #551e1e;--ea-source-red-400: #7a2c2c;--ea-source-red-500: #dd6161;--ea-source-red-600: #e47878;--ea-source-red-700: #eb9494;--ea-source-red-800: #f1b0b0;--ea-source-red-900: #f7cdcd;--ea-source-grey-100: #1a1a1a;--ea-source-grey-200: #252525;--ea-source-grey-300: #3a3a3a;--ea-source-grey-400: #555555;--ea-source-grey-500: #666666;--ea-source-grey-600: #7a7a7a;--ea-source-grey-700: #999999;--ea-source-grey-800: #bbbbbb;--ea-source-grey-900: #e5e5e5;--ea-source-box-shadow-sm: 0 0 2px rgba(0, 0, 0, .4);--ea-source-box-shadow-md: 0 0 6px rgba(0, 0, 0, .5);--ea-source-box-shadow-lg: 0 0 12px rgba(0, 0, 0, .6)}", o = ":root{--ea-source-color-white: #ffffff;--ea-source-color-black: #000000;--ea-source-color-transparent: transparent;--ea-source-color-border: #dcdfe6;--ea-source-color-grey: #c0c4cc;--ea-source-color-grey-dark: #606266;--ea-source-color-grey-light: #f5f7fa;--ea-source-color-blue: #409eff;--ea-source-color-green: #67c23a;--ea-source-color-yellow: #e6a23c;--ea-source-color-red: #f56c6c;--ea-source-color-muted: #909399;--ea-source-blue-100: #e8f3ff;--ea-source-blue-200: #cce6ff;--ea-source-blue-300: #a0cfff;--ea-source-blue-400: #66b1ff;--ea-source-blue-500: #409eff;--ea-source-blue-600: #3a8ee6;--ea-source-blue-700: #337ecc;--ea-source-blue-800: #266bbd;--ea-source-blue-900: #1a4f91;--ea-source-green-100: #f0f9eb;--ea-source-green-200: #dcefd1;--ea-source-green-300: #b3e19d;--ea-source-green-400: #85ce61;--ea-source-green-500: #67c23a;--ea-source-green-600: #5daf34;--ea-source-green-700: #4aa030;--ea-source-green-800: #3d8e2b;--ea-source-green-900: #2e6e22;--ea-source-yellow-100: #fdf6ec;--ea-source-yellow-200: #faecd8;--ea-source-yellow-300: #f3d19e;--ea-source-yellow-400: #ebb563;--ea-source-yellow-500: #e6a23c;--ea-source-yellow-600: #cf9236;--ea-source-yellow-700: #b88230;--ea-source-yellow-800: #99692a;--ea-source-yellow-900: #7c4f1f;--ea-source-red-100: #fef0f0;--ea-source-red-200: #fde2e2;--ea-source-red-300: #fab6b6;--ea-source-red-400: #f78989;--ea-source-red-500: #f56c6c;--ea-source-red-600: #dd6161;--ea-source-red-700: #c45656;--ea-source-red-800: #b04343;--ea-source-red-900: #8b2e2e;--ea-source-grey-100: #f5f7fa;--ea-source-grey-200: #ebeef5;--ea-source-grey-300: #dcdfe6;--ea-source-grey-400: #c0c4cc;--ea-source-grey-500: #909399;--ea-source-grey-600: #82848a;--ea-source-grey-700: #606266;--ea-source-grey-800: #4a4c50;--ea-source-grey-900: #303133;--ea-source-box-shadow-sm: 0 0 2px rgba(0, 0, 0, .08);--ea-source-box-shadow-md: 0 0 6px rgba(0, 0, 0, .12);--ea-source-box-shadow-lg: 0 0 12px rgba(0, 0, 0, .15)}", a = ":root{--ea-source-color-white: #ffffff;--ea-source-color-black: #000000;--ea-source-color-transparent: transparent;--ea-source-color-border: #dcdfe6;--ea-source-color-grey: #c0c4cc;--ea-source-color-grey-dark: #606266;--ea-source-color-grey-light: #f5f7fa;--ea-source-color-blue: #409eff;--ea-source-color-green: #67c23a;--ea-source-color-yellow: #e6a23c;--ea-source-color-red: #f56c6c;--ea-source-color-muted: #909399;--ea-source-blue-100: #e8f3ff;--ea-source-blue-200: #cce6ff;--ea-source-blue-300: #a0cfff;--ea-source-blue-400: #66b1ff;--ea-source-blue-500: #409eff;--ea-source-blue-600: #3a8ee6;--ea-source-blue-700: #337ecc;--ea-source-blue-800: #266bbd;--ea-source-blue-900: #1a4f91;--ea-source-green-100: #f0f9eb;--ea-source-green-200: #dcefd1;--ea-source-green-300: #b3e19d;--ea-source-green-400: #85ce61;--ea-source-green-500: #67c23a;--ea-source-green-600: #5daf34;--ea-source-green-700: #4aa030;--ea-source-green-800: #3d8e2b;--ea-source-green-900: #2e6e22;--ea-source-yellow-100: #fdf6ec;--ea-source-yellow-200: #faecd8;--ea-source-yellow-300: #f3d19e;--ea-source-yellow-400: #ebb563;--ea-source-yellow-500: #e6a23c;--ea-source-yellow-600: #cf9236;--ea-source-yellow-700: #b88230;--ea-source-yellow-800: #99692a;--ea-source-yellow-900: #7c4f1f;--ea-source-red-100: #fef0f0;--ea-source-red-200: #fde2e2;--ea-source-red-300: #fab6b6;--ea-source-red-400: #f78989;--ea-source-red-500: #f56c6c;--ea-source-red-600: #dd6161;--ea-source-red-700: #c45656;--ea-source-red-800: #b04343;--ea-source-red-900: #8b2e2e;--ea-source-grey-100: #f5f7fa;--ea-source-grey-200: #ebeef5;--ea-source-grey-300: #dcdfe6;--ea-source-grey-400: #c0c4cc;--ea-source-grey-500: #909399;--ea-source-grey-600: #82848a;--ea-source-grey-700: #606266;--ea-source-grey-800: #4a4c50;--ea-source-grey-900: #303133;--ea-source-box-shadow-sm: 0 0 2px rgba(0, 0, 0, .08);--ea-source-box-shadow-md: 0 0 6px rgba(0, 0, 0, .12);--ea-source-box-shadow-lg: 0 0 12px rgba(0, 0, 0, .15);--ea-theme-transition: background-color .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease}";
|
|
2
2
|
export {
|
|
3
|
+
r as d,
|
|
4
|
+
o as l,
|
|
5
|
+
a as s,
|
|
3
6
|
e as v
|
|
4
7
|
};
|
package/dist/themes/dark.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { d as t } from "../css/ea-ui-component.style.js";
|
|
2
|
+
const e = document.createElement("style");
|
|
3
|
+
e.textContent = t;
|
|
4
|
+
document.head.appendChild(e);
|
package/dist/themes/light.js
CHANGED
package/dist/themes/source.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dark.entry.d.ts","sourceRoot":"","sources":["../../../src/themes/dark.entry.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dark.entry.d.ts","sourceRoot":"","sources":["../../../src/themes/dark.entry.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"light.entry.d.ts","sourceRoot":"","sources":["../../../src/themes/light.entry.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"light.entry.d.ts","sourceRoot":"","sources":["../../../src/themes/light.entry.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"source.entry.d.ts","sourceRoot":"","sources":["../../../src/themes/source.entry.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"source.entry.d.ts","sourceRoot":"","sources":["../../../src/themes/source.entry.ts"],"names":[],"mappings":""}
|