@plusui/library 0.1.8 → 0.1.10
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 +1 -1
- package/cdn/components/accordion/index.js +1 -1
- package/cdn/components/accordion-group/accordion-group.js +1 -1
- package/cdn/components/accordion-group/index.js +1 -1
- package/cdn/components/alert/alert.js +1 -1
- package/cdn/components/alert/index.js +1 -1
- package/cdn/components/avatar/avatar.js +1 -1
- package/cdn/components/avatar/index.js +1 -1
- package/cdn/components/badge/badge.js +1 -1
- package/cdn/components/badge/index.js +1 -1
- package/cdn/components/base/index.js +1 -1
- package/cdn/components/base/tailwind-base.js +1 -1
- package/cdn/components/breadcrumb/breadcrumb.js +1 -1
- package/cdn/components/breadcrumb/index.js +1 -1
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
- package/cdn/components/breadcrumb-item/index.js +1 -1
- package/cdn/components/button/button.js +94 -15
- package/cdn/components/button/index.js +1 -1
- package/cdn/components/button-group/button-group.js +1 -1
- package/cdn/components/button-group/index.js +1 -1
- package/cdn/components/checkbox/checkbox.js +1 -1
- package/cdn/components/checkbox/index.js +1 -1
- package/cdn/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn/components/checkbox-group/index.js +1 -1
- package/cdn/components/chip/chip.js +1 -1
- package/cdn/components/chip/index.js +1 -1
- package/cdn/components/divider/divider.js +1 -1
- package/cdn/components/divider/index.js +1 -1
- package/cdn/components/drawer/drawer.js +1 -1
- package/cdn/components/drawer/index.js +1 -1
- package/cdn/components/dropdown/dropdown.js +1 -1
- package/cdn/components/dropdown/index.js +1 -1
- package/cdn/components/dropdown-item/dropdown-item.js +1 -1
- package/cdn/components/dropdown-item/index.js +1 -1
- package/cdn/components/index.js +1 -1
- package/cdn/components/input/index.js +1 -1
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/link/index.js +1 -1
- package/cdn/components/link/link.js +1 -1
- package/cdn/components/list-box-item/index.js +1 -1
- package/cdn/components/list-box-item/list-box-item.js +1 -1
- package/cdn/components/modal/index.js +1 -1
- package/cdn/components/modal/modal.js +1 -1
- package/cdn/components/popconfirm/index.js +1 -1
- package/cdn/components/popconfirm/popconfirm.js +1 -1
- package/cdn/components/popover/index.js +1 -1
- package/cdn/components/popover/popover.js +1 -1
- package/cdn/components/radio/index.js +1 -1
- package/cdn/components/radio/radio.js +1 -1
- package/cdn/components/radio-group/index.js +1 -1
- package/cdn/components/radio-group/radio-group.js +1 -1
- package/cdn/components/rating/index.js +1 -1
- package/cdn/components/rating/rating.js +1 -1
- package/cdn/components/segmented-picker/index.js +1 -1
- package/cdn/components/segmented-picker/segmented-picker.component.js +1 -1
- package/cdn/components/segmented-picker-item/index.js +1 -1
- package/cdn/components/segmented-picker-item/segmented-picker-item.component.js +1 -1
- package/cdn/components/select/index.js +1 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/select-item/index.js +1 -1
- package/cdn/components/select-item/select-item.js +1 -1
- package/cdn/components/service/index.js +1 -1
- package/cdn/components/service/service.js +1 -1
- package/cdn/components/tab/index.js +1 -1
- package/cdn/components/tab/tab.js +1 -1
- package/cdn/components/tab-group/index.js +1 -1
- package/cdn/components/tab-group/tab-group.js +1 -1
- package/cdn/components/tab-panel/index.js +1 -1
- package/cdn/components/tab-panel/tab-panel.js +1 -1
- package/cdn/components/tag/index.js +1 -1
- package/cdn/components/tag/tag.js +1 -1
- package/cdn/components/text/index.js +1 -1
- package/cdn/components/text/text.js +1 -1
- package/cdn/components/textarea/index.js +1 -1
- package/cdn/components/textarea/textarea.js +1 -1
- package/cdn/components/toast/index.js +1 -1
- package/cdn/components/toast/toast.js +1 -1
- package/cdn/components/toast-container/index.js +1 -1
- package/cdn/components/toast-container/toast-container.js +1 -1
- package/cdn/components/toggle/index.js +1 -1
- package/cdn/components/toggle/toggle.js +1 -1
- package/cdn/components/tooltip/index.js +1 -1
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/factory/tailwind-factory.js +1 -1
- package/cdn/global-Dle97gC_.js +31 -0
- package/cdn/global-X3icUTt-.js +1 -0
- package/custom-elements.json +130 -1
- package/dist/components/button/button.d.ts +35 -0
- package/dist/components/button/button.d.ts.map +1 -1
- package/dist/components/button/button.js +93 -14
- package/dist/components/button/button.js.map +1 -1
- package/dist/{if-defined-h3Ll_h1t.js → if-defined-DGS5gjjQ.js} +1 -1
- package/dist/index.css +1 -1
- package/dist/{live-CoXrsQ3D.js → live-BYcLnFf4.js} +1 -1
- package/dist/{property-DLmwa-N3.js → property-9ul_Onp_.js} +1 -1
- package/dist/{query-BFSYd3aM.js → query-Co-yxXZN.js} +1 -1
- package/dist/{query-assigned-elements-D29cbcky.js → query-assigned-elements-mjJwkuSO.js} +1 -1
- package/dist/{state-CURcf9xb.js → state-Dh2QiBIS.js} +1 -1
- package/dist/{style-map-B8m-sO4m.js → style-map-BSpqx7tU.js} +1 -1
- package/dist/styles/global.js +2 -2
- package/eslint/custom-element-eslint-rules.js +4 -0
- package/package.json +7 -7
- package/public/html/index.js +93 -14
- package/public/react/index.d.ts +58 -0
- package/public/react/index.js +114 -16
- package/react/PlusButton.d.ts +23 -0
- package/react/PlusButton.js +21 -2
- 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/global-CJbRDY6F.js +0 -31
- package/cdn/global-DTtsklIM.js +0 -1
- /package/dist/{base-CWTcY3O3.js → base-CvHlJm-R.js} +0 -0
- /package/dist/{directive-CXHWwTfw.js → directive-D9Pmr9u1.js} +0 -0
- /package/dist/{floating-ui.dom-CpuNudqy.js → floating-ui.dom-_GkhANzD.js} +0 -0
- /package/dist/{index-Bw06nX5-.js → index-awy0rvvf.js} +0 -0
- /package/dist/{lit-element-B3f5s1Hz.js → lit-element-Dgkfbcpf.js} +0 -0
|
@@ -4,7 +4,7 @@ import { accordionStyle } from './accordion.style.js';
|
|
|
4
4
|
import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
5
5
|
import Tailwind from '../base/tailwind-base.js';
|
|
6
6
|
import '../../index-B9iart53.js';
|
|
7
|
-
import '../../global-
|
|
7
|
+
import '../../global-Dle97gC_.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @tag plus-accordion
|
|
@@ -5,7 +5,7 @@ import './accordion.style.js';
|
|
|
5
5
|
import '../../index-B9iart53.js';
|
|
6
6
|
import '../../utils/boolean-converter.js';
|
|
7
7
|
import '../base/tailwind-base.js';
|
|
8
|
-
import '../../global-
|
|
8
|
+
import '../../global-Dle97gC_.js';
|
|
9
9
|
|
|
10
10
|
customElements.define('plus-accordion', PlusAccordion);
|
|
11
11
|
|
|
@@ -3,7 +3,7 @@ import { i, x } from '../../lit-element-ByzbtpGk.js';
|
|
|
3
3
|
import { e } from '../../base-Cl6v8-BZ.js';
|
|
4
4
|
import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
5
5
|
import Tailwind from '../base/tailwind-base.js';
|
|
6
|
-
import '../../global-
|
|
6
|
+
import '../../global-Dle97gC_.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @license
|
|
@@ -4,7 +4,7 @@ import '../../lit-element-ByzbtpGk.js';
|
|
|
4
4
|
import '../../base-Cl6v8-BZ.js';
|
|
5
5
|
import '../../utils/boolean-converter.js';
|
|
6
6
|
import '../base/tailwind-base.js';
|
|
7
|
-
import '../../global-
|
|
7
|
+
import '../../global-Dle97gC_.js';
|
|
8
8
|
|
|
9
9
|
customElements.define('plus-accordion-group', PlusAccordionGroup);
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@ import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
|
4
4
|
import Tailwind from '../base/tailwind-base.js';
|
|
5
5
|
import { alertStyle } from './alert.style.js';
|
|
6
6
|
import { o } from '../../style-map-DC_vNus2.js';
|
|
7
|
-
import '../../global-
|
|
7
|
+
import '../../global-Dle97gC_.js';
|
|
8
8
|
import '../../index-B9iart53.js';
|
|
9
9
|
import '../../directive-DZCF8pFJ.js';
|
|
10
10
|
|
|
@@ -3,7 +3,7 @@ import '../../property-DiPQx9S3.js';
|
|
|
3
3
|
import '../../lit-element-ByzbtpGk.js';
|
|
4
4
|
import '../../utils/boolean-converter.js';
|
|
5
5
|
import '../base/tailwind-base.js';
|
|
6
|
-
import '../../global-
|
|
6
|
+
import '../../global-Dle97gC_.js';
|
|
7
7
|
import './alert.style.js';
|
|
8
8
|
import '../../index-B9iart53.js';
|
|
9
9
|
import '../../style-map-DC_vNus2.js';
|
|
@@ -6,7 +6,7 @@ import Tailwind from '../base/tailwind-base.js';
|
|
|
6
6
|
import { Sizes, isValidSize } from '../../model/plus.js';
|
|
7
7
|
import { avatarStyle } from './avatar.style.js';
|
|
8
8
|
import { o } from '../../style-map-DC_vNus2.js';
|
|
9
|
-
import '../../global-
|
|
9
|
+
import '../../global-Dle97gC_.js';
|
|
10
10
|
import '../../index-B9iart53.js';
|
|
11
11
|
import '../../directive-DZCF8pFJ.js';
|
|
12
12
|
|
|
@@ -4,7 +4,7 @@ import '../../lit-element-ByzbtpGk.js';
|
|
|
4
4
|
import '../../state-D1d5Sfj8.js';
|
|
5
5
|
import '../../utils/boolean-converter.js';
|
|
6
6
|
import '../base/tailwind-base.js';
|
|
7
|
-
import '../../global-
|
|
7
|
+
import '../../global-Dle97gC_.js';
|
|
8
8
|
import '../../model/plus.js';
|
|
9
9
|
import './avatar.style.js';
|
|
10
10
|
import '../../index-B9iart53.js';
|
|
@@ -5,7 +5,7 @@ import { x } from '../../lit-element-ByzbtpGk.js';
|
|
|
5
5
|
import badgeHostStyle from './badge.host.style.js';
|
|
6
6
|
import { badgeStyle } from './badge.style.js';
|
|
7
7
|
import { o } from '../../style-map-DC_vNus2.js';
|
|
8
|
-
import '../../global-
|
|
8
|
+
import '../../global-Dle97gC_.js';
|
|
9
9
|
import '../../index-B9iart53.js';
|
|
10
10
|
import '../../directive-DZCF8pFJ.js';
|
|
11
11
|
|
|
@@ -3,7 +3,7 @@ import '../../property-DiPQx9S3.js';
|
|
|
3
3
|
import '../../lit-element-ByzbtpGk.js';
|
|
4
4
|
import '../../state-D1d5Sfj8.js';
|
|
5
5
|
import '../base/tailwind-base.js';
|
|
6
|
-
import '../../global-
|
|
6
|
+
import '../../global-Dle97gC_.js';
|
|
7
7
|
import './badge.host.style.js';
|
|
8
8
|
import './badge.style.js';
|
|
9
9
|
import '../../index-B9iart53.js';
|
|
@@ -4,7 +4,7 @@ import { x } from '../../lit-element-ByzbtpGk.js';
|
|
|
4
4
|
import Tailwind from '../base/tailwind-base.js';
|
|
5
5
|
import { breadcrumbStyle } from './breadcrumb.style.js';
|
|
6
6
|
import '../../base-Cl6v8-BZ.js';
|
|
7
|
-
import '../../global-
|
|
7
|
+
import '../../global-Dle97gC_.js';
|
|
8
8
|
import '../../index-B9iart53.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -4,7 +4,7 @@ import '../../lit-element-ByzbtpGk.js';
|
|
|
4
4
|
import '../../query-assigned-elements-B8Evmg7O.js';
|
|
5
5
|
import '../../base-Cl6v8-BZ.js';
|
|
6
6
|
import '../base/tailwind-base.js';
|
|
7
|
-
import '../../global-
|
|
7
|
+
import '../../global-Dle97gC_.js';
|
|
8
8
|
import './breadcrumb.style.js';
|
|
9
9
|
import '../../index-B9iart53.js';
|
|
10
10
|
|
|
@@ -5,7 +5,7 @@ import { SlotController } from '../../controllers/slot-controller.js';
|
|
|
5
5
|
import Tailwind from '../base/tailwind-base.js';
|
|
6
6
|
import { breadcrumbItemStyle } from './breadcrumb-item.style.js';
|
|
7
7
|
import { o } from '../../if-defined-D-m3dgRf.js';
|
|
8
|
-
import '../../global-
|
|
8
|
+
import '../../global-Dle97gC_.js';
|
|
9
9
|
import '../../index-B9iart53.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -4,7 +4,7 @@ import '../../lit-element-ByzbtpGk.js';
|
|
|
4
4
|
import '../../utils/boolean-converter.js';
|
|
5
5
|
import '../../controllers/slot-controller.js';
|
|
6
6
|
import '../base/tailwind-base.js';
|
|
7
|
-
import '../../global-
|
|
7
|
+
import '../../global-Dle97gC_.js';
|
|
8
8
|
import './breadcrumb-item.style.js';
|
|
9
9
|
import '../../index-B9iart53.js';
|
|
10
10
|
import '../../if-defined-D-m3dgRf.js';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { _ as __decorate, n } from '../../property-DiPQx9S3.js';
|
|
2
|
-
import { i, x } from '../../lit-element-ByzbtpGk.js';
|
|
2
|
+
import { i, x, E } from '../../lit-element-ByzbtpGk.js';
|
|
3
3
|
import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
4
4
|
import Tailwind from '../base/tailwind-base.js';
|
|
5
5
|
import { baseButtonStyle } from './button.style.js';
|
|
6
6
|
import { o } from '../../style-map-DC_vNus2.js';
|
|
7
|
-
import '../../global-
|
|
7
|
+
import '../../global-Dle97gC_.js';
|
|
8
8
|
import '../../index-B9iart53.js';
|
|
9
9
|
import '../../directive-DZCF8pFJ.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* @tag plus-button
|
|
13
|
-
* @summary
|
|
13
|
+
* @summary Polymorphic button component that can render as either a button or anchor link.
|
|
14
14
|
*
|
|
15
15
|
* @slot - The default slot for button content
|
|
16
16
|
* @slot prefix - Content to be placed before the button content
|
|
@@ -27,9 +27,25 @@ import '../../directive-DZCF8pFJ.js';
|
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
* ```html
|
|
30
|
+
* <!-- As a button -->
|
|
30
31
|
* <plus-button kind="filled" status="primary" size="md">
|
|
31
32
|
* Click me
|
|
32
33
|
* </plus-button>
|
|
34
|
+
*
|
|
35
|
+
* <!-- As a link -->
|
|
36
|
+
* <plus-button href="/dashboard" kind="filled" status="primary">
|
|
37
|
+
* Go to Dashboard
|
|
38
|
+
* </plus-button>
|
|
39
|
+
*
|
|
40
|
+
* <!-- External link -->
|
|
41
|
+
* <plus-button href="https://github.com" external kind="outlined">
|
|
42
|
+
* GitHub
|
|
43
|
+
* </plus-button>
|
|
44
|
+
*
|
|
45
|
+
* <!-- Submit button in a form -->
|
|
46
|
+
* <plus-button type="submit" kind="filled" status="primary">
|
|
47
|
+
* Submit Form
|
|
48
|
+
* </plus-button>
|
|
33
49
|
* ```
|
|
34
50
|
*/
|
|
35
51
|
const textColorMap = {
|
|
@@ -83,8 +99,24 @@ class PlusButton extends Tailwind {
|
|
|
83
99
|
*/
|
|
84
100
|
this.loading = false;
|
|
85
101
|
this.fullWidth = false;
|
|
102
|
+
/**
|
|
103
|
+
* When true, link opens in new tab with secure attributes
|
|
104
|
+
* Automatically sets target="_blank" and rel="noopener noreferrer"
|
|
105
|
+
* @default false
|
|
106
|
+
*/
|
|
107
|
+
this.external = false;
|
|
108
|
+
/**
|
|
109
|
+
* Specifies the button type for form interactions
|
|
110
|
+
* Only applies when rendering as a button (no href)
|
|
111
|
+
* @default 'button'
|
|
112
|
+
*/
|
|
113
|
+
this.type = 'button';
|
|
86
114
|
}
|
|
87
|
-
handleClick() {
|
|
115
|
+
handleClick(e) {
|
|
116
|
+
if (this.disabled || this.loading) {
|
|
117
|
+
e.preventDefault();
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
88
120
|
this.emit('plus-click');
|
|
89
121
|
}
|
|
90
122
|
handleFocus() {
|
|
@@ -113,7 +145,7 @@ class PlusButton extends Tailwind {
|
|
|
113
145
|
'--i-text-color': `var(--plus-color-text-${textColorMap[_statusColor]})`,
|
|
114
146
|
'--i-border-color': 'transparent',
|
|
115
147
|
};
|
|
116
|
-
const
|
|
148
|
+
const stylesMap = {
|
|
117
149
|
filled: filledStyles,
|
|
118
150
|
outlined: commonStyles,
|
|
119
151
|
dashed: commonStyles,
|
|
@@ -154,29 +186,58 @@ class PlusButton extends Tailwind {
|
|
|
154
186
|
/>
|
|
155
187
|
</svg>
|
|
156
188
|
</div>`;
|
|
189
|
+
// Link props for anchor element
|
|
190
|
+
const target = this.external ? '_blank' : this.target;
|
|
191
|
+
const rel = this.external ? 'noopener noreferrer' : this.rel;
|
|
192
|
+
const isLink = this.href !== undefined;
|
|
193
|
+
const isDisabled = this.disabled || this.loading;
|
|
194
|
+
const finalStyles = { ...dynamicStyles, ...stylesMap[this.kind] };
|
|
195
|
+
const content = x `
|
|
196
|
+
<slot name="prefix"></slot>
|
|
197
|
+
<slot></slot>
|
|
198
|
+
<slot name="suffix"></slot>
|
|
199
|
+
${this.loading ? LoadingTemplate : ''}
|
|
200
|
+
`;
|
|
201
|
+
if (isLink) {
|
|
202
|
+
return x `
|
|
203
|
+
<a
|
|
204
|
+
class=${base()}
|
|
205
|
+
part="button"
|
|
206
|
+
href=${this.href}
|
|
207
|
+
target=${target || E}
|
|
208
|
+
rel=${rel || E}
|
|
209
|
+
download=${this.download || E}
|
|
210
|
+
aria-disabled=${isDisabled ? 'true' : E}
|
|
211
|
+
tabindex=${isDisabled ? '-1' : E}
|
|
212
|
+
style=${o(finalStyles)}
|
|
213
|
+
@click=${this.handleClick}
|
|
214
|
+
@focus=${this.handleFocus}
|
|
215
|
+
@blur=${this.handleBlur}
|
|
216
|
+
>
|
|
217
|
+
${content}
|
|
218
|
+
</a>
|
|
219
|
+
`;
|
|
220
|
+
}
|
|
157
221
|
return x `
|
|
158
222
|
<button
|
|
159
223
|
class=${base()}
|
|
160
224
|
part="button"
|
|
161
|
-
|
|
162
|
-
|
|
225
|
+
type=${this.type}
|
|
226
|
+
?disabled=${isDisabled}
|
|
227
|
+
style=${o(finalStyles)}
|
|
163
228
|
@click=${this.handleClick}
|
|
164
229
|
@focus=${this.handleFocus}
|
|
165
230
|
@blur=${this.handleBlur}
|
|
166
|
-
aria-label="Button"
|
|
167
|
-
role="button"
|
|
168
|
-
tabindex="0"
|
|
169
231
|
@keydown=${(e) => {
|
|
170
232
|
if (e.key === 'Enter' || e.key === ' ') {
|
|
171
|
-
|
|
233
|
+
if (!isDisabled) {
|
|
234
|
+
this.handleClick(e);
|
|
235
|
+
}
|
|
172
236
|
e.preventDefault();
|
|
173
237
|
}
|
|
174
238
|
}}
|
|
175
239
|
>
|
|
176
|
-
|
|
177
|
-
<slot></slot>
|
|
178
|
-
<slot name="suffix"></slot>
|
|
179
|
-
${this.loading ? LoadingTemplate : ''}
|
|
240
|
+
${content}
|
|
180
241
|
</button>
|
|
181
242
|
`;
|
|
182
243
|
}
|
|
@@ -231,5 +292,23 @@ __decorate([
|
|
|
231
292
|
attribute: 'full-width',
|
|
232
293
|
})
|
|
233
294
|
], PlusButton.prototype, "fullWidth", void 0);
|
|
295
|
+
__decorate([
|
|
296
|
+
n({ type: String })
|
|
297
|
+
], PlusButton.prototype, "href", void 0);
|
|
298
|
+
__decorate([
|
|
299
|
+
n({ type: String })
|
|
300
|
+
], PlusButton.prototype, "target", void 0);
|
|
301
|
+
__decorate([
|
|
302
|
+
n({ type: String })
|
|
303
|
+
], PlusButton.prototype, "rel", void 0);
|
|
304
|
+
__decorate([
|
|
305
|
+
n({ type: String })
|
|
306
|
+
], PlusButton.prototype, "download", void 0);
|
|
307
|
+
__decorate([
|
|
308
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
309
|
+
], PlusButton.prototype, "external", void 0);
|
|
310
|
+
__decorate([
|
|
311
|
+
n({ type: String })
|
|
312
|
+
], PlusButton.prototype, "type", void 0);
|
|
234
313
|
|
|
235
314
|
export { PlusButton, PlusButton as default };
|
|
@@ -3,7 +3,7 @@ import '../../property-DiPQx9S3.js';
|
|
|
3
3
|
import '../../lit-element-ByzbtpGk.js';
|
|
4
4
|
import '../../utils/boolean-converter.js';
|
|
5
5
|
import '../base/tailwind-base.js';
|
|
6
|
-
import '../../global-
|
|
6
|
+
import '../../global-Dle97gC_.js';
|
|
7
7
|
import './button.style.js';
|
|
8
8
|
import '../../index-B9iart53.js';
|
|
9
9
|
import '../../style-map-DC_vNus2.js';
|
|
@@ -5,7 +5,7 @@ import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
|
5
5
|
import { buttonGroupStyle } from './button-group.style.js';
|
|
6
6
|
import Tailwind from '../base/tailwind-base.js';
|
|
7
7
|
import '../../index-B9iart53.js';
|
|
8
|
-
import '../../global-
|
|
8
|
+
import '../../global-Dle97gC_.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @tag plus-button-group
|
|
@@ -6,7 +6,7 @@ import '../../utils/boolean-converter.js';
|
|
|
6
6
|
import './button-group.style.js';
|
|
7
7
|
import '../../index-B9iart53.js';
|
|
8
8
|
import '../base/tailwind-base.js';
|
|
9
|
-
import '../../global-
|
|
9
|
+
import '../../global-Dle97gC_.js';
|
|
10
10
|
|
|
11
11
|
customElements.define('plus-button-group', PlusButtonGroup);
|
|
12
12
|
|
|
@@ -8,7 +8,7 @@ import Tailwind from '../base/tailwind-base.js';
|
|
|
8
8
|
import { checkboxStyle } from './checkbox.style.js';
|
|
9
9
|
import '../../base-Cl6v8-BZ.js';
|
|
10
10
|
import '../../directive-DZCF8pFJ.js';
|
|
11
|
-
import '../../global-
|
|
11
|
+
import '../../global-Dle97gC_.js';
|
|
12
12
|
import '../../index-B9iart53.js';
|
|
13
13
|
|
|
14
14
|
/**
|
|
@@ -8,7 +8,7 @@ import '../../live-BOAtKRUN.js';
|
|
|
8
8
|
import '../../directive-DZCF8pFJ.js';
|
|
9
9
|
import '../../utils/boolean-converter.js';
|
|
10
10
|
import '../base/tailwind-base.js';
|
|
11
|
-
import '../../global-
|
|
11
|
+
import '../../global-Dle97gC_.js';
|
|
12
12
|
import './checkbox.style.js';
|
|
13
13
|
import '../../index-B9iart53.js';
|
|
14
14
|
|
|
@@ -5,7 +5,7 @@ import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
|
5
5
|
import Tailwind from '../base/tailwind-base.js';
|
|
6
6
|
import { checkboxGroupStyle } from './checkbox-group.style.js';
|
|
7
7
|
import '../../base-Cl6v8-BZ.js';
|
|
8
|
-
import '../../global-
|
|
8
|
+
import '../../global-Dle97gC_.js';
|
|
9
9
|
import '../../index-B9iart53.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -5,7 +5,7 @@ import '../../query-assigned-elements-B8Evmg7O.js';
|
|
|
5
5
|
import '../../base-Cl6v8-BZ.js';
|
|
6
6
|
import '../../utils/boolean-converter.js';
|
|
7
7
|
import '../base/tailwind-base.js';
|
|
8
|
-
import '../../global-
|
|
8
|
+
import '../../global-Dle97gC_.js';
|
|
9
9
|
import './checkbox-group.style.js';
|
|
10
10
|
import '../../index-B9iart53.js';
|
|
11
11
|
|
|
@@ -4,7 +4,7 @@ import Tailwind from '../base/tailwind-base.js';
|
|
|
4
4
|
import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
5
5
|
import { chipStyle } from './chip.style.js';
|
|
6
6
|
import { o } from '../../style-map-DC_vNus2.js';
|
|
7
|
-
import '../../global-
|
|
7
|
+
import '../../global-Dle97gC_.js';
|
|
8
8
|
import '../../index-B9iart53.js';
|
|
9
9
|
import '../../directive-DZCF8pFJ.js';
|
|
10
10
|
|
|
@@ -2,7 +2,7 @@ import PlusChip from './chip.js';
|
|
|
2
2
|
import '../../property-DiPQx9S3.js';
|
|
3
3
|
import '../../lit-element-ByzbtpGk.js';
|
|
4
4
|
import '../base/tailwind-base.js';
|
|
5
|
-
import '../../global-
|
|
5
|
+
import '../../global-Dle97gC_.js';
|
|
6
6
|
import '../../utils/boolean-converter.js';
|
|
7
7
|
import './chip.style.js';
|
|
8
8
|
import '../../index-B9iart53.js';
|
|
@@ -4,7 +4,7 @@ import { r } from '../../state-D1d5Sfj8.js';
|
|
|
4
4
|
import { dividerStyle, baseDividerStyle } from './divider.style.js';
|
|
5
5
|
import Tailwind from '../base/tailwind-base.js';
|
|
6
6
|
import '../../index-B9iart53.js';
|
|
7
|
-
import '../../global-
|
|
7
|
+
import '../../global-Dle97gC_.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @tag plus-divider
|
|
@@ -5,7 +5,7 @@ import '../../state-D1d5Sfj8.js';
|
|
|
5
5
|
import './divider.style.js';
|
|
6
6
|
import '../../index-B9iart53.js';
|
|
7
7
|
import '../base/tailwind-base.js';
|
|
8
|
-
import '../../global-
|
|
8
|
+
import '../../global-Dle97gC_.js';
|
|
9
9
|
|
|
10
10
|
customElements.define('plus-divider', PlusDivider);
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@ import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
|
5
5
|
import { drawerStyle } from './drawer.style.js';
|
|
6
6
|
import Tailwind from '../base/tailwind-base.js';
|
|
7
7
|
import '../../index-B9iart53.js';
|
|
8
|
-
import '../../global-
|
|
8
|
+
import '../../global-Dle97gC_.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @tag plus-drawer
|
|
@@ -6,7 +6,7 @@ import '../../utils/boolean-converter.js';
|
|
|
6
6
|
import './drawer.style.js';
|
|
7
7
|
import '../../index-B9iart53.js';
|
|
8
8
|
import '../base/tailwind-base.js';
|
|
9
|
-
import '../../global-
|
|
9
|
+
import '../../global-Dle97gC_.js';
|
|
10
10
|
|
|
11
11
|
customElements.define('plus-drawer', PlusDrawer);
|
|
12
12
|
|
|
@@ -7,7 +7,7 @@ import { x } from '../../lit-element-ByzbtpGk.js';
|
|
|
7
7
|
import { c as computePosition, o as offset, s as shift, f as flip, b as autoUpdate } from '../../floating-ui.dom-OBaMlALa.js';
|
|
8
8
|
import { dropdownStyle } from './dropdown.style.js';
|
|
9
9
|
import '../../base-Cl6v8-BZ.js';
|
|
10
|
-
import '../../global-
|
|
10
|
+
import '../../global-Dle97gC_.js';
|
|
11
11
|
import '../../index-B9iart53.js';
|
|
12
12
|
|
|
13
13
|
/**
|
|
@@ -6,7 +6,7 @@ import '../../query-assigned-elements-B8Evmg7O.js';
|
|
|
6
6
|
import '../../base-Cl6v8-BZ.js';
|
|
7
7
|
import '../../utils/boolean-converter.js';
|
|
8
8
|
import '../base/tailwind-base.js';
|
|
9
|
-
import '../../global-
|
|
9
|
+
import '../../global-Dle97gC_.js';
|
|
10
10
|
import '../../floating-ui.dom-OBaMlALa.js';
|
|
11
11
|
import './dropdown.style.js';
|
|
12
12
|
import '../../index-B9iart53.js';
|
|
@@ -4,7 +4,7 @@ import Tailwind from '../base/tailwind-base.js';
|
|
|
4
4
|
import { x } from '../../lit-element-ByzbtpGk.js';
|
|
5
5
|
import { o } from '../../if-defined-D-m3dgRf.js';
|
|
6
6
|
import { l } from '../../live-BOAtKRUN.js';
|
|
7
|
-
import '../../global-
|
|
7
|
+
import '../../global-Dle97gC_.js';
|
|
8
8
|
import '../../directive-DZCF8pFJ.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -3,7 +3,7 @@ import '../../property-DiPQx9S3.js';
|
|
|
3
3
|
import '../../lit-element-ByzbtpGk.js';
|
|
4
4
|
import '../../utils/boolean-converter.js';
|
|
5
5
|
import '../base/tailwind-base.js';
|
|
6
|
-
import '../../global-
|
|
6
|
+
import '../../global-Dle97gC_.js';
|
|
7
7
|
import '../../if-defined-D-m3dgRf.js';
|
|
8
8
|
import '../../live-BOAtKRUN.js';
|
|
9
9
|
import '../../directive-DZCF8pFJ.js';
|
package/cdn/components/index.js
CHANGED
|
@@ -76,7 +76,7 @@ export { default as PlusTab } from './tab/tab.js';
|
|
|
76
76
|
export { default as PlusTabPanel } from './tab-panel/tab-panel.js';
|
|
77
77
|
export { default as PlusTabGroup } from './tab-group/tab-group.js';
|
|
78
78
|
import '../lit-element-ByzbtpGk.js';
|
|
79
|
-
import '../global-
|
|
79
|
+
import '../global-Dle97gC_.js';
|
|
80
80
|
import './avatar/avatar.js';
|
|
81
81
|
import '../property-DiPQx9S3.js';
|
|
82
82
|
import '../state-D1d5Sfj8.js';
|
|
@@ -6,7 +6,7 @@ import '../../query-CHb9Ft_d.js';
|
|
|
6
6
|
import '../../base-Cl6v8-BZ.js';
|
|
7
7
|
import '../../utils/boolean-converter.js';
|
|
8
8
|
import '../base/tailwind-base.js';
|
|
9
|
-
import '../../global-
|
|
9
|
+
import '../../global-Dle97gC_.js';
|
|
10
10
|
import '../../if-defined-D-m3dgRf.js';
|
|
11
11
|
import '../../live-BOAtKRUN.js';
|
|
12
12
|
import '../../directive-DZCF8pFJ.js';
|
|
@@ -10,7 +10,7 @@ import { inputStyle } from './input.style.js';
|
|
|
10
10
|
import { labelStyle } from '../label/label.style.js';
|
|
11
11
|
import { captionStyle } from '../caption/caption.style.js';
|
|
12
12
|
import '../../base-Cl6v8-BZ.js';
|
|
13
|
-
import '../../global-
|
|
13
|
+
import '../../global-Dle97gC_.js';
|
|
14
14
|
import '../../directive-DZCF8pFJ.js';
|
|
15
15
|
import '../../index-B9iart53.js';
|
|
16
16
|
|
|
@@ -2,7 +2,7 @@ import PlusLink from './link.js';
|
|
|
2
2
|
import '../../property-DiPQx9S3.js';
|
|
3
3
|
import '../../lit-element-ByzbtpGk.js';
|
|
4
4
|
import '../base/tailwind-base.js';
|
|
5
|
-
import '../../global-
|
|
5
|
+
import '../../global-Dle97gC_.js';
|
|
6
6
|
import './link.style.js';
|
|
7
7
|
import '../../index-B9iart53.js';
|
|
8
8
|
import '../../utils/boolean-converter.js';
|
|
@@ -3,7 +3,7 @@ import { i, x } from '../../lit-element-ByzbtpGk.js';
|
|
|
3
3
|
import Tailwind from '../base/tailwind-base.js';
|
|
4
4
|
import { linkStyle } from './link.style.js';
|
|
5
5
|
import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
6
|
-
import '../../global-
|
|
6
|
+
import '../../global-Dle97gC_.js';
|
|
7
7
|
import '../../index-B9iart53.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -2,7 +2,7 @@ import PlusListBoxItem from './list-box-item.js';
|
|
|
2
2
|
import '../../property-DiPQx9S3.js';
|
|
3
3
|
import '../../lit-element-ByzbtpGk.js';
|
|
4
4
|
import '../base/tailwind-base.js';
|
|
5
|
-
import '../../global-
|
|
5
|
+
import '../../global-Dle97gC_.js';
|
|
6
6
|
import '../../style-map-DC_vNus2.js';
|
|
7
7
|
import '../../directive-DZCF8pFJ.js';
|
|
8
8
|
import './list-box-item.style.js';
|
|
@@ -4,7 +4,7 @@ import { x } from '../../lit-element-ByzbtpGk.js';
|
|
|
4
4
|
import { o } from '../../style-map-DC_vNus2.js';
|
|
5
5
|
import { listBoxItemStyle } from './list-box-item.style.js';
|
|
6
6
|
import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
7
|
-
import '../../global-
|
|
7
|
+
import '../../global-Dle97gC_.js';
|
|
8
8
|
import '../../directive-DZCF8pFJ.js';
|
|
9
9
|
import '../../index-B9iart53.js';
|
|
10
10
|
|
|
@@ -6,7 +6,7 @@ import '../../utils/boolean-converter.js';
|
|
|
6
6
|
import './modal.style.js';
|
|
7
7
|
import '../../index-B9iart53.js';
|
|
8
8
|
import '../base/tailwind-base.js';
|
|
9
|
-
import '../../global-
|
|
9
|
+
import '../../global-Dle97gC_.js';
|
|
10
10
|
|
|
11
11
|
customElements.define('plus-modal', PlusModal);
|
|
12
12
|
|
|
@@ -5,7 +5,7 @@ import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
|
5
5
|
import { modalStyle } from './modal.style.js';
|
|
6
6
|
import Tailwind from '../base/tailwind-base.js';
|
|
7
7
|
import '../../index-B9iart53.js';
|
|
8
|
-
import '../../global-
|
|
8
|
+
import '../../global-Dle97gC_.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @tag plus-modal
|
|
@@ -7,7 +7,7 @@ import '../../base-Cl6v8-BZ.js';
|
|
|
7
7
|
import '../../floating-ui.dom-OBaMlALa.js';
|
|
8
8
|
import '../../utils/boolean-converter.js';
|
|
9
9
|
import '../base/tailwind-base.js';
|
|
10
|
-
import '../../global-
|
|
10
|
+
import '../../global-Dle97gC_.js';
|
|
11
11
|
import './popconfirm.style.js';
|
|
12
12
|
import '../../index-B9iart53.js';
|
|
13
13
|
|
|
@@ -7,7 +7,7 @@ import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
|
7
7
|
import Tailwind from '../base/tailwind-base.js';
|
|
8
8
|
import { popconfirmStyle } from './popconfirm.style.js';
|
|
9
9
|
import '../../base-Cl6v8-BZ.js';
|
|
10
|
-
import '../../global-
|
|
10
|
+
import '../../global-Dle97gC_.js';
|
|
11
11
|
import '../../index-B9iart53.js';
|
|
12
12
|
|
|
13
13
|
var PopconfirmTrigger;
|
|
@@ -7,7 +7,7 @@ import '../../base-Cl6v8-BZ.js';
|
|
|
7
7
|
import '../../floating-ui.dom-OBaMlALa.js';
|
|
8
8
|
import '../../utils/boolean-converter.js';
|
|
9
9
|
import '../base/tailwind-base.js';
|
|
10
|
-
import '../../global-
|
|
10
|
+
import '../../global-Dle97gC_.js';
|
|
11
11
|
import './popover.style.js';
|
|
12
12
|
import '../../index-B9iart53.js';
|
|
13
13
|
|