@sunggang/ui-lib 0.2.20 → 0.2.21

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/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- export { n as BaseTable, s as BigCalender, B as Button, u as CustomSelect, C as CustomUpload, m as DataTable, k as DateRangePicker, t as DnDCalendar, i as DropDown, D as DropImage, L as LiffContext, w as LiffProvider, R as ReactDateRange, o as Regex, S as Spin, j as Switch, T as TabsPanel, U as UiLibrary, l as buttonVariants, q as decryptByEcPay, r as encryptByEcPay, x as useLiff, p as verifyId, v as verifyTaxId } from './index.esm2.js';
1
+ export { n as BaseTable, s as BigCalender, B as Button, u as CustomSelect, C as CustomUpload, m as DataTable, k as DateRangePicker, t as DnDCalendar, i as DropDown, D as DropImage, L as LiffContext, w as LiffProvider, R as ReactDateRange, o as Regex, S as Spin, j as Switch, T as TabsPanel, U as UiLibrary, l as buttonVariants, q as decryptByEcPay, r as encryptByEcPay, x as useLiffContext, p as verifyId, v as verifyTaxId } from './index.esm2.js';
2
2
  import 'react';
3
3
  import 'react/jsx-runtime';
4
4
  import '@iconify/react';
package/index.esm2.js CHANGED
@@ -43830,7 +43830,7 @@ var LiffProvider = function(param) {
43830
43830
  children: !(liffObject === null || liffObject === void 0 ? void 0 : liffObject.isLoggedIn()) ? null : children
43831
43831
  });
43832
43832
  };
43833
- var useLiff = function() {
43833
+ var useLiffContext = function() {
43834
43834
  var context = useContext(LiffContext);
43835
43835
  if (!context) {
43836
43836
  throw new Error("useLiff 必須在 LiffProvider 中使用");
@@ -43838,4 +43838,4 @@ var useLiff = function() {
43838
43838
  return context;
43839
43839
  };
43840
43840
 
43841
- export { Button as B, CustomUpload as C, DropImage as D, LiffContext as L, ReactDateRange as R, Spin as S, TabsPanel as T, UiLibrary as U, __spreadArray as _, __read as a, __extends as b, __assign as c, __makeTemplateObject as d, __awaiter as e, __generator as f, commonjsGlobal as g, __values as h, DropDown as i, Switch as j, DateRangePicker as k, buttonVariants as l, DataTable as m, BaseTable as n, Regex as o, verifyId as p, decryptByEcPay as q, encryptByEcPay as r, BigCalender as s, DnDCalendar as t, CustomSelect as u, verifyTaxId as v, LiffProvider as w, useLiff as x };
43841
+ export { Button as B, CustomUpload as C, DropImage as D, LiffContext as L, ReactDateRange as R, Spin as S, TabsPanel as T, UiLibrary as U, __spreadArray as _, __read as a, __extends as b, __assign as c, __makeTemplateObject as d, __awaiter as e, __generator as f, commonjsGlobal as g, __values as h, DropDown as i, Switch as j, DateRangePicker as k, buttonVariants as l, DataTable as m, BaseTable as n, Regex as o, verifyId as p, decryptByEcPay as q, encryptByEcPay as r, BigCalender as s, DnDCalendar as t, CustomSelect as u, verifyTaxId as v, LiffProvider as w, useLiffContext as x };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunggang/ui-lib",
3
- "version": "0.2.20",
3
+ "version": "0.2.21",
4
4
  "dependencies": {
5
5
  "@iconify/react": "^4.1.1",
6
6
  "@mdx-js/react": "^3.0.1",
@@ -15,5 +15,5 @@ export declare const LiffProvider: ({ children, liffId, localStorageKey, loginDa
15
15
  checkTokenUrl: string;
16
16
  loginUrl: string;
17
17
  }) => import("react/jsx-runtime").JSX.Element;
18
- export declare const useLiff: () => LiffContextType;
18
+ export declare const useLiffContext: () => LiffContextType;
19
19
  export {};