@selectwin/kit 0.1.50 → 0.1.51
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/SelectAddCard.d.ts +13 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1010 -1003
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReactNode, ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
type SelectAddCardOwnProps = {
|
|
3
|
+
/** Rótulo da ação, ex.: "Nova instalação". */
|
|
4
|
+
label: ReactNode;
|
|
5
|
+
/** Linha de apoio opcional, abaixo do rótulo. */
|
|
6
|
+
description?: ReactNode;
|
|
7
|
+
onClick?: () => void;
|
|
8
|
+
/** Troca o glifo central (padrão: um "+"). */
|
|
9
|
+
icon?: ReactNode;
|
|
10
|
+
};
|
|
11
|
+
export type SelectAddCardProps = SelectAddCardOwnProps & Omit<ComponentPropsWithoutRef<'button'>, keyof SelectAddCardOwnProps>;
|
|
12
|
+
export declare const SelectAddCard: import('react').ForwardRefExoticComponent<SelectAddCardOwnProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, keyof SelectAddCardOwnProps> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
13
|
+
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -140,6 +140,8 @@ export { SelectCombobox } from './SelectCombobox';
|
|
|
140
140
|
export { SelectThemeSwitcher, resolveSelectTheme } from './SelectThemeSwitcher';
|
|
141
141
|
export { SelectDetailList, SelectDetailRow } from './SelectDetail';
|
|
142
142
|
export { SelectAddButton } from './SelectAddButton';
|
|
143
|
+
export { SelectAddCard } from './SelectAddCard';
|
|
144
|
+
export type { SelectAddCardProps } from './SelectAddCard';
|
|
143
145
|
export { SelectSteps } from './SelectSteps';
|
|
144
146
|
export { SelectPlanCard } from './SelectPlanCard';
|
|
145
147
|
export { SelectListCard, SelectListRow } from './SelectListCard';
|