@wcardinal/wcardinal-ui 0.389.0 → 0.390.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-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.0
|
|
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
|
DThemeWhiteBase.prototype.getBorderWidth = function (state) {
|
|
257
|
-
return 1;
|
|
257
|
+
return 1.5;
|
|
258
258
|
};
|
|
259
259
|
DThemeWhiteBase.prototype.getBorderAlign = function (state) {
|
|
260
260
|
return 0;
|
|
@@ -293,7 +293,7 @@
|
|
|
293
293
|
return 0;
|
|
294
294
|
};
|
|
295
295
|
DThemeWhiteBase.prototype.getOutlineWidth = function (state) {
|
|
296
|
-
return 1;
|
|
296
|
+
return 1.5;
|
|
297
297
|
};
|
|
298
298
|
DThemeWhiteBase.prototype.getOutlineOffset = function (state) {
|
|
299
299
|
return 0;
|
|
@@ -3267,7 +3267,7 @@
|
|
|
3267
3267
|
if (baseColor != null) {
|
|
3268
3268
|
this._backgroundColorEven = baseColor;
|
|
3269
3269
|
this._backgroundAlphaEven = 1;
|
|
3270
|
-
this._backgroundColorOdd = UtilRgb.
|
|
3270
|
+
this._backgroundColorOdd = UtilRgb.darken(baseColor, 0.0175);
|
|
3271
3271
|
this._backgroundAlphaOdd = 1;
|
|
3272
3272
|
this._invalidColor = UtilRgb.blend(baseColor, DThemeWhiteConstants.INVALID_COLOR, DThemeWhiteConstants.INVALID_ALPHA);
|
|
3273
3273
|
this._invalidAlpha = 1;
|
|
@@ -4706,6 +4706,9 @@
|
|
|
4706
4706
|
function DThemeWhiteScrollBarThumb() {
|
|
4707
4707
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
4708
4708
|
_this.BORDER_COLOR = UtilRgb.darken(DThemeWhiteConstants.WEAK_HIGHLIGHT_COLOR, 0.25);
|
|
4709
|
+
_this.BORDER_COLOR_DISABLED = UtilRgb.brighten(_this.BORDER_COLOR, 0.75);
|
|
4710
|
+
_this.BORDER_COLOR_HOVERED = UtilRgb.brighten(_this.BORDER_COLOR, 0.25);
|
|
4711
|
+
_this.BORDER_COLOR_OTHER = UtilRgb.brighten(_this.BORDER_COLOR, 0.5);
|
|
4709
4712
|
return _this;
|
|
4710
4713
|
}
|
|
4711
4714
|
DThemeWhiteScrollBarThumb.prototype.getBackgroundColor = function (state) {
|
|
@@ -4715,24 +4718,24 @@
|
|
|
4715
4718
|
return 1;
|
|
4716
4719
|
};
|
|
4717
4720
|
DThemeWhiteScrollBarThumb.prototype.getBorderColor = function (state) {
|
|
4718
|
-
return this.BORDER_COLOR;
|
|
4719
|
-
};
|
|
4720
|
-
DThemeWhiteScrollBarThumb.prototype.getBorderAlpha = function (state) {
|
|
4721
4721
|
if (state.inDisabled) {
|
|
4722
|
-
return
|
|
4722
|
+
return this.BORDER_COLOR_DISABLED;
|
|
4723
4723
|
}
|
|
4724
4724
|
else if (state.isHovered || state.isGesturing) {
|
|
4725
|
-
return
|
|
4725
|
+
return this.BORDER_COLOR_HOVERED;
|
|
4726
4726
|
}
|
|
4727
4727
|
else {
|
|
4728
|
-
return
|
|
4728
|
+
return this.BORDER_COLOR_OTHER;
|
|
4729
4729
|
}
|
|
4730
4730
|
};
|
|
4731
|
+
DThemeWhiteScrollBarThumb.prototype.getBorderAlpha = function (state) {
|
|
4732
|
+
return 1;
|
|
4733
|
+
};
|
|
4731
4734
|
DThemeWhiteScrollBarThumb.prototype.getBorderWidth = function (state) {
|
|
4732
4735
|
return 3;
|
|
4733
4736
|
};
|
|
4734
4737
|
DThemeWhiteScrollBarThumb.prototype.getBorderAlign = function (state) {
|
|
4735
|
-
return
|
|
4738
|
+
return 1;
|
|
4736
4739
|
};
|
|
4737
4740
|
DThemeWhiteScrollBarThumb.prototype.getWidth = function () {
|
|
4738
4741
|
return 13;
|
|
@@ -7456,6 +7459,9 @@
|
|
|
7456
7459
|
DThemeWhiteDialogLayeredHeaderSeparator.prototype.getInteractive = function () {
|
|
7457
7460
|
return DBaseInteractive.NONE;
|
|
7458
7461
|
};
|
|
7462
|
+
DThemeWhiteDialogLayeredHeaderSeparator.prototype.newState = function (state) {
|
|
7463
|
+
state.isFocusable = false;
|
|
7464
|
+
};
|
|
7459
7465
|
return DThemeWhiteDialogLayeredHeaderSeparator;
|
|
7460
7466
|
}(DThemeWhiteImageBase));
|
|
7461
7467
|
|
|
@@ -7468,6 +7474,12 @@
|
|
|
7468
7474
|
function DThemeWhiteDialogLayeredFooter() {
|
|
7469
7475
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
7470
7476
|
}
|
|
7477
|
+
DThemeWhiteDialogLayeredFooter.prototype.isButtonSpaceLeftEnabled = function () {
|
|
7478
|
+
return true;
|
|
7479
|
+
};
|
|
7480
|
+
DThemeWhiteDialogLayeredFooter.prototype.isButtonSpaceRightEnabled = function () {
|
|
7481
|
+
return true;
|
|
7482
|
+
};
|
|
7471
7483
|
DThemeWhiteDialogLayeredFooter.prototype.getX = function () {
|
|
7472
7484
|
return "padding";
|
|
7473
7485
|
};
|
|
@@ -9380,7 +9392,7 @@
|
|
|
9380
9392
|
function DThemeWhiteTableBodyRow() {
|
|
9381
9393
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
9382
9394
|
_this.BACKGROUND_COLOR_EVEN = DThemeWhiteConstants.BACKGROUND_COLOR_ON_BOARD;
|
|
9383
|
-
_this.BACKGROUND_COLOR_ODD = UtilRgb.darken(DThemeWhiteConstants.BACKGROUND_COLOR_ON_BOARD, 0.
|
|
9395
|
+
_this.BACKGROUND_COLOR_ODD = UtilRgb.darken(DThemeWhiteConstants.BACKGROUND_COLOR_ON_BOARD, 0.0125);
|
|
9384
9396
|
return _this;
|
|
9385
9397
|
}
|
|
9386
9398
|
DThemeWhiteTableBodyRow.prototype.getBackgroundColor = function (state) {
|