@plastic-js/tsumiki 0.1.24 → 0.1.26

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.
@@ -12,7 +12,6 @@ var messageBodyClass = css({
12
12
  padding: "var(--tsu-spacing-sm) 0"
13
13
  });
14
14
  var DEFAULT_PROPS = {
15
- mode: "modal",
16
15
  confirmText: "Confirm",
17
16
  cancelText: "Cancel",
18
17
  danger: false,
@@ -115,7 +114,7 @@ function ensureInit() {
115
114
  if (!s) return null;
116
115
  return jsx(Dialog, mergeProps({
117
116
  get mode() {
118
- return s.mode || "modal";
117
+ return s.mode;
119
118
  },
120
119
  get open() {
121
120
  return s.open;
@@ -169,7 +169,7 @@ var btnDangerClass = css({
169
169
  var read = (v) => typeof v === "function" ? v() : v;
170
170
  var Dialog$1 = (props) => {
171
171
  const [local, rest] = splitProps(mergeProps$2({
172
- mode: "modal",
172
+ mode: "sheet",
173
173
  showCancel: true,
174
174
  showConfirm: true,
175
175
  cancelText: "Cancel",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plastic-js/tsumiki",
3
- "version": "0.1.24",
3
+ "version": "0.1.26",
4
4
  "description": "A UI component library for Plastic JS.",
5
5
  "license": "MIT",
6
6
  "author": "tigre",