@sellmate/design-system 1.3.0 → 1.5.0
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/cjs/{component.table-CMqGfEui.js → component.table-qOFez3z3.js} +3 -0
- package/dist/cjs/design-system.cjs.js +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/sanitize-inline-html-BZCCwH_U.js +65 -0
- package/dist/cjs/sd-calendar_2.cjs.entry.js +9 -7
- package/dist/cjs/sd-callout.cjs.entry.js +152 -0
- package/dist/cjs/sd-card.cjs.entry.js +1 -1
- package/dist/cjs/sd-checkbox.cjs.entry.js +9 -4
- package/dist/cjs/sd-chip.cjs.entry.js +1 -1
- package/dist/cjs/sd-circle-progress.cjs.entry.js +2 -2
- package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +4 -3
- package/dist/cjs/sd-date-picker_7.cjs.entry.js +9 -9
- package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +1 -1
- package/dist/cjs/sd-dropdown-button.cjs.entry.js +6 -5
- package/dist/cjs/sd-field_3.cjs.entry.js +7 -7
- package/dist/cjs/sd-guide.cjs.entry.js +5 -4
- package/dist/cjs/sd-key-value-table.cjs.entry.js +2 -2
- package/dist/cjs/sd-linear-progress.cjs.entry.js +2 -2
- package/dist/cjs/sd-loading-container.cjs.entry.js +2 -2
- package/dist/cjs/sd-pagination_4.cjs.entry.js +28 -37
- package/dist/cjs/sd-popup.cjs.entry.js +6 -5
- package/dist/cjs/sd-portal.cjs.entry.js +1 -1
- package/dist/cjs/sd-select-list-item_2.cjs.entry.js +6 -6
- package/dist/cjs/sd-select_3.cjs.entry.js +8 -8
- package/dist/cjs/sd-switch.cjs.entry.js +1 -1
- package/dist/cjs/sd-table.cjs.entry.js +37 -36
- package/dist/cjs/{sd-table.config-BIpldZtw.js → sd-table.config-DqgNOdXO.js} +5 -3
- package/dist/cjs/sd-tabs.cjs.entry.js +1 -1
- package/dist/cjs/sd-tag.cjs.entry.js +4 -2
- package/dist/cjs/sd-td.cjs.entry.js +18 -9
- package/dist/cjs/sd-toast-container.cjs.entry.js +1 -1
- package/dist/cjs/sd-toast.cjs.entry.js +2 -2
- package/dist/cjs/sd-toggle.cjs.entry.js +1 -1
- package/dist/cjs/{system-VmZRYp6V.js → system-wrt-tcOq.js} +12 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/sd-calendar/sd-calendar.css +5 -1
- package/dist/collection/components/sd-calendar/sd-calendar.js +26 -4
- package/dist/collection/components/sd-callout/sd-callout.config.js +45 -0
- package/dist/collection/components/sd-callout/sd-callout.css +87 -0
- package/dist/collection/components/sd-callout/sd-callout.js +114 -0
- package/dist/collection/components/sd-card/sd-card.js +1 -1
- package/dist/collection/components/sd-checkbox/sd-checkbox.js +9 -4
- package/dist/collection/components/sd-chip/sd-chip.js +1 -1
- package/dist/collection/components/sd-circle-progress/sd-circle-progress.js +1 -1
- package/dist/collection/components/sd-confirm-modal/sd-confirm-modal.js +3 -2
- package/dist/collection/components/sd-date-picker/sd-date-picker-trigger/sd-date-picker-trigger.js +2 -2
- package/dist/collection/components/sd-date-picker/sd-date-picker.js +2 -2
- package/dist/collection/components/sd-date-range-picker/sd-date-range-picker-calendar/sd-date-range-picker-calendar.js +1 -1
- package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.js +5 -4
- package/dist/collection/components/sd-field/sd-field.js +4 -4
- package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +1 -1
- package/dist/collection/components/sd-guide/sd-guide.js +4 -3
- package/dist/collection/components/sd-input/sd-input.js +2 -2
- package/dist/collection/components/sd-linear-progress/sd-linear-progress.js +1 -1
- package/dist/collection/components/sd-loading-container/sd-loading-container.js +2 -2
- package/dist/collection/components/sd-loading-modal/sd-loading-modal.js +1 -1
- package/dist/collection/components/sd-modal-container/sd-modal-container.js +8 -0
- package/dist/collection/components/sd-number-input/sd-number-input.js +4 -4
- package/dist/collection/components/sd-pagination/sd-pagination.js +3 -3
- package/dist/collection/components/sd-popup/sd-popup.config.js +3 -4
- package/dist/collection/components/sd-popup/sd-popup.js +4 -2
- package/dist/collection/components/sd-portal/sd-portal.js +1 -1
- package/dist/collection/components/sd-select/sd-select-list-item/sd-select-list-item.js +2 -2
- package/dist/collection/components/sd-select/sd-select-list-item-search/sd-select-list-item-search.js +4 -4
- package/dist/collection/components/sd-select/sd-select-listbox/sd-select-listbox.js +2 -2
- package/dist/collection/components/sd-select/sd-select-trigger/sd-select-trigger.js +2 -2
- package/dist/collection/components/sd-select/sd-select.js +4 -4
- package/dist/collection/components/sd-switch/sd-switch.js +1 -1
- package/dist/collection/components/sd-table/sd-table.js +35 -34
- package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +2 -2
- package/dist/collection/components/sd-table/sd-td/sd-td.js +18 -9
- package/dist/collection/components/sd-table/sd-thead/sd-thead.js +3 -3
- package/dist/collection/components/sd-table/sd-tr/sd-tr.css +6 -2
- package/dist/collection/components/sd-table/sd-tr/sd-tr.js +16 -25
- package/dist/collection/components/sd-tabs/sd-tabs.js +1 -1
- package/dist/collection/components/sd-tag/sd-tag.js +4 -2
- package/dist/collection/components/sd-textarea/sd-textarea.js +1 -1
- package/dist/collection/components/sd-toast/sd-toast.js +2 -2
- package/dist/collection/components/sd-toast-container/sd-toast-container.js +1 -1
- package/dist/collection/components/sd-toggle/sd-toggle.js +1 -1
- package/dist/collection/components/sd-tooltip/sd-tooltip.js +2 -2
- package/dist/collection/utils/html/sanitize-inline-html.js +61 -0
- package/dist/collection/utils/modal.js +2 -2
- package/dist/components/index.js +1 -1
- package/dist/components/{p-Da5i_Sa6.js → p-AO2RGdjH.js} +1 -1
- package/dist/components/{p-X-8I-A3g.js → p-B3sb3aIX.js} +1 -1
- package/dist/components/{p-CIUE4qr7.js → p-BGb86o0p.js} +1 -1
- package/dist/components/{p-C3fqSH7A.js → p-BLhu2So8.js} +1 -1
- package/dist/components/{p-INdVvadB.js → p-BSQsJHnV.js} +1 -1
- package/dist/components/{p-xX3QT-8K.js → p-BZCvsLRf.js} +1 -1
- package/dist/components/{p-BFC3Etk2.js → p-BqrZA_Nl.js} +1 -1
- package/dist/components/{p-DS7Ypvt5.js → p-C54v30vB.js} +1 -1
- package/dist/components/{p-DlREBZ-C.js → p-CJ-QHG0F.js} +1 -1
- package/dist/components/{p-kSfaCwf1.js → p-CbXb6ylI.js} +1 -1
- package/dist/components/{p-BRxXhFqt.js → p-CgYjGJEh.js} +1 -1
- package/dist/components/{p-CLxVZFEG.js → p-Co3H5873.js} +1 -1
- package/dist/components/{p-BRk9YZBe.js → p-Cvk-Luhs.js} +1 -1
- package/dist/components/{p-BeBiPTbd.js → p-D5inekTL.js} +1 -1
- package/dist/components/{p-Bs1Z5QtN.js → p-DChOBMCc.js} +1 -1
- package/dist/components/p-DGlmvjGc.js +1 -0
- package/dist/components/p-DQFHAKL_.js +1 -0
- package/dist/components/{p-CPuyhF6g.js → p-DUcbofDO.js} +1 -1
- package/dist/components/p-DZbc1mgp.js +1 -0
- package/dist/components/{p-t161LJqb.js → p-DeK3og10.js} +1 -1
- package/dist/components/{p-BjpbUGud.js → p-DmaopssQ.js} +1 -1
- package/dist/components/p-DopVneZA.js +1 -0
- package/dist/components/p-DrrsZftV.js +1 -0
- package/dist/components/{p-CpgTSxf0.js → p-DyZNk1VT.js} +1 -1
- package/dist/components/{p-oyZgWRnC.js → p-HK6Bwtz8.js} +1 -1
- package/dist/components/{p-Z5Vk33zf.js → p-IThoLpLs.js} +1 -1
- package/dist/components/{p-JlZdKw4C.js → p-J3eT660D.js} +1 -1
- package/dist/components/p-fpzgqVv1.js +1 -0
- package/dist/components/p-iCuIUhaK.js +1 -0
- package/dist/components/p-m_OtjUs1.js +1 -0
- package/dist/components/{p-BwPmM1Pm.js → p-uHITnW_J.js} +1 -1
- package/dist/components/{p-Cx_d5vsS.js → p-yH47DvUh.js} +1 -1
- package/dist/components/sd-barcode-input.js +1 -1
- package/dist/components/sd-calendar.js +1 -1
- package/dist/components/sd-callout.d.ts +11 -0
- package/dist/components/sd-callout.js +1 -0
- package/dist/components/sd-card.js +1 -1
- package/dist/components/sd-checkbox.js +1 -1
- package/dist/components/sd-chip.js +1 -1
- package/dist/components/sd-circle-progress.js +1 -1
- package/dist/components/sd-confirm-modal.js +1 -1
- package/dist/components/sd-date-picker-trigger.js +1 -1
- package/dist/components/sd-date-picker.js +1 -1
- package/dist/components/sd-date-range-picker-calendar.js +1 -1
- package/dist/components/sd-date-range-picker.js +1 -1
- package/dist/components/sd-dropdown-button.js +1 -1
- package/dist/components/sd-field.js +1 -1
- package/dist/components/sd-file-picker.js +1 -1
- package/dist/components/sd-floating-portal.js +1 -1
- package/dist/components/sd-guide.js +1 -1
- package/dist/components/sd-input.js +1 -1
- package/dist/components/sd-key-value-table.js +1 -1
- package/dist/components/sd-linear-progress.js +1 -1
- package/dist/components/sd-loading-container.js +1 -1
- package/dist/components/sd-loading-modal.js +1 -1
- package/dist/components/sd-modal-container.js +1 -1
- package/dist/components/sd-number-input.js +1 -1
- package/dist/components/sd-pagination.js +1 -1
- package/dist/components/sd-popover.js +1 -1
- package/dist/components/sd-popup.js +1 -1
- package/dist/components/sd-portal.js +1 -1
- package/dist/components/sd-select-list-item-search.js +1 -1
- package/dist/components/sd-select-list-item.js +1 -1
- package/dist/components/sd-select-listbox.js +1 -1
- package/dist/components/sd-select-trigger.js +1 -1
- package/dist/components/sd-select.js +1 -1
- package/dist/components/sd-switch.js +1 -1
- package/dist/components/sd-table.js +1 -1
- package/dist/components/sd-tabs.js +1 -1
- package/dist/components/sd-tag.js +1 -1
- package/dist/components/sd-tbody.js +1 -1
- package/dist/components/sd-td.js +1 -1
- package/dist/components/sd-textarea.js +1 -1
- package/dist/components/sd-thead.js +1 -1
- package/dist/components/sd-toast-container.js +1 -1
- package/dist/components/sd-toast.js +1 -1
- package/dist/components/sd-toggle.js +1 -1
- package/dist/components/sd-tooltip.js +1 -1
- package/dist/components/sd-tr.js +1 -1
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/index.esm.js +1 -1
- package/dist/design-system/{p-74bf0ed9.entry.js → p-06a6798d.entry.js} +1 -1
- package/dist/design-system/{p-e611dcd4.entry.js → p-0894c492.entry.js} +1 -1
- package/dist/design-system/p-14e30f67.entry.js +1 -0
- package/dist/design-system/{p-9b9bf9db.entry.js → p-1e530c87.entry.js} +1 -1
- package/dist/design-system/{p-84a94775.entry.js → p-2bdceecb.entry.js} +1 -1
- package/dist/design-system/{p-a98f9a29.entry.js → p-339cb954.entry.js} +1 -1
- package/dist/design-system/{p-a7ea1cf0.entry.js → p-352c68ae.entry.js} +1 -1
- package/dist/design-system/p-3d61e68f.entry.js +1 -0
- package/dist/design-system/{p-fe3ae346.entry.js → p-3f4a281f.entry.js} +1 -1
- package/dist/design-system/p-40bdbe5a.entry.js +1 -0
- package/dist/design-system/{p-481e6934.entry.js → p-435ae69e.entry.js} +1 -1
- package/dist/design-system/p-4473c051.entry.js +1 -0
- package/dist/design-system/p-61f4238b.entry.js +1 -0
- package/dist/design-system/p-786c72e9.entry.js +1 -0
- package/dist/design-system/{p-00854a0a.entry.js → p-78de36f2.entry.js} +1 -1
- package/dist/design-system/p-795bae4c.entry.js +1 -0
- package/dist/design-system/p-819e28fe.entry.js +1 -0
- package/dist/design-system/{p-32e2d71e.entry.js → p-843d4b16.entry.js} +1 -1
- package/dist/design-system/{p-cc97f4b4.entry.js → p-8ee990bd.entry.js} +1 -1
- package/dist/design-system/{p-fe0a5368.entry.js → p-9404ab06.entry.js} +1 -1
- package/dist/design-system/p-DGlmvjGc.js +1 -0
- package/dist/design-system/p-DQFHAKL_.js +1 -0
- package/dist/design-system/p-DZbc1mgp.js +1 -0
- package/dist/design-system/p-DopVneZA.js +1 -0
- package/dist/design-system/{p-e8e64511.entry.js → p-aac84d22.entry.js} +1 -1
- package/dist/design-system/{p-f7074386.entry.js → p-b868d747.entry.js} +1 -1
- package/dist/design-system/{p-3b8954d9.entry.js → p-b8e34533.entry.js} +1 -1
- package/dist/design-system/p-c3e4853c.entry.js +1 -0
- package/dist/design-system/{p-11b904a3.entry.js → p-d226bd61.entry.js} +1 -1
- package/dist/design-system/{p-dbeaeb31.entry.js → p-d3cc8538.entry.js} +1 -1
- package/dist/design-system/{p-ae117afa.entry.js → p-eae21a79.entry.js} +1 -1
- package/dist/design-system/{p-e23dac79.entry.js → p-fa670cc4.entry.js} +1 -1
- package/dist/esm/{component.table-BnfUIhUj.js → component.table-DQFHAKL_.js} +3 -0
- package/dist/esm/design-system.js +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/sanitize-inline-html-DopVneZA.js +63 -0
- package/dist/esm/sd-calendar_2.entry.js +9 -7
- package/dist/esm/sd-callout.entry.js +150 -0
- package/dist/esm/sd-card.entry.js +1 -1
- package/dist/esm/sd-checkbox.entry.js +9 -4
- package/dist/esm/sd-chip.entry.js +1 -1
- package/dist/esm/sd-circle-progress.entry.js +2 -2
- package/dist/esm/sd-confirm-modal_2.entry.js +4 -3
- package/dist/esm/sd-date-picker_7.entry.js +9 -9
- package/dist/esm/sd-date-range-picker-calendar.entry.js +1 -1
- package/dist/esm/sd-dropdown-button.entry.js +6 -5
- package/dist/esm/sd-field_3.entry.js +7 -7
- package/dist/esm/sd-guide.entry.js +5 -4
- package/dist/esm/sd-key-value-table.entry.js +2 -2
- package/dist/esm/sd-linear-progress.entry.js +2 -2
- package/dist/esm/sd-loading-container.entry.js +2 -2
- package/dist/esm/sd-pagination_4.entry.js +28 -37
- package/dist/esm/sd-popup.entry.js +6 -5
- package/dist/esm/sd-portal.entry.js +1 -1
- package/dist/esm/sd-select-list-item_2.entry.js +6 -6
- package/dist/esm/sd-select_3.entry.js +8 -8
- package/dist/esm/sd-switch.entry.js +1 -1
- package/dist/esm/{sd-table.config-B-VgXXT7.js → sd-table.config-CFHtQ8LX.js} +5 -3
- package/dist/esm/sd-table.entry.js +37 -36
- package/dist/esm/sd-tabs.entry.js +1 -1
- package/dist/esm/sd-tag.entry.js +4 -2
- package/dist/esm/sd-td.entry.js +18 -9
- package/dist/esm/sd-toast-container.entry.js +1 -1
- package/dist/esm/sd-toast.entry.js +2 -2
- package/dist/esm/sd-toggle.entry.js +1 -1
- package/dist/esm/{system-GBlVDmy4.js → system-DGlmvjGc.js} +12 -1
- package/dist/types/components/sd-calendar/sd-calendar.d.ts +1 -0
- package/dist/types/components/sd-callout/sd-callout.config.d.ts +34 -0
- package/dist/types/components/sd-callout/sd-callout.d.ts +11 -0
- package/dist/types/components/sd-table/sd-table.d.ts +1 -1
- package/dist/types/components/sd-table/sd-td/sd-td.d.ts +2 -2
- package/dist/types/components/sd-table/sd-tr/sd-tr.d.ts +1 -2
- package/dist/types/components.d.ts +43 -0
- package/dist/types/utils/html/sanitize-inline-html.d.ts +1 -0
- package/hydrate/index.js +397 -150
- package/hydrate/index.mjs +397 -150
- package/package.json +1 -1
- package/dist/components/p-B8o25hOw.js +0 -1
- package/dist/components/p-BkWaPXXj.js +0 -1
- package/dist/components/p-BnfUIhUj.js +0 -1
- package/dist/components/p-CyObYB-g.js +0 -1
- package/dist/components/p-GBlVDmy4.js +0 -1
- package/dist/components/p-WAsath62.js +0 -1
- package/dist/components/p-mmdt-WnS.js +0 -1
- package/dist/design-system/p-563b6fc2.entry.js +0 -1
- package/dist/design-system/p-8f4ccae4.entry.js +0 -1
- package/dist/design-system/p-9f7f1b8b.entry.js +0 -1
- package/dist/design-system/p-BnfUIhUj.js +0 -1
- package/dist/design-system/p-GBlVDmy4.js +0 -1
- package/dist/design-system/p-a640e509.entry.js +0 -1
- package/dist/design-system/p-a97033a2.entry.js +0 -1
- package/dist/design-system/p-f721a6c6.entry.js +0 -1
- package/dist/design-system/p-fc5c4f85.entry.js +0 -1
- package/dist/design-system/p-ffaa4b5d.entry.js +0 -1
- package/dist/design-system/p-mmdt-WnS.js +0 -1
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export type CalloutType = 'default' | 'danger';
|
|
2
|
+
export declare const CALLOUT_LAYOUT: {
|
|
3
|
+
readonly radius: `${string}px`;
|
|
4
|
+
readonly borderWidth: `${string}px`;
|
|
5
|
+
readonly bodyPaddingX: `${string}px`;
|
|
6
|
+
readonly bodyPaddingY: `${string}px`;
|
|
7
|
+
readonly bodyGap: `${string}px`;
|
|
8
|
+
readonly titlePaddingX: `${string}px`;
|
|
9
|
+
readonly titleGap: `${string}px`;
|
|
10
|
+
readonly titleIconSize: number;
|
|
11
|
+
};
|
|
12
|
+
export declare const CALLOUT_TYPOGRAPHY: {
|
|
13
|
+
readonly body: {
|
|
14
|
+
readonly fontFamily: string;
|
|
15
|
+
readonly fontSize: `${string}px`;
|
|
16
|
+
readonly fontWeight: string;
|
|
17
|
+
readonly lineHeight: `${string}px`;
|
|
18
|
+
};
|
|
19
|
+
readonly title: {
|
|
20
|
+
readonly fontFamily: string;
|
|
21
|
+
readonly fontSize: `${string}px`;
|
|
22
|
+
readonly fontWeight: string;
|
|
23
|
+
readonly lineHeight: `${string}px`;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export declare const CALLOUT_TYPE_CONFIG: Record<CalloutType, {
|
|
27
|
+
bg: string;
|
|
28
|
+
border: string;
|
|
29
|
+
content: string;
|
|
30
|
+
titleBg?: string;
|
|
31
|
+
titleColor?: string;
|
|
32
|
+
}>;
|
|
33
|
+
export declare const DANGER_TITLE_LABEL = "\uC8FC\uC758\uC0AC\uD56D";
|
|
34
|
+
export declare const TYPE_ICON: Record<CalloutType, IconName | undefined>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type CalloutType } from './sd-callout.config';
|
|
2
|
+
export declare class SdCallout {
|
|
3
|
+
type: CalloutType;
|
|
4
|
+
message: (string | string[])[];
|
|
5
|
+
private get calloutStyle();
|
|
6
|
+
private renderListItem;
|
|
7
|
+
private renderLi;
|
|
8
|
+
private renderBody;
|
|
9
|
+
private renderTitle;
|
|
10
|
+
render(): any;
|
|
11
|
+
}
|
|
@@ -108,6 +108,7 @@ export declare class SdTable {
|
|
|
108
108
|
registerUseFrameSync(rowKey: string, field: string): void;
|
|
109
109
|
unregisterUseFrameSync(rowKey: string, field: string): void;
|
|
110
110
|
hasUseFrameInRowSync(rowKey: string): boolean;
|
|
111
|
+
isCellUseFrameSync(rowKey: string, field: string): boolean;
|
|
111
112
|
isRowSelectedSync(row: Row): boolean;
|
|
112
113
|
isRowSelected(row: Row): Promise<boolean>;
|
|
113
114
|
updateRowSelectSync(row: Row): void;
|
|
@@ -137,7 +138,6 @@ export declare class SdTable {
|
|
|
137
138
|
hasRowspanSync(): boolean;
|
|
138
139
|
isCoveredSync(rowKey: string, colIdx: number, columns: SdTableColumn[]): boolean;
|
|
139
140
|
private resolveVisualBottom;
|
|
140
|
-
isVisualLastRowSync(rowKey: string, field: string): boolean;
|
|
141
141
|
registerSeparatorSync(prevRowKey: string): void;
|
|
142
142
|
unregisterSeparatorSync(prevRowKey: string): void;
|
|
143
143
|
isVisualLastRowBeforeSeparatorSync(rowKey: string, field: string): boolean;
|
|
@@ -14,7 +14,7 @@ export declare class SdTd {
|
|
|
14
14
|
handleSpanChange(): void;
|
|
15
15
|
handleSdClassChange(): void;
|
|
16
16
|
handleDividerChange(): void;
|
|
17
|
-
|
|
17
|
+
handleUseFrameChange(): void;
|
|
18
18
|
componentWillLoad(): void;
|
|
19
19
|
componentDidLoad(): void;
|
|
20
20
|
connectedCallback(): void;
|
|
@@ -23,7 +23,7 @@ export declare class SdTd {
|
|
|
23
23
|
private requestParentTrUpdate;
|
|
24
24
|
private syncSpanRegistration;
|
|
25
25
|
private syncCellClassRegistration;
|
|
26
|
-
private
|
|
26
|
+
private syncUseFrameRegistration;
|
|
27
27
|
private syncSlotName;
|
|
28
28
|
render(): any;
|
|
29
29
|
}
|
|
@@ -39,9 +39,8 @@ export declare class SdTr {
|
|
|
39
39
|
private getSpanFor;
|
|
40
40
|
private isCovered;
|
|
41
41
|
private getCellClassFor;
|
|
42
|
+
private getFramePaddingStyle;
|
|
42
43
|
private expandCellClass;
|
|
43
|
-
private isVisualLastRow;
|
|
44
|
-
private isVisualLastRowForSelfRow;
|
|
45
44
|
private isVisualLastRowBeforeSeparator;
|
|
46
45
|
private isVisualLastRowBeforeSeparatorForSelfRow;
|
|
47
46
|
render(): any;
|
|
@@ -13,6 +13,7 @@ import { Rule } from "./types/form";
|
|
|
13
13
|
import { SdTooltipProps, TooltipType } from "./components/sd-tooltip/sd-tooltip.config";
|
|
14
14
|
import { Event } from "./stencil-public-runtime";
|
|
15
15
|
import { CalendarEventGroup } from "./components/sd-calendar/sd-calendar.config";
|
|
16
|
+
import { CalloutType } from "./components/sd-callout/sd-callout.config";
|
|
16
17
|
import { CheckedType } from "./components/sd-checkbox/sd-checkbox";
|
|
17
18
|
import { CircleProgressType } from "./components/sd-circle-progress/sd-circle-progress.config";
|
|
18
19
|
import { ConfirmModalMainButton, ConfirmModalType, TagName } from "./components/sd-confirm-modal/sd-confirm-modal.config";
|
|
@@ -51,6 +52,7 @@ export { Rule } from "./types/form";
|
|
|
51
52
|
export { SdTooltipProps, TooltipType } from "./components/sd-tooltip/sd-tooltip.config";
|
|
52
53
|
export { Event } from "./stencil-public-runtime";
|
|
53
54
|
export { CalendarEventGroup } from "./components/sd-calendar/sd-calendar.config";
|
|
55
|
+
export { CalloutType } from "./components/sd-callout/sd-callout.config";
|
|
54
56
|
export { CheckedType } from "./components/sd-checkbox/sd-checkbox";
|
|
55
57
|
export { CircleProgressType } from "./components/sd-circle-progress/sd-circle-progress.config";
|
|
56
58
|
export { ConfirmModalMainButton, ConfirmModalType, TagName } from "./components/sd-confirm-modal/sd-confirm-modal.config";
|
|
@@ -226,6 +228,10 @@ export namespace Components {
|
|
|
226
228
|
"type": ButtonType;
|
|
227
229
|
}
|
|
228
230
|
interface SdCalendar {
|
|
231
|
+
/**
|
|
232
|
+
* @default false
|
|
233
|
+
*/
|
|
234
|
+
"elevated": boolean;
|
|
229
235
|
"events"?: CalendarEventGroup[];
|
|
230
236
|
"selectable"?: [string, string];
|
|
231
237
|
/**
|
|
@@ -233,6 +239,16 @@ export namespace Components {
|
|
|
233
239
|
*/
|
|
234
240
|
"value": string | null;
|
|
235
241
|
}
|
|
242
|
+
interface SdCallout {
|
|
243
|
+
/**
|
|
244
|
+
* @default []
|
|
245
|
+
*/
|
|
246
|
+
"message": (string | string[])[];
|
|
247
|
+
/**
|
|
248
|
+
* @default 'default'
|
|
249
|
+
*/
|
|
250
|
+
"type": CalloutType;
|
|
251
|
+
}
|
|
236
252
|
interface SdCard {
|
|
237
253
|
/**
|
|
238
254
|
* @default false
|
|
@@ -2171,6 +2187,12 @@ declare global {
|
|
|
2171
2187
|
prototype: HTMLSdCalendarElement;
|
|
2172
2188
|
new (): HTMLSdCalendarElement;
|
|
2173
2189
|
};
|
|
2190
|
+
interface HTMLSdCalloutElement extends Components.SdCallout, HTMLStencilElement {
|
|
2191
|
+
}
|
|
2192
|
+
var HTMLSdCalloutElement: {
|
|
2193
|
+
prototype: HTMLSdCalloutElement;
|
|
2194
|
+
new (): HTMLSdCalloutElement;
|
|
2195
|
+
};
|
|
2174
2196
|
interface HTMLSdCardElement extends Components.SdCard, HTMLStencilElement {
|
|
2175
2197
|
}
|
|
2176
2198
|
var HTMLSdCardElement: {
|
|
@@ -2941,6 +2963,7 @@ declare global {
|
|
|
2941
2963
|
"sd-barcode-input": HTMLSdBarcodeInputElement;
|
|
2942
2964
|
"sd-button": HTMLSdButtonElement;
|
|
2943
2965
|
"sd-calendar": HTMLSdCalendarElement;
|
|
2966
|
+
"sd-callout": HTMLSdCalloutElement;
|
|
2944
2967
|
"sd-card": HTMLSdCardElement;
|
|
2945
2968
|
"sd-checkbox": HTMLSdCheckboxElement;
|
|
2946
2969
|
"sd-chip": HTMLSdChipElement;
|
|
@@ -3142,6 +3165,10 @@ declare namespace LocalJSX {
|
|
|
3142
3165
|
"type"?: ButtonType;
|
|
3143
3166
|
}
|
|
3144
3167
|
interface SdCalendar {
|
|
3168
|
+
/**
|
|
3169
|
+
* @default false
|
|
3170
|
+
*/
|
|
3171
|
+
"elevated"?: boolean;
|
|
3145
3172
|
"events"?: CalendarEventGroup[];
|
|
3146
3173
|
"onSdUpdate"?: (event: SdCalendarCustomEvent<string>) => void;
|
|
3147
3174
|
"onSdViewChange"?: (event: SdCalendarCustomEvent<{ year: number; month: number }>) => void;
|
|
@@ -3151,6 +3178,16 @@ declare namespace LocalJSX {
|
|
|
3151
3178
|
*/
|
|
3152
3179
|
"value"?: string | null;
|
|
3153
3180
|
}
|
|
3181
|
+
interface SdCallout {
|
|
3182
|
+
/**
|
|
3183
|
+
* @default []
|
|
3184
|
+
*/
|
|
3185
|
+
"message"?: (string | string[])[];
|
|
3186
|
+
/**
|
|
3187
|
+
* @default 'default'
|
|
3188
|
+
*/
|
|
3189
|
+
"type"?: CalloutType;
|
|
3190
|
+
}
|
|
3154
3191
|
interface SdCard {
|
|
3155
3192
|
/**
|
|
3156
3193
|
* @default false
|
|
@@ -4895,6 +4932,10 @@ declare namespace LocalJSX {
|
|
|
4895
4932
|
}
|
|
4896
4933
|
interface SdCalendarAttributes {
|
|
4897
4934
|
"value": string | null;
|
|
4935
|
+
"elevated": boolean;
|
|
4936
|
+
}
|
|
4937
|
+
interface SdCalloutAttributes {
|
|
4938
|
+
"type": CalloutType;
|
|
4898
4939
|
}
|
|
4899
4940
|
interface SdCardAttributes {
|
|
4900
4941
|
"bordered": boolean;
|
|
@@ -5368,6 +5409,7 @@ declare namespace LocalJSX {
|
|
|
5368
5409
|
"sd-barcode-input": Omit<SdBarcodeInput, keyof SdBarcodeInputAttributes> & { [K in keyof SdBarcodeInput & keyof SdBarcodeInputAttributes]?: SdBarcodeInput[K] } & { [K in keyof SdBarcodeInput & keyof SdBarcodeInputAttributes as `attr:${K}`]?: SdBarcodeInputAttributes[K] } & { [K in keyof SdBarcodeInput & keyof SdBarcodeInputAttributes as `prop:${K}`]?: SdBarcodeInput[K] };
|
|
5369
5410
|
"sd-button": Omit<SdButton, keyof SdButtonAttributes> & { [K in keyof SdButton & keyof SdButtonAttributes]?: SdButton[K] } & { [K in keyof SdButton & keyof SdButtonAttributes as `attr:${K}`]?: SdButtonAttributes[K] } & { [K in keyof SdButton & keyof SdButtonAttributes as `prop:${K}`]?: SdButton[K] };
|
|
5370
5411
|
"sd-calendar": Omit<SdCalendar, keyof SdCalendarAttributes> & { [K in keyof SdCalendar & keyof SdCalendarAttributes]?: SdCalendar[K] } & { [K in keyof SdCalendar & keyof SdCalendarAttributes as `attr:${K}`]?: SdCalendarAttributes[K] } & { [K in keyof SdCalendar & keyof SdCalendarAttributes as `prop:${K}`]?: SdCalendar[K] };
|
|
5412
|
+
"sd-callout": Omit<SdCallout, keyof SdCalloutAttributes> & { [K in keyof SdCallout & keyof SdCalloutAttributes]?: SdCallout[K] } & { [K in keyof SdCallout & keyof SdCalloutAttributes as `attr:${K}`]?: SdCalloutAttributes[K] } & { [K in keyof SdCallout & keyof SdCalloutAttributes as `prop:${K}`]?: SdCallout[K] };
|
|
5371
5413
|
"sd-card": Omit<SdCard, keyof SdCardAttributes> & { [K in keyof SdCard & keyof SdCardAttributes]?: SdCard[K] } & { [K in keyof SdCard & keyof SdCardAttributes as `attr:${K}`]?: SdCardAttributes[K] } & { [K in keyof SdCard & keyof SdCardAttributes as `prop:${K}`]?: SdCard[K] };
|
|
5372
5414
|
"sd-checkbox": Omit<SdCheckbox, keyof SdCheckboxAttributes> & { [K in keyof SdCheckbox & keyof SdCheckboxAttributes]?: SdCheckbox[K] } & { [K in keyof SdCheckbox & keyof SdCheckboxAttributes as `attr:${K}`]?: SdCheckboxAttributes[K] } & { [K in keyof SdCheckbox & keyof SdCheckboxAttributes as `prop:${K}`]?: SdCheckbox[K] } & OneOf<"value", SdCheckbox["value"], SdCheckboxAttributes["value"]>;
|
|
5373
5415
|
"sd-chip": Omit<SdChip, keyof SdChipAttributes> & { [K in keyof SdChip & keyof SdChipAttributes]?: SdChip[K] } & { [K in keyof SdChip & keyof SdChipAttributes as `attr:${K}`]?: SdChipAttributes[K] } & { [K in keyof SdChip & keyof SdChipAttributes as `prop:${K}`]?: SdChip[K] };
|
|
@@ -5430,6 +5472,7 @@ declare module "@stencil/core" {
|
|
|
5430
5472
|
"sd-barcode-input": LocalJSX.IntrinsicElements["sd-barcode-input"] & JSXBase.HTMLAttributes<HTMLSdBarcodeInputElement>;
|
|
5431
5473
|
"sd-button": LocalJSX.IntrinsicElements["sd-button"] & JSXBase.HTMLAttributes<HTMLSdButtonElement>;
|
|
5432
5474
|
"sd-calendar": LocalJSX.IntrinsicElements["sd-calendar"] & JSXBase.HTMLAttributes<HTMLSdCalendarElement>;
|
|
5475
|
+
"sd-callout": LocalJSX.IntrinsicElements["sd-callout"] & JSXBase.HTMLAttributes<HTMLSdCalloutElement>;
|
|
5433
5476
|
"sd-card": LocalJSX.IntrinsicElements["sd-card"] & JSXBase.HTMLAttributes<HTMLSdCardElement>;
|
|
5434
5477
|
"sd-checkbox": LocalJSX.IntrinsicElements["sd-checkbox"] & JSXBase.HTMLAttributes<HTMLSdCheckboxElement>;
|
|
5435
5478
|
"sd-chip": LocalJSX.IntrinsicElements["sd-chip"] & JSXBase.HTMLAttributes<HTMLSdChipElement>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const sanitizeInlineHtml: (value: string) => string;
|