@wrrdev/fenix-ui 1.0.11 → 1.0.13
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/README.md +2 -2
- package/dist/components/autocomplete/autocomplete.d.ts +4 -1
- package/dist/components/autocomplete/autocomplete.d.ts.map +1 -1
- package/dist/components/autocomplete/autocomplete.js +5 -0
- package/dist/components/autocomplete/autocomplete.js.map +1 -1
- package/dist/components/orderlist/orderlist.d.ts.map +1 -1
- package/dist/components/orderlist/orderlist.js +0 -1
- package/dist/components/orderlist/orderlist.js.map +1 -1
- package/dist/components/tabs/tabs.d.ts +4 -0
- package/dist/components/tabs/tabs.d.ts.map +1 -1
- package/dist/components/tabs/tabs.js +6 -0
- package/dist/components/tabs/tabs.js.map +1 -1
- package/dist/fenix-ui.umd.min.js +8 -9
- package/dist/fenix-ui2.esm.js +11 -1
- package/dist/fenix-ui2.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/fenix-ui2.esm.js
CHANGED
|
@@ -4033,6 +4033,12 @@ const _FxTabPanel = class _FxTabPanel extends FxElement {
|
|
|
4033
4033
|
get tab() {
|
|
4034
4034
|
return this.getAttr("tab");
|
|
4035
4035
|
}
|
|
4036
|
+
/** Setter necessário: o Vue (patchDOMProp) seta `tab` como PROPRIEDADE
|
|
4037
|
+
* (pois o getter existe no prototype) — sem ele o atributo nunca é
|
|
4038
|
+
* aplicado e o painel nunca é exibido. */
|
|
4039
|
+
set tab(value) {
|
|
4040
|
+
this.setAttribute("tab", value);
|
|
4041
|
+
}
|
|
4036
4042
|
get visible() {
|
|
4037
4043
|
return !this.hasAttr("hidden");
|
|
4038
4044
|
}
|
|
@@ -4735,6 +4741,11 @@ const _FxAutocomplete = class _FxAutocomplete extends FxElement {
|
|
|
4735
4741
|
return [];
|
|
4736
4742
|
}
|
|
4737
4743
|
}
|
|
4744
|
+
/** Setter necessário para o Vue (patchDOMProp seta `source` como
|
|
4745
|
+
* propriedade, pois o getter existe no prototype). */
|
|
4746
|
+
set source(value) {
|
|
4747
|
+
this.setAttribute("source", typeof value === "string" ? value : JSON.stringify(value));
|
|
4748
|
+
}
|
|
4738
4749
|
render() {
|
|
4739
4750
|
const placeholder = this.getAttr("placeholder");
|
|
4740
4751
|
this.setTemplate(`
|
|
@@ -5812,7 +5823,6 @@ _FxOrderList.styles = css`
|
|
|
5812
5823
|
@media (max-width: 640px) { .main-row { flex-direction: column; } .controls-bar { flex-direction: row; flex-wrap: wrap; justify-content: center; position: relative; } .control-group { flex-direction: row; } .control-group + .control-group { margin-top: 0; margin-left: 4px; padding-top: 0; padding-left: 4px; border-top: none; border-left: 1px solid var(--orderlist-border); } button.control-btn { width: 44px; height: 40px; } button.control-btn::after { display: none; } .list { max-height: 300px; } }
|
|
5813
5824
|
@keyframes slideIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }
|
|
5814
5825
|
.list-item { animation: slideIn 0.2s ease-out; }
|
|
5815
|
-
@media (prefers-color-scheme: dark) { :host { --orderlist-border: #334155; --orderlist-bg: #1e293b; --orderlist-bg-hover: #334155; --orderlist-text: #f1f5f9; --orderlist-text-muted: #94a3b8; --orderlist-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); } }
|
|
5816
5826
|
`;
|
|
5817
5827
|
let FxOrderList = _FxOrderList;
|
|
5818
5828
|
function esc$1(s) {
|