@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.
- package/dist/components/stepper/stepper.types.d.ts +1 -1
- package/dist/components/stepper-item/stepper-item.d.ts +1 -1
- package/dist/components/stepper-item/stepper-item.js +19 -18
- package/dist/components/table/table.js +18 -18
- package/dist/components/table-filter/selected-filters-display/index.d.ts +1 -0
- package/dist/components/table-filter/selected-filters-display/selected-filters-display.js +29 -24
- package/dist/components/table-filter/selected-filters-display/selected-filters-display.type.d.ts +3 -4
- package/dist/components/table-filter/selected-filters-display/selected-filters-display.utils.d.ts +5 -2
- package/dist/components/table-filter/selected-filters-display/selected-filters-display.utils.js +17 -9
- package/dist/components/table-filter/table-filter-button.js +93 -87
- package/dist/css/styles/tailwind.css +1 -1
- package/dist/types/components/stepper/stepper.types.d.ts +1 -1
- package/dist/types/components/stepper-item/stepper-item.d.ts +1 -1
- package/dist/types/components/table-filter/selected-filters-display/index.d.ts +1 -0
- package/dist/types/components/table-filter/selected-filters-display/selected-filters-display.type.d.ts +3 -4
- package/dist/types/components/table-filter/selected-filters-display/selected-filters-display.utils.d.ts +5 -2
- package/package.json +1 -1
|
@@ -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,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
|
|
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;
|