@mekari/pixel3-color-picker 0.1.1 → 0.1.2-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.
package/dist/index.js CHANGED
@@ -43,7 +43,8 @@ var import_pixel3_popover = require("@mekari/pixel3-popover");
43
43
  var import_pixel3_input2 = require("@mekari/pixel3-input");
44
44
  var import_pixel3_icon2 = require("@mekari/pixel3-icon");
45
45
  var import_pixel3_divider = require("@mekari/pixel3-divider");
46
- var import_css6 = require("@mekari/pixel3-styled-system/css");
46
+ var import_pixel3_utils3 = require("@mekari/pixel3-utils");
47
+ var import_css5 = require("@mekari/pixel3-styled-system/css");
47
48
 
48
49
  // src/modules/color-picker.props.ts
49
50
  var PRESET_DEFAULT = ["#3B82F6", "#14B8A6", "#8B5CF6", "#F59E0B", "#EF4444", "#71717A", "#84CC16", "#EC4899", "#232933", "#60A5FA", "#2DD4BF", "#A78BFA", "#FBBF24", "#F87171", "#A1A1AA", "#A3E635", "#F472B6", "#FFFFFF"];
@@ -70,7 +71,7 @@ var colorPickerProps = {
70
71
  },
71
72
  placement: {
72
73
  type: String,
73
- default: "bottom"
74
+ default: "bottom-start"
74
75
  },
