@rainbow-robotics/plugin-ui 1.0.2 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"pluginData.d.ts","sourceRoot":"","sources":["../src/pluginData.tsx"],"names":[],"mappings":"AACA;;;;;;GAMG;AACH,OAAO,EAML,KAAK,iBAAiB,EACvB,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAGjD,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,qCAAqC,CAAC;AAE7C;;;;;;;;;;;;;;GAcG;AACH,MAAM,MAAM,kBAAkB,GAC1B;IAAE,IAAI,EAAE,KAAK,CAAC;IAAC,YAAY,EAAE,MAAM,CAAA;CAAE,GACrC;IAAE,IAAI,EAAE,KAAK,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC;AAEtC,MAAM,WAAW,gBAAgB;IAC/B,4EAA4E;IAC5E,iBAAiB,EAAE,MAAM;QAAE,IAAI,EAAE,cAAc,GAAG,IAAI,CAAC;QAAC,SAAS,EAAE,OAAO,CAAA;KAAE,CAAC;IAC7E,mEAAmE;IACnE,eAAe,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,KAAK,kBAAkB,CAAC;IACtE,0EAA0E;IAC1E,WAAW,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,MAAM,CAAC;IAC7D,mDAAmD;IACnD,YAAY,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAC;CAC5C;AAID,wBAAgB,aAAa,IAAI,gBAAgB,CAMhD;AAgHD,MAAM,WAAW,uBAAuB;IACtC;;;;;;OAMG;IACH,YAAY,EAAE,gBAAgB,CAAC;IAC/B,yDAAyD;IACzD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,yDAAyD;IACzD,Q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E,MAAM,CAAC;IACf,yDAAyD;IACzD,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,YAAY,EACZ,KAA8B,EAC9B,QAAgD,GACjD,EAAE,iBAAiB,CAAC,uBAAuB,CAAC,2CAqC5C"}
package/dist/react.d.ts CHANGED
@@ -65,7 +65,7 @@ interface RippleOption {
65
65
  declare const labelButtonSizes: readonly ["3xs", "2xs", "xs", "xs2", "sm", "md"];
66
66
  type LabelButtonSizeType = (typeof labelButtonSizes)[number];
67
67
  declare const labelButtonVariants: (props?: {
68
- size?: "xs" | "xs2" | "sm" | "md" | "3xs" | "2xs";
68
+ size?: "3xs" | "2xs" | "xs" | "xs2" | "sm" | "md";
69
69
  variant?: "transparent" | "outlined" | "soft" | "solid" | "inverse" | "inverseSoft" | "brand" | "brandSoft" | "danger" | "dangerSoft" | "success" | "successSoft";
70
70
  disabled?: boolean;
71
71
  } & class_variance_authority_types.ClassProp) => string;
@@ -136,7 +136,7 @@ declare const RBLabelButton: React$1.ForwardRefExoticComponent<Omit<Omit<React$1
136
136
  declare const iconButtonSizes: readonly ["3xs", "2xs", "xs", "xs2", "sm", "md"];
137
137
  type IconButtonSizeType = (typeof iconButtonSizes)[number];
138
138
  declare const iconButtonVariants: (props?: {
139
- size?: "xs" | "xs2" | "sm" | "md" | "3xs" | "2xs";
139
+ size?: "3xs" | "2xs" | "xs" | "xs2" | "sm" | "md";
140
140
  variant?: "circle" | "transparent" | "outlined" | "soft" | "solid" | "inverse" | "inverseSoft" | "brand";
141
141
  disabled?: boolean;
142
142
  } & class_variance_authority_types.ClassProp) => string;
@@ -205,7 +205,7 @@ declare const checkBoxRootVariants: (props?: {
205
205
  } & class_variance_authority_types.ClassProp) => string;
206
206
  type CheckBoxVariantProps = VariantProps<typeof checkBoxRootVariants>;
207
207
 
208
- interface Props$h extends Pick<InputHTMLAttributes<HTMLInputElement>, "onChange" | "onBlur" | "onFocus"> {
208
+ interface Props$h extends Pick<InputHTMLAttributes<HTMLInputElement>, "onChange" | "onBlur" | "onFocus" | "tabIndex"> {
209
209
  className?: string;
210
210
  name?: string;
211
211
  /** 체크박스 UI의 크기 */
@@ -293,7 +293,7 @@ declare function RBInlineLabelButton({ className, size, variant, type, leadingIc
293
293
  declare const accordionTypes: readonly ["fill", "transparent"];
294
294
  type AccordionType = (typeof accordionTypes)[number];
295
295
  declare const accordionVariants: (props?: {
296
- type?: "fill" | "transparent";
296
+ type?: "transparent" | "fill";
297
297
  } & class_variance_authority_types.ClassProp) => string;
298
298
  type AccordionVariantProps = VariantProps<typeof accordionVariants>;
299
299
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rainbow-robotics/plugin-ui",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=20"
@@ -132,10 +132,14 @@ let manifestPromise: Promise<PluginManifest> | null = null;
132
132
  function loadPreviewManifest(): Promise<PluginManifest> {
133
133
  if (!manifestPromise) {
134
134
  manifestPromise = (async () => {
135
- const url = previewManifestUrl();
136
- const res = await fetch(url);
137
- if (!res.ok) throw new Error(`GET ${url} failed: ${res.status}`);
138
- return res.json() as Promise<PluginManifest>;
135
+ try {
136
+ const url = previewManifestUrl();
137
+ const res = await fetch(url);
138
+ if (!res.ok) throw new Error(`GET ${url} failed: ${res.status}`);
139
+ return res.json() as Promise<PluginManifest>;
140
+ } catch (e) {
141
+ console.error(e);
142
+ }
139
143
  })();
140
144
  }
141
145
  return manifestPromise;