@pnkx-lib/ui 1.9.97 → 1.9.98

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.
@@ -5205,7 +5205,7 @@ const Badge = ({ type, children, customColor, ...rest }) => {
5205
5205
  const ButtonBadge = (props) => {
5206
5206
  const { buttonItem, active, setFilters, filters } = props;
5207
5207
  const handleClick = () => {
5208
- setFilters({ ...filters, is_status: buttonItem?.is_status });
5208
+ setFilters({ ...filters, isStatus: buttonItem?.isStatus });
5209
5209
  };
5210
5210
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
5211
5211
  Button,
@@ -5238,7 +5238,7 @@ const GroupHeadingButton = (props) => {
5238
5238
  ButtonBadge,
5239
5239
  {
5240
5240
  buttonItem: i,
5241
- active: i?.is_status === filters?.is_status,
5241
+ active: i?.isStatus === filters?.isStatus,
5242
5242
  setFilters,
5243
5243
  filters
5244
5244
  },
@@ -5772,7 +5772,7 @@ const Table = ({
5772
5772
  setFilters,
5773
5773
  ...rest
5774
5774
  }) => {
5775
- const status = filters?.is_status;
5775
+ const status = filters?.isStatus;
5776
5776
  //! State
5777
5777
  const [data, setData] = useState([]);
5778
5778
  const [openSetting, setOpenStting] = useState(false);
package/es/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { Y as ActionRowTable, A as Alert, E as Anchor, G as Appfix, I as AutoComplete, e as Badge, g as Breadcrumb, a5 as BulkActions, B as Button, C as CascaderField, X as CategoryStatus, f as Col, U as ConfirmModal, d as Container, o as Divider, q as Drawer, D as Dropdown, N as Empty, V as ErrorBoundary, F as Flex, H as Heading, O as Image, L as Layout, j as Menu, M as Modal, $ as PAGE_NUMBER, a0 as PAGE_SIZE, k as Pagination, J as PnkxCollapse, K as PnkxColorPicker, r as Popconfirm, P as Popover, Q as QRCode, u as Rate, s as Result, R as Row, a1 as SORT_BY, a2 as SORT_DESC, Z as START_PAGE, _ as START_PAGE_SIZE, c as SearchFiltersForm, v as Segmented, m as Sidebar, S as Skeleton, h as Space, p as Spin, i as Splitter, w as Statistic, l as Steps, T as Table, b as Tabs, n as Tag, x as Timeline, a as Tooltip, y as Tour, z as Tree, a3 as TypeActionRowTable, a4 as TypeBulkActions, W as Watermark, t as typeColorMap } from './chunks/index-CzcsLV_v.js';
1
+ export { Y as ActionRowTable, A as Alert, E as Anchor, G as Appfix, I as AutoComplete, e as Badge, g as Breadcrumb, a5 as BulkActions, B as Button, C as CascaderField, X as CategoryStatus, f as Col, U as ConfirmModal, d as Container, o as Divider, q as Drawer, D as Dropdown, N as Empty, V as ErrorBoundary, F as Flex, H as Heading, O as Image, L as Layout, j as Menu, M as Modal, $ as PAGE_NUMBER, a0 as PAGE_SIZE, k as Pagination, J as PnkxCollapse, K as PnkxColorPicker, r as Popconfirm, P as Popover, Q as QRCode, u as Rate, s as Result, R as Row, a1 as SORT_BY, a2 as SORT_DESC, Z as START_PAGE, _ as START_PAGE_SIZE, c as SearchFiltersForm, v as Segmented, m as Sidebar, S as Skeleton, h as Space, p as Spin, i as Splitter, w as Statistic, l as Steps, T as Table, b as Tabs, n as Tag, x as Timeline, a as Tooltip, y as Tour, z as Tree, a3 as TypeActionRowTable, a4 as TypeBulkActions, W as Watermark, t as typeColorMap } from './chunks/index-PFVUhcTr.js';
2
2
  export { C as CheckboxField, D as DatePickerField, E as ErrorMessage, I as Input, L as Label, P as PnkxField, R as RangePickerField, a as TINY_API, b as TinyMCE, T as Typography } from './chunks/AntdIcon-CwSrIOy0.js';
3
3
  import 'react-router';
4
4
  export { R as RadioGroup, S as Select, a as Switch, U as UploadField } from './chunks/Switch-CCKfNjFl.js';
package/es/ui/index.js CHANGED
@@ -1,3 +1,3 @@
1
- export { Y as ActionRowTable, A as Alert, E as Anchor, G as Appfix, I as AutoComplete, e as Badge, g as Breadcrumb, a5 as BulkActions, B as Button, C as CascaderField, X as CategoryStatus, f as Col, U as ConfirmModal, d as Container, o as Divider, q as Drawer, D as Dropdown, N as Empty, V as ErrorBoundary, F as Flex, H as Heading, O as Image, L as Layout, j as Menu, M as Modal, $ as PAGE_NUMBER, a0 as PAGE_SIZE, k as Pagination, J as PnkxCollapse, K as PnkxColorPicker, r as Popconfirm, P as Popover, Q as QRCode, u as Rate, s as Result, R as Row, a1 as SORT_BY, a2 as SORT_DESC, Z as START_PAGE, _ as START_PAGE_SIZE, c as SearchFiltersForm, v as Segmented, m as Sidebar, S as Skeleton, h as Space, p as Spin, i as Splitter, w as Statistic, l as Steps, T as Table, b as Tabs, n as Tag, x as Timeline, a as Tooltip, y as Tour, z as Tree, a3 as TypeActionRowTable, a4 as TypeBulkActions, W as Watermark, t as typeColorMap } from '../chunks/index-CzcsLV_v.js';
1
+ export { Y as ActionRowTable, A as Alert, E as Anchor, G as Appfix, I as AutoComplete, e as Badge, g as Breadcrumb, a5 as BulkActions, B as Button, C as CascaderField, X as CategoryStatus, f as Col, U as ConfirmModal, d as Container, o as Divider, q as Drawer, D as Dropdown, N as Empty, V as ErrorBoundary, F as Flex, H as Heading, O as Image, L as Layout, j as Menu, M as Modal, $ as PAGE_NUMBER, a0 as PAGE_SIZE, k as Pagination, J as PnkxCollapse, K as PnkxColorPicker, r as Popconfirm, P as Popover, Q as QRCode, u as Rate, s as Result, R as Row, a1 as SORT_BY, a2 as SORT_DESC, Z as START_PAGE, _ as START_PAGE_SIZE, c as SearchFiltersForm, v as Segmented, m as Sidebar, S as Skeleton, h as Space, p as Spin, i as Splitter, w as Statistic, l as Steps, T as Table, b as Tabs, n as Tag, x as Timeline, a as Tooltip, y as Tour, z as Tree, a3 as TypeActionRowTable, a4 as TypeBulkActions, W as Watermark, t as typeColorMap } from '../chunks/index-PFVUhcTr.js';
2
2
  export { E as ErrorMessage, L as Label, a as TINY_API, T as Typography } from '../chunks/AntdIcon-CwSrIOy0.js';
3
3
  import 'react-router';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pnkx-lib/ui",
3
3
  "private": false,
4
- "version": "1.9.97",
4
+ "version": "1.9.98",
5
5
  "type": "module",
6
6
  "main": "./es/index.js",
7
7
  "module": "./es/index.js",
package/types/index.d.ts CHANGED
@@ -395,7 +395,7 @@ export declare type FlexPropsUnion = BaseProps_7 & FlexProps;
395
395
  declare interface GroupHeadingButtonItem {
396
396
  label: string;
397
397
  quantity: number;
398
- is_status: number;
398
+ isStatus: number;
399
399
  }
400
400
 
401
401
  export declare const Heading: (props: HeadingProps) => JSX_2.Element;
@@ -794,7 +794,7 @@ export declare interface TextAreaProps extends TextAreaProps_2 {
794
794
  }
795
795
 
796
796
  export declare type TFilters = {
797
- is_status?: number;
797
+ isStatus?: number;
798
798
  };
799
799
 
800
800
  export declare const Timeline: React.FC<TimelineProps>;
package/types/ui.d.ts CHANGED
@@ -341,7 +341,7 @@ export declare type FlexPropsUnion = BaseProps_7 & FlexProps;
341
341
  declare interface GroupHeadingButtonItem {
342
342
  label: string;
343
343
  quantity: number;
344
- is_status: number;
344
+ isStatus: number;
345
345
  }
346
346
 
347
347
  export declare const Heading: (props: HeadingProps) => JSX_2.Element;
@@ -633,7 +633,7 @@ export declare interface TaglineProps extends TagProps {
633
633
  export declare type TailwindMaxWidth = "max-w-xs" | "max-w-sm" | "max-w-md" | "max-w-lg" | "max-w-xl" | "max-w-2xl" | "max-w-3xl" | "max-w-4xl" | "max-w-5xl" | "max-w-6xl" | "max-w-7xl" | "max-w-full" | "max-w-screen-sm" | "max-w-screen-md" | "max-w-screen-lg" | "max-w-screen-xl" | "max-w-screen-2xl";
634
634
 
635
635
  export declare type TFilters = {
636
- is_status?: number;
636
+ isStatus?: number;
637
637
  };
638
638
 
639
639
  export declare const Timeline: React.FC<TimelineProps>;