@plusui/library 0.1.8 → 0.1.9
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/cdn/components/accordion/accordion.js +3 -3
- package/cdn/components/accordion/index.js +3 -3
- package/cdn/components/accordion-group/accordion-group.js +3 -3
- package/cdn/components/accordion-group/index.js +3 -3
- package/cdn/components/alert/alert.js +4 -4
- package/cdn/components/alert/index.js +4 -4
- package/cdn/components/avatar/avatar.js +5 -5
- package/cdn/components/avatar/index.js +5 -5
- package/cdn/components/badge/badge.host.style.js +1 -1
- package/cdn/components/badge/badge.js +5 -5
- package/cdn/components/badge/index.js +5 -5
- package/cdn/components/base/index.js +2 -2
- package/cdn/components/base/tailwind-base.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.js +3 -3
- package/cdn/components/breadcrumb/index.js +3 -3
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +4 -4
- package/cdn/components/breadcrumb-item/index.js +4 -4
- package/cdn/components/button/button.js +96 -17
- package/cdn/components/button/index.js +4 -4
- package/cdn/components/button-group/button-group.js +4 -4
- package/cdn/components/button-group/index.js +4 -4
- package/cdn/components/checkbox/checkbox.js +5 -5
- package/cdn/components/checkbox/index.js +5 -5
- package/cdn/components/checkbox-group/checkbox-group.js +3 -3
- package/cdn/components/checkbox-group/index.js +3 -3
- package/cdn/components/chip/chip.js +4 -4
- package/cdn/components/chip/index.js +4 -4
- package/cdn/components/divider/divider.js +4 -4
- package/cdn/components/divider/divider.style.js +1 -1
- package/cdn/components/divider/index.js +4 -4
- package/cdn/components/drawer/drawer.js +4 -4
- package/cdn/components/drawer/index.js +4 -4
- package/cdn/components/dropdown/dropdown.js +5 -5
- package/cdn/components/dropdown/index.js +5 -5
- package/cdn/components/dropdown-item/dropdown-item.js +5 -5
- package/cdn/components/dropdown-item/index.js +5 -5
- package/cdn/components/icon/icon.js +4 -4
- package/cdn/components/icon/index.js +3 -3
- package/cdn/components/index.js +8 -8
- package/cdn/components/input/index.js +6 -6
- package/cdn/components/input/input.js +6 -6
- package/cdn/components/link/index.js +3 -3
- package/cdn/components/link/link.js +3 -3
- package/cdn/components/list-box-item/index.js +4 -4
- package/cdn/components/list-box-item/list-box-item.js +4 -4
- package/cdn/components/modal/index.js +4 -4
- package/cdn/components/modal/modal.js +4 -4
- package/cdn/components/popconfirm/index.js +5 -5
- package/cdn/components/popconfirm/popconfirm.js +5 -5
- package/cdn/components/popover/index.js +5 -5
- package/cdn/components/popover/popover.js +5 -5
- package/cdn/components/radio/index.js +5 -5
- package/cdn/components/radio/radio.js +5 -5
- package/cdn/components/radio-group/index.js +3 -3
- package/cdn/components/radio-group/radio-group.js +3 -3
- package/cdn/components/rating/index.js +6 -6
- package/cdn/components/rating/rating.js +6 -6
- package/cdn/components/segmented-picker/index.js +3 -3
- package/cdn/components/segmented-picker/segmented-picker.component.js +3 -3
- package/cdn/components/segmented-picker-item/index.js +4 -4
- package/cdn/components/segmented-picker-item/segmented-picker-item.component.js +4 -4
- package/cdn/components/select/index.js +5 -5
- package/cdn/components/select/select.js +5 -5
- package/cdn/components/select-item/index.js +5 -5
- package/cdn/components/select-item/select-item.js +5 -5
- package/cdn/components/service/index.js +4 -4
- package/cdn/components/service/service.js +5 -5
- package/cdn/components/tab/index.js +4 -4
- package/cdn/components/tab/tab.js +4 -4
- package/cdn/components/tab-group/index.js +4 -4
- package/cdn/components/tab-group/tab-group.js +4 -4
- package/cdn/components/tab-panel/index.js +3 -3
- package/cdn/components/tab-panel/tab-panel.js +3 -3
- package/cdn/components/tag/index.js +4 -4
- package/cdn/components/tag/tag.js +4 -4
- package/cdn/components/text/index.js +3 -3
- package/cdn/components/text/text.js +3 -3
- package/cdn/components/textarea/index.js +6 -6
- package/cdn/components/textarea/textarea.js +6 -6
- package/cdn/components/toast/index.js +3 -3
- package/cdn/components/toast/toast.js +3 -3
- package/cdn/components/toast-container/index.js +4 -4
- package/cdn/components/toast-container/toast-container.js +4 -4
- package/cdn/components/toggle/index.js +7 -7
- package/cdn/components/toggle/toggle.js +7 -7
- package/cdn/components/tooltip/index.js +5 -5
- package/cdn/components/tooltip/tooltip.js +5 -5
- package/cdn/factory/tailwind-factory.js +7 -7
- package/cdn/floating-ui.dom-BYyWpmHF.js +1 -0
- package/{dist/floating-ui.dom-OBaMlALa.js → cdn/floating-ui.dom-BpzIshEG.js} +26 -14
- package/cdn/global-9t6v8EOl.js +31 -0
- package/cdn/global-CRwUv2yr.js +1 -0
- package/cdn/{if-defined-CQ5F5a3V.js → if-defined-CIB8OTrH.js} +1 -1
- package/cdn/{if-defined-D-m3dgRf.js → if-defined-DpyZ37D-.js} +1 -1
- package/cdn/lit-element-BNK__jO-.js +27 -0
- package/cdn/lit-element-CSuLHuHb.js +22 -0
- package/cdn/{live-BOAtKRUN.js → live-C1eBrEBV.js} +1 -1
- package/cdn/{live-Ba4FL2pG.js → live-CYp4nasd.js} +1 -1
- package/cdn/property-B8EDuyz_.js +7 -0
- package/cdn/{property-DiPQx9S3.js → property-Dz31PgR6.js} +2 -2
- package/{dist/state-D1d5Sfj8.js → cdn/state-BRspp5eU.js} +1 -1
- package/{dist/state-CURcf9xb.js → cdn/state-hFbsBSdV.js} +1 -1
- package/cdn/{style-map-Z-XBeQmS.js → style-map-BYRi_l0u.js} +1 -1
- package/{dist/style-map-DC_vNus2.js → cdn/style-map-Cgr6kXUm.js} +1 -1
- package/custom-elements.json +130 -1
- package/dist/components/accordion/accordion.d.ts +1 -1
- package/dist/components/accordion/accordion.js +2 -2
- package/dist/components/accordion/index.js +2 -2
- package/dist/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist/components/accordion-group/accordion-group.js +2 -2
- package/dist/components/accordion-group/index.js +2 -2
- package/dist/components/alert/alert.d.ts +1 -1
- package/dist/components/alert/alert.js +3 -3
- package/dist/components/alert/index.js +3 -3
- package/dist/components/avatar/avatar.d.ts +1 -1
- package/dist/components/avatar/avatar.js +4 -4
- package/dist/components/avatar/index.js +4 -4
- package/dist/components/badge/badge.d.ts +1 -1
- package/dist/components/badge/badge.host.style.js +1 -1
- package/dist/components/badge/badge.js +4 -4
- package/dist/components/badge/index.js +4 -4
- package/dist/components/base/index.js +1 -1
- package/dist/components/base/tailwind-base.js +2 -2
- package/dist/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist/components/breadcrumb/breadcrumb.js +2 -2
- package/dist/components/breadcrumb/index.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/breadcrumb-item/index.js +3 -3
- package/dist/components/button/button.d.ts +36 -1
- package/dist/components/button/button.d.ts.map +1 -1
- package/dist/components/button/button.js +95 -16
- package/dist/components/button/button.js.map +1 -1
- package/dist/components/button/index.js +3 -3
- package/dist/components/button-group/button-group.d.ts +1 -1
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/button-group/index.js +3 -3
- package/dist/components/checkbox/checkbox.d.ts +1 -1
- package/dist/components/checkbox/checkbox.js +4 -4
- package/dist/components/checkbox/index.js +4 -4
- package/dist/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist/components/checkbox-group/checkbox-group.js +2 -2
- package/dist/components/checkbox-group/index.js +2 -2
- package/dist/components/chip/chip.d.ts +1 -1
- package/dist/components/chip/chip.js +3 -3
- package/dist/components/chip/index.js +3 -3
- package/dist/components/divider/divider.d.ts +1 -1
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/divider/divider.style.js +1 -1
- package/dist/components/divider/index.js +3 -3
- package/dist/components/drawer/drawer.d.ts +1 -1
- package/dist/components/drawer/drawer.js +3 -3
- package/dist/components/drawer/index.js +3 -3
- package/dist/components/dropdown/dropdown.d.ts +1 -1
- package/dist/components/dropdown/dropdown.js +4 -4
- package/dist/components/dropdown/index.js +4 -4
- package/dist/components/dropdown-item/dropdown-item.d.ts +1 -1
- package/dist/components/dropdown-item/dropdown-item.js +4 -4
- package/dist/components/dropdown-item/index.js +4 -4
- package/dist/components/icon/icon.d.ts +1 -1
- package/dist/components/icon/icon.js +4 -4
- package/dist/components/icon/index.js +3 -3
- package/dist/components/index.js +7 -7
- package/dist/components/input/index.js +5 -5
- package/dist/components/input/input.d.ts +1 -1
- package/dist/components/input/input.js +5 -5
- package/dist/components/link/index.js +2 -2
- package/dist/components/link/link.d.ts +1 -1
- package/dist/components/link/link.js +2 -2
- package/dist/components/list-box-item/index.js +3 -3
- package/dist/components/list-box-item/list-box-item.d.ts +1 -1
- package/dist/components/list-box-item/list-box-item.js +3 -3
- package/dist/components/modal/index.js +3 -3
- package/dist/components/modal/modal.d.ts +1 -1
- package/dist/components/modal/modal.js +3 -3
- package/dist/components/popconfirm/index.js +4 -4
- package/dist/components/popconfirm/popconfirm.d.ts +1 -1
- package/dist/components/popconfirm/popconfirm.js +4 -4
- package/dist/components/popover/index.js +4 -4
- package/dist/components/popover/popover.d.ts +1 -1
- package/dist/components/popover/popover.js +4 -4
- package/dist/components/radio/index.js +4 -4
- package/dist/components/radio/radio.d.ts +1 -1
- package/dist/components/radio/radio.js +4 -4
- package/dist/components/radio-group/index.js +2 -2
- package/dist/components/radio-group/radio-group.d.ts +1 -1
- package/dist/components/radio-group/radio-group.js +2 -2
- package/dist/components/rating/index.js +5 -5
- package/dist/components/rating/rating.d.ts +1 -1
- package/dist/components/rating/rating.js +5 -5
- package/dist/components/segmented-picker/index.js +2 -2
- package/dist/components/segmented-picker/segmented-picker.component.d.ts +1 -1
- package/dist/components/segmented-picker/segmented-picker.component.js +2 -2
- package/dist/components/segmented-picker-item/index.js +3 -3
- package/dist/components/segmented-picker-item/segmented-picker-item.component.d.ts +1 -1
- package/dist/components/segmented-picker-item/segmented-picker-item.component.js +3 -3
- package/dist/components/select/index.js +4 -4
- package/dist/components/select/select.d.ts +1 -1
- package/dist/components/select/select.js +4 -4
- package/dist/components/select-item/index.js +4 -4
- package/dist/components/select-item/select-item.d.ts +1 -1
- package/dist/components/select-item/select-item.js +4 -4
- package/dist/components/service/index.js +3 -3
- package/dist/components/service/service.d.ts +1 -1
- package/dist/components/service/service.js +4 -4
- package/dist/components/tab/index.js +3 -3
- package/dist/components/tab/tab.d.ts +1 -1
- package/dist/components/tab/tab.js +3 -3
- package/dist/components/tab-group/index.js +3 -3
- package/dist/components/tab-group/tab-group.d.ts +1 -1
- package/dist/components/tab-group/tab-group.js +3 -3
- package/dist/components/tab-panel/index.js +2 -2
- package/dist/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist/components/tab-panel/tab-panel.js +2 -2
- package/dist/components/tag/index.js +3 -3
- package/dist/components/tag/tag.d.ts +1 -1
- package/dist/components/tag/tag.js +3 -3
- package/dist/components/text/index.js +2 -2
- package/dist/components/text/text.d.ts +1 -1
- package/dist/components/text/text.js +2 -2
- package/dist/components/textarea/index.js +5 -5
- package/dist/components/textarea/textarea.d.ts +1 -1
- package/dist/components/textarea/textarea.js +5 -5
- package/dist/components/toast/index.js +2 -2
- package/dist/components/toast/toast.js +2 -2
- package/dist/components/toast-container/index.js +3 -3
- package/dist/components/toast-container/toast-container.d.ts +1 -1
- package/dist/components/toast-container/toast-container.js +3 -3
- package/dist/components/toggle/index.js +6 -6
- package/dist/components/toggle/toggle.d.ts +2 -2
- package/dist/components/toggle/toggle.js +6 -6
- package/dist/components/tooltip/index.js +4 -4
- package/dist/components/tooltip/tooltip.d.ts +1 -1
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/factory/tailwind-factory.d.ts.map +1 -1
- package/dist/factory/tailwind-factory.js +6 -6
- package/{cdn/floating-ui.dom-OBaMlALa.js → dist/floating-ui.dom-BpzIshEG.js} +26 -14
- package/dist/floating-ui.dom-BwkSoRW9.js +1 -0
- package/dist/{if-defined-D-m3dgRf.js → if-defined-DpyZ37D-.js} +1 -1
- package/dist/{if-defined-h3Ll_h1t.js → if-defined-DsURCocJ.js} +1 -1
- package/dist/index.css +1 -1
- package/dist/lit-element-BNK__jO-.js +27 -0
- package/dist/lit-element-DWht4T0R.js +22 -0
- package/dist/{live-BOAtKRUN.js → live-C1eBrEBV.js} +1 -1
- package/dist/{live-CoXrsQ3D.js → live-Cv3p2930.js} +1 -1
- package/dist/model/plus.d.ts.map +1 -1
- package/dist/property-D4Afnon0.js +7 -0
- package/dist/{property-DiPQx9S3.js → property-Dz31PgR6.js} +2 -2
- package/dist/{query-BFSYd3aM.js → query-JZZ8o83g.js} +1 -1
- package/dist/{query-assigned-elements-D29cbcky.js → query-assigned-elements-DeL5RNz8.js} +1 -1
- package/{cdn/state-D1d5Sfj8.js → dist/state-BRspp5eU.js} +1 -1
- package/{cdn/state-CoIPL7X5.js → dist/state-CxOUQRG2.js} +1 -1
- package/dist/{style-map-B8m-sO4m.js → style-map-BSFs8yH4.js} +1 -1
- package/{cdn/style-map-DC_vNus2.js → dist/style-map-Cgr6kXUm.js} +1 -1
- package/dist/styles/global.js +2 -2
- package/dist/utils/boolean-converter.d.ts.map +1 -1
- package/eslint/custom-element-eslint-rules.js +4 -0
- package/package.json +1 -1
- package/public/html/index.js +128 -37
- package/public/react/index.d.ts +100 -42
- package/public/react/index.js +310 -181
- package/react/PlusAccordion.js +9 -9
- package/react/PlusAccordionGroup.js +1 -3
- package/react/PlusAlert.js +9 -9
- package/react/PlusAvatar.js +1 -3
- package/react/PlusBadge.js +1 -3
- package/react/PlusBreadcrumb.js +1 -3
- package/react/PlusBreadcrumbItem.js +1 -3
- package/react/PlusButton.d.ts +23 -0
- package/react/PlusButton.js +22 -5
- package/react/PlusButtonGroup.js +1 -3
- package/react/PlusCheckbox.js +9 -17
- package/react/PlusCheckboxGroup.js +9 -9
- package/react/PlusChip.js +1 -3
- package/react/PlusDivider.js +9 -9
- package/react/PlusDrawer.js +1 -7
- package/react/PlusDropDownItem.js +9 -9
- package/react/PlusDropdown.js +9 -9
- package/react/PlusIcon.js +1 -3
- package/react/PlusInput.js +9 -14
- package/react/PlusLink.js +1 -3
- package/react/PlusListBoxItem.js +9 -9
- package/react/PlusModal.js +1 -7
- package/react/PlusPopconfirm.js +9 -9
- package/react/PlusPopover.js +9 -9
- package/react/PlusRadio.js +9 -12
- package/react/PlusRadioGroup.js +1 -3
- package/react/PlusRating.js +9 -12
- package/react/PlusSegmentedPicker.js +9 -9
- package/react/PlusSegmentedPickerItem.js +1 -3
- package/react/PlusSelect.js +9 -9
- package/react/PlusSelectItem.js +9 -9
- package/react/PlusService.js +1 -3
- package/react/PlusTab.js +1 -3
- package/react/PlusTabGroup.js +9 -9
- package/react/PlusTabPanel.js +1 -3
- package/react/PlusTag.js +1 -3
- package/react/PlusText.js +1 -3
- package/react/PlusTextarea.js +9 -14
- package/react/PlusToast.js +9 -9
- package/react/PlusToastContainer.js +1 -3
- package/react/PlusToggle.js +9 -14
- package/react/PlusTooltip.js +1 -3
- package/react/Tailwind.js +1 -3
- package/types/custom-element-jsx.d.ts +17 -0
- package/types/custom-element-solidjs.d.ts +17 -0
- package/types/custom-element-svelte.d.ts +17 -0
- package/types/custom-element-vuejs.d.ts +17 -0
- package/vscode.html-custom-data.json +35 -1
- package/web-types.json +65 -2
- package/cdn/floating-ui.dom-CXNHR8n2.js +0 -1
- package/cdn/global-CJbRDY6F.js +0 -31
- package/cdn/global-DTtsklIM.js +0 -1
- package/cdn/lit-element-ByzbtpGk.js +0 -27
- package/cdn/lit-element-DNNEDGnu.js +0 -23
- package/cdn/property-DLlzgs39.js +0 -7
- package/dist/floating-ui.dom-CpuNudqy.js +0 -1
- package/dist/lit-element-B3f5s1Hz.js +0 -23
- package/dist/lit-element-ByzbtpGk.js +0 -27
- package/dist/property-DLmwa-N3.js +0 -7
- /package/dist/{base-CWTcY3O3.js → base-2hF1n6hl.js} +0 -0
- /package/dist/{directive-CXHWwTfw.js → directive-DRRu7zbS.js} +0 -0
- /package/dist/{index-Bw06nX5-.js → index-Up-p3euZ.js} +0 -0
package/public/react/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import * as lit_html from 'lit-html';
|
|
3
2
|
import * as lit from 'lit';
|
|
4
3
|
import { LitElement, nothing, PropertyValues, TemplateResult } from 'lit';
|
|
5
4
|
|
|
@@ -88,7 +87,7 @@ declare class PlusAvatar$1 extends Tailwind$1 {
|
|
|
88
87
|
private renderImage;
|
|
89
88
|
private renderFallback;
|
|
90
89
|
private renderContent;
|
|
91
|
-
render():
|
|
90
|
+
render(): lit.TemplateResult<1>;
|
|
92
91
|
}
|
|
93
92
|
|
|
94
93
|
declare class PlusButton$1 extends Tailwind$1 {
|
|
@@ -132,10 +131,45 @@ declare class PlusButton$1 extends Tailwind$1 {
|
|
|
132
131
|
*/
|
|
133
132
|
loading: boolean;
|
|
134
133
|
fullWidth: boolean;
|
|
134
|
+
/**
|
|
135
|
+
* When provided, renders as an anchor link instead of a button
|
|
136
|
+
* @default undefined
|
|
137
|
+
*/
|
|
138
|
+
href?: string;
|
|
139
|
+
/**
|
|
140
|
+
* Specifies where to display the linked URL
|
|
141
|
+
* Common values: _blank, _self, _parent, _top
|
|
142
|
+
* @default undefined
|
|
143
|
+
*/
|
|
144
|
+
target?: string;
|
|
145
|
+
/**
|
|
146
|
+
* Specifies the relationship between the current document and the linked document
|
|
147
|
+
* Common values: nofollow, noopener, noreferrer
|
|
148
|
+
* @default undefined
|
|
149
|
+
*/
|
|
150
|
+
rel?: string;
|
|
151
|
+
/**
|
|
152
|
+
* Sets the link to download the target URL instead of navigating
|
|
153
|
+
* Optional value specifies the suggested filename
|
|
154
|
+
* @default undefined
|
|
155
|
+
*/
|
|
156
|
+
download?: string;
|
|
157
|
+
/**
|
|
158
|
+
* When true, link opens in new tab with secure attributes
|
|
159
|
+
* Automatically sets target="_blank" and rel="noopener noreferrer"
|
|
160
|
+
* @default false
|
|
161
|
+
*/
|
|
162
|
+
external: boolean;
|
|
163
|
+
/**
|
|
164
|
+
* Specifies the button type for form interactions
|
|
165
|
+
* Only applies when rendering as a button (no href)
|
|
166
|
+
* @default 'button'
|
|
167
|
+
*/
|
|
168
|
+
type: 'button' | 'submit' | 'reset';
|
|
135
169
|
private handleClick;
|
|
136
170
|
private handleFocus;
|
|
137
171
|
private handleBlur;
|
|
138
|
-
render():
|
|
172
|
+
render(): lit.TemplateResult<1>;
|
|
139
173
|
}
|
|
140
174
|
|
|
141
175
|
/**
|
|
@@ -235,7 +269,7 @@ declare class PlusButtonGroup$1 extends Tailwind$1 {
|
|
|
235
269
|
private handleSlotChange;
|
|
236
270
|
updated(changedProperties: Map<string, unknown>): void;
|
|
237
271
|
connectedCallback(): void;
|
|
238
|
-
render():
|
|
272
|
+
render(): lit.TemplateResult<1>;
|
|
239
273
|
}
|
|
240
274
|
|
|
241
275
|
declare class PlusBadge$1 extends Tailwind$1 {
|
|
@@ -282,7 +316,7 @@ declare class PlusBadge$1 extends Tailwind$1 {
|
|
|
282
316
|
content?: string;
|
|
283
317
|
hasSlot: boolean;
|
|
284
318
|
private handleSlotChange;
|
|
285
|
-
render():
|
|
319
|
+
render(): lit.TemplateResult<1>;
|
|
286
320
|
}
|
|
287
321
|
|
|
288
322
|
/**
|
|
@@ -368,7 +402,7 @@ declare class PlusTag$1 extends Tailwind$1 {
|
|
|
368
402
|
radius: 'full' | 'medium' | 'none';
|
|
369
403
|
constructor();
|
|
370
404
|
get ariaLabel(): string;
|
|
371
|
-
render():
|
|
405
|
+
render(): lit.TemplateResult<1>;
|
|
372
406
|
}
|
|
373
407
|
|
|
374
408
|
type IconStyle = 'solid' | 'regular' | 'light';
|
|
@@ -428,7 +462,7 @@ declare class PlusIcon$1 extends LitElement {
|
|
|
428
462
|
private hasError;
|
|
429
463
|
protected updated(changedProperties: Map<string, unknown>): void;
|
|
430
464
|
private loadIcon;
|
|
431
|
-
render():
|
|
465
|
+
render(): lit.TemplateResult<1> | typeof nothing;
|
|
432
466
|
}
|
|
433
467
|
|
|
434
468
|
/**
|
|
@@ -511,7 +545,7 @@ declare class PlusChip$1 extends Tailwind$1 {
|
|
|
511
545
|
* @private
|
|
512
546
|
*/
|
|
513
547
|
private onDismiss;
|
|
514
|
-
render():
|
|
548
|
+
render(): lit.TemplateResult<1>;
|
|
515
549
|
}
|
|
516
550
|
|
|
517
551
|
/**
|
|
@@ -594,7 +628,7 @@ declare class PlusLink$1 extends Tailwind$1 {
|
|
|
594
628
|
private handleClick;
|
|
595
629
|
private handleFocus;
|
|
596
630
|
private handleBlur;
|
|
597
|
-
render():
|
|
631
|
+
render(): lit.TemplateResult<1>;
|
|
598
632
|
}
|
|
599
633
|
|
|
600
634
|
/**
|
|
@@ -708,7 +742,7 @@ declare class PlusAlert$1 extends Tailwind$1 {
|
|
|
708
742
|
* @private
|
|
709
743
|
*/
|
|
710
744
|
private handleDismiss;
|
|
711
|
-
render():
|
|
745
|
+
render(): lit.TemplateResult<1>;
|
|
712
746
|
static styles: lit.CSSResult[];
|
|
713
747
|
}
|
|
714
748
|
|
|
@@ -774,7 +808,7 @@ declare class PlusRadio$1 extends Tailwind$1 {
|
|
|
774
808
|
* Handles the blur event when the radio button loses focus
|
|
775
809
|
*/
|
|
776
810
|
private handleBlur;
|
|
777
|
-
render():
|
|
811
|
+
render(): lit.TemplateResult<1>;
|
|
778
812
|
}
|
|
779
813
|
|
|
780
814
|
/**
|
|
@@ -825,7 +859,7 @@ declare class PlusSegmentedPickerItem$1 extends Tailwind$1 {
|
|
|
825
859
|
internalId: string;
|
|
826
860
|
private handleClick;
|
|
827
861
|
updated(changedProps: Map<string, string>): void;
|
|
828
|
-
render():
|
|
862
|
+
render(): lit.TemplateResult<1>;
|
|
829
863
|
}
|
|
830
864
|
|
|
831
865
|
/**
|
|
@@ -863,7 +897,7 @@ declare class PlusSegmentedPicker$1 extends Tailwind$1 {
|
|
|
863
897
|
private readonly groupName;
|
|
864
898
|
private handleSlotChange;
|
|
865
899
|
private updateOverlay;
|
|
866
|
-
render():
|
|
900
|
+
render(): lit.TemplateResult<1>;
|
|
867
901
|
}
|
|
868
902
|
|
|
869
903
|
declare class PlusRadioGroup$1 extends Tailwind$1 {
|
|
@@ -898,7 +932,7 @@ declare class PlusRadioGroup$1 extends Tailwind$1 {
|
|
|
898
932
|
firstUpdated(): void;
|
|
899
933
|
connectedCallback(): void;
|
|
900
934
|
disconnectedCallback(): void;
|
|
901
|
-
render():
|
|
935
|
+
render(): lit.TemplateResult<1>;
|
|
902
936
|
}
|
|
903
937
|
|
|
904
938
|
/**
|
|
@@ -991,7 +1025,7 @@ declare class PlusModal$1 extends Tailwind$1 {
|
|
|
991
1025
|
disconnectedCallback(): void;
|
|
992
1026
|
private handleKeydown;
|
|
993
1027
|
private handleBackdropClick;
|
|
994
|
-
render():
|
|
1028
|
+
render(): lit.TemplateResult<1>;
|
|
995
1029
|
}
|
|
996
1030
|
|
|
997
1031
|
/**
|
|
@@ -1068,7 +1102,7 @@ declare class PlusDrawer$1 extends Tailwind$1 {
|
|
|
1068
1102
|
private handleBeforeShow;
|
|
1069
1103
|
disconnectedCallback(): void;
|
|
1070
1104
|
private handleKeydown;
|
|
1071
|
-
render():
|
|
1105
|
+
render(): lit.TemplateResult<1>;
|
|
1072
1106
|
}
|
|
1073
1107
|
|
|
1074
1108
|
/**
|
|
@@ -1141,7 +1175,7 @@ declare class PlusAccordion$1 extends Tailwind$1 {
|
|
|
1141
1175
|
disabled: boolean;
|
|
1142
1176
|
static styles: lit.CSSResult[];
|
|
1143
1177
|
private toggleOpen;
|
|
1144
|
-
render():
|
|
1178
|
+
render(): lit.TemplateResult<1>;
|
|
1145
1179
|
}
|
|
1146
1180
|
|
|
1147
1181
|
/**
|
|
@@ -1193,7 +1227,7 @@ declare class PlusAccordionGroup$1 extends Tailwind$1 {
|
|
|
1193
1227
|
static styles: lit.CSSResult[];
|
|
1194
1228
|
private handleSlotChange;
|
|
1195
1229
|
disconnectedCallback(): void;
|
|
1196
|
-
render():
|
|
1230
|
+
render(): lit.TemplateResult<1>;
|
|
1197
1231
|
}
|
|
1198
1232
|
|
|
1199
1233
|
/**
|
|
@@ -1240,7 +1274,7 @@ declare class PlusDivider$1 extends Tailwind$1 {
|
|
|
1240
1274
|
hasContent: boolean;
|
|
1241
1275
|
static styles: lit.CSSResult[];
|
|
1242
1276
|
handleSlotChange(event: Event): void;
|
|
1243
|
-
render():
|
|
1277
|
+
render(): lit.TemplateResult<1>;
|
|
1244
1278
|
}
|
|
1245
1279
|
|
|
1246
1280
|
declare enum PopoverTrigger {
|
|
@@ -1422,7 +1456,7 @@ declare class PlusPopover$1 extends Tailwind$1 {
|
|
|
1422
1456
|
private _setupPopover;
|
|
1423
1457
|
firstUpdated(): void;
|
|
1424
1458
|
disconnectedCallback(): void;
|
|
1425
|
-
render():
|
|
1459
|
+
render(): lit.TemplateResult<1>;
|
|
1426
1460
|
}
|
|
1427
1461
|
|
|
1428
1462
|
/**
|
|
@@ -1466,7 +1500,7 @@ declare class PlusListBoxItem$1 extends Tailwind$1 {
|
|
|
1466
1500
|
* Applies the appropriate styles based on disabled and selected states
|
|
1467
1501
|
* @returns The rendered template
|
|
1468
1502
|
*/
|
|
1469
|
-
render():
|
|
1503
|
+
render(): lit.TemplateResult<1>;
|
|
1470
1504
|
}
|
|
1471
1505
|
|
|
1472
1506
|
/**
|
|
@@ -1527,7 +1561,7 @@ declare class PlusDropDownItem$1 extends Tailwind$1 {
|
|
|
1527
1561
|
* with proper ARIA attributes for accessibility
|
|
1528
1562
|
* @returns The rendered template
|
|
1529
1563
|
*/
|
|
1530
|
-
render():
|
|
1564
|
+
render(): lit.TemplateResult<1>;
|
|
1531
1565
|
}
|
|
1532
1566
|
|
|
1533
1567
|
/**
|
|
@@ -1670,7 +1704,7 @@ declare class PlusDropdown$1 extends Tailwind$1 {
|
|
|
1670
1704
|
* Renders the dropdown component
|
|
1671
1705
|
* @returns The rendered template
|
|
1672
1706
|
*/
|
|
1673
|
-
render():
|
|
1707
|
+
render(): lit.TemplateResult<1>;
|
|
1674
1708
|
}
|
|
1675
1709
|
|
|
1676
1710
|
/**
|
|
@@ -1772,7 +1806,7 @@ declare class PlusTooltip$1 extends Tailwind$1 {
|
|
|
1772
1806
|
*/
|
|
1773
1807
|
private _setupTooltip;
|
|
1774
1808
|
disconnectedCallback(): void;
|
|
1775
|
-
render():
|
|
1809
|
+
render(): lit.TemplateResult<1>;
|
|
1776
1810
|
}
|
|
1777
1811
|
|
|
1778
1812
|
/**
|
|
@@ -2092,7 +2126,7 @@ declare class PlusInput$1 extends Tailwind$1 {
|
|
|
2092
2126
|
* @returns {TemplateResult} The template to render
|
|
2093
2127
|
* @override
|
|
2094
2128
|
*/
|
|
2095
|
-
render():
|
|
2129
|
+
render(): lit.TemplateResult<1>;
|
|
2096
2130
|
}
|
|
2097
2131
|
|
|
2098
2132
|
declare enum PopconfirmTrigger {
|
|
@@ -2267,7 +2301,7 @@ declare class PlusPopconfirm$1 extends Tailwind$1 {
|
|
|
2267
2301
|
private _setupPopconfirm;
|
|
2268
2302
|
firstUpdated(): void;
|
|
2269
2303
|
disconnectedCallback(): void;
|
|
2270
|
-
render():
|
|
2304
|
+
render(): lit.TemplateResult<1>;
|
|
2271
2305
|
}
|
|
2272
2306
|
|
|
2273
2307
|
/**
|
|
@@ -2302,7 +2336,7 @@ declare class PlusText$1 extends Tailwind$1 {
|
|
|
2302
2336
|
* Renders the text component with the appropriate styles and semantic tag.
|
|
2303
2337
|
* @returns The rendered template.
|
|
2304
2338
|
*/
|
|
2305
|
-
render():
|
|
2339
|
+
render(): lit.TemplateResult;
|
|
2306
2340
|
}
|
|
2307
2341
|
|
|
2308
2342
|
/**
|
|
@@ -2324,7 +2358,7 @@ declare class PlusBreadcrumb$1 extends Tailwind$1 {
|
|
|
2324
2358
|
/** The size of the breadcrumb items and separators. */
|
|
2325
2359
|
size: 'sm' | 'md' | 'lg';
|
|
2326
2360
|
private handleSlotChange;
|
|
2327
|
-
render():
|
|
2361
|
+
render(): lit.TemplateResult<1>;
|
|
2328
2362
|
}
|
|
2329
2363
|
|
|
2330
2364
|
/**
|
|
@@ -2433,7 +2467,7 @@ declare class PlusCheckbox$1 extends Tailwind$1 {
|
|
|
2433
2467
|
focus(options?: FocusOptions): void;
|
|
2434
2468
|
/** Blurs the checkbox */
|
|
2435
2469
|
blur(): void;
|
|
2436
|
-
render():
|
|
2470
|
+
render(): lit.TemplateResult<1>;
|
|
2437
2471
|
}
|
|
2438
2472
|
|
|
2439
2473
|
/**
|
|
@@ -2461,7 +2495,7 @@ declare class PlusCheckboxGroup$1 extends Tailwind$1 {
|
|
|
2461
2495
|
private handleSlotChange;
|
|
2462
2496
|
private updateCheckboxes;
|
|
2463
2497
|
private handleCheckboxChange;
|
|
2464
|
-
render():
|
|
2498
|
+
render(): lit.TemplateResult<1>;
|
|
2465
2499
|
}
|
|
2466
2500
|
|
|
2467
2501
|
/**
|
|
@@ -2536,7 +2570,7 @@ declare class PlusTextarea$1 extends Tailwind$1 {
|
|
|
2536
2570
|
private getValidationMessage;
|
|
2537
2571
|
/** Validates the textarea and updates state. */
|
|
2538
2572
|
private validate;
|
|
2539
|
-
render():
|
|
2573
|
+
render(): lit.TemplateResult<1>;
|
|
2540
2574
|
}
|
|
2541
2575
|
|
|
2542
2576
|
/**
|
|
@@ -2586,7 +2620,7 @@ declare class PlusRating$1 extends Tailwind$1 {
|
|
|
2586
2620
|
private handleKeyDown;
|
|
2587
2621
|
/** Checks validity and sets the error state. Returns true if valid, false otherwise. */
|
|
2588
2622
|
reportValidity(): boolean;
|
|
2589
|
-
render():
|
|
2623
|
+
render(): lit.TemplateResult<1>;
|
|
2590
2624
|
}
|
|
2591
2625
|
|
|
2592
2626
|
type SizeType = 'sm' | 'md' | 'lg';
|
|
@@ -2671,7 +2705,7 @@ declare class PlusToastContainer$1 extends Tailwind$1 {
|
|
|
2671
2705
|
connectedCallback(): void;
|
|
2672
2706
|
disconnectedCallback(): void;
|
|
2673
2707
|
private _handleToastEvent;
|
|
2674
|
-
render():
|
|
2708
|
+
render(): lit.TemplateResult<1>;
|
|
2675
2709
|
}
|
|
2676
2710
|
|
|
2677
2711
|
/**
|
|
@@ -2683,7 +2717,7 @@ declare class PlusToastContainer$1 extends Tailwind$1 {
|
|
|
2683
2717
|
*/
|
|
2684
2718
|
declare class PlusService$1 extends LitElement {
|
|
2685
2719
|
createRenderRoot(): this;
|
|
2686
|
-
render():
|
|
2720
|
+
render(): lit.TemplateResult<1>;
|
|
2687
2721
|
}
|
|
2688
2722
|
declare global {
|
|
2689
2723
|
interface HTMLElementTagNameMap {
|
|
@@ -2742,7 +2776,7 @@ declare class PlusSelectItem$1 extends Tailwind$1 {
|
|
|
2742
2776
|
* Includes ARIA attributes for accessibility and proper styling.
|
|
2743
2777
|
* @returns The rendered template
|
|
2744
2778
|
*/
|
|
2745
|
-
render():
|
|
2779
|
+
render(): lit.TemplateResult<1>;
|
|
2746
2780
|
}
|
|
2747
2781
|
|
|
2748
2782
|
/**
|
|
@@ -2903,7 +2937,7 @@ declare class PlusSelect$1 extends Tailwind$1 {
|
|
|
2903
2937
|
* Renders the select component.
|
|
2904
2938
|
* @returns The rendered template
|
|
2905
2939
|
*/
|
|
2906
|
-
render():
|
|
2940
|
+
render(): lit.TemplateResult<1>;
|
|
2907
2941
|
}
|
|
2908
2942
|
|
|
2909
2943
|
/**
|
|
@@ -3010,8 +3044,8 @@ declare class PlusToggle$1 extends Tailwind$1 {
|
|
|
3010
3044
|
click(): void;
|
|
3011
3045
|
focus(options?: FocusOptions): void;
|
|
3012
3046
|
blur(): void;
|
|
3013
|
-
getToggleIcon():
|
|
3014
|
-
render():
|
|
3047
|
+
getToggleIcon(): lit.TemplateResult<1> | "";
|
|
3048
|
+
render(): lit.TemplateResult<1>;
|
|
3015
3049
|
}
|
|
3016
3050
|
|
|
3017
3051
|
/**
|
|
@@ -3092,7 +3126,7 @@ declare class PlusTab$1 extends Tailwind$1 {
|
|
|
3092
3126
|
constructor();
|
|
3093
3127
|
private handleClick;
|
|
3094
3128
|
private handleDismiss;
|
|
3095
|
-
render():
|
|
3129
|
+
render(): lit.TemplateResult<1>;
|
|
3096
3130
|
}
|
|
3097
3131
|
|
|
3098
3132
|
/**
|
|
@@ -3122,7 +3156,7 @@ declare class PlusTabPanel$1 extends Tailwind$1 {
|
|
|
3122
3156
|
* An optional class to apply to the panel container.
|
|
3123
3157
|
*/
|
|
3124
3158
|
panelClass: string;
|
|
3125
|
-
render():
|
|
3159
|
+
render(): lit.TemplateResult<1>;
|
|
3126
3160
|
}
|
|
3127
3161
|
|
|
3128
3162
|
/**
|
|
@@ -3238,7 +3272,7 @@ declare class PlusTabGroup$1 extends Tailwind$1 {
|
|
|
3238
3272
|
*/
|
|
3239
3273
|
private handleTabDismiss;
|
|
3240
3274
|
updated(changedProperties: Map<string, unknown>): void;
|
|
3241
|
-
render():
|
|
3275
|
+
render(): lit.TemplateResult<1>;
|
|
3242
3276
|
}
|
|
3243
3277
|
|
|
3244
3278
|
interface TailwindProps
|
|
@@ -3397,6 +3431,10 @@ interface PlusButtonProps
|
|
|
3397
3431
|
/** undefined */
|
|
3398
3432
|
fullWidth?: boolean;
|
|
3399
3433
|
|
|
3434
|
+
/** When true, link opens in new tab with secure attributes
|
|
3435
|
+
Automatically sets target="_blank" and rel="noopener noreferrer" */
|
|
3436
|
+
external?: boolean;
|
|
3437
|
+
|
|
3400
3438
|
/** Determines the visual style of the button
|
|
3401
3439
|
- filled: Solid background color
|
|
3402
3440
|
- outlined: Transparent background with border
|
|
@@ -3419,6 +3457,25 @@ interface PlusButtonProps
|
|
|
3419
3457
|
- lg: Large size */
|
|
3420
3458
|
size?: PlusButton$1["size"];
|
|
3421
3459
|
|
|
3460
|
+
/** When provided, renders as an anchor link instead of a button */
|
|
3461
|
+
href?: PlusButton$1["href"];
|
|
3462
|
+
|
|
3463
|
+
/** Specifies where to display the linked URL
|
|
3464
|
+
Common values: _blank, _self, _parent, _top */
|
|
3465
|
+
target?: PlusButton$1["target"];
|
|
3466
|
+
|
|
3467
|
+
/** Specifies the relationship between the current document and the linked document
|
|
3468
|
+
Common values: nofollow, noopener, noreferrer */
|
|
3469
|
+
rel?: PlusButton$1["rel"];
|
|
3470
|
+
|
|
3471
|
+
/** Sets the link to download the target URL instead of navigating
|
|
3472
|
+
Optional value specifies the suggested filename */
|
|
3473
|
+
download?: PlusButton$1["download"];
|
|
3474
|
+
|
|
3475
|
+
/** Specifies the button type for form interactions
|
|
3476
|
+
Only applies when rendering as a button (no href) */
|
|
3477
|
+
type?: PlusButton$1["type"];
|
|
3478
|
+
|
|
3422
3479
|
/** A space-separated list of the classes of the element. Classes allows CSS and JavaScript to select and access specific elements via the class selectors or functions like the method `Document.getElementsByClassName()`. */
|
|
3423
3480
|
className?: string;
|
|
3424
3481
|
|
|
@@ -6906,4 +6963,5 @@ interface PlusTabGroupProps
|
|
|
6906
6963
|
*/
|
|
6907
6964
|
declare const PlusTabGroup: React.ForwardRefExoticComponent<PlusTabGroupProps>;
|
|
6908
6965
|
|
|
6909
|
-
export { PlusAccordion, PlusAccordion$1 as PlusAccordionElement, PlusAccordionGroup, PlusAccordionGroup$1 as PlusAccordionGroupElement,
|
|
6966
|
+
export { PlusAccordion, PlusAccordion$1 as PlusAccordionElement, PlusAccordionGroup, PlusAccordionGroup$1 as PlusAccordionGroupElement, PlusAlert, PlusAlert$1 as PlusAlertElement, PlusAvatar, PlusAvatar$1 as PlusAvatarElement, PlusBadge, PlusBadge$1 as PlusBadgeElement, PlusBreadcrumb, PlusBreadcrumb$1 as PlusBreadcrumbElement, PlusBreadcrumbItem, PlusBreadcrumbItem$1 as PlusBreadcrumbItemElement, PlusButton, PlusButton$1 as PlusButtonElement, PlusButtonGroup, PlusButtonGroup$1 as PlusButtonGroupElement, PlusCheckbox, PlusCheckbox$1 as PlusCheckboxElement, PlusCheckboxGroup, PlusCheckboxGroup$1 as PlusCheckboxGroupElement, PlusChip, PlusChip$1 as PlusChipElement, PlusDivider, PlusDivider$1 as PlusDividerElement, PlusDrawer, PlusDrawer$1 as PlusDrawerElement, PlusDropDownItem, PlusDropDownItem$1 as PlusDropDownItemElement, PlusDropdown, PlusDropdown$1 as PlusDropdownElement, PlusIcon, PlusIcon$1 as PlusIconElement, PlusInput, PlusInput$1 as PlusInputElement, PlusLink, PlusLink$1 as PlusLinkElement, PlusListBoxItem, PlusListBoxItem$1 as PlusListBoxItemElement, PlusModal, PlusModal$1 as PlusModalElement, PlusPopconfirm, PlusPopconfirm$1 as PlusPopconfirmElement, PlusPopover, PlusPopover$1 as PlusPopoverElement, PlusRadio, PlusRadio$1 as PlusRadioElement, PlusRadioGroup, PlusRadioGroup$1 as PlusRadioGroupElement, PlusRating, PlusRating$1 as PlusRatingElement, PlusSegmentedPicker, PlusSegmentedPicker$1 as PlusSegmentedPickerElement, PlusSegmentedPickerItem, PlusSegmentedPickerItem$1 as PlusSegmentedPickerItemElement, PlusSelect, PlusSelect$1 as PlusSelectElement, PlusSelectItem, PlusSelectItem$1 as PlusSelectItemElement, PlusService, PlusService$1 as PlusServiceElement, PlusTab, PlusTab$1 as PlusTabElement, PlusTabGroup, PlusTabGroup$1 as PlusTabGroupElement, PlusTabPanel, PlusTabPanel$1 as PlusTabPanelElement, PlusTag, PlusTag$1 as PlusTagElement, PlusText, PlusText$1 as PlusTextElement, PlusTextarea, PlusTextarea$1 as PlusTextareaElement, PlusToast, PlusToastContainer, PlusToastContainer$1 as PlusToastContainerElement, PlusToast$1 as PlusToastElement, PlusToggle, PlusToggle$1 as PlusToggleElement, PlusTooltip, PlusTooltip$1 as PlusTooltipElement, Tailwind, Tailwind$1 as TailwindElement };
|
|
6967
|
+
export type { PlusAccordionGroupProps, PlusAccordionProps, PlusAlertProps, PlusAvatarProps, PlusBadgeProps, PlusBreadcrumbItemProps, PlusBreadcrumbProps, PlusButtonGroupProps, PlusButtonProps, PlusCheckboxGroupProps, PlusCheckboxProps, PlusChipProps, PlusDividerProps, PlusDrawerProps, PlusDropDownItemProps, PlusDropdownProps, PlusIconProps, PlusInputProps, PlusLinkProps, PlusListBoxItemProps, PlusModalProps, PlusPopconfirmProps, PlusPopoverProps, PlusRadioGroupProps, PlusRadioProps, PlusRatingProps, PlusSegmentedPickerItemProps, PlusSegmentedPickerProps, PlusSelectItemProps, PlusSelectProps, PlusServiceProps, PlusTabGroupProps, PlusTabPanelProps, PlusTabProps, PlusTagProps, PlusTextProps, PlusTextareaProps, PlusToastContainerProps, PlusToastProps, PlusToggleProps, PlusTooltipProps, TailwindProps };
|