@mekari/pixel3-popover 0.0.5 → 0.0.6-dev.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.
@@ -1,10 +1,10 @@
1
1
  import * as vue_jsx_runtime from 'vue/jsx-runtime';
2
2
  import * as vue from 'vue';
3
- import * as _floating_ui_dom from '@floating-ui/dom';
3
+ import * as _floating_ui_vue from '@floating-ui/vue';
4
4
 
5
5
  declare const MpPopover: vue.DefineComponent<{
6
6
  placement: {
7
- type: vue.PropType<_floating_ui_dom.Placement>;
7
+ type: vue.PropType<_floating_ui_vue.Placement>;
8
8
  default: string;
9
9
  };
10
10
  id: {
@@ -55,7 +55,7 @@ declare const MpPopover: vue.DefineComponent<{
55
55
  };
56
56
  }, () => vue_jsx_runtime.JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("open" | "close")[], "open" | "close", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
57
57
  placement: {
58
- type: vue.PropType<_floating_ui_dom.Placement>;
58
+ type: vue.PropType<_floating_ui_vue.Placement>;
59
59
  default: string;
60
60
  };
61
61
  id: {
@@ -108,7 +108,7 @@ declare const MpPopover: vue.DefineComponent<{
108
108
  onOpen?: ((...args: any[]) => any) | undefined;
109
109
  onClose?: ((...args: any[]) => any) | undefined;
110
110
  }, {
111
- placement: _floating_ui_dom.Placement;
111
+ placement: _floating_ui_vue.Placement;
112
112
  trigger: "click" | "hover";
113
113
  isCloseOnBlur: boolean;
114
114
  isCloseOnEscape: boolean;
package/dist/popover.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import * as vue_jsx_runtime from 'vue/jsx-runtime';
2
2
  import * as vue from 'vue';
3
- import * as _floating_ui_dom from '@floating-ui/dom';
3
+ import * as _floating_ui_vue from '@floating-ui/vue';
4
4
 
5
5
  declare const MpPopover: vue.DefineComponent<{
6
6
  placement: {
7
- type: vue.PropType<_floating_ui_dom.Placement>;
7
+ type: vue.PropType<_floating_ui_vue.Placement>;
8
8
  default: string;
9
9
  };
10
10
  id: {
@@ -55,7 +55,7 @@ declare const MpPopover: vue.DefineComponent<{
55
55
  };
56
56
  }, () => vue_jsx_runtime.JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("open" | "close")[], "open" | "close", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
57
57
  placement: {
58
- type: vue.PropType<_floating_ui_dom.Placement>;
58
+ type: vue.PropType<_floating_ui_vue.Placement>;
59
59
  default: string;
60
60
  };
61
61
  id: {
@@ -108,7 +108,7 @@ declare const MpPopover: vue.DefineComponent<{
108
108
  onOpen?: ((...args: any[]) => any) | undefined;
109
109
  onClose?: ((...args: any[]) => any) | undefined;
110
110
  }, {
111
- placement: _floating_ui_dom.Placement;
111
+ placement: _floating_ui_vue.Placement;
112
112
  trigger: "click" | "hover";
113
113
  isCloseOnBlur: boolean;
114
114
  isCloseOnEscape: boolean;
@@ -1,13 +1,12 @@
1
1
  import * as vue_jsx_runtime from 'vue/jsx-runtime';
2
2
  import { MaybeElement } from './modules/popover.props.mjs';
3
3
  import * as vue from 'vue';
4
- import * as _floating_ui_dom from '@floating-ui/dom';
5
- import '@floating-ui/vue';
4
+ import * as _floating_ui_vue from '@floating-ui/vue';
6
5
  import '@mekari/pixel3-utils';
7
6
 
8
7
  declare const MpSingletonPopover: vue.DefineComponent<{
9
8
  placement: {
10
- type: vue.PropType<_floating_ui_dom.Placement>;
9
+ type: vue.PropType<_floating_ui_vue.Placement>;
11
10
  default: string;
12
11
  };
13
12
  id: {
@@ -61,7 +60,7 @@ declare const MpSingletonPopover: vue.DefineComponent<{
61
60
  };
62
61
  }, () => vue_jsx_runtime.JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("open" | "close")[], "open" | "close", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
63
62
  placement: {
64
- type: vue.PropType<_floating_ui_dom.Placement>;
63
+ type: vue.PropType<_floating_ui_vue.Placement>;
65
64
  default: string;
66
65
  };
67
66
  id: {
@@ -117,7 +116,7 @@ declare const MpSingletonPopover: vue.DefineComponent<{
117
116
  onOpen?: ((...args: any[]) => any) | undefined;
118
117
  onClose?: ((...args: any[]) => any) | undefined;
119
118
  }, {
120
- placement: _floating_ui_dom.Placement;
119
+ placement: _floating_ui_vue.Placement;
121
120
  trigger: "click" | "hover";
122
121
  isCloseOnBlur: boolean;
123
122
  isCloseOnEscape: boolean;
@@ -1,13 +1,12 @@
1
1
  import * as vue_jsx_runtime from 'vue/jsx-runtime';
2
2
  import { MaybeElement } from './modules/popover.props.js';
3
3
  import * as vue from 'vue';
4
- import * as _floating_ui_dom from '@floating-ui/dom';
5
- import '@floating-ui/vue';
4
+ import * as _floating_ui_vue from '@floating-ui/vue';
6
5
  import '@mekari/pixel3-utils';
7
6
 
8
7
  declare const MpSingletonPopover: vue.DefineComponent<{
9
8
  placement: {
10
- type: vue.PropType<_floating_ui_dom.Placement>;
9
+ type: vue.PropType<_floating_ui_vue.Placement>;
11
10
  default: string;
12
11
  };
13
12
  id: {
@@ -61,7 +60,7 @@ declare const MpSingletonPopover: vue.DefineComponent<{
61
60
  };
62
61
  }, () => vue_jsx_runtime.JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("open" | "close")[], "open" | "close", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
63
62
  placement: {
64
- type: vue.PropType<_floating_ui_dom.Placement>;
63
+ type: vue.PropType<_floating_ui_vue.Placement>;
65
64
  default: string;
66
65
  };
67
66
  id: {
@@ -117,7 +116,7 @@ declare const MpSingletonPopover: vue.DefineComponent<{
117
116
  onOpen?: ((...args: any[]) => any) | undefined;
118
117
  onClose?: ((...args: any[]) => any) | undefined;
119
118
  }, {
120
- placement: _floating_ui_dom.Placement;
119
+ placement: _floating_ui_vue.Placement;
121
120
  trigger: "click" | "hover";
122
121
  isCloseOnBlur: boolean;
123
122
  isCloseOnEscape: boolean;
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@mekari/pixel3-popover",
3
- "version": "0.0.5",
3
+ "description": "Popover component for mekari pixel 3",
4
+ "version": "0.0.6-dev.1",
4
5
  "main": "dist/index.js",
5
6
  "license": "MIT",
6
7
  "files": [
@@ -8,7 +9,8 @@
8
9
  ],
9
10
  "dependencies": {
10
11
  "@floating-ui/vue": "^1.0.2",
11
- "@mekari/pixel3-styled-system": "0.0.3",
12
+ "@mekari/pixel3-icon": "0.0.6-dev.1",
13
+ "@mekari/pixel3-styled-system": "0.0.4-dev.1",
12
14
  "@mekari/pixel3-utils": "0.0.4"
13
15
  },
14
16
  "peerDependencies": {
@@ -34,7 +36,6 @@
34
36
  "build": "tsup && pnpm build:types",
35
37
  "build:fast": "tsup",
36
38
  "build:types": "tsup src --dts-only",
37
- "build:external": "tsup src/index.tsx --external @acme-org/styled-system",
38
39
  "types:check": "tsc --noEmit",
39
40
  "replace-config": "clean-package",
40
41
  "restore-config": "clean-package restore"