@mekari/pixel3-color-picker 0.1.10-dev.1 → 0.2.0-dev.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.
@@ -51,6 +51,10 @@ var colorPickerProps = {
51
51
  type: Boolean,
52
52
  default: true
53
53
  },
54
+ usePortal: {
55
+ type: Boolean,
56
+ default: false
57
+ },
54
58
  isDisabled: {
55
59
  type: Boolean,
56
60
  default: false
@@ -15,6 +15,7 @@ function useColorPicker(props, emit) {
15
15
  variant,
16
16
  placement,
17
17
  isShowPopover,
18
+ usePortal,
18
19
  isDisabled,
19
20
  isInvalid
20
21
  } = toRefs(props);
@@ -47,6 +48,7 @@ function useColorPicker(props, emit) {
47
48
  placement: placement.value,
48
49
  isDefaultOpen: isShowPopover.value,
49
50
  initialFocusRef: `#input-${getId}`,
51
+ usePortal: usePortal.value,
50
52
  isManual: isDisabled.value,
51
53
  // hack way to disabled Popover
52
54
  onOpen: handleOpenPopover,
@@ -12,10 +12,10 @@ import {
12
12
  } from "./chunk-AEUPCATZ.mjs";
13
13
  import {
14
14
  useColorPicker
15
- } from "./chunk-L7FIEGK4.mjs";
15
+ } from "./chunk-HV7M5JDH.mjs";
16
16
  import {
17
17
  colorPickerProps
18
- } from "./chunk-2ZZBAQKR.mjs";
18
+ } from "./chunk-7CQYBVSY.mjs";
19
19
  import {
20
20
  __name
21
21
  } from "./chunk-QZ7VFGWC.mjs";
@@ -52,6 +52,10 @@ declare const MpColorPicker: vue.DefineComponent<{
52
52
  type: vue.PropType<boolean>;
53
53
  default: boolean;
54
54
  };
