@wcardinal/wcardinal-ui 0.305.0 → 0.306.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/types/wcardinal/ui/d-controller-focus-impl.d.ts +2 -1
- package/dist/types/wcardinal/ui/d-controller-focus.d.ts +2 -1
- package/dist/types/wcardinal/ui/d-controller-keyboard-impl.d.ts +11 -0
- package/dist/types/wcardinal/ui/d-controller-keyboard.d.ts +1 -7
- package/dist/types/wcardinal/ui/index.d.ts +1 -0
- package/dist/types/wcardinal/ui/shape/variant/e-shape-group-size-editor.d.ts +2 -2
- package/dist/types/wcardinal/ui/shape/variant/e-shape-group-size-shadowed.d.ts +2 -2
- package/dist/types/wcardinal/ui/shape/variant/e-shape-group-size-viewer.d.ts +2 -2
- package/dist/types/wcardinal/ui/shape/variant/e-shape-group-size.d.ts +2 -2
- package/dist/wcardinal/ui/d-controller-focus-impl.js +10 -3
- package/dist/wcardinal/ui/d-controller-focus-impl.js.map +1 -1
- package/dist/wcardinal/ui/d-controller-focus.js.map +1 -1
- package/dist/wcardinal/ui/d-controller-keyboard-impl.js +66 -0
- package/dist/wcardinal/ui/d-controller-keyboard-impl.js.map +1 -0
- package/dist/wcardinal/ui/d-controller-keyboard.js +1 -61
- package/dist/wcardinal/ui/d-controller-keyboard.js.map +1 -1
- package/dist/wcardinal/ui/d-controllers.js +2 -2
- package/dist/wcardinal/ui/d-controllers.js.map +1 -1
- package/dist/wcardinal/ui/index.js +1 -0
- package/dist/wcardinal/ui/index.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-embedded-layer.js +8 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-embedded-layer.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-group-size-editor.js +2 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-group-size-editor.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-group-size-shadowed.js +2 -2
- package/dist/wcardinal/ui/shape/variant/e-shape-group-size-shadowed.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-group-size-viewer.js +2 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-group-size-viewer.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-group-size.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-base.js +15 -9
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-base.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-dialog-processing-message.js +0 -8
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-dialog-processing-message.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-list-items.js +5 -5
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-list-items.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-cells.js +2 -2
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-cells.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-row.js +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-row.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body.js +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-header-cell.js +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-header-cell.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-header.js +2 -2
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-header.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-base.js +15 -9
- package/dist/wcardinal/ui/theme/white/d-theme-white-base.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-dialog-processing-message.js +0 -8
- package/dist/wcardinal/ui/theme/white/d-theme-white-dialog-processing-message.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-list-items.js +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-list-items.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-cells.js +2 -2
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-cells.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-row.js +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-row.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-body.js +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-body.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-header-cell.js +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-header-cell.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-header.js +2 -2
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-header.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark.js +28 -30
- package/dist/wcardinal-ui-theme-dark.min.js +2 -2
- package/dist/wcardinal-ui-theme-dark.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-white.js +24 -26
- package/dist/wcardinal-ui-theme-white.min.js +2 -2
- package/dist/wcardinal-ui-theme-white.min.js.map +1 -1
- package/dist/wcardinal-ui.cjs.js +82 -72
- package/dist/wcardinal-ui.js +32 -18
- package/dist/wcardinal-ui.min.js +2 -2
- package/dist/wcardinal-ui.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Winter Cardinal UI v0.
|
|
2
|
+
Winter Cardinal UI v0.306.0
|
|
3
3
|
Copyright (C) 2019 Toshiba Corporation
|
|
4
4
|
SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
|
|
@@ -195,11 +195,17 @@
|
|
|
195
195
|
DThemeWhiteAtlas.add(id, d, d, "<g>" +
|
|
196
196
|
"<defs>" +
|
|
197
197
|
"<radialGradient id=\"".concat(id, "_filter\">") +
|
|
198
|
-
"<stop
|
|
199
|
-
"<stop
|
|
200
|
-
"<stop
|
|
201
|
-
"<stop
|
|
202
|
-
"<stop
|
|
198
|
+
"<stop offset=\"0%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.368, "\" />") +
|
|
199
|
+
"<stop offset=\"30%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.368, "\" />") +
|
|
200
|
+
"<stop offset=\"37%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.368, "\" />") +
|
|
201
|
+
"<stop offset=\"44%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.368, "\" />") + // Math.exp(-(p-30)/14)
|
|
202
|
+
"<stop offset=\"51%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.223, "\" />") +
|
|
203
|
+
"<stop offset=\"58%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.135, "\" />") +
|
|
204
|
+
"<stop offset=\"65%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.082, "\" />") +
|
|
205
|
+
"<stop offset=\"72%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.050, "\" />") +
|
|
206
|
+
"<stop offset=\"79%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.030, "\" />") +
|
|
207
|
+
"<stop offset=\"86%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.018, "\" />") +
|
|
208
|
+
"<stop offset=\"93%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.011, "\" />") +
|
|
203
209
|
"<stop offset=\"100%\" stop-color=\"black\" stop-opacity=\"0\" />" +
|
|
204
210
|
"</radialGradient>" +
|
|
205
211
|
"</defs>" +
|
|
@@ -207,8 +213,8 @@
|
|
|
207
213
|
"</g>");
|
|
208
214
|
/* eslint-enable prettier/prettier */
|
|
209
215
|
};
|
|
210
|
-
newShadow("shadow_weak",
|
|
211
|
-
newShadow("shadow",
|
|
216
|
+
newShadow("shadow_weak", 24, 0.3);
|
|
217
|
+
newShadow("shadow", 48, 0.3);
|
|
212
218
|
/* eslint-disable prettier/prettier */
|
|
213
219
|
DThemeWhiteAtlas.add("background", 16, 16, "<g>" +
|
|
214
220
|
"<defs>" +
|
|
@@ -322,10 +328,10 @@
|
|
|
322
328
|
return -1;
|
|
323
329
|
};
|
|
324
330
|
DThemeWhiteBase.prototype.newShadow = function () {
|
|
325
|
-
return new DShadowImpl(DThemeWhiteAtlas.mappings.shadow,
|
|
331
|
+
return new DShadowImpl(DThemeWhiteAtlas.mappings.shadow, 48, 48, 0, 4.8);
|
|
326
332
|
};
|
|
327
333
|
DThemeWhiteBase.prototype.newShadowWeak = function () {
|
|
328
|
-
return new DShadowImpl(DThemeWhiteAtlas.mappings.shadow_weak,
|
|
334
|
+
return new DShadowImpl(DThemeWhiteAtlas.mappings.shadow_weak, 24, 24, 0, 2.4);
|
|
329
335
|
};
|
|
330
336
|
DThemeWhiteBase.prototype.getCursor = function (state) {
|
|
331
337
|
return "";
|
|
@@ -2412,7 +2418,7 @@
|
|
|
2412
2418
|
}
|
|
2413
2419
|
};
|
|
2414
2420
|
DThemeWhiteListItems.prototype.getHeight = function () {
|
|
2415
|
-
return
|
|
2421
|
+
return 40;
|
|
2416
2422
|
};
|
|
2417
2423
|
DThemeWhiteListItems.prototype.getCornerMask = function () {
|
|
2418
2424
|
return DCornerMask.ALL;
|
|
@@ -4679,11 +4685,6 @@
|
|
|
4679
4685
|
DThemeWhiteAtlas.add("success_mark", 21, 21, "<g transform=\"scale(0.875,0.875)\">" +
|
|
4680
4686
|
"<path d=\"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z\" fill=\"#fff\" />" +
|
|
4681
4687
|
"</g>");
|
|
4682
|
-
DThemeWhiteAtlas.add("fail_mark", 21, 21, "<g transform=\"scale(0.875,0.875)\">" +
|
|
4683
|
-
"<path d=\"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52" +
|
|
4684
|
-
" 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8" +
|
|
4685
|
-
"-3.58 8-8 8z\" fill=\"#fff\" />" +
|
|
4686
|
-
"</g>");
|
|
4687
4688
|
/* eslint-enable prettier/prettier */
|
|
4688
4689
|
var DThemeWhiteDialogProcessingMessage = /** @class */ (function (_super) {
|
|
4689
4690
|
__extends(DThemeWhiteDialogProcessingMessage, _super);
|
|
@@ -4697,9 +4698,6 @@
|
|
|
4697
4698
|
if (state.isSucceeded) {
|
|
4698
4699
|
return DThemeWhiteAtlas.mappings.success_mark;
|
|
4699
4700
|
}
|
|
4700
|
-
else if (state.isFailed) {
|
|
4701
|
-
return DThemeWhiteAtlas.mappings.fail_mark;
|
|
4702
|
-
}
|
|
4703
4701
|
return null;
|
|
4704
4702
|
};
|
|
4705
4703
|
DThemeWhiteDialogProcessingMessage.prototype.getImageTintAlpha = function (state) {
|
|
@@ -7641,7 +7639,7 @@
|
|
|
7641
7639
|
return null;
|
|
7642
7640
|
};
|
|
7643
7641
|
DThemeWhiteTableBody.prototype.getRowHeight = function () {
|
|
7644
|
-
return
|
|
7642
|
+
return 40;
|
|
7645
7643
|
};
|
|
7646
7644
|
DThemeWhiteTableBody.prototype.getInteractive = function () {
|
|
7647
7645
|
return DBaseInteractive.BOTH;
|
|
@@ -7736,8 +7734,8 @@
|
|
|
7736
7734
|
var _a;
|
|
7737
7735
|
_a = DThemeWhiteTableBodyCells;
|
|
7738
7736
|
DThemeWhiteTableBodyCells.BACKGROUND_COLOR = DThemeWhiteConstants.BACKGROUND_COLOR_ON_BOARD;
|
|
7739
|
-
DThemeWhiteTableBodyCells.BACKGROUND_COLOR_FROZEN_EVEN = UtilRgb.darken(_a.BACKGROUND_COLOR, 0.
|
|
7740
|
-
DThemeWhiteTableBodyCells.BACKGROUND_COLOR_FROZEN_ODD = UtilRgb.darken(_a.BACKGROUND_COLOR_FROZEN_EVEN, 0.
|
|
7737
|
+
DThemeWhiteTableBodyCells.BACKGROUND_COLOR_FROZEN_EVEN = UtilRgb.darken(_a.BACKGROUND_COLOR, 0.015);
|
|
7738
|
+
DThemeWhiteTableBodyCells.BACKGROUND_COLOR_FROZEN_ODD = UtilRgb.darken(_a.BACKGROUND_COLOR_FROZEN_EVEN, 0.015);
|
|
7741
7739
|
DThemeWhiteTableBodyCells.BORDER_COLOR = UtilRgb.darken(_a.BACKGROUND_COLOR, 0.035);
|
|
7742
7740
|
DThemeWhiteTableBodyCells.BORDER_COLOR_FROZEN = UtilRgb.darken(_a.BORDER_COLOR, 0.035);
|
|
7743
7741
|
return DThemeWhiteTableBodyCells;
|
|
@@ -8727,7 +8725,7 @@
|
|
|
8727
8725
|
function DThemeWhiteTableBodyRow() {
|
|
8728
8726
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
8729
8727
|
_this.BACKGROUND_COLOR_EVEN = DThemeWhiteConstants.BACKGROUND_COLOR_ON_BOARD;
|
|
8730
|
-
_this.BACKGROUND_COLOR_ODD = UtilRgb.darken(DThemeWhiteConstants.BACKGROUND_COLOR_ON_BOARD, 0.
|
|
8728
|
+
_this.BACKGROUND_COLOR_ODD = UtilRgb.darken(DThemeWhiteConstants.BACKGROUND_COLOR_ON_BOARD, 0.015);
|
|
8731
8729
|
return _this;
|
|
8732
8730
|
}
|
|
8733
8731
|
DThemeWhiteTableBodyRow.prototype.getBackgroundColor = function (state) {
|
|
@@ -8758,7 +8756,7 @@
|
|
|
8758
8756
|
__extends(DThemeWhiteTableHeader, _super);
|
|
8759
8757
|
function DThemeWhiteTableHeader() {
|
|
8760
8758
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
8761
|
-
_this.BACKGROUND_COLOR = UtilRgb.darken(DThemeWhiteConstants.BACKGROUND_COLOR_ON_BOARD, 0.
|
|
8759
|
+
_this.BACKGROUND_COLOR = UtilRgb.darken(DThemeWhiteConstants.BACKGROUND_COLOR_ON_BOARD, 0.03);
|
|
8762
8760
|
_this.BORDER_COLOR = UtilRgb.darken(DThemeWhiteConstants.BACKGROUND_COLOR_ON_BOARD, 0.055);
|
|
8763
8761
|
return _this;
|
|
8764
8762
|
}
|
|
@@ -8780,7 +8778,7 @@
|
|
|
8780
8778
|
return "100%";
|
|
8781
8779
|
};
|
|
8782
8780
|
DThemeWhiteTableHeader.prototype.getHeight = function () {
|
|
8783
|
-
return
|
|
8781
|
+
return 40;
|
|
8784
8782
|
};
|
|
8785
8783
|
return DThemeWhiteTableHeader;
|
|
8786
8784
|
}(DThemeWhiteTableRow));
|
|
@@ -8815,7 +8813,7 @@
|
|
|
8815
8813
|
__extends(DThemeWhiteTableHeaderCell, _super);
|
|
8816
8814
|
function DThemeWhiteTableHeaderCell() {
|
|
8817
8815
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
8818
|
-
_this.BACKGROUND_COLOR = UtilRgb.darken(DThemeWhiteConstants.BACKGROUND_COLOR_ON_BOARD, 0.
|
|
8816
|
+
_this.BACKGROUND_COLOR = UtilRgb.darken(DThemeWhiteConstants.BACKGROUND_COLOR_ON_BOARD, 0.03);
|
|
8819
8817
|
_this.BACKGROUND_COLOR_HOVERED = UtilRgb.darken(_this.BACKGROUND_COLOR, 0.017);
|
|
8820
8818
|
_this.BACKGROUND_COLOR_PRESSED = UtilRgb.darken(_this.BACKGROUND_COLOR, 0.034);
|
|
8821
8819
|
_this.BACKGROUND_COLOR_FROZEN = UtilRgb.darken(_this.BACKGROUND_COLOR, 0.02);
|