@reco-inc/upbox-ui 1.4.0 → 1.4.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.
@@ -26,9 +26,9 @@ declare const __VLS_component: import('vue').DefineComponent<ButtonProps, {}, {}
26
26
  disabled: boolean;
27
27
  type: "button" | "submit" | "reset";
28
28
  size: "xsmall" | "small" | "regular" | "large" | "xlarge";
29
- theme: "filled" | "outlined";
30
29
  loading: boolean;
31
30
  variant: "primary" | "destructive" | "secondary" | "tertiary";
31
+ theme: "filled" | "outlined";
32
32
  block: boolean;
33
33
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
34
34
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -10,9 +10,9 @@ declare const meta: {
10
10
  disabled: boolean;
11
11
  type: "button" | "submit" | "reset";
12
12
  size: "xsmall" | "small" | "regular" | "large" | "xlarge";
13
- theme: "filled" | "outlined";
14
13
  loading: boolean;
15
14
  variant: "primary" | "destructive" | "secondary" | "tertiary";
15
+ theme: "filled" | "outlined";
16
16
  block: boolean;
17
17
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLButtonElement, import('vue').ComponentProvideOptions, {
18
18
  P: {};
@@ -27,9 +27,9 @@ declare const meta: {
27
27
  disabled: boolean;
28
28
  type: "button" | "submit" | "reset";
29
29
  size: "xsmall" | "small" | "regular" | "large" | "xlarge";
30
- theme: "filled" | "outlined";
31
30
  loading: boolean;
32
31
  variant: "primary" | "destructive" | "secondary" | "tertiary";
32
+ theme: "filled" | "outlined";
33
33
  block: boolean;
34
34
  }>;
35
35
  __isFragment?: never;
@@ -43,9 +43,9 @@ declare const meta: {
43
43
  disabled: boolean;
44
44
  type: "button" | "submit" | "reset";
45
45
  size: "xsmall" | "small" | "regular" | "large" | "xlarge";
46
- theme: "filled" | "outlined";
47
46
  loading: boolean;
48
47
  variant: "primary" | "destructive" | "secondary" | "tertiary";
48
+ theme: "filled" | "outlined";
49
49
  block: boolean;
50
50
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
51
51
  $slots: {
@@ -28,12 +28,12 @@ declare function __VLS_template(): {
28
28
  };
29
29
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
30
30
  declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
31
- "update:modelValue": (value: DateValue | DateValue[] | undefined) => any;
31
+ "update:modelValue": (value: DateValue | DateValue[] | null | undefined) => any;
32
32
  reset: () => any;
33
33
  "update:placeholder": (value: DateValue | undefined) => any;
34
34
  change: (value: Date | null) => any;
35
35
  }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
36
- "onUpdate:modelValue"?: ((value: DateValue | DateValue[] | undefined) => any) | undefined;
36
+ "onUpdate:modelValue"?: ((value: DateValue | DateValue[] | null | undefined) => any) | undefined;
37
37
  onReset?: (() => any) | undefined;
38
38
  "onUpdate:placeholder"?: ((value: DateValue | undefined) => any) | undefined;
39
39
  onChange?: ((value: Date | null) => any) | undefined;
@@ -3,12 +3,12 @@ declare const meta: {
3
3
  title: string;
4
4
  component: {
5
5
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./DateCalendar').Props> & Readonly<{
6
- "onUpdate:modelValue"?: ((value: import('reka-ui').DateValue | import('reka-ui').DateValue[] | undefined) => any) | undefined;
6
+ "onUpdate:modelValue"?: ((value: import('reka-ui').DateValue | import('reka-ui').DateValue[] | null | undefined) => any) | undefined;
7
7
  onReset?: (() => any) | undefined;
8
8
  "onUpdate:placeholder"?: ((value: import('reka-ui').DateValue | undefined) => any) | undefined;
9
9
  onChange?: ((value: Date | null) => any) | undefined;
10
10
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
- "update:modelValue": (value: import('reka-ui').DateValue | import('reka-ui').DateValue[] | undefined) => any;
11
+ "update:modelValue": (value: import('reka-ui').DateValue | import('reka-ui').DateValue[] | null | undefined) => any;
12
12
  reset: () => any;
13
13
  "update:placeholder": (value: import('reka-ui').DateValue | undefined) => any;
14
14
  change: (value: Date | null) => any;
@@ -23,7 +23,7 @@ declare const meta: {
23
23
  M: {};
24
24
  Defaults: {};
25
25
  }, Readonly<import('./DateCalendar').Props> & Readonly<{
26
- "onUpdate:modelValue"?: ((value: import('reka-ui').DateValue | import('reka-ui').DateValue[] | undefined) => any) | undefined;
26
+ "onUpdate:modelValue"?: ((value: import('reka-ui').DateValue | import('reka-ui').DateValue[] | null | undefined) => any) | undefined;
27
27
  onReset?: (() => any) | undefined;
28
28
  "onUpdate:placeholder"?: ((value: import('reka-ui').DateValue | undefined) => any) | undefined;
29
29
  onChange?: ((value: Date | null) => any) | undefined;
@@ -35,12 +35,12 @@ declare const meta: {
35
35
  __isTeleport?: never;
36
36
  __isSuspense?: never;
37
37
  } & import('vue').ComponentOptionsBase<Readonly<import('./DateCalendar').Props> & Readonly<{
38
- "onUpdate:modelValue"?: ((value: import('reka-ui').DateValue | import('reka-ui').DateValue[] | undefined) => any) | undefined;
38
+ "onUpdate:modelValue"?: ((value: import('reka-ui').DateValue | import('reka-ui').DateValue[] | null | undefined) => any) | undefined;
39
39
  onReset?: (() => any) | undefined;
40
40
  "onUpdate:placeholder"?: ((value: import('reka-ui').DateValue | undefined) => any) | undefined;
41
41
  onChange?: ((value: Date | null) => any) | undefined;
42
42
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
43
- "update:modelValue": (value: import('reka-ui').DateValue | import('reka-ui').DateValue[] | undefined) => any;
43
+ "update:modelValue": (value: import('reka-ui').DateValue | import('reka-ui').DateValue[] | null | undefined) => any;
44
44
  reset: () => any;
45
45
  "update:placeholder": (value: import('reka-ui').DateValue | undefined) => any;
46
46
  change: (value: Date | null) => any;
@@ -23,12 +23,12 @@ declare function __VLS_template(): {
23
23
  };
24
24
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
25
  declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
26
- "update:modelValue": (value: DateValue | DateValue[] | undefined) => any;
26
+ "update:modelValue": (value: DateValue | DateValue[] | null | undefined) => any;
27
27
  reset: () => any;
28
28
  "update:placeholder": (value: DateValue | undefined) => any;
29
29
  change: (value: Date | null) => any;
30
30
  }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
31
- "onUpdate:modelValue"?: ((value: DateValue | DateValue[] | undefined) => any) | undefined;
31
+ "onUpdate:modelValue"?: ((value: DateValue | DateValue[] | null | undefined) => any) | undefined;
32
32
  onReset?: (() => any) | undefined;
33
33
  "onUpdate:placeholder"?: ((value: DateValue | undefined) => any) | undefined;
34
34
  onChange?: ((value: Date | null) => any) | undefined;
@@ -3,12 +3,12 @@ declare const meta: {
3
3
  title: string;
4
4
  component: {
5
5
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./MobileDateCalendar').Props> & Readonly<{
6
- "onUpdate:modelValue"?: ((value: import('reka-ui').DateValue | import('reka-ui').DateValue[] | undefined) => any) | undefined;
6
+ "onUpdate:modelValue"?: ((value: import('reka-ui').DateValue | import('reka-ui').DateValue[] | null | undefined) => any) | undefined;
7
7
  onReset?: (() => any) | undefined;
8
8
  "onUpdate:placeholder"?: ((value: import('reka-ui').DateValue | undefined) => any) | undefined;
9
9
  onChange?: ((value: Date | null) => any) | undefined;
10
10
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
- "update:modelValue": (value: import('reka-ui').DateValue | import('reka-ui').DateValue[] | undefined) => any;
11
+ "update:modelValue": (value: import('reka-ui').DateValue | import('reka-ui').DateValue[] | null | undefined) => any;
12
12
  reset: () => any;
13
13
  "update:placeholder": (value: import('reka-ui').DateValue | undefined) => any;
14
14
  change: (value: Date | null) => any;
@@ -22,7 +22,7 @@ declare const meta: {
22
22
  M: {};
23
23
  Defaults: {};
24
24
  }, Readonly<import('./MobileDateCalendar').Props> & Readonly<{
25
- "onUpdate:modelValue"?: ((value: import('reka-ui').DateValue | import('reka-ui').DateValue[] | undefined) => any) | undefined;
25
+ "onUpdate:modelValue"?: ((value: import('reka-ui').DateValue | import('reka-ui').DateValue[] | null | undefined) => any) | undefined;
26
26
  onReset?: (() => any) | undefined;
27
27
  "onUpdate:placeholder"?: ((value: import('reka-ui').DateValue | undefined) => any) | undefined;
28
28
  onChange?: ((value: Date | null) => any) | undefined;
@@ -33,12 +33,12 @@ declare const meta: {
33
33
  __isTeleport?: never;
34
34
  __isSuspense?: never;
35
35
  } & import('vue').ComponentOptionsBase<Readonly<import('./MobileDateCalendar').Props> & Readonly<{
36
- "onUpdate:modelValue"?: ((value: import('reka-ui').DateValue | import('reka-ui').DateValue[] | undefined) => any) | undefined;
36
+ "onUpdate:modelValue"?: ((value: import('reka-ui').DateValue | import('reka-ui').DateValue[] | null | undefined) => any) | undefined;
37
37
  onReset?: (() => any) | undefined;
38
38
  "onUpdate:placeholder"?: ((value: import('reka-ui').DateValue | undefined) => any) | undefined;
39
39
  onChange?: ((value: Date | null) => any) | undefined;
40
40
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
41
- "update:modelValue": (value: import('reka-ui').DateValue | import('reka-ui').DateValue[] | undefined) => any;
41
+ "update:modelValue": (value: import('reka-ui').DateValue | import('reka-ui').DateValue[] | null | undefined) => any;
42
42
  reset: () => any;
43
43
  "update:placeholder": (value: import('reka-ui').DateValue | undefined) => any;
44
44
  change: (value: Date | null) => any;
@@ -10,18 +10,18 @@ declare function __VLS_template(): {
10
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
11
  declare const __VLS_component: import('vue').DefineComponent<DrawerRootProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
12
12
  "update:open": (open: boolean) => any;
13
- animationEnd: (open: boolean) => any;
14
13
  drag: (percentageDragged: number) => any;
15
14
  release: (open: boolean) => any;
16
15
  close: () => any;
17
16
  "update:activeSnapPoint": (val: string | number) => any;
17
+ animationEnd: (open: boolean) => any;
18
18
  }, string, import('vue').PublicProps, Readonly<DrawerRootProps> & Readonly<{
19
19
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
20
- onAnimationEnd?: ((open: boolean) => any) | undefined;
21
20
  onDrag?: ((percentageDragged: number) => any) | undefined;
22
21
  onRelease?: ((open: boolean) => any) | undefined;
23
22
  onClose?: (() => any) | undefined;
24
23
  "onUpdate:activeSnapPoint"?: ((val: string | number) => any) | undefined;
24
+ onAnimationEnd?: ((open: boolean) => any) | undefined;
25
25
  }>, {
26
26
  shouldScaleBackground: boolean;
27
27
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -4,18 +4,18 @@ declare const meta: {
4
4
  component: {
5
5
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vaul-vue').DrawerRootProps> & Readonly<{
6
6
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
7
- onAnimationEnd?: ((open: boolean) => any) | undefined;
8
7
  onDrag?: ((percentageDragged: number) => any) | undefined;
9
8
  onRelease?: ((open: boolean) => any) | undefined;
10
9
  onClose?: (() => any) | undefined;
11
10
  "onUpdate:activeSnapPoint"?: ((val: string | number) => any) | undefined;
11
+ onAnimationEnd?: ((open: boolean) => any) | undefined;
12
12
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
13
13
  "update:open": (open: boolean) => any;
14
- animationEnd: (open: boolean) => any;
15
14
  drag: (percentageDragged: number) => any;
16
15
  release: (open: boolean) => any;
17
16
  close: () => any;
18
17
  "update:activeSnapPoint": (val: string | number) => any;
18
+ animationEnd: (open: boolean) => any;
19
19
  }, import('vue').PublicProps, {
20
20
  shouldScaleBackground: boolean;
21
21
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
@@ -27,11 +27,11 @@ declare const meta: {
27
27
  Defaults: {};
28
28
  }, Readonly<import('vaul-vue').DrawerRootProps> & Readonly<{
29
29
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
30
- onAnimationEnd?: ((open: boolean) => any) | undefined;
31
30
  onDrag?: ((percentageDragged: number) => any) | undefined;
32
31
  onRelease?: ((open: boolean) => any) | undefined;
33
32
  onClose?: (() => any) | undefined;
34
33
  "onUpdate:activeSnapPoint"?: ((val: string | number) => any) | undefined;
34
+ onAnimationEnd?: ((open: boolean) => any) | undefined;
35
35
  }>, {}, {}, {}, {}, {
36
36
  shouldScaleBackground: boolean;
37
37
  }>;
@@ -40,18 +40,18 @@ declare const meta: {
40
40
  __isSuspense?: never;
41
41
  } & import('vue').ComponentOptionsBase<Readonly<import('vaul-vue').DrawerRootProps> & Readonly<{
42
42
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
43
- onAnimationEnd?: ((open: boolean) => any) | undefined;
44
43
  onDrag?: ((percentageDragged: number) => any) | undefined;
45
44
  onRelease?: ((open: boolean) => any) | undefined;
46
45
  onClose?: (() => any) | undefined;
47
46
  "onUpdate:activeSnapPoint"?: ((val: string | number) => any) | undefined;
47
+ onAnimationEnd?: ((open: boolean) => any) | undefined;
48
48
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
49
49
  "update:open": (open: boolean) => any;
50
- animationEnd: (open: boolean) => any;
51
50
  drag: (percentageDragged: number) => any;
52
51
  release: (open: boolean) => any;
53
52
  close: () => any;
54
53
  "update:activeSnapPoint": (val: string | number) => any;
54
+ animationEnd: (open: boolean) => any;
55
55
  }, string, {
56
56
  shouldScaleBackground: boolean;
57
57
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
package/dist/index.mjs CHANGED
@@ -553,7 +553,7 @@ const cc = /* @__PURE__ */ v({
553
553
  a.loading ? (n(), w(t(En), {
554
554
  key: 0,
555
555
  class: "h-[16px] w-[16px]"
556
- })) : m(p.$slots, "default", { key: 1 })
556
+ })) : m(p.$slots, "default", {}, void 0, void 0, 1)
557
557
  ], 10, Ln));
558
558
  }
559
559
  }), ca = me(
@@ -713,7 +713,7 @@ const Vc = /* @__PURE__ */ v({
713
713
  key: 0,
714
714
  class: "size-full bg-current",
715
715
  style: be(r.value)
716
- }, null, 4)) : m(d.$slots, "default", { key: 1 })
716
+ }, null, 4)) : m(d.$slots, "default", {}, void 0, void 0, 1)
717
717
  ], 6));
718
718
  }
