@platformscode/core 0.0.49 → 0.0.50
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/dga-button_11.cjs.entry.js +1 -1
- package/dist/collection/components/dga-button/dga-button.js +9 -3
- package/dist/components/dga-button-usage.js +1 -1
- package/dist/components/dga-button.js +1 -1
- package/dist/components/dga-card-usage.js +2 -2
- package/dist/components/dga-card.js +1 -1
- package/dist/components/dga-codesnippet-usage.js +3 -3
- package/dist/components/dga-codesnippet.js +1 -1
- package/dist/components/dga-data-table-usage.js +1 -1
- package/dist/components/dga-header-menu-item-usage.js +1 -1
- package/dist/components/dga-header-usage.js +1 -1
- package/dist/components/dga-slideout-menu-usage.js +1 -1
- package/dist/components/dga-tabs-usage.js +2 -2
- package/dist/components/dga-tabs.js +1 -1
- package/dist/components/{p-8N6g0j6Z.js → p-3YA-QgQh.js} +1 -1
- package/dist/components/{p-gDlGRjp5.js → p-BD7uqd6j.js} +1 -1
- package/dist/components/{p-Dh90qUSm.js → p-Br6oTSW0.js} +2 -2
- package/dist/components/{p-B0xQl3VA.js → p-CCYbGz3-.js} +1 -1
- package/dist/core/core.esm.js +1 -1
- package/dist/core/p-f85053dc.entry.js +1 -0
- package/dist/esm/dga-button_11.entry.js +1 -1
- package/dist/types/components/dga-button/dga-button.d.ts +2 -0
- package/dist/types/components.d.ts +12 -0
- package/package.json +1 -1
- package/dist/core/p-b9114abc.entry.js +0 -1
|
@@ -67,7 +67,7 @@ const DgaButton$1 = class DgaButton {
|
|
|
67
67
|
]
|
|
68
68
|
.filter(Boolean)
|
|
69
69
|
.join(' ');
|
|
70
|
-
return (h(Host, { key: '
|
|
70
|
+
return (h(Host, { key: 'd388d356e7693a6d303793961eab7410eeec4535', id: this.componentId, style: this.rootStyles }, h("button", { key: 'd8c1be48b7c7093dd827fa85bd7999921cd13b6f', id: buttonId, type: this.type, class: classList, disabled: this.disabled, "aria-label": this.iconOnly && !this.label ? 'Button with icon' : this.label, role: "button", onClick: (event) => this.handleClick(event) }, this.iconOnly && this.iconType && (h("span", { key: '07ddf793a1cf92da05fe822552fa1d2c0b6ad5ca', class: "dga-btn-icon", "aria-hidden": "true" }, this.renderIcon(this.iconType, this.iconProps))), this.leadIconType && (h("span", { key: '07c1c2f377ac14310a10c9f2d1cd5e62b90ca75b', class: "dga-btn-icon", "aria-hidden": "true" }, this.renderIcon(this.leadIconType, this.leadIconProps))), !this.iconOnly && this.label && h("span", { key: 'd39b5b5a625995c69bff88b41d17439f0f075288', class: "dga-btn-label" }, this.label), this.trailIconType && (h("span", { key: '0ccadda62495c9c499b6cc828e97d52f319a56b6', class: "dga-btn-icon", "aria-hidden": "true" }, this.renderIcon(this.trailIconType, this.trailIconProps))))));
|
|
71
71
|
}
|
|
72
72
|
get el() { return getElement(this); }
|
|
73
73
|
static get watchers() { return {
|
|
@@ -16,11 +16,13 @@ export declare class DgaButton {
|
|
|
16
16
|
iconProps?: {
|
|
17
17
|
[key: string]: any;
|
|
18
18
|
};
|
|
19
|
+
/** @deprecated Redundant toggle — pass `leadIconType` and `leadIconProps` directly to render a lead icon. */
|
|
19
20
|
leadIcon?: boolean;
|
|
20
21
|
leadIconType?: string;
|
|
21
22
|
leadIconProps?: {
|
|
22
23
|
[key: string]: any;
|
|
23
24
|
};
|
|
25
|
+
/** @deprecated Redundant toggle — pass `trailIconType` and `trailIconProps` directly to render a trail icon. */
|
|
24
26
|
trailIcon?: boolean;
|
|
25
27
|
trailIconType?: string;
|
|
26
28
|
trailIconProps?: {
|
|
@@ -322,6 +322,9 @@ export namespace Components {
|
|
|
322
322
|
"iconProps"?: { [key: string]: any };
|
|
323
323
|
"iconType"?: string;
|
|
324
324
|
"label"?: string;
|
|
325
|
+
/**
|
|
326
|
+
* @deprecated Redundant toggle — pass `leadIconType` and `leadIconProps` directly to render a lead icon.
|
|
327
|
+
*/
|
|
325
328
|
"leadIcon"?: boolean;
|
|
326
329
|
"leadIconProps"?: { [key: string]: any };
|
|
327
330
|
"leadIconType"?: string;
|
|
@@ -334,6 +337,9 @@ export namespace Components {
|
|
|
334
337
|
*/
|
|
335
338
|
"size"?: ButtonSize;
|
|
336
339
|
"sx"?: SxProps2 | string;
|
|
340
|
+
/**
|
|
341
|
+
* @deprecated Redundant toggle — pass `trailIconType` and `trailIconProps` directly to render a trail icon.
|
|
342
|
+
*/
|
|
337
343
|
"trailIcon"?: boolean;
|
|
338
344
|
"trailIconProps"?: { [key: string]: any };
|
|
339
345
|
"trailIconType"?: string;
|
|
@@ -5923,6 +5929,9 @@ declare namespace LocalJSX {
|
|
|
5923
5929
|
"iconProps"?: { [key: string]: any };
|
|
5924
5930
|
"iconType"?: string;
|
|
5925
5931
|
"label"?: string;
|
|
5932
|
+
/**
|
|
5933
|
+
* @deprecated Redundant toggle — pass `leadIconType` and `leadIconProps` directly to render a lead icon.
|
|
5934
|
+
*/
|
|
5926
5935
|
"leadIcon"?: boolean;
|
|
5927
5936
|
"leadIconProps"?: { [key: string]: any };
|
|
5928
5937
|
"leadIconType"?: string;
|
|
@@ -5936,6 +5945,9 @@ declare namespace LocalJSX {
|
|
|
5936
5945
|
*/
|
|
5937
5946
|
"size"?: ButtonSize;
|
|
5938
5947
|
"sx"?: SxProps2 | string;
|
|
5948
|
+
/**
|
|
5949
|
+
* @deprecated Redundant toggle — pass `trailIconType` and `trailIconProps` directly to render a trail icon.
|
|
5950
|
+
*/
|
|
5939
5951
|
"trailIcon"?: boolean;
|
|
5940
5952
|
"trailIconProps"?: { [key: string]: any };
|
|
5941
5953
|
"trailIconType"?: string;
|