@plusui/library 0.1.15 → 0.1.16

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.
Files changed (127) hide show
  1. package/cdn/components/accordion/accordion.js +1 -1
  2. package/cdn/components/accordion/index.js +1 -1
  3. package/cdn/components/accordion-group/accordion-group.js +1 -1
  4. package/cdn/components/accordion-group/index.js +1 -1
  5. package/cdn/components/alert/alert.js +1 -1
  6. package/cdn/components/alert/index.js +1 -1
  7. package/cdn/components/avatar/avatar.js +1 -1
  8. package/cdn/components/avatar/index.js +1 -1
  9. package/cdn/components/badge/badge.js +1 -1
  10. package/cdn/components/badge/index.js +1 -1
  11. package/cdn/components/base/index.js +1 -1
  12. package/cdn/components/base/tailwind-base.js +1 -1
  13. package/cdn/components/breadcrumb/breadcrumb.js +1 -1
  14. package/cdn/components/breadcrumb/index.js +1 -1
  15. package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
  16. package/cdn/components/breadcrumb-item/index.js +1 -1
  17. package/cdn/components/button/button.js +1 -1
  18. package/cdn/components/button/index.js +1 -1
  19. package/cdn/components/button-group/button-group.js +1 -1
  20. package/cdn/components/button-group/index.js +1 -1
  21. package/cdn/components/checkbox/checkbox.js +1 -1
  22. package/cdn/components/checkbox/index.js +1 -1
  23. package/cdn/components/checkbox-group/checkbox-group.js +1 -1
  24. package/cdn/components/checkbox-group/index.js +1 -1
  25. package/cdn/components/chip/chip.js +1 -1
  26. package/cdn/components/chip/index.js +1 -1
  27. package/cdn/components/divider/divider.js +1 -1
  28. package/cdn/components/divider/index.js +1 -1
  29. package/cdn/components/drawer/drawer.js +1 -1
  30. package/cdn/components/drawer/index.js +1 -1
  31. package/cdn/components/dropdown/dropdown.js +1 -1
  32. package/cdn/components/dropdown/index.js +1 -1
  33. package/cdn/components/dropdown-item/dropdown-item.js +1 -1
  34. package/cdn/components/dropdown-item/index.js +1 -1
  35. package/cdn/components/index.js +1 -1
  36. package/cdn/components/input/index.js +1 -1
  37. package/cdn/components/input/input.js +1 -1
  38. package/cdn/components/link/index.js +1 -1
  39. package/cdn/components/link/link.js +1 -1
  40. package/cdn/components/list-box-item/index.js +1 -1
  41. package/cdn/components/list-box-item/list-box-item.js +1 -1
  42. package/cdn/components/modal/index.js +5 -1
  43. package/cdn/components/modal/modal.js +340 -83
  44. package/cdn/components/modal/modal.style.js +70 -41
  45. package/cdn/components/popconfirm/index.js +1 -1
  46. package/cdn/components/popconfirm/popconfirm.js +1 -1
  47. package/cdn/components/popover/index.js +1 -1
  48. package/cdn/components/popover/popover.js +1 -1
  49. package/cdn/components/radio/index.js +1 -1
  50. package/cdn/components/radio/radio.js +1 -1
  51. package/cdn/components/radio-group/index.js +1 -1
  52. package/cdn/components/radio-group/radio-group.js +1 -1
  53. package/cdn/components/rating/index.js +1 -1
  54. package/cdn/components/rating/rating.js +1 -1
  55. package/cdn/components/segmented-picker/index.js +1 -1
  56. package/cdn/components/segmented-picker/segmented-picker.component.js +1 -1
  57. package/cdn/components/segmented-picker-item/index.js +1 -1
  58. package/cdn/components/segmented-picker-item/segmented-picker-item.component.js +1 -1
  59. package/cdn/components/select/index.js +1 -1
  60. package/cdn/components/select/select.js +1 -1
  61. package/cdn/components/select-item/index.js +1 -1
  62. package/cdn/components/select-item/select-item.js +1 -1
  63. package/cdn/components/service/index.js +1 -1
  64. package/cdn/components/service/service.js +1 -1
  65. package/cdn/components/tab/index.js +1 -1
  66. package/cdn/components/tab/tab.js +1 -1
  67. package/cdn/components/tab-group/index.js +1 -1
  68. package/cdn/components/tab-group/tab-group.js +1 -1
  69. package/cdn/components/tab-panel/index.js +1 -1
  70. package/cdn/components/tab-panel/tab-panel.js +1 -1
  71. package/cdn/components/tag/index.js +1 -1
  72. package/cdn/components/tag/tag.js +1 -1
  73. package/cdn/components/text/index.js +1 -1
  74. package/cdn/components/text/text.js +1 -1
  75. package/cdn/components/textarea/index.js +1 -1
  76. package/cdn/components/textarea/textarea.js +1 -1
  77. package/cdn/components/toast/index.js +1 -1
  78. package/cdn/components/toast/toast.js +1 -1
  79. package/cdn/components/toast-container/index.js +1 -1
  80. package/cdn/components/toast-container/toast-container.js +1 -1
  81. package/cdn/components/toggle/index.js +1 -1
  82. package/cdn/components/toggle/toggle.js +1 -1
  83. package/cdn/components/tooltip/index.js +1 -1
  84. package/cdn/components/tooltip/tooltip.js +1 -1
  85. package/cdn/factory/tailwind-factory.js +1 -1
  86. package/cdn/global-BfmuDcaf.js +1 -0
  87. package/cdn/global-m-W73pez.js +31 -0
  88. package/custom-elements.json +226 -25
  89. package/dist/components/modal/index.js +4 -0
  90. package/dist/components/modal/modal.d.ts +95 -22
  91. package/dist/components/modal/modal.d.ts.map +1 -1
  92. package/dist/components/modal/modal.js +339 -82
  93. package/dist/components/modal/modal.js.map +1 -1
  94. package/dist/components/modal/modal.style.d.ts +297 -122
  95. package/dist/components/modal/modal.style.d.ts.map +1 -1
  96. package/dist/components/modal/modal.style.js +70 -41
  97. package/dist/components/modal/modal.style.js.map +1 -1
  98. package/dist/{if-defined-DKbfGhXu.js → if-defined-DzyJw9oN.js} +1 -1
  99. package/dist/index.css +1 -1
  100. package/dist/{live-CtqYa7Iz.js → live-Dlj-D15j.js} +1 -1
  101. package/dist/{property-DhJ1LIGX.js → property-DRwbRRVL.js} +1 -1
  102. package/dist/{query-CJZ9rve2.js → query-CVSIfDVf.js} +1 -1
  103. package/dist/{query-assigned-elements-BTKIEABn.js → query-assigned-elements-CGjtMDM7.js} +1 -1
  104. package/dist/{state-BJT7gLGV.js → state-DibUHyPK.js} +1 -1
  105. package/dist/{style-map-4vJ38bCf.js → style-map-DE-r4ozp.js} +1 -1
  106. package/dist/styles/global.js +2 -2
  107. package/eslint/custom-element-eslint-rules.js +16 -0
  108. package/package.json +1 -1
  109. package/public/html/index.js +406 -124
  110. package/public/react/index.d.ts +145 -33
  111. package/public/react/index.js +430 -125
  112. package/react/PlusModal.d.ts +50 -11
  113. package/react/PlusModal.js +31 -2
  114. package/types/custom-element-jsx.d.ts +42 -11
  115. package/types/custom-element-solidjs.d.ts +42 -11
  116. package/types/custom-element-svelte.d.ts +42 -11
  117. package/types/custom-element-vuejs.d.ts +42 -11
  118. package/vscode.css-custom-data.json +10 -6
  119. package/vscode.html-custom-data.json +26 -1
  120. package/web-types.json +106 -11
  121. package/cdn/global-DGCiKnca.js +0 -1
  122. package/cdn/global-GTfSG3gU.js +0 -31
  123. /package/dist/{base-ByZpKIDU.js → base-CJK80TT1.js} +0 -0
  124. /package/dist/{directive-rJcjnQEi.js → directive-DJonW9K-.js} +0 -0
  125. /package/dist/{floating-ui.dom-CnRf1aAR.js → floating-ui.dom-Cx1F5m3b.js} +0 -0
  126. /package/dist/{index-DUwBBqWm.js → index-B49PNGQM.js} +0 -0
  127. /package/dist/{lit-element-Bu7TYzc7.js → lit-element-BS9RbLkf.js} +0 -0