719
719
  }), Hn = ["disabled"], Be = /* @__PURE__ */ v({
@@ -3325,7 +3325,8 @@ const ul = /* @__PURE__ */ v({
3325
3325
  props: {
3326
3326
  open: { type: Boolean },
3327
3327
  defaultOpen: { type: Boolean },
3328
- modal: { type: Boolean }
3328
+ modal: { type: Boolean },
3329
+ unmountOnHide: { type: Boolean }
3329
3330
  },
3330
3331
  emits: ["update:open"],
3331
3332
  setup(a, { emit: l }) {
@@ -4205,6 +4206,7 @@ const ml = {
4205
4206
  __name: "PopoverContent",
4206
4207
  props: {
4207
4208
  forceMount: { type: Boolean },
4209
+ memoDependencies: {},
4208
4210
  side: {},
4209
4211
  sideOffset: { default: 4 },
4210
4212
  sideFlip: { type: Boolean },
@@ -4223,6 +4225,7 @@ const ml = {
4223
4225
  disableUpdateOnLayoutShift: { type: Boolean },
4224
4226
  prioritizePosition: { type: Boolean },
4225
4227
  reference: {},
4228
+ dir: {},
4226
4229
  asChild: { type: Boolean },
4227
4230
  as: {},
4228
4231
  disableOutsidePointerEvents: { type: Boolean },
@@ -7084,6 +7087,7 @@ const vr = /* @__PURE__ */ v({
7084
7087
  props: {
7085
7088
  forceMount: { type: Boolean },
7086
7089
  loop: { type: Boolean },
7090
+ memoDependencies: {},
7087
7091
  side: {},
7088
7092
  sideOffset: { default: 4 },
7089
7093
  sideFlip: { type: Boolean },
@@ -7279,6 +7283,7 @@ const vr = /* @__PURE__ */ v({
7279
7283
  props: {
7280
7284
  forceMount: { type: Boolean },
7281
7285
  loop: { type: Boolean },
7286
+ memoDependencies: {},
7282
7287
  sideOffset: {},
7283
7288
  sideFlip: { type: Boolean },
7284
7289
  alignOffset: {},
@@ -9190,6 +9195,7 @@ const gd = /* @__PURE__ */ v({
9190
9195
  defaultOpen: { type: Boolean },
9191
9196
  defaultValue: {},
9192
9197
  modelValue: {},
9198
+ nullableValue: {},
9193
9199
  by: {},
9194
9200
  dir: {},
9195
9201
  multiple: { type: Boolean },
@@ -9230,6 +9236,7 @@ const gd = /* @__PURE__ */ v({
9230
9236
  forceMount: { type: Boolean },
9231
9237
  position: { default: "popper" },
9232
9238
  bodyLock: { type: Boolean },
9239
+ memoDependencies: {},
9233
9240
  side: {},
9234
9241
  sideOffset: {},
9235
9242
  sideFlip: { type: Boolean },
@@ -9248,6 +9255,7 @@ const gd = /* @__PURE__ */ v({
9248
9255
  disableUpdateOnLayoutShift: { type: Boolean },
9249
9256
  prioritizePosition: { type: Boolean },
9250
9257
  reference: {},
9258
+ dir: {},
9251
9259
  asChild: { type: Boolean },
9252
9260
  as: {},
9253
9261
  disableOutsidePointerEvents: { type: Boolean },
@@ -9761,7 +9769,8 @@ const gd = /* @__PURE__ */ v({
9761
9769
  props: {
9762
9770
  open: { type: Boolean },
9763
9771
  defaultOpen: { type: Boolean },
9764
- modal: { type: Boolean }
9772
+ modal: { type: Boolean },
9773
+ unmountOnHide: { type: Boolean }
9765
9774
  },
9766
9775
  emits: ["update:open"],
9767
9776
  setup(a, { emit: l }) {
@@ -10768,7 +10777,7 @@ const C1 = /* @__PURE__ */ Ue(ku, [["render", $u]]), k1 = /* @__PURE__ */ v({
10768
10777
  style: be({ WebkitLineClamp: String(a.clampLines) })
10769
10778
  }, [
10770
10779
  m(f.$slots, "default")
10771
- ], 4)) : m(f.$slots, "default", { key: 1 }),
10780
+ ], 4)) : m(f.$slots, "default", {}, void 0, void 0, 1),
10772
10781
  a.truncate && r.value ? (n(), w(t(_l), { key: 2 }, {
10773
10782
  default: i(() => [
10774
10783
  c(t(Jt), null, {
@@ -10806,7 +10815,7 @@ const C1 = /* @__PURE__ */ Ue(ku, [["render", $u]]), k1 = /* @__PURE__ */ v({
10806
10815
  ]),
10807
10816
  _: 3
10808
10817
  })) : I("", !0)
10809
- ], 2)) : e.value ? I("", !0) : m(f.$slots, "default", { key: 1 })
10818
+ ], 2)) : e.value ? I("", !0) : m(f.$slots, "default", {}, void 0, void 0, 1)
10810
10819
  ], 2));
10811
10820
  }
10812
10821
  }), Ht = /* @__PURE__ */ v({
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "registry": "https://registry.npmjs.org",
5
5
  "access": "public"
6
6
  },
7
- "version": "1.4.0",
7
+ "version": "1.4.1",
8
8
  "type": "module",
9
9
  "description": "Upbox Design System - Vue 3 Component Library",
10
10
  "license": "UNLICENSED",
@@ -54,7 +54,7 @@
54
54
  "build-storybook": "storybook build"
55
55
  },
56
56
  "peerDependencies": {
57
- "vue": "^3.5.0",
57
+ "vue": "^3.5.40",
58
58
  "vue-i18n": "^11.0.0"
59
59
  },
60
60
  "dependencies": {