@postnord/pn-marketweb-components 4.4.0 → 4.5.1
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/cjs/loader.cjs.js +1 -1
- package/cjs/pn-date-and-time.cjs.entry.js +25 -3
- package/cjs/pn-date-and-time.cjs.entry.js.map +1 -1
- package/cjs/pn-market-web-components.cjs.js +1 -1
- package/collection/components/input/pn-date-and-time/pn-date-and-time.js +44 -3
- package/collection/components/input/pn-date-and-time/pn-date-and-time.js.map +1 -1
- package/collection/components/input/pn-date-and-time/pn-date-and-time.stories.js +3 -1
- package/components/pn-date-and-time.js +27 -3
- package/components/pn-date-and-time.js.map +1 -1
- package/esm/loader.js +1 -1
- package/esm/pn-date-and-time.entry.js +25 -3
- package/esm/pn-date-and-time.entry.js.map +1 -1
- package/esm/pn-market-web-components.js +1 -1
- package/package.json +1 -1
- package/pn-market-web-components/p-dbfb632c.entry.js +2 -0
- package/pn-market-web-components/p-dbfb632c.entry.js.map +1 -0
- package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
- package/pn-market-web-components/pn-market-web-components.esm.js.map +1 -1
- package/types/components/input/pn-date-and-time/pn-date-and-time.d.ts +3 -0
- package/types/components.d.ts +2 -0
- package/umd/modules/@postnord/web-components/cem.json +392 -0
- package/umd/modules/@postnord/web-components/cjs/close_small-CTOfc4Qy.js +10 -0
- package/umd/modules/@postnord/web-components/cjs/index-DWu-2oJc.js +12 -4
- package/umd/modules/@postnord/web-components/cjs/loader.cjs.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-card.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-footer.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-header.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-input-chip.cjs.entry.js +52 -0
- package/umd/modules/@postnord/web-components/cjs/pn-multiselect.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-ocr-search.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-page-nav-dropdown-item.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-page-nav-item.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-page-nav.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-pagination.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-radio-button.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-range.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-search-field.cjs.entry.js +2 -4
- package/umd/modules/@postnord/web-components/cjs/pn-segment.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-segmented-control.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-select.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-skeleton-loader.cjs.entry.js +103 -0
- package/umd/modules/@postnord/web-components/cjs/pn-tab.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-tablist.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-text-link.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-textarea.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-tile.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-toggle-switch.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-zipcode-search.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/postnord-web-components.cjs.js +1 -1
- package/umd/modules/@postnord/web-components/collection/collection-manifest.json +2 -0
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-skeleton-loader/pn-skeleton-loader.css +314 -0
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-skeleton-loader/pn-skeleton-loader.js +291 -0
- package/umd/modules/@postnord/web-components/collection/components/input/pn-input-chip/pn-input-chip.css +109 -0
- package/umd/modules/@postnord/web-components/collection/components/input/pn-input-chip/pn-input-chip.js +232 -0
- package/umd/modules/@postnord/web-components/collection/components/input/pn-multiselect/pn-multiselect.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-radio-button/pn-radio-button.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-range/pn-range.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-search-field/pn-search-field.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-segmented-control/pn-segmented-control.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-segmented-control/segment/pn-segment.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-select/pn-select.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-textarea/pn-textarea.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-toggle-switch/pn-toggle-switch.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/layout/pn-header/pn-header.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-card/pn-card.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-footer/pn-footer.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/dropdown-item/pn-page-nav-dropdown-item.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/item/pn-page-nav-item.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/menu/pn-page-nav.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-pagination/pn-pagination.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/pn-tablist.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/tab/pn-tab.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-text-link/pn-text-link.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tile/pn-tile.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/web-components/pn-ocr-search/pn-ocr-search.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/web-components/pn-zipcode-search/pn-zipcode-search.js +1 -1
- package/umd/modules/@postnord/web-components/components/close_small.js +5 -0
- package/umd/modules/@postnord/web-components/components/index.d.ts +4 -0
- package/umd/modules/@postnord/web-components/components/index.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-card.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-footer.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-header.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-input-chip.d.ts +11 -0
- package/umd/modules/@postnord/web-components/components/pn-input-chip.js +5 -0
- package/umd/modules/@postnord/web-components/components/pn-multiselect.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-ocr-search.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-page-nav-dropdown-item.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-page-nav-item.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-page-nav.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-pagination.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-radio-button.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-range.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-search-field2.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-segment.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-segmented-control.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-select2.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-skeleton-loader.d.ts +11 -0
- package/umd/modules/@postnord/web-components/components/pn-skeleton-loader.js +5 -0
- package/umd/modules/@postnord/web-components/components/pn-tab.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-tablist.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-text-link2.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-textarea.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-tile.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-toggle-switch.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-zipcode-search.js +1 -1
- package/umd/modules/@postnord/web-components/esm/close_small-gPbnChG6.js +8 -0
- package/umd/modules/@postnord/web-components/esm/index-XKg-ydzH.js +12 -4
- package/umd/modules/@postnord/web-components/esm/loader.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-card.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-footer.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-header.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-input-chip.entry.js +50 -0
- package/umd/modules/@postnord/web-components/esm/pn-multiselect.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-ocr-search.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-page-nav-dropdown-item.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-page-nav-item.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-page-nav.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-pagination.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-radio-button.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-range.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-search-field.entry.js +2 -4
- package/umd/modules/@postnord/web-components/esm/pn-segment.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-segmented-control.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-select.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-skeleton-loader.entry.js +101 -0
- package/umd/modules/@postnord/web-components/esm/pn-tab.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-tablist.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-text-link.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-textarea.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-tile.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-toggle-switch.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-zipcode-search.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/postnord-web-components.js +1 -1
- package/umd/modules/@postnord/web-components/hydrate/index.js +199 -22
- package/umd/modules/@postnord/web-components/hydrate/index.mjs +199 -22
- package/umd/modules/@postnord/web-components/package.json +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-e11b4af5.entry.js → p-10d5fb90.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-88344f8d.entry.js → p-110ba4cc.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-98a37be9.entry.js → p-1b27c05f.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-292a7591.entry.js → p-20fe57fd.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-43483837.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-060b6ad2.entry.js → p-48f7e582.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-a31d93db.entry.js → p-594f5e35.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-9d56fb64.entry.js → p-5f5f3eeb.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-783ee52f.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-e5574624.entry.js → p-809a0ddb.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-d81b4ede.entry.js → p-8d90ab9d.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-3db02038.entry.js → p-90b44536.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-a1f92f19.entry.js → p-9f48d450.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-ef00ef4d.entry.js → p-a028c1af.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-a3bd612d.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-d228b929.entry.js → p-a70c9879.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-b80c060c.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-0bf70d44.entry.js → p-bdb494ac.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-020ee3f4.entry.js → p-c51d8164.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-8cedf2e0.entry.js → p-c7a6d048.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-b45e58df.entry.js → p-d728a000.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-eb15a889.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-3709c995.entry.js → p-fa3c2490.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-64207923.entry.js → p-fdbffb51.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-gPbnChG6.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/postnord-web-components.esm.js +1 -1
- package/umd/modules/@postnord/web-components/types/components/feedback/pn-skeleton-loader/pn-skeleton-loader.d.ts +35 -0
- package/umd/modules/@postnord/web-components/types/components/input/pn-input-chip/pn-input-chip.d.ts +34 -0
- package/umd/modules/@postnord/web-components/types/components.d.ts +257 -0
- package/umd/modules/@postnord/web-components/vscode-data.json +117 -0
- package/umd/pn-marketweb-header-wrongrembase.css +6 -5
- package/umd/pn-marketweb-init.js +1 -1
- package/umd/pn-marketweb-salesforce-header.js +1 -1
- package/umd/pn-marketweb-salesforce-owncss.js +88 -0
- package/umd/pn-marketweb-salesforce.js +1 -1
- package/vscode-data.json +4 -0
- package/pn-market-web-components/p-99843884.entry.js +0 -2
- package/pn-market-web-components/p-99843884.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-aa15469e.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-b72f9866.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-d71054df.entry.js +0 -5
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export type PnSkeletonLoaderType = 'box' | 'paragraph' | 'text' | 'card' | 'chip' | 'table' | 'input' | 'tile' | 'header' | 'avatar' | 'button';
|
|
2
|
+
/** Display a skeleton loader placeholder to indicate content is loading. */
|
|
3
|
+
export declare class PnSkeletonLoader {
|
|
4
|
+
/** The skeleton shape to render.
|
|
5
|
+
*/
|
|
6
|
+
type: PnSkeletonLoaderType;
|
|
7
|
+
/** Custom width (CSS value). Overrides type default.
|
|
8
|
+
*/
|
|
9
|
+
width?: string;
|
|
10
|
+
/** Custom height (CSS value). Overrides type default.
|
|
11
|
+
*/
|
|
12
|
+
height?: string;
|
|
13
|
+
/** Custom border-radius (CSS value). Overrides type default.
|
|
14
|
+
*/
|
|
15
|
+
borderRadius?: string;
|
|
16
|
+
/** Small size variant for type="chip".
|
|
17
|
+
*/
|
|
18
|
+
small: boolean;
|
|
19
|
+
/** Large size variant for type="chip".
|
|
20
|
+
*/
|
|
21
|
+
large: boolean;
|
|
22
|
+
/** Number of lines for type="paragraph" or body rows for type="table". Does not do anything for other types. Default is 3.
|
|
23
|
+
*/
|
|
24
|
+
lines: number;
|
|
25
|
+
/** When true, masks slotted content with shimmer instead of rendering a skeleton shape. The slotted content keeps its layout but text and images are hidden behind the shimmer effect.
|
|
26
|
+
*/
|
|
27
|
+
automatic: boolean;
|
|
28
|
+
/** When true, hides the skeleton. For automatic mode, the slotted content is shown without masking.
|
|
29
|
+
*/
|
|
30
|
+
hide: boolean;
|
|
31
|
+
private getStyle;
|
|
32
|
+
private renderParagraph;
|
|
33
|
+
private renderTable;
|
|
34
|
+
render(): any;
|
|
35
|
+
}
|
package/umd/modules/@postnord/web-components/types/components/input/pn-input-chip/pn-input-chip.d.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
/**
|
|
3
|
+
* The `pn-input-chip` represents a confirmed user input value that can be removed.
|
|
4
|
+
* It is visually similar to the `pn-choice-chip` but its only action is deletion.
|
|
5
|
+
* Clicking anywhere on the chip removes it.
|
|
6
|
+
*/
|
|
7
|
+
export declare class PnInputChip {
|
|
8
|
+
private readonly id;
|
|
9
|
+
/** The chip label text. */
|
|
10
|
+
label: string;
|
|
11
|
+
/** Optional value identifier emitted with the delete event. @category Native attributes */
|
|
12
|
+
value?: string;
|
|
13
|
+
/** Add a leading icon to the chip. @category Features */
|
|
14
|
+
icon?: string;
|
|
15
|
+
/** Use the small size for the input chip. @category Features */
|
|
16
|
+
small: boolean;
|
|
17
|
+
/** Use the large size for the input chip. @category Features */
|
|
18
|
+
large: boolean;
|
|
19
|
+
/** Disable the chip. When disabled, the chip is not interactive. @category Native attributes */
|
|
20
|
+
disabled: boolean;
|
|
21
|
+
/** Emitted when the chip is clicked (removed). */
|
|
22
|
+
pnDelete: EventEmitter<{
|
|
23
|
+
label: string;
|
|
24
|
+
value?: string;
|
|
25
|
+
}>;
|
|
26
|
+
/**
|
|
27
|
+
* A unique HTML ID for the input chip.
|
|
28
|
+
* @category HTML attributes
|
|
29
|
+
*/
|
|
30
|
+
pnId?: string;
|
|
31
|
+
private handleDelete;
|
|
32
|
+
private getId;
|
|
33
|
+
render(): any;
|
|
34
|
+
}
|
|
@@ -9,10 +9,12 @@ import { Components, PnActionMenuItem, PnButtonAppearance, PnButtonVariant, PnCo
|
|
|
9
9
|
import { Event } from "./stencil-public-runtime";
|
|
10
10
|
import { PnLanguages as PnLanguages1, PnMarkets, PnSearchFieldButton, PnUploadFileItem } from "./globals/types";
|
|
11
11
|
import { CalendarView, PnDatePickerSelectEvent } from "./globals/date/index";
|
|
12
|
+
import { PnSkeletonLoaderType } from "./components/feedback/pn-skeleton-loader/pn-skeleton-loader";
|
|
12
13
|
export { Components, PnActionMenuItem, PnButtonAppearance, PnButtonVariant, PnColors, PnLanguages, PnMultiselectOption, PnZipCodeSearchLanguages } from "./index";
|
|
13
14
|
export { Event } from "./stencil-public-runtime";
|
|
14
15
|
export { PnLanguages as PnLanguages1, PnMarkets, PnSearchFieldButton, PnUploadFileItem } from "./globals/types";
|
|
15
16
|
export { CalendarView, PnDatePickerSelectEvent } from "./globals/date/index";
|
|
17
|
+
export { PnSkeletonLoaderType } from "./components/feedback/pn-skeleton-loader/pn-skeleton-loader";
|
|
16
18
|
export namespace Components {
|
|
17
19
|
/**
|
|
18
20
|
* The `pn-accordion` is a wrapper for `pn-accordion-row` components.
|
|
@@ -1395,6 +1397,50 @@ export namespace Components {
|
|
|
1395
1397
|
*/
|
|
1396
1398
|
"value": string;
|
|
1397
1399
|
}
|
|
1400
|
+
/**
|
|
1401
|
+
* The `pn-input-chip` represents a confirmed user input value that can be removed.
|
|
1402
|
+
* It is visually similar to the `pn-choice-chip` but its only action is deletion.
|
|
1403
|
+
* Clicking anywhere on the chip removes it.
|
|
1404
|
+
*/
|
|
1405
|
+
interface PnInputChip {
|
|
1406
|
+
/**
|
|
1407
|
+
* Disable the chip. When disabled, the chip is not interactive.
|
|
1408
|
+
* @category Native attributes
|
|
1409
|
+
* @default false
|
|
1410
|
+
*/
|
|
1411
|
+
"disabled": boolean;
|
|
1412
|
+
/**
|
|
1413
|
+
* Add a leading icon to the chip.
|
|
1414
|
+
* @category Features
|
|
1415
|
+
*/
|
|
1416
|
+
"icon"?: string;
|
|
1417
|
+
/**
|
|
1418
|
+
* The chip label text.
|
|
1419
|
+
*/
|
|
1420
|
+
"label": string;
|
|
1421
|
+
/**
|
|
1422
|
+
* Use the large size for the input chip.
|
|
1423
|
+
* @category Features
|
|
1424
|
+
* @default false
|
|
1425
|
+
*/
|
|
1426
|
+
"large": boolean;
|
|
1427
|
+
/**
|
|
1428
|
+
* A unique HTML ID for the input chip.
|
|
1429
|
+
* @category HTML attributes
|
|
1430
|
+
*/
|
|
1431
|
+
"pnId"?: string;
|
|
1432
|
+
/**
|
|
1433
|
+
* Use the small size for the input chip.
|
|
1434
|
+
* @category Features
|
|
1435
|
+
* @default false
|
|
1436
|
+
*/
|
|
1437
|
+
"small": boolean;
|
|
1438
|
+
/**
|
|
1439
|
+
* Optional value identifier emitted with the delete event.
|
|
1440
|
+
* @category Native attributes
|
|
1441
|
+
*/
|
|
1442
|
+
"value"?: string;
|
|
1443
|
+
}
|
|
1398
1444
|
/**
|
|
1399
1445
|
* Present content in a modal that overlays everything on the current page.
|
|
1400
1446
|
* Use the prop `open` to toggle the visiblity.
|
|
@@ -2416,6 +2462,53 @@ export namespace Components {
|
|
|
2416
2462
|
*/
|
|
2417
2463
|
"selectId"?: string;
|
|
2418
2464
|
}
|
|
2465
|
+
/**
|
|
2466
|
+
* Display a skeleton loader placeholder to indicate content is loading.
|
|
2467
|
+
*/
|
|
2468
|
+
interface PnSkeletonLoader {
|
|
2469
|
+
/**
|
|
2470
|
+
* When true, masks slotted content with shimmer instead of rendering a skeleton shape. The slotted content keeps its layout but text and images are hidden behind the shimmer effect.
|
|
2471
|
+
* @default false
|
|
2472
|
+
*/
|
|
2473
|
+
"automatic": boolean;
|
|
2474
|
+
/**
|
|
2475
|
+
* Custom border-radius (CSS value). Overrides type default.
|
|
2476
|
+
*/
|
|
2477
|
+
"borderRadius"?: string;
|
|
2478
|
+
/**
|
|
2479
|
+
* Custom height (CSS value). Overrides type default.
|
|
2480
|
+
*/
|
|
2481
|
+
"height"?: string;
|
|
2482
|
+
/**
|
|
2483
|
+
* When true, hides the skeleton. For automatic mode, the slotted content is shown without masking.
|
|
2484
|
+
* @default false
|
|
2485
|
+
*/
|
|
2486
|
+
"hide": boolean;
|
|
2487
|
+
/**
|
|
2488
|
+
* Large size variant for type="chip".
|
|
2489
|
+
* @default false
|
|
2490
|
+
*/
|
|
2491
|
+
"large": boolean;
|
|
2492
|
+
/**
|
|
2493
|
+
* Number of lines for type="paragraph" or body rows for type="table". Does not do anything for other types. Default is 3.
|
|
2494
|
+
* @default 3
|
|
2495
|
+
*/
|
|
2496
|
+
"lines": number;
|
|
2497
|
+
/**
|
|
2498
|
+
* Small size variant for type="chip".
|
|
2499
|
+
* @default false
|
|
2500
|
+
*/
|
|
2501
|
+
"small": boolean;
|
|
2502
|
+
/**
|
|
2503
|
+
* The skeleton shape to render.
|
|
2504
|
+
* @default 'box'
|
|
2505
|
+
*/
|
|
2506
|
+
"type": PnSkeletonLoaderType;
|
|
2507
|
+
/**
|
|
2508
|
+
* Custom width (CSS value). Overrides type default.
|
|
2509
|
+
*/
|
|
2510
|
+
"width"?: string;
|
|
2511
|
+
}
|
|
2419
2512
|
/**
|
|
2420
2513
|
* Display a spinner to indicate a loading state.
|
|
2421
2514
|
*/
|
|
@@ -3146,6 +3239,10 @@ export interface PnFileUploadCustomEvent<T> extends CustomEvent<T> {
|
|
|
3146
3239
|
detail: T;
|
|
3147
3240
|
target: HTMLPnFileUploadElement;
|
|
3148
3241
|
}
|
|
3242
|
+
export interface PnInputChipCustomEvent<T> extends CustomEvent<T> {
|
|
3243
|
+
detail: T;
|
|
3244
|
+
target: HTMLPnInputChipElement;
|
|
3245
|
+
}
|
|
3149
3246
|
export interface PnModalCustomEvent<T> extends CustomEvent<T> {
|
|
3150
3247
|
detail: T;
|
|
3151
3248
|
target: HTMLPnModalElement;
|
|
@@ -3532,6 +3629,28 @@ declare global {
|
|
|
3532
3629
|
prototype: HTMLPnInputElement;
|
|
3533
3630
|
new (): HTMLPnInputElement;
|
|
3534
3631
|
};
|
|
3632
|
+
interface HTMLPnInputChipElementEventMap {
|
|
3633
|
+
"pnDelete": { label: string; value?: string };
|
|
3634
|
+
}
|
|
3635
|
+
/**
|
|
3636
|
+
* The `pn-input-chip` represents a confirmed user input value that can be removed.
|
|
3637
|
+
* It is visually similar to the `pn-choice-chip` but its only action is deletion.
|
|
3638
|
+
* Clicking anywhere on the chip removes it.
|
|
3639
|
+
*/
|
|
3640
|
+
interface HTMLPnInputChipElement extends Components.PnInputChip, HTMLStencilElement {
|
|
3641
|
+
addEventListener<K extends keyof HTMLPnInputChipElementEventMap>(type: K, listener: (this: HTMLPnInputChipElement, ev: PnInputChipCustomEvent<HTMLPnInputChipElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3642
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3643
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3644
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3645
|
+
removeEventListener<K extends keyof HTMLPnInputChipElementEventMap>(type: K, listener: (this: HTMLPnInputChipElement, ev: PnInputChipCustomEvent<HTMLPnInputChipElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
3646
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3647
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3648
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3649
|
+
}
|
|
3650
|
+
var HTMLPnInputChipElement: {
|
|
3651
|
+
prototype: HTMLPnInputChipElement;
|
|
3652
|
+
new (): HTMLPnInputChipElement;
|
|
3653
|
+
};
|
|
3535
3654
|
interface HTMLPnModalElementEventMap {
|
|
3536
3655
|
"modalToggle": { open: boolean };
|
|
3537
3656
|
"modalVisibility": { visible: boolean };
|
|
@@ -3875,6 +3994,15 @@ declare global {
|
|
|
3875
3994
|
prototype: HTMLPnSelectElement;
|
|
3876
3995
|
new (): HTMLPnSelectElement;
|
|
3877
3996
|
};
|
|
3997
|
+
/**
|
|
3998
|
+
* Display a skeleton loader placeholder to indicate content is loading.
|
|
3999
|
+
*/
|
|
4000
|
+
interface HTMLPnSkeletonLoaderElement extends Components.PnSkeletonLoader, HTMLStencilElement {
|
|
4001
|
+
}
|
|
4002
|
+
var HTMLPnSkeletonLoaderElement: {
|
|
4003
|
+
prototype: HTMLPnSkeletonLoaderElement;
|
|
4004
|
+
new (): HTMLPnSkeletonLoaderElement;
|
|
4005
|
+
};
|
|
3878
4006
|
/**
|
|
3879
4007
|
* Display a spinner to indicate a loading state.
|
|
3880
4008
|
*/
|
|
@@ -4108,6 +4236,7 @@ declare global {
|
|
|
4108
4236
|
"pn-icon": HTMLPnIconElement;
|
|
4109
4237
|
"pn-illustration": HTMLPnIllustrationElement;
|
|
4110
4238
|
"pn-input": HTMLPnInputElement;
|
|
4239
|
+
"pn-input-chip": HTMLPnInputChipElement;
|
|
4111
4240
|
"pn-modal": HTMLPnModalElement;
|
|
4112
4241
|
"pn-multiselect": HTMLPnMultiselectElement;
|
|
4113
4242
|
"pn-ocr-search": HTMLPnOcrSearchElement;
|
|
@@ -4126,6 +4255,7 @@ declare global {
|
|
|
4126
4255
|
"pn-segment": HTMLPnSegmentElement;
|
|
4127
4256
|
"pn-segmented-control": HTMLPnSegmentedControlElement;
|
|
4128
4257
|
"pn-select": HTMLPnSelectElement;
|
|
4258
|
+
"pn-skeleton-loader": HTMLPnSkeletonLoaderElement;
|
|
4129
4259
|
"pn-spinner": HTMLPnSpinnerElement;
|
|
4130
4260
|
"pn-tab": HTMLPnTabElement;
|
|
4131
4261
|
"pn-table": HTMLPnTableElement;
|
|
@@ -5609,6 +5739,54 @@ declare namespace LocalJSX {
|
|
|
5609
5739
|
*/
|
|
5610
5740
|
"value"?: string;
|
|
5611
5741
|
}
|
|
5742
|
+
/**
|
|
5743
|
+
* The `pn-input-chip` represents a confirmed user input value that can be removed.
|
|
5744
|
+
* It is visually similar to the `pn-choice-chip` but its only action is deletion.
|
|
5745
|
+
* Clicking anywhere on the chip removes it.
|
|
5746
|
+
*/
|
|
5747
|
+
interface PnInputChip {
|
|
5748
|
+
/**
|
|
5749
|
+
* Disable the chip. When disabled, the chip is not interactive.
|
|
5750
|
+
* @category Native attributes
|
|
5751
|
+
* @default false
|
|
5752
|
+
*/
|
|
5753
|
+
"disabled"?: boolean;
|
|
5754
|
+
/**
|
|
5755
|
+
* Add a leading icon to the chip.
|
|
5756
|
+
* @category Features
|
|
5757
|
+
*/
|
|
5758
|
+
"icon"?: string;
|
|
5759
|
+
/**
|
|
5760
|
+
* The chip label text.
|
|
5761
|
+
*/
|
|
5762
|
+
"label": string;
|
|
5763
|
+
/**
|
|
5764
|
+
* Use the large size for the input chip.
|
|
5765
|
+
* @category Features
|
|
5766
|
+
* @default false
|
|
5767
|
+
*/
|
|
5768
|
+
"large"?: boolean;
|
|
5769
|
+
/**
|
|
5770
|
+
* Emitted when the chip is clicked (removed).
|
|
5771
|
+
*/
|
|
5772
|
+
"onPnDelete"?: (event: PnInputChipCustomEvent<{ label: string; value?: string }>) => void;
|
|
5773
|
+
/**
|
|
5774
|
+
* A unique HTML ID for the input chip.
|
|
5775
|
+
* @category HTML attributes
|
|
5776
|
+
*/
|
|
5777
|
+
"pnId"?: string;
|
|
5778
|
+
/**
|
|
5779
|
+
* Use the small size for the input chip.
|
|
5780
|
+
* @category Features
|
|
5781
|
+
* @default false
|
|
5782
|
+
*/
|
|
5783
|
+
"small"?: boolean;
|
|
5784
|
+
/**
|
|
5785
|
+
* Optional value identifier emitted with the delete event.
|
|
5786
|
+
* @category Native attributes
|
|
5787
|
+
*/
|
|
5788
|
+
"value"?: string;
|
|
5789
|
+
}
|
|
5612
5790
|
/**
|
|
5613
5791
|
* Present content in a modal that overlays everything on the current page.
|
|
5614
5792
|
* Use the prop `open` to toggle the visiblity.
|
|
@@ -6731,6 +6909,53 @@ declare namespace LocalJSX {
|
|
|
6731
6909
|
*/
|
|
6732
6910
|
"selectId"?: string;
|
|
6733
6911
|
}
|
|
6912
|
+
/**
|
|
6913
|
+
* Display a skeleton loader placeholder to indicate content is loading.
|
|
6914
|
+
*/
|
|
6915
|
+
interface PnSkeletonLoader {
|
|
6916
|
+
/**
|
|
6917
|
+
* When true, masks slotted content with shimmer instead of rendering a skeleton shape. The slotted content keeps its layout but text and images are hidden behind the shimmer effect.
|
|
6918
|
+
* @default false
|
|
6919
|
+
*/
|
|
6920
|
+
"automatic"?: boolean;
|
|
6921
|
+
/**
|
|
6922
|
+
* Custom border-radius (CSS value). Overrides type default.
|
|
6923
|
+
*/
|
|
6924
|
+
"borderRadius"?: string;
|
|
6925
|
+
/**
|
|
6926
|
+
* Custom height (CSS value). Overrides type default.
|
|
6927
|
+
*/
|
|
6928
|
+
"height"?: string;
|
|
6929
|
+
/**
|
|
6930
|
+
* When true, hides the skeleton. For automatic mode, the slotted content is shown without masking.
|
|
6931
|
+
* @default false
|
|
6932
|
+
*/
|
|
6933
|
+
"hide"?: boolean;
|
|
6934
|
+
/**
|
|
6935
|
+
* Large size variant for type="chip".
|
|
6936
|
+
* @default false
|
|
6937
|
+
*/
|
|
6938
|
+
"large"?: boolean;
|
|
6939
|
+
/**
|
|
6940
|
+
* Number of lines for type="paragraph" or body rows for type="table". Does not do anything for other types. Default is 3.
|
|
6941
|
+
* @default 3
|
|
6942
|
+
*/
|
|
6943
|
+
"lines"?: number;
|
|
6944
|
+
/**
|
|
6945
|
+
* Small size variant for type="chip".
|
|
6946
|
+
* @default false
|
|
6947
|
+
*/
|
|
6948
|
+
"small"?: boolean;
|
|
6949
|
+
/**
|
|
6950
|
+
* The skeleton shape to render.
|
|
6951
|
+
* @default 'box'
|
|
6952
|
+
*/
|
|
6953
|
+
"type"?: PnSkeletonLoaderType;
|
|
6954
|
+
/**
|
|
6955
|
+
* Custom width (CSS value). Overrides type default.
|
|
6956
|
+
*/
|
|
6957
|
+
"width"?: string;
|
|
6958
|
+
}
|
|
6734
6959
|
/**
|
|
6735
6960
|
* Display a spinner to indicate a loading state.
|
|
6736
6961
|
*/
|
|
@@ -7723,6 +7948,15 @@ declare namespace LocalJSX {
|
|
|
7723
7948
|
"arialabel": string;
|
|
7724
7949
|
"ariacontrols": string;
|
|
7725
7950
|
}
|
|
7951
|
+
interface PnInputChipAttributes {
|
|
7952
|
+
"label": string;
|
|
7953
|
+
"value": string;
|
|
7954
|
+
"icon": string;
|
|
7955
|
+
"small": boolean;
|
|
7956
|
+
"large": boolean;
|
|
7957
|
+
"disabled": boolean;
|
|
7958
|
+
"pnId": string;
|
|
7959
|
+
}
|
|
7726
7960
|
interface PnModalAttributes {
|
|
7727
7961
|
"label": string;
|
|
7728
7962
|
"helpertext": string;
|
|
@@ -7921,6 +8155,17 @@ declare namespace LocalJSX {
|
|
|
7921
8155
|
"pnAriaLabelledby": string;
|
|
7922
8156
|
"selectId": string;
|
|
7923
8157
|
}
|
|
8158
|
+
interface PnSkeletonLoaderAttributes {
|
|
8159
|
+
"type": PnSkeletonLoaderType;
|
|
8160
|
+
"width": string;
|
|
8161
|
+
"height": string;
|
|
8162
|
+
"borderRadius": string;
|
|
8163
|
+
"small": boolean;
|
|
8164
|
+
"large": boolean;
|
|
8165
|
+
"lines": number;
|
|
8166
|
+
"automatic": boolean;
|
|
8167
|
+
"hide": boolean;
|
|
8168
|
+
}
|
|
7924
8169
|
interface PnSpinnerAttributes {
|
|
7925
8170
|
"light": boolean;
|
|
7926
8171
|
"size": number;
|
|
@@ -8077,6 +8322,7 @@ declare namespace LocalJSX {
|
|
|
8077
8322
|
"pn-icon": Omit<PnIcon, keyof PnIconAttributes> & { [K in keyof PnIcon & keyof PnIconAttributes]?: PnIcon[K] } & { [K in keyof PnIcon & keyof PnIconAttributes as `attr:${K}`]?: PnIconAttributes[K] } & { [K in keyof PnIcon & keyof PnIconAttributes as `prop:${K}`]?: PnIcon[K] };
|
|
8078
8323
|
"pn-illustration": Omit<PnIllustration, keyof PnIllustrationAttributes> & { [K in keyof PnIllustration & keyof PnIllustrationAttributes]?: PnIllustration[K] } & { [K in keyof PnIllustration & keyof PnIllustrationAttributes as `attr:${K}`]?: PnIllustrationAttributes[K] } & { [K in keyof PnIllustration & keyof PnIllustrationAttributes as `prop:${K}`]?: PnIllustration[K] } & OneOf<"illustration", PnIllustration["illustration"], PnIllustrationAttributes["illustration"]>;
|
|
8079
8324
|
"pn-input": Omit<PnInput, keyof PnInputAttributes> & { [K in keyof PnInput & keyof PnInputAttributes]?: PnInput[K] } & { [K in keyof PnInput & keyof PnInputAttributes as `attr:${K}`]?: PnInputAttributes[K] } & { [K in keyof PnInput & keyof PnInputAttributes as `prop:${K}`]?: PnInput[K] };
|
|
8325
|
+
"pn-input-chip": Omit<PnInputChip, keyof PnInputChipAttributes> & { [K in keyof PnInputChip & keyof PnInputChipAttributes]?: PnInputChip[K] } & { [K in keyof PnInputChip & keyof PnInputChipAttributes as `attr:${K}`]?: PnInputChipAttributes[K] } & { [K in keyof PnInputChip & keyof PnInputChipAttributes as `prop:${K}`]?: PnInputChip[K] } & OneOf<"label", PnInputChip["label"], PnInputChipAttributes["label"]>;
|
|
8080
8326
|
"pn-modal": Omit<PnModal, keyof PnModalAttributes> & { [K in keyof PnModal & keyof PnModalAttributes]?: PnModal[K] } & { [K in keyof PnModal & keyof PnModalAttributes as `attr:${K}`]?: PnModalAttributes[K] } & { [K in keyof PnModal & keyof PnModalAttributes as `prop:${K}`]?: PnModal[K] };
|
|
8081
8327
|
"pn-multiselect": Omit<PnMultiselect, keyof PnMultiselectAttributes> & { [K in keyof PnMultiselect & keyof PnMultiselectAttributes]?: PnMultiselect[K] } & { [K in keyof PnMultiselect & keyof PnMultiselectAttributes as `attr:${K}`]?: PnMultiselectAttributes[K] } & { [K in keyof PnMultiselect & keyof PnMultiselectAttributes as `prop:${K}`]?: PnMultiselect[K] };
|
|
8082
8328
|
"pn-ocr-search": Omit<PnOcrSearch, keyof PnOcrSearchAttributes> & { [K in keyof PnOcrSearch & keyof PnOcrSearchAttributes]?: PnOcrSearch[K] } & { [K in keyof PnOcrSearch & keyof PnOcrSearchAttributes as `attr:${K}`]?: PnOcrSearchAttributes[K] } & { [K in keyof PnOcrSearch & keyof PnOcrSearchAttributes as `prop:${K}`]?: PnOcrSearch[K] };
|
|
@@ -8095,6 +8341,7 @@ declare namespace LocalJSX {
|
|
|
8095
8341
|
"pn-segment": Omit<PnSegment, keyof PnSegmentAttributes> & { [K in keyof PnSegment & keyof PnSegmentAttributes]?: PnSegment[K] } & { [K in keyof PnSegment & keyof PnSegmentAttributes as `attr:${K}`]?: PnSegmentAttributes[K] } & { [K in keyof PnSegment & keyof PnSegmentAttributes as `prop:${K}`]?: PnSegment[K] } & OneOf<"value", PnSegment["value"], PnSegmentAttributes["value"]> & OneOf<"name", PnSegment["name"], PnSegmentAttributes["name"]>;
|
|
8096
8342
|
"pn-segmented-control": Omit<PnSegmentedControl, keyof PnSegmentedControlAttributes> & { [K in keyof PnSegmentedControl & keyof PnSegmentedControlAttributes]?: PnSegmentedControl[K] } & { [K in keyof PnSegmentedControl & keyof PnSegmentedControlAttributes as `attr:${K}`]?: PnSegmentedControlAttributes[K] } & { [K in keyof PnSegmentedControl & keyof PnSegmentedControlAttributes as `prop:${K}`]?: PnSegmentedControl[K] };
|
|
8097
8343
|
"pn-select": Omit<PnSelect, keyof PnSelectAttributes> & { [K in keyof PnSelect & keyof PnSelectAttributes]?: PnSelect[K] } & { [K in keyof PnSelect & keyof PnSelectAttributes as `attr:${K}`]?: PnSelectAttributes[K] } & { [K in keyof PnSelect & keyof PnSelectAttributes as `prop:${K}`]?: PnSelect[K] };
|
|
8344
|
+
"pn-skeleton-loader": Omit<PnSkeletonLoader, keyof PnSkeletonLoaderAttributes> & { [K in keyof PnSkeletonLoader & keyof PnSkeletonLoaderAttributes]?: PnSkeletonLoader[K] } & { [K in keyof PnSkeletonLoader & keyof PnSkeletonLoaderAttributes as `attr:${K}`]?: PnSkeletonLoaderAttributes[K] } & { [K in keyof PnSkeletonLoader & keyof PnSkeletonLoaderAttributes as `prop:${K}`]?: PnSkeletonLoader[K] };
|
|
8098
8345
|
"pn-spinner": Omit<PnSpinner, keyof PnSpinnerAttributes> & { [K in keyof PnSpinner & keyof PnSpinnerAttributes]?: PnSpinner[K] } & { [K in keyof PnSpinner & keyof PnSpinnerAttributes as `attr:${K}`]?: PnSpinnerAttributes[K] } & { [K in keyof PnSpinner & keyof PnSpinnerAttributes as `prop:${K}`]?: PnSpinner[K] };
|
|
8099
8346
|
"pn-tab": Omit<PnTab, keyof PnTabAttributes> & { [K in keyof PnTab & keyof PnTabAttributes]?: PnTab[K] } & { [K in keyof PnTab & keyof PnTabAttributes as `attr:${K}`]?: PnTabAttributes[K] } & { [K in keyof PnTab & keyof PnTabAttributes as `prop:${K}`]?: PnTab[K] } & OneOf<"label", PnTab["label"], PnTabAttributes["label"]> & OneOf<"value", PnTab["value"], PnTabAttributes["value"]>;
|
|
8100
8347
|
"pn-table": Omit<PnTable, keyof PnTableAttributes> & { [K in keyof PnTable & keyof PnTableAttributes]?: PnTable[K] } & { [K in keyof PnTable & keyof PnTableAttributes as `attr:${K}`]?: PnTableAttributes[K] } & { [K in keyof PnTable & keyof PnTableAttributes as `prop:${K}`]?: PnTable[K] };
|
|
@@ -8229,6 +8476,12 @@ declare module "@stencil/core" {
|
|
|
8229
8476
|
* @nativeChange The `change` event is emitted when the input loses focus, the user clicks `Enter` or makes a selection (such as auto complete or suggestions).
|
|
8230
8477
|
*/
|
|
8231
8478
|
"pn-input": LocalJSX.IntrinsicElements["pn-input"] & JSXBase.HTMLAttributes<HTMLPnInputElement>;
|
|
8479
|
+
/**
|
|
8480
|
+
* The `pn-input-chip` represents a confirmed user input value that can be removed.
|
|
8481
|
+
* It is visually similar to the `pn-choice-chip` but its only action is deletion.
|
|
8482
|
+
* Clicking anywhere on the chip removes it.
|
|
8483
|
+
*/
|
|
8484
|
+
"pn-input-chip": LocalJSX.IntrinsicElements["pn-input-chip"] & JSXBase.HTMLAttributes<HTMLPnInputChipElement>;
|
|
8232
8485
|
/**
|
|
8233
8486
|
* Present content in a modal that overlays everything on the current page.
|
|
8234
8487
|
* Use the prop `open` to toggle the visiblity.
|
|
@@ -8325,6 +8578,10 @@ declare module "@stencil/core" {
|
|
|
8325
8578
|
* @nativeChange Use the `change` event to listen to changes on the select element.
|
|
8326
8579
|
*/
|
|
8327
8580
|
"pn-select": LocalJSX.IntrinsicElements["pn-select"] & JSXBase.HTMLAttributes<HTMLPnSelectElement>;
|
|
8581
|
+
/**
|
|
8582
|
+
* Display a skeleton loader placeholder to indicate content is loading.
|
|
8583
|
+
*/
|
|
8584
|
+
"pn-skeleton-loader": LocalJSX.IntrinsicElements["pn-skeleton-loader"] & JSXBase.HTMLAttributes<HTMLPnSkeletonLoaderElement>;
|
|
8328
8585
|
/**
|
|
8329
8586
|
* Display a spinner to indicate a loading state.
|
|
8330
8587
|
*/
|
|
@@ -1384,6 +1384,43 @@
|
|
|
1384
1384
|
}
|
|
1385
1385
|
]
|
|
1386
1386
|
},
|
|
1387
|
+
{
|
|
1388
|
+
"name": "pn-input-chip",
|
|
1389
|
+
"description": {
|
|
1390
|
+
"kind": "markdown",
|
|
1391
|
+
"value": "The `pn-input-chip` represents a confirmed user input value that can be removed.\nIt is visually similar to the `pn-choice-chip` but its only action is deletion.\nClicking anywhere on the chip removes it."
|
|
1392
|
+
},
|
|
1393
|
+
"attributes": [
|
|
1394
|
+
{
|
|
1395
|
+
"name": "disabled",
|
|
1396
|
+
"description": "Disable the chip. When disabled, the chip is not interactive."
|
|
1397
|
+
},
|
|
1398
|
+
{
|
|
1399
|
+
"name": "icon",
|
|
1400
|
+
"description": "Add a leading icon to the chip."
|
|
1401
|
+
},
|
|
1402
|
+
{
|
|
1403
|
+
"name": "label",
|
|
1404
|
+
"description": "The chip label text."
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
"name": "large",
|
|
1408
|
+
"description": "Use the large size for the input chip."
|
|
1409
|
+
},
|
|
1410
|
+
{
|
|
1411
|
+
"name": "pn-id",
|
|
1412
|
+
"description": "A unique HTML ID for the input chip."
|
|
1413
|
+
},
|
|
1414
|
+
{
|
|
1415
|
+
"name": "small",
|
|
1416
|
+
"description": "Use the small size for the input chip."
|
|
1417
|
+
},
|
|
1418
|
+
{
|
|
1419
|
+
"name": "value",
|
|
1420
|
+
"description": "Optional value identifier emitted with the delete event."
|
|
1421
|
+
}
|
|
1422
|
+
]
|
|
1423
|
+
},
|
|
1387
1424
|
{
|
|
1388
1425
|
"name": "pn-modal",
|
|
1389
1426
|
"description": {
|
|
@@ -2341,6 +2378,86 @@
|
|
|
2341
2378
|
}
|
|
2342
2379
|
]
|
|
2343
2380
|
},
|
|
2381
|
+
{
|
|
2382
|
+
"name": "pn-skeleton-loader",
|
|
2383
|
+
"description": {
|
|
2384
|
+
"kind": "markdown",
|
|
2385
|
+
"value": "Display a skeleton loader placeholder to indicate content is loading."
|
|
2386
|
+
},
|
|
2387
|
+
"attributes": [
|
|
2388
|
+
{
|
|
2389
|
+
"name": "automatic",
|
|
2390
|
+
"description": "When true, masks slotted content with shimmer instead of rendering a skeleton shape. The slotted content keeps its layout but text and images are hidden behind the shimmer effect."
|
|
2391
|
+
},
|
|
2392
|
+
{
|
|
2393
|
+
"name": "border-radius",
|
|
2394
|
+
"description": "Custom border-radius (CSS value). Overrides type default."
|
|
2395
|
+
},
|
|
2396
|
+
{
|
|
2397
|
+
"name": "height",
|
|
2398
|
+
"description": "Custom height (CSS value). Overrides type default."
|
|
2399
|
+
},
|
|
2400
|
+
{
|
|
2401
|
+
"name": "hide",
|
|
2402
|
+
"description": "When true, hides the skeleton. For automatic mode, the slotted content is shown without masking."
|
|
2403
|
+
},
|
|
2404
|
+
{
|
|
2405
|
+
"name": "large",
|
|
2406
|
+
"description": "Large size variant for type=\"chip\"."
|
|
2407
|
+
},
|
|
2408
|
+
{
|
|
2409
|
+
"name": "lines",
|
|
2410
|
+
"description": "Number of lines for type=\"paragraph\" or body rows for type=\"table\". Does not do anything for other types. Default is 3."
|
|
2411
|
+
},
|
|
2412
|
+
{
|
|
2413
|
+
"name": "small",
|
|
2414
|
+
"description": "Small size variant for type=\"chip\"."
|
|
2415
|
+
},
|
|
2416
|
+
{
|
|
2417
|
+
"name": "type",
|
|
2418
|
+
"description": "The skeleton shape to render.",
|
|
2419
|
+
"values": [
|
|
2420
|
+
{
|
|
2421
|
+
"name": "avatar"
|
|
2422
|
+
},
|
|
2423
|
+
{
|
|
2424
|
+
"name": "box"
|
|
2425
|
+
},
|
|
2426
|
+
{
|
|
2427
|
+
"name": "button"
|
|
2428
|
+
},
|
|
2429
|
+
{
|
|
2430
|
+
"name": "card"
|
|
2431
|
+
},
|
|
2432
|
+
{
|
|
2433
|
+
"name": "chip"
|
|
2434
|
+
},
|
|
2435
|
+
{
|
|
2436
|
+
"name": "header"
|
|
2437
|
+
},
|
|
2438
|
+
{
|
|
2439
|
+
"name": "input"
|
|
2440
|
+
},
|
|
2441
|
+
{
|
|
2442
|
+
"name": "paragraph"
|
|
2443
|
+
},
|
|
2444
|
+
{
|
|
2445
|
+
"name": "table"
|
|
2446
|
+
},
|
|
2447
|
+
{
|
|
2448
|
+
"name": "text"
|
|
2449
|
+
},
|
|
2450
|
+
{
|
|
2451
|
+
"name": "tile"
|
|
2452
|
+
}
|
|
2453
|
+
]
|
|
2454
|
+
},
|
|
2455
|
+
{
|
|
2456
|
+
"name": "width",
|
|
2457
|
+
"description": "Custom width (CSS value). Overrides type default."
|
|
2458
|
+
}
|
|
2459
|
+
]
|
|
2460
|
+
},
|
|
2344
2461
|
{
|
|
2345
2462
|
"name": "pn-spinner",
|
|
2346
2463
|
"description": {
|
|
@@ -6,6 +6,10 @@ pn-marketweb-header header {
|
|
|
6
6
|
box-shadow:0 0.6px 1.8px rgb(0 0 0 / 10%), 0 3.2px 7.2px rgb(0 0 0 / 13%)
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
+
pn-marketweb-header .marketweb-header-toggle-button {
|
|
10
|
+
font-size:16px;
|
|
11
|
+
}
|
|
12
|
+
|
|
9
13
|
pn-marketweb-header .siteheader-row {
|
|
10
14
|
padding:0 16px;
|
|
11
15
|
}
|
|
@@ -82,10 +86,6 @@ padding:10px 0;
|
|
|
82
86
|
font-size:16px;
|
|
83
87
|
}
|
|
84
88
|
|
|
85
|
-
pn-marketweb-siteheader-login {
|
|
86
|
-
padding:10px 0;
|
|
87
|
-
max-height:52px;
|
|
88
|
-
}
|
|
89
89
|
pn-marketweb-siteheader-login-linklist li {
|
|
90
90
|
padding:8px 16px;
|
|
91
91
|
}
|
|
@@ -107,8 +107,9 @@ pn-mainnav>nav {
|
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
pn-mainnav>nav {
|
|
110
|
-
top:
|
|
110
|
+
top:70px;
|
|
111
111
|
}
|
|
112
|
+
|
|
112
113
|
[data-level="1"] pn-mainnav-link>button, [data-level="1"] pn-mainnav-link>a {
|
|
113
114
|
border-bottom:1px solid #F3F2F2;
|
|
114
115
|
font-size:20px;
|
package/umd/pn-marketweb-init.js
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
};
|
|
37
37
|
|
|
38
38
|
const s = document.createElement('script');
|
|
39
|
-
const currentMinorVersion = "4.
|
|
39
|
+
const currentMinorVersion = "4.5.0";
|
|
40
40
|
const requestedComponentVersion = (new URLSearchParams(window.location.search)).get("componentversion");
|
|
41
41
|
const versionToLoad = (requestedComponentVersion) ? requestedComponentVersion : currentMinorVersion;
|
|
42
42
|
const currentScriptTag = document.querySelector('script[src*="pn-marketweb-init.js"]');
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
document.body.insertBefore(header, document.body.firstElementChild);
|
|
25
25
|
document.body.appendChild(footer);
|
|
26
26
|
|
|
27
|
-
const currentMinorVersion = "4.
|
|
27
|
+
const currentMinorVersion = "4.5.0";
|
|
28
28
|
const requestedComponentVersion = new URLSearchParams(window.location.search).get("componentversion");
|
|
29
29
|
const versionToLoad = requestedComponentVersion ? requestedComponentVersion : currentMinorVersion;
|
|
30
30
|
|