55
+ usePortal: {
56
+ type: vue.PropType<boolean>;
57
+ default: boolean;
58
+ };
55
59
  isDisabled: {
56
60
  type: vue.PropType<boolean>;
57
61
  default: boolean;
@@ -109,6 +113,10 @@ declare const MpColorPicker: vue.DefineComponent<{
109
113
  type: vue.PropType<boolean>;
110
114
  default: boolean;
111
115
  };
116
+ usePortal: {
117
+ type: vue.PropType<boolean>;
118
+ default: boolean;
119
+ };
112
120
  isDisabled: {
113
121
  type: vue.PropType<boolean>;
114
122
  default: boolean;
@@ -125,6 +133,7 @@ declare const MpColorPicker: vue.DefineComponent<{
125
133
  id: string;
126
134
  placeholder: string;
127
135
  placement: Placement;
136
+ usePortal: boolean;
128
137
  isDisabled: boolean;
129
138
  variant: ColorPickerVariant;
130
139
  isInvalid: boolean;
@@ -52,6 +52,10 @@ declare const MpColorPicker: vue.DefineComponent<{
52
52
  type: vue.PropType<boolean>;
53
53
  default: boolean;
54
54
  };
55
+ usePortal: {
56
+ type: vue.PropType<boolean>;
57
+ default: boolean;
58
+ };
55
59
  isDisabled: {
56
60
  type: vue.PropType<boolean>;
57
61
  default: boolean;
@@ -109,6 +113,10 @@ declare const MpColorPicker: vue.DefineComponent<{
109
113
  type: vue.PropType<boolean>;
110
114
  default: boolean;
111
115
  };
116
+ usePortal: {
117
+ type: vue.PropType<boolean>;
118
+ default: boolean;
119
+ };
112
120
  isDisabled: {
113
121
  type: vue.PropType<boolean>;
114
122
  default: boolean;
@@ -125,6 +133,7 @@ declare const MpColorPicker: vue.DefineComponent<{
125
133
  id: string;
126
134
  placeholder: string;
127
135
  placement: Placement;
136
+ usePortal: boolean;
128
137
  isDisabled: boolean;
129
138
  variant: ColorPickerVariant;
130
139
  isInvalid: boolean;
@@ -97,6 +97,10 @@ var colorPickerProps = {
97
97
  type: Boolean,
98
98
  default: true
99
99
  },
100
+ usePortal: {
101
+ type: Boolean,
102
+ default: false
103
+ },
100
104
  isDisabled: {
101
105
  type: Boolean,
102
106
  default: false
@@ -120,6 +124,7 @@ function useColorPicker(props, emit) {
120
124
  variant,
121
125
  placement,
122
126
  isShowPopover,
127
+ usePortal,
123
128
  isDisabled,
124
129
  isInvalid
125
130
  } = (0, import_vue.toRefs)(props);
@@ -152,6 +157,7 @@ function useColorPicker(props, emit) {
152
157
  placement: placement.value,
153
158
  isDefaultOpen: isShowPopover.value,
154
159
  initialFocusRef: `#input-${getId}`,
160
+ usePortal: usePortal.value,
155
161
  isManual: isDisabled.value,
156
162
  // hack way to disabled Popover
157
163
  onOpen: handleOpenPopover,
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  MpColorPicker
3
- } from "./chunk-IZJ2HLBR.mjs";
3
+ } from "./chunk-K27MT74P.mjs";
4
4
  import "./chunk-PULVLME3.mjs";
5
5
  import "./chunk-MILYTHNM.mjs";
6
6
  import "./chunk-5CI43L4Q.mjs";
7
7
  import "./chunk-AEUPCATZ.mjs";
8
- import "./chunk-L7FIEGK4.mjs";
9
- import "./chunk-2ZZBAQKR.mjs";
8
+ import "./chunk-HV7M5JDH.mjs";
9
+ import "./chunk-7CQYBVSY.mjs";
10
10
  import "./chunk-QZ7VFGWC.mjs";
11
11
  export {
12
12
  MpColorPicker
package/dist/index.js CHANGED
@@ -99,6 +99,10 @@ var colorPickerProps = {
99
99
  type: Boolean,
100
100
  default: true
101
101
  },
102
+ usePortal: {
103
+ type: Boolean,
104
+ default: false
105
+ },
102
106
  isDisabled: {
103
107
  type: Boolean,
104
108
  default: false
@@ -122,6 +126,7 @@ function useColorPicker(props, emit) {
122
126
  variant,
123
127
  placement,
124
128
  isShowPopover,
129
+ usePortal,
125
130
  isDisabled,
126
131
  isInvalid
127
132
  } = (0, import_vue.toRefs)(props);
@@ -154,6 +159,7 @@ function useColorPicker(props, emit) {
154
159
  placement: placement.value,
155
160
  isDefaultOpen: isShowPopover.value,
156
161
  initialFocusRef: `#input-${getId}`,
162
+ usePortal: usePortal.value,
157
163
  isManual: isDisabled.value,
158
164
  // hack way to disabled Popover
159
165
  onOpen: handleOpenPopover,
package/dist/index.mjs CHANGED
@@ -1,13 +1,13 @@
1
1
  import "./chunk-62SESCIE.mjs";
2
2
  import {
3
3
  MpColorPicker
4
- } from "./chunk-IZJ2HLBR.mjs";
4
+ } from "./chunk-K27MT74P.mjs";
5
5
  import "./chunk-PULVLME3.mjs";
6
6
  import "./chunk-MILYTHNM.mjs";
7
7
  import "./chunk-5CI43L4Q.mjs";
8
8
  import "./chunk-AEUPCATZ.mjs";
9
- import "./chunk-L7FIEGK4.mjs";
10
- import "./chunk-2ZZBAQKR.mjs";
9
+ import "./chunk-HV7M5JDH.mjs";
10
+ import "./chunk-7CQYBVSY.mjs";
11
11
  import "./chunk-QZ7VFGWC.mjs";
12
12
  export {
13
13
  MpColorPicker
@@ -1 +1 @@
1
- {"inputs":{"src/modules/color-picker.props.ts":{"bytes":2062,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"./color-picker.types","kind":"import-statement","external":true}],"format":"esm"},"src/modules/color-picker.hooks.ts":{"bytes":8472,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"tinycolor2","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/saturation.tsx":{"bytes":4652,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"clamp","kind":"import-statement","external":true},{"path":"lodash.throttle","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/hue.tsx":{"bytes":5692,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true},{"path":"./modules/color-picker.types","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/input.tsx":{"bytes":2197,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-text","kind":"import-statement","external":true},{"path":"@mekari/pixel3-input","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/preset.tsx":{"bytes":1585,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"tinycolor2","kind":"import-statement","external":true},{"path":"@mekari/pixel3-icon","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/color-picker.tsx":{"bytes":4830,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-text","kind":"import-statement","external":true},{"path":"@mekari/pixel3-popover","kind":"import-statement","external":true},{"path":"@mekari/pixel3-input","kind":"import-statement","external":true},{"path":"@mekari/pixel3-icon","kind":"import-statement","external":true},{"path":"@mekari/pixel3-divider","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true},{"path":"src/modules/color-picker.props.ts","kind":"import-statement","original":"./modules/color-picker.props"},{"path":"src/modules/color-picker.hooks.ts","kind":"import-statement","original":"./modules/color-picker.hooks"},{"path":"src/saturation.tsx","kind":"import-statement","original":"./saturation"},{"path":"src/hue.tsx","kind":"import-statement","original":"./hue"},{"path":"src/input.tsx","kind":"import-statement","original":"./input"},{"path":"src/preset.tsx","kind":"import-statement","original":"./preset"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/modules/color-picker.types.ts":{"bytes":200,"imports":[],"format":"esm"},"src/index.ts":{"bytes":178,"imports":[{"path":"src/color-picker.tsx","kind":"import-statement","original":"./color-picker"},{"path":"src/modules/color-picker.types.ts","kind":"import-statement","original":"./modules/color-picker.types"}],"format":"esm"}},"outputs":{"dist/color-picker.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-text","kind":"require-call","external":true},{"path":"@mekari/pixel3-popover","kind":"require-call","external":true},{"path":"@mekari/pixel3-input","kind":"require-call","external":true},{"path":"@mekari/pixel3-icon","kind":"require-call","external":true},{"path":"@mekari/pixel3-divider","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"tinycolor2","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"clamp","kind":"require-call","external":true},{"path":"lodash.throttle","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-text","kind":"require-call","external":true},{"path":"@mekari/pixel3-input","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"tinycolor2","kind":"require-call","external":true},{"path":"@mekari/pixel3-icon","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/color-picker.tsx","inputs":{"src/color-picker.tsx":{"bytesInOutput":5431},"src/modules/color-picker.props.ts":{"bytesInOutput":1105},"src/modules/color-picker.hooks.ts":{"bytesInOutput":9042},"src/saturation.tsx":{"bytesInOutput":5054},"src/hue.tsx":{"bytesInOutput":6268},"src/input.tsx":{"bytesInOutput":2117},"src/preset.tsx":{"bytesInOutput":1669}},"bytes":32481},"dist/hue.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/hue.tsx","inputs":{"src/hue.tsx":{"bytesInOutput":6383}},"bytes":7392},"dist/index.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-text","kind":"require-call","external":true},{"path":"@mekari/pixel3-popover","kind":"require-call","external":true},{"path":"@mekari/pixel3-input","kind":"require-call","external":true},{"path":"@mekari/pixel3-icon","kind":"require-call","external":true},{"path":"@mekari/pixel3-divider","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"tinycolor2","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"clamp","kind":"require-call","external":true},{"path":"lodash.throttle","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-text","kind":"require-call","external":true},{"path":"@mekari/pixel3-input","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"tinycolor2","kind":"require-call","external":true},{"path":"@mekari/pixel3-icon","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":131},"src/color-picker.tsx":{"bytesInOutput":5273},"src/modules/color-picker.props.ts":{"bytesInOutput":1105},"src/modules/color-picker.hooks.ts":{"bytesInOutput":9042},"src/saturation.tsx":{"bytesInOutput":5054},"src/hue.tsx":{"bytesInOutput":6268},"src/input.tsx":{"bytesInOutput":2117},"src/preset.tsx":{"bytesInOutput":1669}},"bytes":32471},"dist/input.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-text","kind":"require-call","external":true},{"path":"@mekari/pixel3-input","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/input.tsx","inputs":{"src/input.tsx":{"bytesInOutput":2244}},"bytes":3257},"dist/preset.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"tinycolor2","kind":"require-call","external":true},{"path":"@mekari/pixel3-icon","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/preset.tsx","inputs":{"src/preset.tsx":{"bytesInOutput":1800}},"bytes":3412},"dist/saturation.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"clamp","kind":"require-call","external":true},{"path":"lodash.throttle","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/saturation.tsx","inputs":{"src/saturation.tsx":{"bytesInOutput":5208}},"bytes":6828},"dist/modules/color-picker.hooks.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"tinycolor2","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/modules/color-picker.hooks.ts","inputs":{"src/modules/color-picker.hooks.ts":{"bytesInOutput":9220}},"bytes":10852},"dist/modules/color-picker.props.js":{"imports":[],"exports":[],"entryPoint":"src/modules/color-picker.props.ts","inputs":{"src/modules/color-picker.props.ts":{"bytesInOutput":1363}},"bytes":2329},"dist/modules/color-picker.types.js":{"imports":[],"exports":[],"entryPoint":"src/modules/color-picker.types.ts","inputs":{"src/modules/color-picker.types.ts":{"bytesInOutput":96}},"bytes":805}}}
1
+ {"inputs":{"src/modules/color-picker.props.ts":{"bytes":2143,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"./color-picker.types","kind":"import-statement","external":true}],"format":"esm"},"src/modules/color-picker.hooks.ts":{"bytes":8521,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"tinycolor2","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/saturation.tsx":{"bytes":4652,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"clamp","kind":"import-statement","external":true},{"path":"lodash.throttle","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/hue.tsx":{"bytes":5692,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true},{"path":"./modules/color-picker.types","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/input.tsx":{"bytes":2197,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-text","kind":"import-statement","external":true},{"path":"@mekari/pixel3-input","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/preset.tsx":{"bytes":1585,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"tinycolor2","kind":"import-statement","external":true},{"path":"@mekari/pixel3-icon","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/color-picker.tsx":{"bytes":4830,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-text","kind":"import-statement","external":true},{"path":"@mekari/pixel3-popover","kind":"import-statement","external":true},{"path":"@mekari/pixel3-input","kind":"import-statement","external":true},{"path":"@mekari/pixel3-icon","kind":"import-statement","external":true},{"path":"@mekari/pixel3-divider","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true},{"path":"src/modules/color-picker.props.ts","kind":"import-statement","original":"./modules/color-picker.props"},{"path":"src/modules/color-picker.hooks.ts","kind":"import-statement","original":"./modules/color-picker.hooks"},{"path":"src/saturation.tsx","kind":"import-statement","original":"./saturation"},{"path":"src/hue.tsx","kind":"import-statement","original":"./hue"},{"path":"src/input.tsx","kind":"import-statement","original":"./input"},{"path":"src/preset.tsx","kind":"import-statement","original":"./preset"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/modules/color-picker.types.ts":{"bytes":200,"imports":[],"format":"esm"},"src/index.ts":{"bytes":178,"imports":[{"path":"src/color-picker.tsx","kind":"import-statement","original":"./color-picker"},{"path":"src/modules/color-picker.types.ts","kind":"import-statement","original":"./modules/color-picker.types"}],"format":"esm"}},"outputs":{"dist/color-picker.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-text","kind":"require-call","external":true},{"path":"@mekari/pixel3-popover","kind":"require-call","external":true},{"path":"@mekari/pixel3-input","kind":"require-call","external":true},{"path":"@mekari/pixel3-icon","kind":"require-call","external":true},{"path":"@mekari/pixel3-divider","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"tinycolor2","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"clamp","kind":"require-call","external":true},{"path":"lodash.throttle","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-text","kind":"require-call","external":true},{"path":"@mekari/pixel3-input","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"tinycolor2","kind":"require-call","external":true},{"path":"@mekari/pixel3-icon","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/color-picker.tsx","inputs":{"src/color-picker.tsx":{"bytesInOutput":5431},"src/modules/color-picker.props.ts":{"bytesInOutput":1163},"src/modules/color-picker.hooks.ts":{"bytesInOutput":9091},"src/saturation.tsx":{"bytesInOutput":5054},"src/hue.tsx":{"bytesInOutput":6268},"src/input.tsx":{"bytesInOutput":2117},"src/preset.tsx":{"bytesInOutput":1669}},"bytes":32588},"dist/hue.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/hue.tsx","inputs":{"src/hue.tsx":{"bytesInOutput":6383}},"bytes":7392},"dist/index.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-text","kind":"require-call","external":true},{"path":"@mekari/pixel3-popover","kind":"require-call","external":true},{"path":"@mekari/pixel3-input","kind":"require-call","external":true},{"path":"@mekari/pixel3-icon","kind":"require-call","external":true},{"path":"@mekari/pixel3-divider","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"tinycolor2","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"clamp","kind":"require-call","external":true},{"path":"lodash.throttle","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-text","kind":"require-call","external":true},{"path":"@mekari/pixel3-input","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"tinycolor2","kind":"require-call","external":true},{"path":"@mekari/pixel3-icon","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":131},"src/color-picker.tsx":{"bytesInOutput":5273},"src/modules/color-picker.props.ts":{"bytesInOutput":1163},"src/modules/color-picker.hooks.ts":{"bytesInOutput":9091},"src/saturation.tsx":{"bytesInOutput":5054},"src/hue.tsx":{"bytesInOutput":6268},"src/input.tsx":{"bytesInOutput":2117},"src/preset.tsx":{"bytesInOutput":1669}},"bytes":32578},"dist/input.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-text","kind":"require-call","external":true},{"path":"@mekari/pixel3-input","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/input.tsx","inputs":{"src/input.tsx":{"bytesInOutput":2244}},"bytes":3257},"dist/preset.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"tinycolor2","kind":"require-call","external":true},{"path":"@mekari/pixel3-icon","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/preset.tsx","inputs":{"src/preset.tsx":{"bytesInOutput":1800}},"bytes":3412},"dist/saturation.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"clamp","kind":"require-call","external":true},{"path":"lodash.throttle","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/saturation.tsx","inputs":{"src/saturation.tsx":{"bytesInOutput":5208}},"bytes":6828},"dist/modules/color-picker.hooks.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"tinycolor2","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/modules/color-picker.hooks.ts","inputs":{"src/modules/color-picker.hooks.ts":{"bytesInOutput":9269}},"bytes":10901},"dist/modules/color-picker.props.js":{"imports":[],"exports":[],"entryPoint":"src/modules/color-picker.props.ts","inputs":{"src/modules/color-picker.props.ts":{"bytesInOutput":1421}},"bytes":2387},"dist/modules/color-picker.types.js":{"imports":[],"exports":[],"entryPoint":"src/modules/color-picker.types.ts","inputs":{"src/modules/color-picker.types.ts":{"bytesInOutput":96}},"bytes":805}}}
@@ -1 +1 @@
1
- {"inputs":{"src/modules/color-picker.props.ts":{"bytes":2062,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"./color-picker.types","kind":"import-statement","external":true}],"format":"esm"},"src/modules/color-picker.hooks.ts":{"bytes":8472,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"tinycolor2","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/saturation.tsx":{"bytes":4652,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"clamp","kind":"import-statement","external":true},{"path":"lodash.throttle","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/hue.tsx":{"bytes":5692,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true},{"path":"./modules/color-picker.types","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/input.tsx":{"bytes":2197,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-text","kind":"import-statement","external":true},{"path":"@mekari/pixel3-input","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/preset.tsx":{"bytes":1585,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"tinycolor2","kind":"import-statement","external":true},{"path":"@mekari/pixel3-icon","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/color-picker.tsx":{"bytes":4830,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-text","kind":"import-statement","external":true},{"path":"@mekari/pixel3-popover","kind":"import-statement","external":true},{"path":"@mekari/pixel3-input","kind":"import-statement","external":true},{"path":"@mekari/pixel3-icon","kind":"import-statement","external":true},{"path":"@mekari/pixel3-divider","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true},{"path":"src/modules/color-picker.props.ts","kind":"import-statement","original":"./modules/color-picker.props"},{"path":"src/modules/color-picker.hooks.ts","kind":"import-statement","original":"./modules/color-picker.hooks"},{"path":"src/saturation.tsx","kind":"import-statement","original":"./saturation"},{"path":"src/hue.tsx","kind":"import-statement","original":"./hue"},{"path":"src/input.tsx","kind":"import-statement","original":"./input"},{"path":"src/preset.tsx","kind":"import-statement","original":"./preset"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/modules/color-picker.types.ts":{"bytes":200,"imports":[],"format":"esm"},"src/index.ts":{"bytes":178,"imports":[{"path":"src/color-picker.tsx","kind":"import-statement","original":"./color-picker"},{"path":"src/modules/color-picker.types.ts","kind":"import-statement","original":"./modules/color-picker.types"}],"format":"esm"}},"outputs":{"dist/modules/color-picker.types.mjs":{"imports":[{"path":"dist/chunk-62SESCIE.mjs","kind":"import-statement"}],"exports":[],"entryPoint":"src/modules/color-picker.types.ts","inputs":{},"bytes":32},"dist/color-picker.mjs":{"imports":[{"path":"dist/chunk-IZJ2HLBR.mjs","kind":"import-statement"},{"path":"dist/chunk-PULVLME3.mjs","kind":"import-statement"},{"path":"dist/chunk-MILYTHNM.mjs","kind":"import-statement"},{"path":"dist/chunk-5CI43L4Q.mjs","kind":"import-statement"},{"path":"dist/chunk-AEUPCATZ.mjs","kind":"import-statement"},{"path":"dist/chunk-L7FIEGK4.mjs","kind":"import-statement"},{"path":"dist/chunk-2ZZBAQKR.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpColorPicker"],"entryPoint":"src/color-picker.tsx","inputs":{},"bytes":301},"dist/hue.mjs":{"imports":[{"path":"dist/chunk-PULVLME3.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpColorHue"],"entryPoint":"src/hue.tsx","inputs":{},"bytes":109},"dist/index.mjs":{"imports":[{"path":"dist/chunk-62SESCIE.mjs","kind":"import-statement"},{"path":"dist/chunk-IZJ2HLBR.mjs","kind":"import-statement"},{"path":"dist/chunk-PULVLME3.mjs","kind":"import-statement"},{"path":"dist/chunk-MILYTHNM.mjs","kind":"import-statement"},{"path":"dist/chunk-5CI43L4Q.mjs","kind":"import-statement"},{"path":"dist/chunk-AEUPCATZ.mjs","kind":"import-statement"},{"path":"dist/chunk-L7FIEGK4.mjs","kind":"import-statement"},{"path":"dist/chunk-2ZZBAQKR.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpColorPicker"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0}},"bytes":332},"dist/chunk-62SESCIE.mjs":{"imports":[],"exports":[],"inputs":{"src/modules/color-picker.types.ts":{"bytesInOutput":0}},"bytes":0},"dist/chunk-IZJ2HLBR.mjs":{"imports":[{"path":"dist/chunk-PULVLME3.mjs","kind":"import-statement"},{"path":"dist/chunk-MILYTHNM.mjs","kind":"import-statement"},{"path":"dist/chunk-5CI43L4Q.mjs","kind":"import-statement"},{"path":"dist/chunk-AEUPCATZ.mjs","kind":"import-statement"},{"path":"dist/chunk-L7FIEGK4.mjs","kind":"import-statement"},{"path":"dist/chunk-2ZZBAQKR.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-text","kind":"import-statement","external":true},{"path":"@mekari/pixel3-popover","kind":"import-statement","external":true},{"path":"@mekari/pixel3-input","kind":"import-statement","external":true},{"path":"@mekari/pixel3-icon","kind":"import-statement","external":true},{"path":"@mekari/pixel3-divider","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true}],"exports":["MpColorPicker"],"inputs":{"src/color-picker.tsx":{"bytesInOutput":4454}},"bytes":4897},"dist/chunk-PULVLME3.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true}],"exports":["MpColorHue"],"inputs":{"src/hue.tsx":{"bytesInOutput":6037}},"bytes":6128},"dist/input.mjs":{"imports":[{"path":"dist/chunk-MILYTHNM.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpColorInput"],"entryPoint":"src/input.tsx","inputs":{},"bytes":113},"dist/chunk-MILYTHNM.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-text","kind":"import-statement","external":true},{"path":"@mekari/pixel3-input","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true}],"exports":["MpColorInput"],"inputs":{"src/input.tsx":{"bytesInOutput":1949}},"bytes":2044},"dist/preset.mjs":{"imports":[{"path":"dist/chunk-5CI43L4Q.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpColorPreset"],"entryPoint":"src/preset.tsx","inputs":{},"bytes":115},"dist/chunk-5CI43L4Q.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"tinycolor2","kind":"import-statement","external":true},{"path":"@mekari/pixel3-icon","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true}],"exports":["MpColorPreset"],"inputs":{"src/preset.tsx":{"bytesInOutput":1513}},"bytes":1610},"dist/saturation.mjs":{"imports":[{"path":"dist/chunk-AEUPCATZ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpColorSaturation"],"entryPoint":"src/saturation.tsx","inputs":{},"bytes":123},"dist/chunk-AEUPCATZ.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"clamp","kind":"import-statement","external":true},{"path":"lodash.throttle","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true}],"exports":["MpColorSaturation"],"inputs":{"src/saturation.tsx":{"bytesInOutput":4709}},"bytes":4814},"dist/modules/color-picker.hooks.mjs":{"imports":[{"path":"dist/chunk-L7FIEGK4.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["useColorPicker"],"entryPoint":"src/modules/color-picker.hooks.ts","inputs":{},"bytes":119},"dist/chunk-L7FIEGK4.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"tinycolor2","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"exports":["useColorPicker"],"inputs":{"src/modules/color-picker.hooks.ts":{"bytesInOutput":8121}},"bytes":8238},"dist/modules/color-picker.props.mjs":{"imports":[{"path":"dist/chunk-2ZZBAQKR.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["colorPickerEmit","colorPickerProps"],"entryPoint":"src/modules/color-picker.props.ts","inputs":{},"bytes":161},"dist/chunk-2ZZBAQKR.mjs":{"imports":[],"exports":["colorPickerEmit","colorPickerProps"],"inputs":{"src/modules/color-picker.props.ts":{"bytesInOutput":1139}},"bytes":1227},"dist/chunk-QZ7VFGWC.mjs":{"imports":[],"exports":["__name"],"inputs":{},"bytes":151}}}
1
+ {"inputs":{"src/modules/color-picker.props.ts":{"bytes":2143,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"./color-picker.types","kind":"import-statement","external":true}],"format":"esm"},"src/modules/color-picker.hooks.ts":{"bytes":8521,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"tinycolor2","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/saturation.tsx":{"bytes":4652,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"clamp","kind":"import-statement","external":true},{"path":"lodash.throttle","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/hue.tsx":{"bytes":5692,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true},{"path":"./modules/color-picker.types","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/input.tsx":{"bytes":2197,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-text","kind":"import-statement","external":true},{"path":"@mekari/pixel3-input","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/preset.tsx":{"bytes":1585,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"tinycolor2","kind":"import-statement","external":true},{"path":"@mekari/pixel3-icon","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/color-picker.tsx":{"bytes":4830,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-text","kind":"import-statement","external":true},{"path":"@mekari/pixel3-popover","kind":"import-statement","external":true},{"path":"@mekari/pixel3-input","kind":"import-statement","external":true},{"path":"@mekari/pixel3-icon","kind":"import-statement","external":true},{"path":"@mekari/pixel3-divider","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true},{"path":"src/modules/color-picker.props.ts","kind":"import-statement","original":"./modules/color-picker.props"},{"path":"src/modules/color-picker.hooks.ts","kind":"import-statement","original":"./modules/color-picker.hooks"},{"path":"src/saturation.tsx","kind":"import-statement","original":"./saturation"},{"path":"src/hue.tsx","kind":"import-statement","original":"./hue"},{"path":"src/input.tsx","kind":"import-statement","original":"./input"},{"path":"src/preset.tsx","kind":"import-statement","original":"./preset"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/modules/color-picker.types.ts":{"bytes":200,"imports":[],"format":"esm"},"src/index.ts":{"bytes":178,"imports":[{"path":"src/color-picker.tsx","kind":"import-statement","original":"./color-picker"},{"path":"src/modules/color-picker.types.ts","kind":"import-statement","original":"./modules/color-picker.types"}],"format":"esm"}},"outputs":{"dist/modules/color-picker.types.mjs":{"imports":[{"path":"dist/chunk-62SESCIE.mjs","kind":"import-statement"}],"exports":[],"entryPoint":"src/modules/color-picker.types.ts","inputs":{},"bytes":32},"dist/color-picker.mjs":{"imports":[{"path":"dist/chunk-K27MT74P.mjs","kind":"import-statement"},{"path":"dist/chunk-PULVLME3.mjs","kind":"import-statement"},{"path":"dist/chunk-MILYTHNM.mjs","kind":"import-statement"},{"path":"dist/chunk-5CI43L4Q.mjs","kind":"import-statement"},{"path":"dist/chunk-AEUPCATZ.mjs","kind":"import-statement"},{"path":"dist/chunk-HV7M5JDH.mjs","kind":"import-statement"},{"path":"dist/chunk-7CQYBVSY.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpColorPicker"],"entryPoint":"src/color-picker.tsx","inputs":{},"bytes":301},"dist/hue.mjs":{"imports":[{"path":"dist/chunk-PULVLME3.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpColorHue"],"entryPoint":"src/hue.tsx","inputs":{},"bytes":109},"dist/index.mjs":{"imports":[{"path":"dist/chunk-62SESCIE.mjs","kind":"import-statement"},{"path":"dist/chunk-K27MT74P.mjs","kind":"import-statement"},{"path":"dist/chunk-PULVLME3.mjs","kind":"import-statement"},{"path":"dist/chunk-MILYTHNM.mjs","kind":"import-statement"},{"path":"dist/chunk-5CI43L4Q.mjs","kind":"import-statement"},{"path":"dist/chunk-AEUPCATZ.mjs","kind":"import-statement"},{"path":"dist/chunk-HV7M5JDH.mjs","kind":"import-statement"},{"path":"dist/chunk-7CQYBVSY.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpColorPicker"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0}},"bytes":332},"dist/chunk-62SESCIE.mjs":{"imports":[],"exports":[],"inputs":{"src/modules/color-picker.types.ts":{"bytesInOutput":0}},"bytes":0},"dist/chunk-K27MT74P.mjs":{"imports":[{"path":"dist/chunk-PULVLME3.mjs","kind":"import-statement"},{"path":"dist/chunk-MILYTHNM.mjs","kind":"import-statement"},{"path":"dist/chunk-5CI43L4Q.mjs","kind":"import-statement"},{"path":"dist/chunk-AEUPCATZ.mjs","kind":"import-statement"},{"path":"dist/chunk-HV7M5JDH.mjs","kind":"import-statement"},{"path":"dist/chunk-7CQYBVSY.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-text","kind":"import-statement","external":true},{"path":"@mekari/pixel3-popover","kind":"import-statement","external":true},{"path":"@mekari/pixel3-input","kind":"import-statement","external":true},{"path":"@mekari/pixel3-icon","kind":"import-statement","external":true},{"path":"@mekari/pixel3-divider","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true}],"exports":["MpColorPicker"],"inputs":{"src/color-picker.tsx":{"bytesInOutput":4454}},"bytes":4897},"dist/chunk-PULVLME3.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true}],"exports":["MpColorHue"],"inputs":{"src/hue.tsx":{"bytesInOutput":6037}},"bytes":6128},"dist/input.mjs":{"imports":[{"path":"dist/chunk-MILYTHNM.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpColorInput"],"entryPoint":"src/input.tsx","inputs":{},"bytes":113},"dist/chunk-MILYTHNM.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-text","kind":"import-statement","external":true},{"path":"@mekari/pixel3-input","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true}],"exports":["MpColorInput"],"inputs":{"src/input.tsx":{"bytesInOutput":1949}},"bytes":2044},"dist/preset.mjs":{"imports":[{"path":"dist/chunk-5CI43L4Q.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpColorPreset"],"entryPoint":"src/preset.tsx","inputs":{},"bytes":115},"dist/chunk-5CI43L4Q.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"tinycolor2","kind":"import-statement","external":true},{"path":"@mekari/pixel3-icon","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true}],"exports":["MpColorPreset"],"inputs":{"src/preset.tsx":{"bytesInOutput":1513}},"bytes":1610},"dist/saturation.mjs":{"imports":[{"path":"dist/chunk-AEUPCATZ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpColorSaturation"],"entryPoint":"src/saturation.tsx","inputs":{},"bytes":123},"dist/chunk-AEUPCATZ.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"clamp","kind":"import-statement","external":true},{"path":"lodash.throttle","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true}],"exports":["MpColorSaturation"],"inputs":{"src/saturation.tsx":{"bytesInOutput":4709}},"bytes":4814},"dist/modules/color-picker.hooks.mjs":{"imports":[{"path":"dist/chunk-HV7M5JDH.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["useColorPicker"],"entryPoint":"src/modules/color-picker.hooks.ts","inputs":{},"bytes":119},"dist/chunk-HV7M5JDH.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"tinycolor2","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"exports":["useColorPicker"],"inputs":{"src/modules/color-picker.hooks.ts":{"bytesInOutput":8170}},"bytes":8287},"dist/modules/color-picker.props.mjs":{"imports":[{"path":"dist/chunk-7CQYBVSY.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["colorPickerEmit","colorPickerProps"],"entryPoint":"src/modules/color-picker.props.ts","inputs":{},"bytes":161},"dist/chunk-7CQYBVSY.mjs":{"imports":[],"exports":["colorPickerEmit","colorPickerProps"],"inputs":{"src/modules/color-picker.props.ts":{"bytesInOutput":1197}},"bytes":1285},"dist/chunk-QZ7VFGWC.mjs":{"imports":[],"exports":["__name"],"inputs":{},"bytes":151}}}
@@ -13,6 +13,7 @@ declare function useColorPicker(props: ColorPickerProps, emit: ColorPickerEmit):
13
13
  placement: Placement;
14
14
  isDefaultOpen: boolean;
15
15
  initialFocusRef: string;
16
+ usePortal: boolean;
16
17
  isManual: boolean;
17
18
  onOpen: () => void;
18
19
  onClose: () => void;
@@ -13,6 +13,7 @@ declare function useColorPicker(props: ColorPickerProps, emit: ColorPickerEmit):
13
13
  placement: Placement;
14
14
  isDefaultOpen: boolean;
15
15
  initialFocusRef: string;
16
+ usePortal: boolean;
16
17
  isManual: boolean;
17
18
  onOpen: () => void;
18
19
  onClose: () => void;
@@ -46,6 +46,7 @@ function useColorPicker(props, emit) {
46
46
  variant,
47
47
  placement,
48
48
  isShowPopover,
49
+ usePortal,
49
50
  isDisabled,
50
51
  isInvalid
51
52
  } = (0, import_vue.toRefs)(props);
@@ -78,6 +79,7 @@ function useColorPicker(props, emit) {
78
79
  placement: placement.value,
79
80
  isDefaultOpen: isShowPopover.value,
80
81
  initialFocusRef: `#input-${getId}`,
82
+ usePortal: usePortal.value,
81
83
  isManual: isDisabled.value,
82
84
  // hack way to disabled Popover
83
85
  onOpen: handleOpenPopover,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useColorPicker
3
- } from "../chunk-L7FIEGK4.mjs";
3
+ } from "../chunk-HV7M5JDH.mjs";
4
4
  import "../chunk-QZ7VFGWC.mjs";
5
5
  export {
6
6
  useColorPicker
@@ -50,6 +50,10 @@ declare const colorPickerProps: {
50
50
  type: PropType<boolean>;
51
51
  default: boolean;
52
52
  };
53
+ usePortal: {
54
+ type: PropType<boolean>;
55
+ default: boolean;
56
+ };
53
57
  isDisabled: {
54
58
  type: PropType<boolean>;
55
59
  default: boolean;
@@ -50,6 +50,10 @@ declare const colorPickerProps: {
50
50
  type: PropType<boolean>;
51
51
  default: boolean;
52
52
  };
53
+ usePortal: {
54
+ type: PropType<boolean>;
55
+ default: boolean;
56
+ };
53
57
  isDisabled: {
54
58
  type: PropType<boolean>;
55
59
  default: boolean;
@@ -76,6 +76,10 @@ var colorPickerProps = {
76
76
  type: Boolean,
77
77
  default: true
78
78
  },
79
+ usePortal: {
80
+ type: Boolean,
81
+ default: false
82
+ },
79
83
  isDisabled: {
80
84
  type: Boolean,
81
85
  default: false
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  colorPickerEmit,
3
3
  colorPickerProps
4
- } from "../chunk-2ZZBAQKR.mjs";
4
+ } from "../chunk-7CQYBVSY.mjs";
5
5
  import "../chunk-QZ7VFGWC.mjs";
6
6
  export {
7
7
  colorPickerEmit,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mekari/pixel3-color-picker",
3
3
  "description": "Color picker component for mekari pixel 3",
4
- "version": "0.1.10-dev.1",
4
+ "version": "0.2.0-dev.0",
5
5
  "main": "dist/index.js",
6
6
  "license": "MIT",
7
7
  "files": [
@@ -11,14 +11,14 @@
11
11
  "clamp": "^1.0.1",
12
12
  "lodash.throttle": "^4.0.0",
13
13
  "tinycolor2": "^1.1.2",
14
- "@mekari/pixel3-button": "0.2.0-dev.1",
15
- "@mekari/pixel3-divider": "0.0.22-dev.1",
16
- "@mekari/pixel3-icon": "0.1.1-dev.1",
17
- "@mekari/pixel3-input": "0.0.25-dev.1",
18
- "@mekari/pixel3-popover": "0.0.25-dev.1",
19
- "@mekari/pixel3-styled-system": "0.2.0-dev.1",
20
- "@mekari/pixel3-text": "0.0.22-dev.1",
21
- "@mekari/pixel3-utils": "0.1.0-dev.1"
14
+ "@mekari/pixel3-button": "0.2.0",
15
+ "@mekari/pixel3-divider": "0.0.22",
16
+ "@mekari/pixel3-icon": "0.1.1",
17
+ "@mekari/pixel3-input": "0.0.25",
18
+ "@mekari/pixel3-styled-system": "0.2.0",
19
+ "@mekari/pixel3-popover": "0.0.25",
20
+ "@mekari/pixel3-utils": "0.1.0",
21
+ "@mekari/pixel3-text": "0.0.22"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "vue": "^3.4.9"