@ztwoint/z-ui 0.1.88 → 0.1.90

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,4 +1,4 @@
1
- export type StepperState = 'active' | 'completed' | 'disabled';
1
+ export type StepperState = 'active' | 'completed' | 'disabled' | 'completed-disabled';
2
2
  export type StepperItemType = {
3
3
  id: string;
4
4
  label: string;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { type VariantProps } from 'class-variance-authority';
3
3
  declare const z2StepperItemVariants: (props?: ({
4
- state?: "disabled" | "active" | "completed" | null | undefined;
4
+ state?: "disabled" | "active" | "completed" | "completed-disabled" | null | undefined;
5
5
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
6
6
  export interface Z2StepperItemProps extends React.HTMLAttributes<HTMLButtonElement>, VariantProps<typeof z2StepperItemVariants> {
7
7
  label: string;
@@ -1,2 +1,3 @@
1
1
  export { SelectedFiltersDisplay } from './selected-filters-display';
2
+ export { getAppliedOptions } from './selected-filters-display.utils';
2
3
  export type { SelectedFilterDisplayProps, FilterDisplayItem, } from './selected-filters-display.type';
@@ -1,9 +1,8 @@
1
+ import { FilterRule, FilterSchema } from '../table-filter.type';
1
2
  export interface SelectedFilterDisplayProps {
2
- selectedItems: {
3
- name: string;
4
- total: number;
5
- }[];
6
3
  totalCount: number;
4
+ tempFilters: FilterRule[];
5
+ filterSchema: FilterSchema;
7
6
  }
8
7
  export interface FilterDisplayItem {
9
8
  field: string;
@@ -1,3 +1,6 @@
1
- import { FilterRule, FilterOption } from '../table-filter.type';
2
- export declare const formatFilterValue: (value: string | string[]) => string;
1
+ import { FilterRule, FilterSchema, FilterOption } from '../table-filter.type';
2
+ export declare const getAppliedOptions: (tempFilters: FilterRule[], filterSchema: FilterSchema) => {
3
+ name: string;
4
+ total: number;
5
+ }[];
3
6
  export declare const getFilterCount: (filterRule: FilterRule, filterOptions?: FilterOption[]) => number | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ztwoint/z-ui",
3
- "version": "0.1.88",
3
+ "version": "0.1.90",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",