diff --git a/packages/quark-react/package.json b/packages/quark-react/package.json index 1ca3c9d0..13759cde 100644 --- a/packages/quark-react/package.json +++ b/packages/quark-react/package.json @@ -1,6 +1,6 @@ { "name": "@quarkd/quark-react", - "version": "2.0.0", + "version": "2.0.1", "description": "Web components react reactify", "types": "lib/index.d.ts", "typings": "lib/index.d.ts", @@ -24,7 +24,7 @@ "*.js" ], "dependencies": { - "quarkd": "2.0.0", + "quarkd": "2.0.1", "@quarkd/reactify": "^1.0.3" }, "devDependencies": { diff --git a/packages/quarkd/package.json b/packages/quarkd/package.json index f028981f..727eb34f 100644 --- a/packages/quarkd/package.json +++ b/packages/quarkd/package.json @@ -1,6 +1,6 @@ { "name": "quarkd", - "version": "2.0.0", + "version": "2.0.1", "description": "Mobile UI Components built on Web Components.", "main": "lib/index.js", "module": "lib/index.js", diff --git a/packages/quarkd/src/actionsheet/index.tsx b/packages/quarkd/src/actionsheet/index.tsx index c3d24861..2670ad28 100644 --- a/packages/quarkd/src/actionsheet/index.tsx +++ b/packages/quarkd/src/actionsheet/index.tsx @@ -169,6 +169,7 @@ class QuarkActionSheet extends QuarkElement { class="quark-actionsheet" ref={this.wrap} onClick={this.handleContainerClick} + part="root" > {this.title && (
+
{this.renderContent()}
diff --git a/packages/quarkd/src/button/index.tsx b/packages/quarkd/src/button/index.tsx index 09211cf0..7b05db66 100644 --- a/packages/quarkd/src/button/index.tsx +++ b/packages/quarkd/src/button/index.tsx @@ -93,7 +93,7 @@ class QuarkButton extends QuarkElement { render() { return ( -
+
{this.renderIcon()}
diff --git a/packages/quarkd/src/calendar/index.tsx b/packages/quarkd/src/calendar/index.tsx index 3878fdfd..7889264e 100644 --- a/packages/quarkd/src/calendar/index.tsx +++ b/packages/quarkd/src/calendar/index.tsx @@ -646,7 +646,7 @@ class QuarkCalendar extends QuarkElement { }; renderCalendar = () => ( -
+
{this.renderHeader()}
{this.renderCalendar()} diff --git a/packages/quarkd/src/cascadepicker/index.tsx b/packages/quarkd/src/cascadepicker/index.tsx index 350413a2..40aa1864 100644 --- a/packages/quarkd/src/cascadepicker/index.tsx +++ b/packages/quarkd/src/cascadepicker/index.tsx @@ -235,6 +235,7 @@ class QuarkCascadePicker extends QuarkElement { round forbidmaskclick={this.forbidmaskclick} onclose={this.popupClose} + part="root" >
diff --git a/packages/quarkd/src/cell/index.tsx b/packages/quarkd/src/cell/index.tsx index 47d82a40..8916f204 100644 --- a/packages/quarkd/src/cell/index.tsx +++ b/packages/quarkd/src/cell/index.tsx @@ -53,7 +53,7 @@ class QuarkCell extends QuarkElement { render() { return ( -
+
{this.renderIcon()}
{this.title} diff --git a/packages/quarkd/src/checkbox/index.tsx b/packages/quarkd/src/checkbox/index.tsx index c72f0a87..b32d14d1 100644 --- a/packages/quarkd/src/checkbox/index.tsx +++ b/packages/quarkd/src/checkbox/index.tsx @@ -163,7 +163,7 @@ class QuarkCheckboxGroup extends QuarkElement { render() { return ( -
+
); diff --git a/packages/quarkd/src/circle/index.tsx b/packages/quarkd/src/circle/index.tsx index 4aa79a9c..365aba00 100644 --- a/packages/quarkd/src/circle/index.tsx +++ b/packages/quarkd/src/circle/index.tsx @@ -162,7 +162,7 @@ class QuarkCircle extends QuarkElement { transform: `rotate(${ROTATE_ANGLE_MAP[this.startposition]}deg)`, }; return ( -
+
{this.renderGradient()} {this.renderLayer()} diff --git a/packages/quarkd/src/collapse/index.tsx b/packages/quarkd/src/collapse/index.tsx index ce86684f..b42b995d 100644 --- a/packages/quarkd/src/collapse/index.tsx +++ b/packages/quarkd/src/collapse/index.tsx @@ -45,7 +45,7 @@ class Collapse extends QuarkElement { render() { return ( -
+
{this.title} diff --git a/packages/quarkd/src/datetimepicker/TimePicker.tsx b/packages/quarkd/src/datetimepicker/TimePicker.tsx index 5309b2e0..d81ceeb6 100644 --- a/packages/quarkd/src/datetimepicker/TimePicker.tsx +++ b/packages/quarkd/src/datetimepicker/TimePicker.tsx @@ -176,6 +176,7 @@ class QuarkTimePicker extends QuarkElement { onclose={this.onClose} onchange={this.onChange} onconfirm={this.confirm} + part="root" > {this.showtoolbar && (
diff --git a/packages/quarkd/src/datetimepicker/index.tsx b/packages/quarkd/src/datetimepicker/index.tsx index 462d4d10..7d710281 100644 --- a/packages/quarkd/src/datetimepicker/index.tsx +++ b/packages/quarkd/src/datetimepicker/index.tsx @@ -151,6 +151,7 @@ class QuarkDatetimePicker extends QuarkElement { onclose={this.onClose} onchange={this.onChange} onconfirm={this.onConfirm} + part="root" > @@ -170,6 +171,7 @@ class QuarkDatetimePicker extends QuarkElement { onclose={this.onClose} onchange={this.onChange} onconfirm={this.onConfirm} + part="root" > diff --git a/packages/quarkd/src/dropdownitem/index.tsx b/packages/quarkd/src/dropdownitem/index.tsx index 814f99d4..6a493716 100644 --- a/packages/quarkd/src/dropdownitem/index.tsx +++ b/packages/quarkd/src/dropdownitem/index.tsx @@ -294,7 +294,7 @@ class QuarkDropdownItem extends QuarkElement { render() { return ( -
+
+
-
+
+
); diff --git a/packages/quarkd/src/grid/index.tsx b/packages/quarkd/src/grid/index.tsx index 32eb585c..d4a27e04 100644 --- a/packages/quarkd/src/grid/index.tsx +++ b/packages/quarkd/src/grid/index.tsx @@ -146,7 +146,7 @@ class QuarkGrid extends QuarkElement { render() { return ( -
+
); diff --git a/packages/quarkd/src/icon/index.tsx b/packages/quarkd/src/icon/index.tsx index ca635d76..fdb57ef9 100644 --- a/packages/quarkd/src/icon/index.tsx +++ b/packages/quarkd/src/icon/index.tsx @@ -12,6 +12,7 @@ class QuarkIcon extends QuarkElement { class="quark-icon-svg" aria-hidden="true" viewBox="0 0 1024 1024" + part="root" > ); } diff --git a/packages/quarkd/src/image/index.tsx b/packages/quarkd/src/image/index.tsx index cf57f1df..692bedce 100644 --- a/packages/quarkd/src/image/index.tsx +++ b/packages/quarkd/src/image/index.tsx @@ -108,7 +108,7 @@ class QuarkImage extends QuarkElement { }; return ( -
+
{this.status === "error" && (
{Locale.current.image.loadError} diff --git a/packages/quarkd/src/list/index.tsx b/packages/quarkd/src/list/index.tsx index e99e2977..50287ff9 100644 --- a/packages/quarkd/src/list/index.tsx +++ b/packages/quarkd/src/list/index.tsx @@ -164,7 +164,7 @@ class QuarkList extends QuarkElement { render() { return ( -
+
{this.loading && !this.finished && this.renderLoading()} {this.finished && this.renderFinishedText()} diff --git a/packages/quarkd/src/loading/index.tsx b/packages/quarkd/src/loading/index.tsx index 9cd4245f..bf6a0491 100644 --- a/packages/quarkd/src/loading/index.tsx +++ b/packages/quarkd/src/loading/index.tsx @@ -56,7 +56,7 @@ class QuarkLoading extends QuarkElement { +
{this.url && error} diff --git a/packages/quarkd/src/marquee/index.tsx b/packages/quarkd/src/marquee/index.tsx index 25c9a334..6dca6d78 100644 --- a/packages/quarkd/src/marquee/index.tsx +++ b/packages/quarkd/src/marquee/index.tsx @@ -82,7 +82,7 @@ class QuarkMarquee extends QuarkElement { class={`quark-marquee-title ${ this.paused ? "quark-marquee-paused" : "" }`} - part="title" + part="root" ref={this.titleRef} onTransitionend={this.transitionEnd} > diff --git a/packages/quarkd/src/navbar/index.tsx b/packages/quarkd/src/navbar/index.tsx index a3a6f4b9..3b550249 100644 --- a/packages/quarkd/src/navbar/index.tsx +++ b/packages/quarkd/src/navbar/index.tsx @@ -58,7 +58,7 @@ class QuarkNavbar extends QuarkElement { size={this.iconsize} onClick={this.leftClick} class="back" - part="back" + part="back-icon" /> {!this.closehide && ( )} diff --git a/packages/quarkd/src/noticebar/index.tsx b/packages/quarkd/src/noticebar/index.tsx index 21b12eb5..c88aeafe 100644 --- a/packages/quarkd/src/noticebar/index.tsx +++ b/packages/quarkd/src/noticebar/index.tsx @@ -53,7 +53,10 @@ class QuarkNoticebar extends QuarkElement { render() { return ( -
+
{!this.lefthide && } diff --git a/packages/quarkd/src/picker/index.tsx b/packages/quarkd/src/picker/index.tsx index d59a7d4a..1f1e1867 100644 --- a/packages/quarkd/src/picker/index.tsx +++ b/packages/quarkd/src/picker/index.tsx @@ -182,6 +182,7 @@ class QuarkPicker extends QuarkElement { round forbidmaskclick={this.forbidmaskclick} onclose={this.popupClose} + part="root" >
diff --git a/packages/quarkd/src/pickerview/index.tsx b/packages/quarkd/src/pickerview/index.tsx index 05982fc1..1756569a 100644 --- a/packages/quarkd/src/pickerview/index.tsx +++ b/packages/quarkd/src/pickerview/index.tsx @@ -157,7 +157,7 @@ class QuarkPickerView extends QuarkElement { render() { return ( -
+
diff --git a/packages/quarkd/src/popover/index.tsx b/packages/quarkd/src/popover/index.tsx index 7c6f26d3..a23fd81a 100644 --- a/packages/quarkd/src/popover/index.tsx +++ b/packages/quarkd/src/popover/index.tsx @@ -196,7 +196,7 @@ class QuarkPopover extends QuarkElement { } return ( -
+
@@ -227,7 +227,7 @@ class QuarkPopover extends QuarkElement { render() { return ( -
+
{this.renderActions()}
diff --git a/packages/quarkd/src/popup/index.tsx b/packages/quarkd/src/popup/index.tsx index e031f08a..bc178000 100644 --- a/packages/quarkd/src/popup/index.tsx +++ b/packages/quarkd/src/popup/index.tsx @@ -128,7 +128,7 @@ class QuarkPopup extends QuarkElement { render() { return ( -
+
{this.closeable && (
-
+
-
+
); } diff --git a/packages/quarkd/src/progress/index.tsx b/packages/quarkd/src/progress/index.tsx index 8971dac3..e839cd7e 100644 --- a/packages/quarkd/src/progress/index.tsx +++ b/packages/quarkd/src/progress/index.tsx @@ -23,7 +23,7 @@ class QuarkProgress extends QuarkElement { render() { return ( -
+
+
+
); diff --git a/packages/quarkd/src/search/index.tsx b/packages/quarkd/src/search/index.tsx index b8850217..e8f9c6d3 100644 --- a/packages/quarkd/src/search/index.tsx +++ b/packages/quarkd/src/search/index.tsx @@ -171,7 +171,7 @@ class QuarkSearch extends QuarkElement { this.value && this.clearable && !this.disabled && !this.readonly; return ( -
+
{this.showback && (
{!this.hide ? ( -
+
{this.avatar &&
}
{this.title &&

} diff --git a/packages/quarkd/src/stepper/index.tsx b/packages/quarkd/src/stepper/index.tsx index 194f9fb6..92cab1e1 100644 --- a/packages/quarkd/src/stepper/index.tsx +++ b/packages/quarkd/src/stepper/index.tsx @@ -190,8 +190,9 @@ class QuarkStepper extends QuarkElement { const inputClassName = classNames("quark-stepper-input", { "quark-stepper-disabled": this.disabled, }); + return ( -
+