@selectwin/kit 0.1.149 → 0.1.151
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/SelectMailEditor.d.ts +17 -0
- package/dist/SelectMoneyField.d.ts +2 -2
- package/dist/icons.d.ts +16 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1870 -1548
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/** Um texto (o modelo, o rascunho antigo) no HTML do editor: um parágrafo por bloco, as quebras simples como `<br>`. */
|
|
2
|
+
export declare function mailTextToHtml(text: string): string;
|
|
3
|
+
/**
|
|
4
|
+
* O endereço do link, ou `null` se não serve. Sem esquema: com `@` vira `mailto:`, com cara de domínio vira `https://`.
|
|
5
|
+
* Nada de `javascript:`, `data:` ou caminho relativo.
|
|
6
|
+
*/
|
|
7
|
+
export declare function mailLinkHref(raw: string): string | null;
|
|
8
|
+
export interface SelectMailEditorProps {
|
|
9
|
+
/** O HTML: o que o próprio editor entregou, ou `mailTextToHtml` de um texto. */
|
|
10
|
+
value: string;
|
|
11
|
+
onChange: (html: string, text: string) => void;
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
'aria-label'?: string;
|
|
14
|
+
/** Na janela (`dock`) a área começa mais alta. */
|
|
15
|
+
size?: 'inline' | 'dock';
|
|
16
|
+
}
|
|
17
|
+
export declare function SelectMailEditor({ value, onChange, placeholder, 'aria-label': ariaLabel, size }: SelectMailEditorProps): import("react").JSX.Element;
|
|
@@ -11,8 +11,8 @@ type SelectMoneyFieldOwnProps = {
|
|
|
11
11
|
placeholder?: string;
|
|
12
12
|
name?: string;
|
|
13
13
|
disabled?: boolean;
|
|
14
|
-
/** Control density. Default `md`; use `sm` in dense surfaces and modal/card forms. */
|
|
15
|
-
size?: 'sm' | 'md';
|
|
14
|
+
/** Control density. Default `md`; use `sm` in dense surfaces and modal/card forms; `lg` when the amount IS the task. */
|
|
15
|
+
size?: 'sm' | 'md' | 'lg';
|
|
16
16
|
};
|
|
17
17
|
export type SelectMoneyFieldProps = SelectMoneyFieldOwnProps & Omit<ComponentPropsWithoutRef<'div'>, keyof SelectMoneyFieldOwnProps>;
|
|
18
18
|
export declare const SelectMoneyField: import('react').ForwardRefExoticComponent<SelectMoneyFieldOwnProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, keyof SelectMoneyFieldOwnProps> & import('react').RefAttributes<HTMLDivElement>>;
|
package/dist/icons.d.ts
CHANGED
|
@@ -216,4 +216,20 @@ export declare function SidebarIcon(): import("react").JSX.Element;
|
|
|
216
216
|
export declare function ArchiveIcon(): import("react").JSX.Element;
|
|
217
217
|
/** Não lida (0.1.149): o envelope com o ponto de "nova". */
|
|
218
218
|
export declare function MailUnreadIcon(): import("react").JSX.Element;
|
|
219
|
+
/** Negrito (0.1.150) — a barra de formatação do e-mail. */
|
|
220
|
+
export declare function TextBoldIcon(): import("react").JSX.Element;
|
|
221
|
+
/** Itálico (0.1.150). */
|
|
222
|
+
export declare function TextItalicIcon(): import("react").JSX.Element;
|
|
223
|
+
/** Sublinhado (0.1.150). */
|
|
224
|
+
export declare function TextUnderlineIcon(): import("react").JSX.Element;
|
|
225
|
+
/** Riscado (0.1.150). */
|
|
226
|
+
export declare function TextStrikeIcon(): import("react").JSX.Element;
|
|
227
|
+
/** Lista com marcadores (0.1.150). */
|
|
228
|
+
export declare function ListBulletIcon(): import("react").JSX.Element;
|
|
229
|
+
/** Lista numerada (0.1.150). */
|
|
230
|
+
export declare function ListNumberIcon(): import("react").JSX.Element;
|
|
231
|
+
/** Citação (0.1.150): o recuo com o traço. */
|
|
232
|
+
export declare function TextQuoteIcon(): import("react").JSX.Element;
|
|
233
|
+
/** Limpar a formatação (0.1.150). */
|
|
234
|
+
export declare function ClearFormatIcon(): import("react").JSX.Element;
|
|
219
235
|
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -81,6 +81,8 @@ export type { SelectCalendarEvent, SelectCalendarProps, SelectCalendarView } fro
|
|
|
81
81
|
export { SelectHtmlFrame } from './SelectHtmlFrame';
|
|
82
82
|
export type { SelectHtmlFrameProps } from './SelectHtmlFrame';
|
|
83
83
|
export { SelectInbox, SelectInboxToolbar, SelectInboxEmpty, SelectInboxBanner, SelectMailboxStatus, SelectMailList, SelectMailListGroup, SelectMailListItem, SelectMailListSkeleton, SelectMailListNote, SelectMailReader, SelectMailMessage, SelectMailNotice, SelectMailAttachment, SelectLeadChip, SelectMailComposer, SelectMailComposerRow, SelectMailComposerInput, SelectMailComposerBody, SelectMailComposerFooter, SelectMailComposerAttachments, SelectMailAttachButton, SelectMailUpload, SelectRecipientInput, SelectTemplateMenu, attachmentExt, isMailAddress, mailName, } from './SelectMail';
|
|
84
|
+
export { SelectMailEditor, mailLinkHref, mailTextToHtml } from './SelectMailEditor';
|
|
85
|
+
export type { SelectMailEditorProps } from './SelectMailEditor';
|
|
84
86
|
export type { SelectInboxProps, SelectInboxToolbarProps, SelectInboxEmptyProps, SelectMailboxStatusTone, SelectMailAddress, SelectMailListItemProps, SelectMailReaderProps, SelectMailMessageProps, SelectMailAttachmentProps, SelectMailAttachmentState, SelectMailComposerProps, SelectMailUploadProps, SelectMailUploadState, SelectRecipientInputProps, SelectTemplateMenuItem, SelectTemplateMenuProps, } from './SelectMail';
|
|
85
87
|
export type { SelectKanbanColumn, SelectKanbanProps, SelectKanbanCardProps } from './SelectKanban';
|
|
86
88
|
export { SelectModal } from './SelectModal';
|