@wcardinal/wcardinal-ui 0.389.0 → 0.390.1
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-dialog-layered-footer.d.ts +26 -1
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-dialog-layered-footer.d.ts +2 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-dialog-layered-header-separator.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-scroll-bar-thumb.d.ts +3 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-dialog-layered-footer.d.ts +2 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-dialog-layered-header-separator.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-scroll-bar-thumb.d.ts +3 -0
- package/dist/wcardinal/ui/d-dialog-layered-footer.js +56 -16
- package/dist/wcardinal/ui/d-dialog-layered-footer.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-base.js +2 -2
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-base.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-dialog-layered-footer.js +6 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-dialog-layered-footer.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-dialog-layered-header-separator.js +3 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-dialog-layered-header-separator.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-list-items.js +2 -2
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-list-items.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-scroll-bar-thumb.js +10 -7
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-scroll-bar-thumb.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/white/d-theme-white-base.js +2 -2
- package/dist/wcardinal/ui/theme/white/d-theme-white-base.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-dialog-layered-footer.js +6 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-dialog-layered-footer.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-dialog-layered-header-separator.js +3 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-dialog-layered-header-separator.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-scroll-bar-thumb.js +10 -7
- package/dist/wcardinal/ui/theme/white/d-theme-white-scroll-bar-thumb.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-dark-en-us.js +25 -13
- package/dist/wcardinal-ui-theme-dark-en-us.min.js +2 -2
- package/dist/wcardinal-ui-theme-dark-en-us.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark-ja-jp.js +25 -13
- package/dist/wcardinal-ui-theme-dark-ja-jp.min.js +2 -2
- package/dist/wcardinal-ui-theme-dark-ja-jp.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark.js +25 -13
- package/dist/wcardinal-ui-theme-dark.min.js +2 -2
- package/dist/wcardinal-ui-theme-white-en-us.js +24 -12
- package/dist/wcardinal-ui-theme-white-en-us.min.js +2 -2
- package/dist/wcardinal-ui-theme-white-en-us.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-white-ja-jp.js +24 -12
- package/dist/wcardinal-ui-theme-white-ja-jp.min.js +2 -2
- package/dist/wcardinal-ui-theme-white-ja-jp.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-white.js +24 -12
- package/dist/wcardinal-ui-theme-white.min.js +2 -2
- package/dist/wcardinal-ui.cjs.js +104 -40
- package/dist/wcardinal-ui.js +57 -17
- 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.390.1
|
|
3
3
|
Copyright (C) 2019 Toshiba Corporation
|
|
4
4
|
SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
|
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
return 1;
|
|
255
255
|
};
|
|
256
256
|
DThemeDarkBase.prototype.getBorderWidth = function (state) {
|
|
257
|
-
return 1;
|
|
257
|
+
return 1.5;
|
|
258
258
|
};
|
|
259
259
|
DThemeDarkBase.prototype.getBorderAlign = function (state) {
|
|
260
260
|
return 0;
|
|
@@ -293,7 +293,7 @@
|
|
|
293
293
|
return 0;
|
|
294
294
|
};
|
|
295
295
|
DThemeDarkBase.prototype.getOutlineWidth = function (state) {
|
|
296
|
-
return 1;
|
|
296
|
+
return 1.5;
|
|
297
297
|
};
|
|
298
298
|
DThemeDarkBase.prototype.getOutlineOffset = function (state) {
|
|
299
299
|
return 0;
|
|
@@ -3266,7 +3266,7 @@
|
|
|
3266
3266
|
if (baseColor != null) {
|
|
3267
3267
|
this._backgroundColorEven = baseColor;
|
|
3268
3268
|
this._backgroundAlphaEven = 1;
|
|
3269
|
-
this._backgroundColorOdd = UtilRgb.
|
|
3269
|
+
this._backgroundColorOdd = UtilRgb.brighten(baseColor, 0.0075);
|
|
3270
3270
|
this._backgroundAlphaOdd = 1;
|
|
3271
3271
|
this._invalidColor = UtilRgb.blend(baseColor, DThemeDarkConstants.INVALID_COLOR, DThemeDarkConstants.INVALID_ALPHA);
|
|
3272
3272
|
this._invalidAlpha = 1;
|
|
@@ -3284,7 +3284,7 @@
|
|
|
3284
3284
|
this._backgroundColorEven = 0xffffff;
|
|
3285
3285
|
this._backgroundAlphaEven = 0;
|
|
3286
3286
|
this._backgroundColorOdd = 0xffffff;
|
|
3287
|
-
this._backgroundAlphaOdd = 0.
|
|
3287
|
+
this._backgroundAlphaOdd = 0.0075;
|
|
3288
3288
|
this._invalidColor = DThemeDarkConstants.INVALID_COLOR;
|
|
3289
3289
|
this._invalidAlpha = DThemeDarkConstants.INVALID_ALPHA;
|
|
3290
3290
|
this._highlightColor = DThemeDarkConstants.HIGHLIGHT_COLOR;
|
|
@@ -4703,6 +4703,9 @@
|
|
|
4703
4703
|
function DThemeDarkScrollBarThumb() {
|
|
4704
4704
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
4705
4705
|
_this.BORDER_COLOR = UtilRgb.brighten(DThemeDarkConstants.WEAK_HIGHLIGHT_COLOR, 0.25);
|
|
4706
|
+
_this.BORDER_COLOR_DISABLED = UtilRgb.darken(_this.BORDER_COLOR, 0.75);
|
|
4707
|
+
_this.BORDER_COLOR_HOVERED = UtilRgb.darken(_this.BORDER_COLOR, 0.25);
|
|
4708
|
+
_this.BORDER_COLOR_OTHER = UtilRgb.darken(_this.BORDER_COLOR, 0.5);
|
|
4706
4709
|
return _this;
|
|
4707
4710
|
}
|
|
4708
4711
|
DThemeDarkScrollBarThumb.prototype.getBackgroundColor = function (state) {
|
|
@@ -4712,24 +4715,24 @@
|
|
|
4712
4715
|
return 1;
|
|
4713
4716
|
};
|
|
4714
4717
|
DThemeDarkScrollBarThumb.prototype.getBorderColor = function (state) {
|
|
4715
|
-
return this.BORDER_COLOR;
|
|
4716
|
-
};
|
|
4717
|
-
DThemeDarkScrollBarThumb.prototype.getBorderAlpha = function (state) {
|
|
4718
4718
|
if (state.inDisabled) {
|
|
4719
|
-
return
|
|
4719
|
+
return this.BORDER_COLOR_DISABLED;
|
|
4720
4720
|
}
|
|
4721
4721
|
else if (state.isHovered || state.isGesturing) {
|
|
4722
|
-
return
|
|
4722
|
+
return this.BORDER_COLOR_HOVERED;
|
|
4723
4723
|
}
|
|
4724
4724
|
else {
|
|
4725
|
-
return
|
|
4725
|
+
return this.BORDER_COLOR_OTHER;
|
|
4726
4726
|
}
|
|
4727
4727
|
};
|
|
4728
|
+
DThemeDarkScrollBarThumb.prototype.getBorderAlpha = function (state) {
|
|
4729
|
+
return 1;
|
|
4730
|
+
};
|
|
4728
4731
|
DThemeDarkScrollBarThumb.prototype.getBorderWidth = function (state) {
|
|
4729
4732
|
return 3;
|
|
4730
4733
|
};
|
|
4731
4734
|
DThemeDarkScrollBarThumb.prototype.getBorderAlign = function (state) {
|
|
4732
|
-
return
|
|
4735
|
+
return 1;
|
|
4733
4736
|
};
|
|
4734
4737
|
DThemeDarkScrollBarThumb.prototype.getWidth = function () {
|
|
4735
4738
|
return 13;
|
|
@@ -7464,6 +7467,9 @@
|
|
|
7464
7467
|
DThemeDarkDialogLayeredHeaderSeparator.prototype.getInteractive = function () {
|
|
7465
7468
|
return DBaseInteractive.NONE;
|
|
7466
7469
|
};
|
|
7470
|
+
DThemeDarkDialogLayeredHeaderSeparator.prototype.newState = function (state) {
|
|
7471
|
+
state.isFocusable = false;
|
|
7472
|
+
};
|
|
7467
7473
|
return DThemeDarkDialogLayeredHeaderSeparator;
|
|
7468
7474
|
}(DThemeDarkImageBase));
|
|
7469
7475
|
|
|
@@ -7476,6 +7482,12 @@
|
|
|
7476
7482
|
function DThemeDarkDialogLayeredFooter() {
|
|
7477
7483
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
7478
7484
|
}
|
|
7485
|
+
DThemeDarkDialogLayeredFooter.prototype.isButtonSpaceLeftEnabled = function () {
|
|
7486
|
+
return true;
|
|
7487
|
+
};
|
|
7488
|
+
DThemeDarkDialogLayeredFooter.prototype.isButtonSpaceRightEnabled = function () {
|
|
7489
|
+
return true;
|
|
7490
|
+
};
|
|
7479
7491
|
DThemeDarkDialogLayeredFooter.prototype.getX = function () {
|
|
7480
7492
|
return "padding";
|
|
7481
7493
|
};
|
|
@@ -9386,7 +9398,7 @@
|
|
|
9386
9398
|
function DThemeDarkTableBodyRow() {
|
|
9387
9399
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
9388
9400
|
_this.BACKGROUND_COLOR_EVEN = DThemeDarkConstants.BACKGROUND_COLOR_ON_BOARD;
|
|
9389
|
-
_this.BACKGROUND_COLOR_ODD = UtilRgb.brighten(DThemeDarkConstants.BACKGROUND_COLOR_ON_BOARD, 0.
|
|
9401
|
+
_this.BACKGROUND_COLOR_ODD = UtilRgb.brighten(DThemeDarkConstants.BACKGROUND_COLOR_ON_BOARD, 0.01);
|
|
9390
9402
|
return _this;
|
|
9391
9403
|
}
|
|
9392
9404
|
DThemeDarkTableBodyRow.prototype.getBackgroundColor = function (state) {
|