@selectwin/kit 0.1.115 → 0.1.117
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/SelectMenu.d.ts +4 -0
- package/dist/index.js +631 -615
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/SelectMenu.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ export type SelectMenuProps = SelectMenuOwnProps & Omit<ComponentPropsWithoutRef
|
|
|
6
6
|
export declare const SelectMenu: import('react').ForwardRefExoticComponent<SelectMenuOwnProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "children"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
7
7
|
type SelectMenuItemOwnProps = {
|
|
8
8
|
children: ReactNode;
|
|
9
|
+
/** Frase curta de apoio, numa segunda linha em tom secundário. */
|
|
10
|
+
description?: ReactNode;
|
|
9
11
|
icon?: ReactNode;
|
|
10
12
|
/** Right-aligned element (e.g. a check on the selected item). */
|
|
11
13
|
trailing?: ReactNode;
|
|
@@ -17,6 +19,8 @@ export type SelectMenuItemProps = SelectMenuItemOwnProps & Omit<ComponentPropsWi
|
|
|
17
19
|
export declare const SelectMenuItem: import('react').ForwardRefExoticComponent<SelectMenuItemOwnProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, keyof SelectMenuItemOwnProps> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
18
20
|
type SelectMenuLinkOwnProps = {
|
|
19
21
|
children: ReactNode;
|
|
22
|
+
/** Frase curta de apoio, numa segunda linha em tom secundário. */
|
|
23
|
+
description?: ReactNode;
|
|
20
24
|
/** Destino. Absoluto (https:, mailto:) → tratado como externo por padrão. Esquema fora de
|
|
21
25
|
* `http(s)`/`mailto`/`tel` (`javascript:`…) sai sem `href` (internal/safeHref). */
|
|
22
26
|
href: string;
|