@@ -1,294 +1,469 @@
1
1
  export declare const modalStyle: import("tailwind-variants").TVReturnType<{
2
2
  size: {
3
3
  sm: {
4
- modalClass: string;
4
+ modal: string;
5
5
  };
6
6
  md: {
7
- modalClass: string;
7
+ modal: string;
8
8
  };
9
9
  lg: {
10
- modalClass: string;
10
+ modal: string;
11
11
  };
12
12
  xl: {
13
- modalClass: string;
13
+ modal: string;
14
14
  };
15
15
  '2xl': {
16
- modalClass: string;
16
+ modal: string;
17
17
  };
18
18
  full: {
19
- modalClass: string;
19
+ modal: string;
20
20
  };
21
21
  };
22
- isOpen: {
22
+ open: {
23
23
  true: {
24
- modalClass: string;
25
- modalOverlay: string;
26
- modalContainer: string;
24
+ modal: string;
27
25
  };
28
26
  false: {
29
- modalClass: string;
30
- modalOverlay: string;
31
- modalContainer: string;
27
+ modal: string;
28
+ };
29
+ };
30
+ placement: {
31
+ center: {
32
+ container: string;
33
+ };
34
+ top: {
35
+ container: string;
32
36
  };
33
37
  };
34
38
  fullWidth: {
35
39
  true: {
36
- modalClass: string;
40
+ modal: string;
41
+ };
42
+ };
43
+ fullScreen: {
44
+ true: {
45
+ modal: string;
46
+ container: string;
47
+ };
48
+ };
49
+ shake: {
50
+ true: {
51
+ modal: string;
52
+ };
53
+ };
54
+ noHeader: {
55
+ true: {
56
+ header: string;
57
+ };
58
+ };
59
+ noFooter: {
60
+ true: {
61
+ footer: string;
37
62
  };
38
63
  };
39
64
  }, {
40
- base: string[];
41
- modalOverlay: string[];
42
- modalClass: string[];
43
- modalContainer: string[];
44
- modalHeader: string[];
45
- modalBody: string[];
46
- modalFooter: string[];
47
- modalCloseButtonClass: string[];
65
+ dialog: string[];
66
+ container: string[];
67
+ modal: string[];
68
+ header: string[];
69
+ headerContent: string[];
70
+ body: string[];
71
+ footer: string[];
72
+ closeButton: string[];
48
73
  }, undefined, import("tailwind-variants/dist/config").TVConfig<{
49
74
  size: {
50
75
  sm: {
51
- modalClass: string;
76
+ modal: string;
52
77
  };
53
78
  md: {
54
- modalClass: string;
79
+ modal: string;
55
80
  };
56
81
  lg: {
57
- modalClass: string;
82
+ modal: string;
58
83
  };
59
84
  xl: {
60
- modalClass: string;
85
+ modal: string;
61
86
  };
62
87
  '2xl': {
63
- modalClass: string;
88
+ modal: string;
64
89
  };
65
90
  full: {
66
- modalClass: string;
91
+ modal: string;
67
92
  };
68
93
  };
69
- isOpen: {
94
+ open: {
70
95
  true: {
71
- modalClass: string;
72
- modalOverlay: string;
73
- modalContainer: string;
96
+ modal: string;
74
97
  };
75
98
  false: {
76
- modalClass: string;
77
- modalOverlay: string;
78
- modalContainer: string;
99
+ modal: string;
100
+ };
101
+ };
102
+ placement: {
103
+ center: {
104
+ container: string;
105
+ };
106
+ top: {
107
+ container: string;
79
108
  };
80
109
  };
81
110
  fullWidth: {
82
111
  true: {
83
- modalClass: string;
112
+ modal: string;
113
+ };
114
+ };
115
+ fullScreen: {
116
+ true: {
117
+ modal: string;
118
+ container: string;
119
+ };
120
+ };
121
+ shake: {
122
+ true: {
123
+ modal: string;
124
+ };
125
+ };
126
+ noHeader: {
127
+ true: {
128
+ header: string;
129
+ };
130
+ };
131
+ noFooter: {
132
+ true: {
133
+ footer: string;
84
134
  };
85
135
  };
86
136
  }, {
87
137
  size: {
88
138
  sm: {
89
- modalClass: string;
139
+ modal: string;
90
140
  };
91
141
  md: {
92
- modalClass: string;
142
+ modal: string;
93
143
  };
94
144
  lg: {
95
- modalClass: string;
145
+ modal: string;
96
146
  };
97
147
  xl: {
98
- modalClass: string;
148
+ modal: string;
99
149
  };
100
150
  '2xl': {
101
- modalClass: string;
151
+ modal: string;
102
152
  };
103
153
  full: {
104
- modalClass: string;
154
+ modal: string;
105
155
  };
106
156
  };
107
- isOpen: {
157
+ open: {
108
158
  true: {
109
- modalClass: string;
110
- modalOverlay: string;
111
- modalContainer: string;
159
+ modal: string;
112
160
  };
113
161
  false: {
114
- modalClass: string;
115
- modalOverlay: string;
116
- modalContainer: string;
162
+ modal: string;
163
+ };
164
+ };
165
+ placement: {
166
+ center: {
167
+ container: string;
168
+ };
169
+ top: {
170
+ container: string;
117
171
  };
118
172
  };
119
173
  fullWidth: {
120
174
  true: {
121
- modalClass: string;
175
+ modal: string;
176
+ };
177
+ };
178
+ fullScreen: {
179
+ true: {
180
+ modal: string;
181
+ container: string;
182
+ };
183
+ };
184
+ shake: {
185
+ true: {
186
+ modal: string;
187
+ };
188
+ };
189
+ noHeader: {
190
+ true: {
191
+ header: string;
192
+ };
193
+ };
194
+ noFooter: {
195
+ true: {
196
+ footer: string;
122
197
  };
123
198
  };
124
199
  }>, {
125
200
  size: {
126
201
  sm: {
127
- modalClass: string;
202
+ modal: string;
128
203
  };
129
204
  md: {
130
- modalClass: string;
205
+ modal: string;
131
206
  };
132
207
  lg: {
133
- modalClass: string;
208
+ modal: string;
134
209
  };
135
210
  xl: {
136
- modalClass: string;
211
+ modal: string;
137
212
  };
138
213
  '2xl': {
139
- modalClass: string;
214
+ modal: string;
140
215
  };
141
216
  full: {
142
- modalClass: string;
217
+ modal: string;
143
218
  };
144
219
  };
145
- isOpen: {
220
+ open: {
146
221
  true: {
147
- modalClass: string;
148
- modalOverlay: string;
149
- modalContainer: string;
222
+ modal: string;
150
223
  };
151
224
  false: {
152
- modalClass: string;
153
- modalOverlay: string;
154
- modalContainer: string;
225
+ modal: string;
226
+ };
227
+ };
228
+ placement: {
229
+ center: {
230
+ container: string;
231
+ };
232
+ top: {
233
+ container: string;
155
234
  };
156
235
  };
157
236
  fullWidth: {
158
237
  true: {
159
- modalClass: string;
238
+ modal: string;
239
+ };
240
+ };
241
+ fullScreen: {
242
+ true: {
243
+ modal: string;
244
+ container: string;
245
+ };
246
+ };
247
+ shake: {
248
+ true: {
249
+ modal: string;
250
+ };
251
+ };
252
+ noHeader: {
253
+ true: {
254
+ header: string;
255
+ };
256
+ };
257
+ noFooter: {
258
+ true: {
259
+ footer: string;
160
260
  };
161
261
  };
162
262
  }, {
163
- base: string[];
164
- modalOverlay: string[];
165
- modalClass: string[];
166
- modalContainer: string[];
167
- modalHeader: string[];
168
- modalBody: string[];
169
- modalFooter: string[];
170
- modalCloseButtonClass: string[];
263
+ dialog: string[];
264
+ container: string[];
265
+ modal: string[];
266
+ header: string[];
267
+ headerContent: string[];
268
+ body: string[];
269
+ footer: string[];
270
+ closeButton: string[];
171
271
  }, import("tailwind-variants").TVReturnType<{
172
272
  size: {
173
273
  sm: {
174
- modalClass: string;
274
+ modal: string;
175
275
  };
176
276
  md: {
177
- modalClass: string;
277
+ modal: string;
178
278
  };
179
279
  lg: {
180
- modalClass: string;
280
+ modal: string;
181
281
  };
182
282
  xl: {
183
- modalClass: string;
283
+ modal: string;
184
284
  };
185
285
  '2xl': {
186
- modalClass: string;
286
+ modal: string;
187
287
  };
188
288
  full: {
189
- modalClass: string;
289
+ modal: string;
190
290
  };
191
291
  };
192
- isOpen: {
292
+ open: {
193
293
  true: {
194
- modalClass: string;
195
- modalOverlay: string;
196
- modalContainer: string;
294
+ modal: string;
197
295
  };
198
296
  false: {
199
- modalClass: string;
200
- modalOverlay: string;
201
- modalContainer: string;
297
+ modal: string;
298
+ };
299
+ };
300
+ placement: {
301
+ center: {
302
+ container: string;
303
+ };
304
+ top: {
305
+ container: string;
202
306
  };
203
307
  };
204
308
  fullWidth: {
205
309
  true: {
206
- modalClass: string;
310
+ modal: string;
311
+ };
312
+ };
313
+ fullScreen: {
314
+ true: {
315
+ modal: string;
316
+ container: string;
317
+ };
318
+ };
319
+ shake: {
320
+ true: {
321
+ modal: string;
322
+ };
323
+ };
324
+ noHeader: {
325
+ true: {
326
+ header: string;
327
+ };
328
+ };
329
+ noFooter: {
330
+ true: {
331
+ footer: string;
207
332
  };
208
333
  };
209
334
  }, {
210
- base: string[];
211
- modalOverlay: string[];
212
- modalClass: string[];
213
- modalContainer: string[];
214
- modalHeader: string[];
215
- modalBody: string[];
216
- modalFooter: string[];
217
- modalCloseButtonClass: string[];
335
+ dialog: string[];
336
+ container: string[];
337
+ modal: string[];
338
+ header: string[];
339
+ headerContent: string[];
340
+ body: string[];
341
+ footer: string[];
342
+ closeButton: string[];
218
343
  }, undefined, import("tailwind-variants/dist/config").TVConfig<{
219
344
  size: {
220
345
  sm: {
221
- modalClass: string;
346
+ modal: string;
222
347
  };
223
348
  md: {
224
- modalClass: string;
349
+ modal: string;
225
350
  };
226
351
  lg: {
227
- modalClass: string;
352
+ modal: string;
228
353
  };
229
354
  xl: {
230
- modalClass: string;
355
+ modal: string;
231
356
  };
232
357
  '2xl': {
233
- modalClass: string;
358
+ modal: string;
234
359
  };
235
360
  full: {
236
- modalClass: string;
361
+ modal: string;
237
362
  };
238
363
  };
239
- isOpen: {
364
+ open: {
240
365
  true: {
241
- modalClass: string;
242
- modalOverlay: string;
243
- modalContainer: string;
366
+ modal: string;
244
367
  };
245
368
  false: {
246
- modalClass: string;
247
- modalOverlay: string;
248
- modalContainer: string;
369
+ modal: string;
370
+ };
371
+ };
372
+ placement: {
373
+ center: {
374
+ container: string;
375
+ };
376
+ top: {
377
+ container: string;
249
378
  };
250
379
  };
251
380
  fullWidth: {
252
381
  true: {
253
- modalClass: string;
382
+ modal: string;
383
+ };
384
+ };
385
+ fullScreen: {
386
+ true: {
387
+ modal: string;
388
+ container: string;
389
+ };
390
+ };
391
+ shake: {
392
+ true: {
393
+ modal: string;
394
+ };
395
+ };
396
+ noHeader: {
397
+ true: {
398
+ header: string;
399
+ };
400
+ };
401
+ noFooter: {
402
+ true: {
403
+ footer: string;
254
404
  };
255
405
  };
256
406
  }, {
257
407
  size: {
258
408
  sm: {
259
- modalClass: string;
409
+ modal: string;
260
410
  };
261
411
  md: {
262
- modalClass: string;
412
+ modal: string;
263
413
  };
264
414
  lg: {
265
- modalClass: string;
415
+ modal: string;
266
416
  };
267
417
  xl: {
268
- modalClass: string;
418
+ modal: string;
269
419
  };
270
420
  '2xl': {
271
- modalClass: string;
421
+ modal: string;
272
422
  };
273
423
  full: {
274
- modalClass: string;
424
+ modal: string;
275
425
  };
276
426
  };
277
- isOpen: {
427
+ open: {
278
428
  true: {
279
- modalClass: string;
280
- modalOverlay: string;
281
- modalContainer: string;
429
+ modal: string;
282
430
  };
283
431
  false: {
284
- modalClass: string;
285
- modalOverlay: string;
286
- modalContainer: string;
432
+ modal: string;
433
+ };
434
+ };
435
+ placement: {
436
+ center: {
437
+ container: string;
438
+ };
439
+ top: {
440
+ container: string;
287
441
  };
288
442
  };
289
443
  fullWidth: {
290
444
  true: {
291
- modalClass: string;
445
+ modal: string;
446
+ };
447
+ };
448
+ fullScreen: {
449
+ true: {
450
+ modal: string;
451
+ container: string;
452
+ };
453
+ };
454
+ shake: {
455
+ true: {
456
+ modal: string;
457
+ };
458
+ };
459
+ noHeader: {
460
+ true: {
461
+ header: string;
462
+ };
463
+ };
464
+ noFooter: {
465
+ true: {
466
+ footer: string;
292
467
  };
293
468
  };
294
469
  }>, unknown, unknown, undefined>>;
@@ -1 +1 @@
1
- {"version":3,"file":"modal.style.d.ts","sourceRoot":"","sources":["../../../src/components/modal/modal.style.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAoGrB,CAAC"}
1
+ {"version":3,"file":"modal.style.d.ts","sourceRoot":"","sources":["../../../src/components/modal/modal.style.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCA6HrB,CAAC"}