@servantcdh/ez-planet-labeling 1.0.9 → 1.0.11

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.d.ts CHANGED
@@ -355,7 +355,9 @@ declare interface FilterState {
355
355
 
356
356
  export declare const getCanvasInstance: () => any;
357
357
 
358
- declare type IconName = (typeof iconSets)[number]["type"];
358
+ export declare function Icon({ iconType, size, className, style, fill }: IconType): JSX_2.Element;
359
+
360
+ export declare type IconName = (typeof iconSets)[number]["type"];
359
361
 
360
362
  declare const iconSets: readonly [{
361
363
  readonly type: "icon-home";
@@ -1015,6 +1017,13 @@ declare const iconSets: readonly [{
1015
1017
  readonly d: readonly ["M15 2.25029C15.4142 2.25029 15.75 2.58608 15.75 3.00029V11.0003C15.7498 11.9667 14.9664 12.7503 14 12.7503H9.11328L11.4727 14.6673C11.794 14.9284 11.8428 15.4005 11.582 15.722C11.3209 16.0434 10.8488 16.0924 10.5273 15.8313L7.00488 12.969C6.38951 12.4688 6.38937 11.5298 7.00488 11.0296L10.5273 8.16728C10.8487 7.90654 11.3209 7.95556 11.582 8.27666C11.843 8.59804 11.7938 9.07014 11.4727 9.33135L9.11133 11.2503H14C14.138 11.2503 14.2498 11.1382 14.25 11.0003V3.00029C14.25 2.58608 14.5858 2.25029 15 2.25029Z", "M4.41797 0.277637C4.67913 -0.0437912 5.15118 -0.092804 5.47266 0.168262L8.99512 3.03057C9.61068 3.5308 9.6107 4.46979 8.99512 4.97002L5.47266 7.83232C5.1512 8.09331 4.67911 8.04432 4.41797 7.72295C4.15692 7.4015 4.20599 6.92943 4.52734 6.66826L6.8877 4.75029H2C1.86193 4.75029 1.75 4.86222 1.75 5.00029V13.0003C1.74984 13.4144 1.41412 13.7503 1 13.7503C0.585884 13.7503 0.250159 13.4144 0.25 13.0003V5.00029C0.25 4.03379 1.0335 3.25029 2 3.25029H6.8877L4.52734 1.33232C4.20594 1.07119 4.15698 0.599109 4.41797 0.277637Z"];
1016
1018
  }];
1017
1019
 
1020
+ declare interface IconType extends UIType<"xxs" | "xs" | "sm" | "md" | "lg"> {
1021
+ iconType: IconName;
1022
+ className?: string;
1023
+ style?: string;
1024
+ fill?: string;
1025
+ }
1026
+
1018
1027
  /** Idle mutation state (not pending, no error). */
1019
1028
  export declare const IDLE_MUTATION: MutationState;
1020
1029
 
package/dist/index.js CHANGED
@@ -3589,7 +3589,7 @@ const LIB_AUTHOR = "최동호";
3589
3589
  const LIB_CONTACT = "servantcdh@naver.com";
3590
3590
  const __EZ_PLANET_META__ = Object.freeze({
3591
3591
  name: LIB_NAME,
3592
- version: "1.0.9",
3592
+ version: "1.0.11",
3593
3593
  author: LIB_AUTHOR,
3594
3594
  contact: LIB_CONTACT,
3595
3595
  license: "Proprietary — See LICENSE"
@@ -18547,7 +18547,7 @@ const LABELING_SHORTCUTS = {
18547
18547
  common: {
18548
18548
  selection: createShortcut("v"),
18549
18549
  layerToggle: createShortcut("\\"),
18550
- navigationToggle: createShortcut("g")
18550
+ navigationToggle: createShortcut("n")
18551
18551
  },
18552
18552
  image: {
18553
18553
  boundingBox: createShortcut("u"),
@@ -26386,6 +26386,7 @@ function LabelingProviders({
26386
26386
  }
26387
26387
  export {
26388
26388
  IDLE_MUTATION,
26389
+ Icon,
26389
26390
  LabelingProviders,
26390
26391
  LabelingWorkspace,
26391
26392
  TOOL_INFO_SEGMENT_ANYTHING,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@servantcdh/ez-planet-labeling",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",