75
76
  preset: {
76
77
  type: Array,
@@ -98,6 +99,10 @@ var colorPickerProps = {
98
99
  type: Boolean,
99
100
  default: true
100
101
  },
102
+ isDisabled: {
103
+ type: Boolean,
104
+ default: false
105
+ },
101
106
  isInvalid: {
102
107
  type: Boolean,
103
108
  default: false
@@ -109,8 +114,6 @@ var import_vue = require("vue");
109
114
  var import_tinycolor2 = __toESM(require("tinycolor2"));
110
115
  var import_pixel3_utils = require("@mekari/pixel3-utils");
111
116
  var import_recipes = require("@mekari/pixel3-styled-system/recipes");
112
- var import_css = require("@mekari/pixel3-styled-system/css");
113
- var import_tokens = require("@mekari/pixel3-styled-system/tokens");
114
117
  function useColorPicker(props, emit) {
115
118
  const {
116
119
  id,
@@ -119,6 +122,7 @@ function useColorPicker(props, emit) {
119
122
  variant,
120
123
  placement,
121
124
  isShowPopover,
125
+ isDisabled,
122
126
  isInvalid
123
127
  } = (0, import_vue.toRefs)(props);
124
128
  const val = (0, import_vue.ref)(_colorChange(value.value));
@@ -135,20 +139,7 @@ function useColorPicker(props, emit) {
135
139
  }
136
140
  });
137
141
  const hex = (0, import_vue.computed)(() => {
138
- const hex2 = colors.value.hex;
139
- return hex2.replace("#", "");
140
- });
141
- const borderColor = (0, import_vue.computed)(() => {
142
- if (isInvalid.value) {
143
- return "red.400";
144
- }
145
- if (!isInvalid.value && isFocused.value) {
146
- return "blue.400";
147
- }
148
- return "gray.100";
149
- });
150
- const isFocused = (0, import_vue.computed)(() => {
151
- return isPopoverOpen.value;
142
+ return colors.value.hex.replace("#", "");
152
143
  });
153
144
  const rootAttrs = (0, import_vue.computed)(() => {
154
145
  return {
@@ -163,22 +154,18 @@ function useColorPicker(props, emit) {
163
154
  placement: placement.value,
164
155
  defaultIsOpen: isShowPopover.value,
165
156
  initialFocusRef: `#input-${getId}`,
157
+ isManual: isDisabled.value,
158
+ // hack way to disabled Popover
166
159
  onOpen: handleOpenPopover,
167
160
  onClose: handleClosePopover
168
161
  };
169
162
  });
170
163
  const popoverTriggerAttrs = (0, import_vue.computed)(() => {
171
164
  return {
165
+ "data-invalid": isInvalid.value || void 0,
166
+ "data-disabled": isDisabled.value || void 0,
172
167
  tabindex: "0",
173
- class: (0, import_css.cx)((0, import_css.css)({
174
- boxShadow: isPopoverOpen.value && !isInvalid.value ? "outline" : "none",
175
- _hover: {
176
- borderColor: isPopoverOpen.value && !isInvalid.value ? "blue.500 !important" : "gray.400 !important"
177
- }
178
- }), (0, import_recipes.colorPickerSlotRecipe)().popoverTrigger),
179
- style: {
180
- borderColor: (0, import_tokens.token)(`colors.${borderColor.value}`)
181
- }
168
+ class: (0, import_recipes.colorPickerSlotRecipe)().popoverTrigger
182
169
  };
183
170
  });
184
171
  const boxColorAttrs = (0, import_vue.computed)(() => {
@@ -198,6 +185,8 @@ function useColorPicker(props, emit) {
198
185
  maxlength: "6",
199
186
  value: colorInput.value,
200
187
  placeholder: placeholder.value,
188
+ isDisabled: isDisabled.value,
189
+ isInvalid: isInvalid.value,
201
190
  class: (0, import_recipes.colorPickerSlotRecipe)().inputTrigger,
202
191
  onInput: handleInputTrigger
203
192
  };
@@ -395,6 +384,8 @@ function useColorPicker(props, emit) {
395
384
  }
396
385
  __name(handleInputTrigger, "handleInputTrigger");
397
386
  function handleOpenPopover() {
387
+ if (isDisabled.value)
388
+ return;
398
389
  isPopoverOpen.value = true;
399
390
  colorInput.value = hex.value;
400
391
  }
@@ -446,7 +437,7 @@ var import_vue2 = require("vue");
446
437
  var import_vue3 = require("vue");
447
438
  var import_clamp = __toESM(require("clamp"));
448
439
  var import_lodash = __toESM(require("lodash.throttle"));
449
- var import_css2 = require("@mekari/pixel3-styled-system/css");
440
+ var import_css = require("@mekari/pixel3-styled-system/css");
450
441
  var MpColorSaturation = (0, import_vue3.defineComponent)({
451
442
  name: "MpColorSaturation",
452
443
  props: {
@@ -531,7 +522,7 @@ var MpColorSaturation = (0, import_vue3.defineComponent)({
531
522
  "ref": containerNode,
532
523
  "data-pixel-component": "MpColorPickerSaturation",
533
524
  "id": "saturation-container",
534
- "class": (0, import_css2.css)({
525
+ "class": (0, import_css.css)({
535
526
  cursor: "pointer",
536
527
  position: "absolute",
537
528
  top: "0",
@@ -547,7 +538,7 @@ var MpColorSaturation = (0, import_vue3.defineComponent)({
547
538
  "onTouchstart": handleChange
548
539
  }, [(0, import_vue2.createVNode)("div", {
549
540
  "id": "saturation-white",
550
- "class": (0, import_css2.css)({
541
+ "class": (0, import_css.css)({
551
542
  position: "absolute",
552
543
  top: "0",
553
544
  right: "0",
@@ -557,7 +548,7 @@ var MpColorSaturation = (0, import_vue3.defineComponent)({
557
548
  })
558
549
  }, null), (0, import_vue2.createVNode)("div", {
559
550
  "id": "saturation-black",
560
- "class": (0, import_css2.css)({
551
+ "class": (0, import_css.css)({
561
552
  position: "absolute",
562
553
  top: "0",
563
554
  right: "0",
@@ -567,7 +558,7 @@ var MpColorSaturation = (0, import_vue3.defineComponent)({
567
558
  })
568
559
  }, null), (0, import_vue2.createVNode)("div", {
569
560
  "id": "saturation-pointer",
570
- "class": (0, import_css2.css)({
561
+ "class": (0, import_css.css)({
571
562
  cursor: "pointer",
572
563
  position: "absolute"
573
564
  }),
@@ -577,7 +568,7 @@ var MpColorSaturation = (0, import_vue3.defineComponent)({
577
568
  }
578
569
  }, [(0, import_vue2.createVNode)("div", {
579
570
  "id": "saturation-circle",
580
- "class": (0, import_css2.css)({
571
+ "class": (0, import_css.css)({
581
572
  cursor: "pointer",
582
573
  width: "6px",
583
574
  height: "6px",
@@ -593,7 +584,7 @@ var MpColorSaturation = (0, import_vue3.defineComponent)({
593
584
  // src/hue.tsx
594
585
  var import_vue4 = require("vue");
595
586
  var import_vue5 = require("vue");
596
- var import_css3 = require("@mekari/pixel3-styled-system/css");
587
+ var import_css2 = require("@mekari/pixel3-styled-system/css");
597
588
  var MpColorHue = (0, import_vue5.defineComponent)({
598
589
  name: "MpColorHue",
599
590
  props: {
@@ -727,7 +718,7 @@ var MpColorHue = (0, import_vue5.defineComponent)({
727
718
  var _a;
728
719
  return (0, import_vue4.createVNode)("div", {
729
720
  "data-pixel-component": "MpColorPickerHue",
730
- "class": (0, import_css3.css)({
721
+ "class": (0, import_css2.css)({
731
722
  position: "absolute",
732
723
  top: "0",
733
724
  right: "0",
@@ -742,7 +733,7 @@ var MpColorHue = (0, import_vue5.defineComponent)({
742
733
  "aria-valuenow": (_a = colors.value) == null ? void 0 : _a.hsl.h,
743
734
  "aria-valuemin": "0",
744
735
  "aria-valuemax": "360",
745
- "class": (0, import_css3.css)({
736
+ "class": (0, import_css2.css)({
746
737
  cursor: "pointer",
747
738
  margin: "0 2px",
748
739
  position: "relative",
@@ -754,7 +745,7 @@ var MpColorHue = (0, import_vue5.defineComponent)({
754
745
  }, [(0, import_vue4.createVNode)("div", {
755
746
  "id": "hue-pointer",
756
747
  "role": "presentation",
757
- "class": (0, import_css3.css)({
748
+ "class": (0, import_css2.css)({
758
749
  position: "absolute",
759
750
  zIndex: "2"
760
751
  }),
@@ -764,7 +755,7 @@ var MpColorHue = (0, import_vue5.defineComponent)({
764
755
  }
765
756
  }, [(0, import_vue4.createVNode)("div", {
766
757
  "id": "hue-picker",
767
- "class": (0, import_css3.css)({
758
+ "class": (0, import_css2.css)({
768
759
  cursor: "pointer",
769
760
  marginTop: "-2px",
770
761
  width: "32px",
@@ -784,7 +775,7 @@ var import_vue6 = require("vue");
784
775
  var import_vue7 = require("vue");
785
776
  var import_pixel3_text = require("@mekari/pixel3-text");
786
777
  var import_pixel3_input = require("@mekari/pixel3-input");
787
- var import_css4 = require("@mekari/pixel3-styled-system/css");
778
+ var import_css3 = require("@mekari/pixel3-styled-system/css");
788
779
  var MpColorInput = (0, import_vue7.defineComponent)({
789
780
  name: "MpColorInput",
790
781
  props: {
@@ -820,7 +811,6 @@ var MpColorInput = (0, import_vue7.defineComponent)({
820
811
  }
821
812
  });
822
813
  function handleInput(e) {
823
- console.log("asdad", e);
824
814
  const target = e.target;
825
815
  const value = target.value;
826
816
  const data = {};
@@ -835,14 +825,14 @@ var MpColorInput = (0, import_vue7.defineComponent)({
835
825
  return () => {
836
826
  return (0, import_vue6.createVNode)("div", {
837
827
  "data-pixel-component": "MpColorPickerInput",
838
- "class": (0, import_css4.css)({
828
+ "class": (0, import_css3.css)({
839
829
  display: "flex",
840
830
  flexDirection: "column",
841
831
  gap: "1"
842
832
  })
843
833
  }, [(0, import_vue6.createVNode)("div", null, [(0, import_vue6.createVNode)(import_pixel3_text.MpText, {
844
834
  "size": "label-small",
845
- "class": (0, import_css4.css)({
835
+ "class": (0, import_css3.css)({
846
836
  textTransform: "capitalize"
847
837
  })
848
838
  }, {
@@ -867,7 +857,8 @@ var import_vue8 = require("vue");
867
857
  var import_vue9 = require("vue");
868
858
  var import_tinycolor22 = __toESM(require("tinycolor2"));
869
859
  var import_pixel3_icon = require("@mekari/pixel3-icon");
870
- var import_css5 = require("@mekari/pixel3-styled-system/css");
860
+ var import_pixel3_utils2 = require("@mekari/pixel3-utils");
861
+ var import_css4 = require("@mekari/pixel3-styled-system/css");
871
862
  var MpColorPreset = (0, import_vue9.defineComponent)({
872
863
  name: "MpColorPreset",
873
864
  props: {
@@ -883,6 +874,9 @@ var MpColorPreset = (0, import_vue9.defineComponent)({
883
874
  setup(props, {
884
875
  emit
885
876
  }) {
877
+ const {
878
+ isNextTheme
879
+ } = (0, import_pixel3_utils2.usePixelTheme)();
886
880
  function handleClick() {
887
881
  emit("click", props.value);
888
882
  }
@@ -890,7 +884,7 @@ var MpColorPreset = (0, import_vue9.defineComponent)({
890
884
  return () => {
891
885
  return (0, import_vue8.createVNode)("div", {
892
886
  "data-pixel-component": "MpColorPickerPreset",
893
- "class": (0, import_css5.css)({
887
+ "class": (0, import_css4.css)({
894
888
  display: "flex",
895
889
  alignItems: "center",
896
890
  justifyContent: "center",
@@ -898,7 +892,7 @@ var MpColorPreset = (0, import_vue9.defineComponent)({
898
892
  width: "6",
899
893
  height: "6",
900
894
  borderWidth: "1px",
901
- borderColor: "gray.50",
895
+ borderColor: isNextTheme.value ? "border.default" : "gray.50",
902
896
  borderRadius: "sm",
903
897
  cursor: "pointer"
904
898
  }),
@@ -931,6 +925,9 @@ var MpColorPicker = (0, import_vue11.defineComponent)({
931
925
  slots,
932
926
  emit
933
927
  }) {
928
+ const {
929
+ isNextTheme
930
+ } = (0, import_pixel3_utils3.usePixelTheme)();
934
931
  const {
935
932
  rootAttrs,
936
933
  popoverAttrs,
@@ -959,6 +956,7 @@ var MpColorPicker = (0, import_vue11.defineComponent)({
959
956
  return () => {
960
957
  const children = slots.default && slots.default();
961
958
  const {
959
+ id,
962
960
  variant,
963
961
  title,
964
962
  isShowSaturation,
@@ -969,28 +967,32 @@ var MpColorPicker = (0, import_vue11.defineComponent)({
969
967
  return (0, import_vue10.createVNode)("div", rootAttrs.value, [(0, import_vue10.createVNode)(import_pixel3_popover.MpPopover, popoverAttrs.value, {
970
968
  default: () => [(0, import_vue10.createVNode)(import_pixel3_popover.MpPopoverTrigger, null, {
971
969
  default: () => [children ? (0, import_vue10.createVNode)("div", null, [children]) : (0, import_vue10.createVNode)("div", popoverTriggerAttrs.value, [(0, import_vue10.createVNode)("div", boxColorAttrs.value, null), variant === "advance" && (0, import_vue10.createVNode)(import_pixel3_text2.MpText, {
972
- "color": "gray.400",
973
- "style": "margin-top: 1px"
970
+ "color": isNextTheme.value ? "text.disabled" : "gray.400",
971
+ "class": (0, import_css5.css)({
972
+ marginTop: "1px"
973
+ })
974
974
  }, {
975
975
  default: () => [(0, import_vue10.createTextVNode)("#")]
976
976
  }), variant === "advance" && (0, import_vue10.createVNode)(import_pixel3_input2.MpInput, inputTriggerAttrs.value, null), (0, import_vue10.createVNode)(import_pixel3_icon2.MpIcon, iconDropDownAttrs.value, null)])]
977
977
  }), (0, import_vue10.createVNode)(import_pixel3_popover.MpPopoverContent, popoverContentAttrs.value, {
978
978
  default: () => [variant === "advance" && (0, import_vue10.createVNode)("div", wrapperAdvanceAttrs.value, [isShowSaturation && (0, import_vue10.createVNode)("div", wrapperSaturationAttrs.value, [(0, import_vue10.createVNode)(MpColorSaturation, saturationAttrs.value, null)]), isShowHue && (0, import_vue10.createVNode)("div", wrapperHueAttrs.value, [(0, import_vue10.createVNode)(MpColorHue, hueAttrs.value, null)]), isShowInput && (0, import_vue10.createVNode)("div", wrapperInputAttrs.value, [(0, import_vue10.createVNode)(MpColorInput, inputHexAttrs.value, null), (0, import_vue10.createVNode)(MpColorInput, inputRedAttrs.value, null), (0, import_vue10.createVNode)(MpColorInput, inputGreenAttrs.value, null), (0, import_vue10.createVNode)(MpColorInput, inputBlueAttrs.value, null)]), isShowPreset && (0, import_vue10.createVNode)(import_pixel3_divider.MpDivider, {
979
- "id": "divider-color-picker",
980
- "class": (0, import_css6.css)({
979
+ "id": `${id}-divider`,
980
+ "class": (0, import_css5.css)({
981
981
  marginTop: "0",
982
982
  marginBottom: "0"
983
983
  })
984
984
  }, null), isShowPreset && (0, import_vue10.createVNode)("div", boxPresetAttrs.value, [(0, import_vue10.createVNode)("div", wrapperPresetAttrs.value, [(0, import_vue10.createVNode)(import_pixel3_text2.MpText, {
985
985
  "size": "label-small",
986
- "style": "width: 100%;"
986
+ "class": (0, import_css5.css)({
987
+ width: "full"
988
+ })
987
989
  }, {
988
990
  default: () => [(0, import_vue10.createTextVNode)("Present")]
989
991
  }), props.preset.map((item) => {
990
992
  return (0, import_vue10.createVNode)(MpColorPreset, presetBoxAttrs(item), null);
991
993
  })])])]), variant === "basic" && (0, import_vue10.createVNode)("div", wrapperBasicAttrs.value, [(0, import_vue10.createVNode)(import_pixel3_text2.MpText, {
992
994
  "size": "body-small",
993
- "color": "gray.600"
995
+ "color": isNextTheme.value ? "text.secondary" : "gray.600"
994
996
  }, _isSlot(title) ? title : {
995
997
  default: () => [title]
996
998
  }), isShowPreset && (0, import_vue10.createVNode)("div", wrapperBasicPresetAttrs.value, [props.preset.map((item) => {
package/dist/index.mjs CHANGED
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  MpColorPicker
3
- } from "./chunk-6XOLIDD7.mjs";
3
+ } from "./chunk-WQTXZAWZ.mjs";
4
4
  import "./chunk-PULVLME3.mjs";
5
- import "./chunk-YPFR76KW.mjs";
6
- import "./chunk-DVRBDVR4.mjs";
5
+ import "./chunk-MILYTHNM.mjs";
6
+ import "./chunk-5CI43L4Q.mjs";
7
7
  import "./chunk-AEUPCATZ.mjs";
8
- import "./chunk-KHGAEPYZ.mjs";
9
- import "./chunk-L5BRB7ES.mjs";
8
+ import "./chunk-5VPWEGKC.mjs";
9
+ import "./chunk-2ZZBAQKR.mjs";
10
10
  import "./chunk-QZ7VFGWC.mjs";
11
11
  export {
12
12
  MpColorPicker
package/dist/input.js CHANGED
@@ -64,7 +64,6 @@ var MpColorInput = (0, import_vue2.defineComponent)({
64
64
  }
65
65
  });
66
66
  function handleInput(e) {
67
- console.log("asdad", e);
68
67
  const target = e.target;
69
68
  const value = target.value;
70
69
  const data = {};
package/dist/input.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MpColorInput
3
- } from "./chunk-YPFR76KW.mjs";
3
+ } from "./chunk-MILYTHNM.mjs";
4
4
  import "./chunk-QZ7VFGWC.mjs";
5
5
  export {
6
6
  MpColorInput
@@ -1 +1 @@
1
- {"inputs":{"src/modules/color-picker.props.ts":{"bytes":1916,"imports":[{"path":"vue","kind":"import-statement","external":true}],"format":"esm"},"src/modules/color-picker.hooks.ts":{"bytes":8916,"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":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/tokens","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":5628,"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":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/input.tsx":{"bytes":2228,"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":1437,"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-styled-system/css","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/color-picker.tsx":{"bytes":4572,"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-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/index.ts":{"bytes":132,"imports":[{"path":"src/color-picker.tsx","kind":"import-statement","original":"./color-picker"}],"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-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":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/tokens","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-styled-system/css","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/color-picker.tsx","inputs":{"src/color-picker.tsx":{"bytesInOutput":5107},"src/modules/color-picker.props.ts":{"bytesInOutput":1040},"src/modules/color-picker.hooks.ts":{"bytesInOutput":9580},"src/saturation.tsx":{"bytesInOutput":5060},"src/hue.tsx":{"bytesInOutput":6268},"src/input.tsx":{"bytesInOutput":2148},"src/preset.tsx":{"bytesInOutput":1489}},"bytes":32487},"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-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":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/tokens","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-styled-system/css","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":131},"src/color-picker.tsx":{"bytesInOutput":4949},"src/modules/color-picker.props.ts":{"bytesInOutput":1040},"src/modules/color-picker.hooks.ts":{"bytesInOutput":9580},"src/saturation.tsx":{"bytesInOutput":5060},"src/hue.tsx":{"bytesInOutput":6268},"src/input.tsx":{"bytesInOutput":2148},"src/preset.tsx":{"bytesInOutput":1489}},"bytes":32477},"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":2275}},"bytes":3288},"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-styled-system/css","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/preset.tsx","inputs":{"src/preset.tsx":{"bytesInOutput":1622}},"bytes":3234},"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},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/tokens","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/modules/color-picker.hooks.ts","inputs":{"src/modules/color-picker.hooks.ts":{"bytesInOutput":9758}},"bytes":11390},"dist/modules/color-picker.props.js":{"imports":[],"exports":[],"entryPoint":"src/modules/color-picker.props.ts","inputs":{"src/modules/color-picker.props.ts":{"bytesInOutput":1298}},"bytes":2264}}}
1
+ {"inputs":{"src/modules/color-picker.props.ts":{"bytes":2004,"imports":[{"path":"vue","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":5628,"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":"<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":4831,"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/index.ts":{"bytes":132,"imports":[{"path":"src/color-picker.tsx","kind":"import-statement","original":"./color-picker"}],"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":5432},"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":32482},"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":5274},"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":32472},"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}}}
@@ -1 +1 @@
1
- {"inputs":{"src/modules/color-picker.props.ts":{"bytes":1916,"imports":[{"path":"vue","kind":"import-statement","external":true}],"format":"esm"},"src/modules/color-picker.hooks.ts":{"bytes":8916,"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":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/tokens","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":5628,"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":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/input.tsx":{"bytes":2228,"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":1437,"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-styled-system/css","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/color-picker.tsx":{"bytes":4572,"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-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/index.ts":{"bytes":132,"imports":[{"path":"src/color-picker.tsx","kind":"import-statement","original":"./color-picker"}],"format":"esm"}},"outputs":{"dist/color-picker.mjs":{"imports":[{"path":"dist/chunk-6XOLIDD7.mjs","kind":"import-statement"},{"path":"dist/chunk-PULVLME3.mjs","kind":"import-statement"},{"path":"dist/chunk-YPFR76KW.mjs","kind":"import-statement"},{"path":"dist/chunk-DVRBDVR4.mjs","kind":"import-statement"},{"path":"dist/chunk-AEUPCATZ.mjs","kind":"import-statement"},{"path":"dist/chunk-KHGAEPYZ.mjs","kind":"import-statement"},{"path":"dist/chunk-L5BRB7ES.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-6XOLIDD7.mjs","kind":"import-statement"},{"path":"dist/chunk-PULVLME3.mjs","kind":"import-statement"},{"path":"dist/chunk-YPFR76KW.mjs","kind":"import-statement"},{"path":"dist/chunk-DVRBDVR4.mjs","kind":"import-statement"},{"path":"dist/chunk-AEUPCATZ.mjs","kind":"import-statement"},{"path":"dist/chunk-KHGAEPYZ.mjs","kind":"import-statement"},{"path":"dist/chunk-L5BRB7ES.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":301},"dist/chunk-6XOLIDD7.mjs":{"imports":[{"path":"dist/chunk-PULVLME3.mjs","kind":"import-statement"},{"path":"dist/chunk-YPFR76KW.mjs","kind":"import-statement"},{"path":"dist/chunk-DVRBDVR4.mjs","kind":"import-statement"},{"path":"dist/chunk-AEUPCATZ.mjs","kind":"import-statement"},{"path":"dist/chunk-KHGAEPYZ.mjs","kind":"import-statement"},{"path":"dist/chunk-L5BRB7ES.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-styled-system/css","kind":"import-statement","external":true}],"exports":["MpColorPicker"],"inputs":{"src/color-picker.tsx":{"bytesInOutput":4196}},"bytes":4639},"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-YPFR76KW.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpColorInput"],"entryPoint":"src/input.tsx","inputs":{},"bytes":113},"dist/chunk-YPFR76KW.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":1980}},"bytes":2075},"dist/preset.mjs":{"imports":[{"path":"dist/chunk-DVRBDVR4.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpColorPreset"],"entryPoint":"src/preset.tsx","inputs":{},"bytes":115},"dist/chunk-DVRBDVR4.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-styled-system/css","kind":"import-statement","external":true}],"exports":["MpColorPreset"],"inputs":{"src/preset.tsx":{"bytesInOutput":1365}},"bytes":1462},"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-KHGAEPYZ.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-KHGAEPYZ.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},{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/tokens","kind":"import-statement","external":true}],"exports":["useColorPicker"],"inputs":{"src/modules/color-picker.hooks.ts":{"bytesInOutput":8567}},"bytes":8684},"dist/modules/color-picker.props.mjs":{"imports":[{"path":"dist/chunk-L5BRB7ES.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-L5BRB7ES.mjs":{"imports":[],"exports":["colorPickerEmit","colorPickerProps"],"inputs":{"src/modules/color-picker.props.ts":{"bytesInOutput":1074}},"bytes":1162},"dist/chunk-QZ7VFGWC.mjs":{"imports":[],"exports":["__name"],"inputs":{},"bytes":151}}}
1
+ {"inputs":{"src/modules/color-picker.props.ts":{"bytes":2004,"imports":[{"path":"vue","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":5628,"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":"<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":4831,"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/index.ts":{"bytes":132,"imports":[{"path":"src/color-picker.tsx","kind":"import-statement","original":"./color-picker"}],"format":"esm"}},"outputs":{"dist/color-picker.mjs":{"imports":[{"path":"dist/chunk-WQTXZAWZ.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-5VPWEGKC.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-WQTXZAWZ.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-5VPWEGKC.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":301},"dist/chunk-WQTXZAWZ.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-5VPWEGKC.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":4455}},"bytes":4898},"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-5VPWEGKC.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-5VPWEGKC.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}}}
@@ -12,15 +12,15 @@ declare function useColorPicker(props: ColorPickerProps, emit: ColorPickerEmit):
12
12
  placement: Placement;
13
13
  defaultIsOpen: boolean;
14
14
  initialFocusRef: string;
15
+ isManual: boolean;
15
16
  onOpen: () => void;
16
17
  onClose: () => void;
17
18
  }>;
18
19
  popoverTriggerAttrs: vue.ComputedRef<{
20
+ 'data-invalid': true | undefined;
21
+ 'data-disabled': true | undefined;
19
22
  tabindex: string;
20
23
  class: string;
21
- style: {
22
- borderColor: string;
23
- };
24
24
  }>;
25
25
  boxColorAttrs: vue.ComputedRef<{
26
26
  class: string;
@@ -36,6 +36,8 @@ declare function useColorPicker(props: ColorPickerProps, emit: ColorPickerEmit):
36
36
  maxlength: string;
37
37
  value: string;
38
38
  placeholder: string;
39
+ isDisabled: boolean;
40
+ isInvalid: boolean;
39
41
  class: string;
40
42
  onInput: (e: Event) => void;
41
43
  }>;
@@ -12,15 +12,15 @@ declare function useColorPicker(props: ColorPickerProps, emit: ColorPickerEmit):
12
12
  placement: Placement;
13
13
  defaultIsOpen: boolean;
14
14
  initialFocusRef: string;
15
+ isManual: boolean;
15
16
  onOpen: () => void;
16
17
  onClose: () => void;
17
18
  }>;
18
19
  popoverTriggerAttrs: vue.ComputedRef<{
20
+ 'data-invalid': true | undefined;
21
+ 'data-disabled': true | undefined;
19
22
  tabindex: string;
20
23
  class: string;
21
- style: {
22
- borderColor: string;
23
- };
24
24
  }>;
25
25
  boxColorAttrs: vue.ComputedRef<{
26
26
  class: string;
@@ -36,6 +36,8 @@ declare function useColorPicker(props: ColorPickerProps, emit: ColorPickerEmit):
36
36
  maxlength: string;
37
37
  value: string;
38
38
  placeholder: string;
39
+ isDisabled: boolean;
40
+ isInvalid: boolean;
39
41
  class: string;
40
42
  onInput: (e: Event) => void;
41
43
  }>;