lituix 0.1.0 → 0.1.2
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/components.json +5 -1
- package/dist/components/lui-button.d.ts.map +1 -1
- package/dist/components/lui-card.d.ts.map +1 -1
- package/dist/components/lui-cascader.d.ts.map +1 -1
- package/dist/components/lui-datepicker.d.ts.map +1 -1
- package/dist/components/lui-select.d.ts.map +1 -1
- package/dist/components/lui-tree-select.d.ts.map +1 -1
- package/dist/index.browser.js +68 -34
- package/dist/index.browser.js.map +3 -3
- package/dist/index.cjs +97 -63
- package/dist/index.cjs.map +3 -3
- package/dist/index.mjs +195 -161
- package/dist/index.mjs.map +3 -3
- package/dist/themes/tokens.d.ts.map +1 -1
- package/llms.txt +4 -0
- package/package.json +3 -2
- package/recipes.json +111 -0
package/components.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$comment": "Generated by scripts/generate-llm-docs.mjs from source. Do not edit by hand; run pnpm docs:llm.",
|
|
3
3
|
"package": "lituix",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.2",
|
|
5
5
|
"generatedFrom": {
|
|
6
6
|
"components": "src/components",
|
|
7
7
|
"stories": "stories"
|
|
@@ -916,9 +916,11 @@
|
|
|
916
916
|
"--lui-button-hover-bg",
|
|
917
917
|
"--lui-button-hover-border",
|
|
918
918
|
"--lui-button-hover-fg",
|
|
919
|
+
"--lui-button-icon-size",
|
|
919
920
|
"--lui-button-padding-x",
|
|
920
921
|
"--lui-button-radius",
|
|
921
922
|
"--lui-button-radius-base",
|
|
923
|
+
"--lui-icon-size",
|
|
922
924
|
"--lui-spinner-thickness"
|
|
923
925
|
]
|
|
924
926
|
},
|
|
@@ -1357,7 +1359,9 @@
|
|
|
1357
1359
|
"footer",
|
|
1358
1360
|
"header",
|
|
1359
1361
|
"header-main",
|
|
1362
|
+
"header-media",
|
|
1360
1363
|
"header-side",
|
|
1364
|
+
"header-text",
|
|
1361
1365
|
"loading",
|
|
1362
1366
|
"subtitle",
|
|
1363
1367
|
"title"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lui-button.d.ts","sourceRoot":"","sources":["../../src/components/lui-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAW,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAI1E,OAAO,YAAY,CAAC;AACpB,OAAO,eAAe,CAAC;AAEvB,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AAChF,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC5C,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AAShE,qBACa,SAAU,SAAQ,UAAU;IACvC,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"lui-button.d.ts","sourceRoot":"","sources":["../../src/components/lui-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAW,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAI1E,OAAO,YAAY,CAAC;AACpB,OAAO,eAAe,CAAC;AAEvB,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AAChF,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC5C,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AAShE,qBACa,SAAU,SAAQ,UAAU;IACvC,MAAM,CAAC,MAAM,4BA0QX;IAGF,OAAO,EAAE,aAAa,CAAa;IAGnC,IAAI,EAAE,UAAU,CAAQ;IAGxB,MAAM,EAAE,YAAY,CAAQ;IAG5B,QAAQ,UAAS;IAGjB,OAAO,UAAS;IAGhB,QAAQ,UAAS;IAGjB,KAAK,UAAS;IAGd,MAAM,UAAS;IAGf,IAAI,SAAM;IAGV,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAY;IAG/C,OAAO,CAAC,QAAQ,CAAsB;IAGtC,OAAO,CAAC,cAAc,CAAS;IAG/B,OAAO,CAAC,eAAe,CAAS;IAGhC,OAAO,CAAC,cAAc,CAAS;IAE/B,OAAO,CAAC,SAAS,CAAK;IAEtB,OAAO,CAAC,cAAc,CAAqB;IAE3C,iBAAiB,IAAI,IAAI;IAKzB,SAAS,CAAC,UAAU,CAAC,kBAAkB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAsBpE,OAAO,CAAC,cAAc,CAepB;IAEF,OAAO,CAAC,eAAe;IASvB,OAAO,CAAC,mBAAmB,CAEzB;IAEF,OAAO,CAAC,oBAAoB,CAE1B;IAEF,OAAO,CAAC,mBAAmB,CAEzB;IAEF,MAAM;CA+CP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,YAAY,EAAE,SAAS,CAAC;KACzB;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lui-card.d.ts","sourceRoot":"","sources":["../../src/components/lui-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAW,MAAM,KAAK,CAAC;AAGrD,OAAO,EAAgD,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC;AAClG,OAAO,eAAe,CAAC;AAEvB,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACrD,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE1C,qBACa,OAAQ,SAAQ,UAAU;IACrC,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"lui-card.d.ts","sourceRoot":"","sources":["../../src/components/lui-card.ts"],"names":[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iB,CAevB;IAEF,OAAO,CAAC,MAAM,CAIZ;IAEF,MAAM;CAwGP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,WAAW,CAAC;KAC7B;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lui-datepicker.d.ts","sourceRoot":"","sources":["../../src/components/lui-datepicker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAW,MAAM,KAAK,CAAC;AAOrD,OAAO,EAAgD,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC;AAGlG,OAAO,kCAAkC,CAAC;AAE1C,OAAO,YAAY,CAAC;AAEpB,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC;AAC1D,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAChD,MAAM,MAAM,uBAAuB,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEzD,qBACa,aAAc,SAAQ,UAAU;IAC3C,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"lui-datepicker.d.ts","sourceRoot":"","sources":["../../src/components/lui-datepicker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAW,MAAM,KAAK,CAAC;AAOrD,OAAO,EAAgD,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC;AAGlG,OAAO,kCAAkC,CAAC;AAE1C,OAAO,YAAY,CAAC;AAEpB,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC;AAC1D,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAChD,MAAM,MAAM,uBAAuB,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEzD,qBACa,aAAc,SAAQ,UAAU;IAC3C,MAAM,CAAC,MAAM,4BAuFX;IAGF,KAAK,SAAM;IAGX,aAAa,EAAE,uBAAuB,CAAY;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
|
package/dist/index.browser.js
CHANGED
|
@@ -109,22 +109,20 @@
|
|
|
109
109
|
|
|
110
110
|
/* Input focus rings
|
|
111
111
|
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
* No dark-theme variants needed:
|
|
118
|
-
* --lui-color-primary /
|
|
112
|
+
* A single soft outer glow hugging the control's own border, not a second
|
|
113
|
+
* frame: the earlier two-layer ring -- an inset line plus a 1px halo -- sat
|
|
114
|
+
* flush against the primary 1px border and read as one blurry double
|
|
115
|
+
* border. Every text-like control -- input, textarea, input-number,
|
|
116
|
+
* input-opt, select, datepicker, colour picker, icon picker -- reads these
|
|
117
|
+
* instead of restating the color-mix pairs. No dark-theme variants needed:
|
|
118
|
+
* the mixes resolve against the themed --lui-color-primary /
|
|
119
|
+
* --lui-color-danger. */
|
|
119
120
|
--lui-ring-focus:
|
|
120
|
-
|
|
121
|
-
0 0 0 1px color-mix(in srgb, var(--lui-color-primary) 14%, transparent);
|
|
121
|
+
0 0 0 2px color-mix(in srgb, var(--lui-color-primary) 10%, transparent);
|
|
122
122
|
--lui-ring-invalid:
|
|
123
|
-
|
|
124
|
-
0 0 0 1px color-mix(in srgb, var(--lui-color-danger) 10%, transparent);
|
|
123
|
+
0 0 0 2px color-mix(in srgb, var(--lui-color-danger) 8%, transparent);
|
|
125
124
|
--lui-ring-invalid-focus:
|
|
126
|
-
|
|
127
|
-
0 0 0 1px color-mix(in srgb, var(--lui-color-danger) 14%, transparent);
|
|
125
|
+
0 0 0 2px color-mix(in srgb, var(--lui-color-danger) 12%, transparent);
|
|
128
126
|
|
|
129
127
|
/* Scrim behind floating surfaces */
|
|
130
128
|
--lui-color-scrim: rgba(0, 0, 0, 0.42);
|
|
@@ -505,6 +503,9 @@
|
|
|
505
503
|
--lui-button-padding-x: 16px;
|
|
506
504
|
--lui-button-font-size: var(--lui-font-size-sm);
|
|
507
505
|
--lui-button-gap: 8px;
|
|
506
|
+
/* Public override for icon glyph size inside prefix / suffix / icon-only.
|
|
507
|
+
* Falls back to the global --lui-icon-size so existing themes keep working. */
|
|
508
|
+
--lui-button-icon-size: var(--lui-icon-size, 18px);
|
|
508
509
|
}
|
|
509
510
|
:host([block]) {
|
|
510
511
|
display: flex;
|
|
@@ -640,7 +641,8 @@
|
|
|
640
641
|
align-items: center;
|
|
641
642
|
justify-content: center;
|
|
642
643
|
flex-shrink: 0;
|
|
643
|
-
|
|
644
|
+
--lui-icon-size: var(--lui-button-icon-size);
|
|
645
|
+
font-size: var(--lui-button-icon-size);
|
|
644
646
|
line-height: 1;
|
|
645
647
|
}
|
|
646
648
|
button:hover:not(:disabled) {
|
|
@@ -734,7 +736,8 @@
|
|
|
734
736
|
gap: 0;
|
|
735
737
|
}
|
|
736
738
|
:host([icon-only]) ::slotted(lui-icon) {
|
|
737
|
-
|
|
739
|
+
--lui-icon-size: var(--lui-button-icon-size);
|
|
740
|
+
font-size: var(--lui-button-icon-size);
|
|
738
741
|
}
|
|
739
742
|
|
|
740
743
|
/* Geometry and animation live in lui-spinner; this only sets the hairline
|
|
@@ -1151,7 +1154,7 @@
|
|
|
1151
1154
|
--lui-radius-sm: var(--lui-radius-sm, 8px);
|
|
1152
1155
|
--lui-shadow: var(--lui-shadow, 0 4px 12px color-mix(in srgb, CanvasText 14%, transparent));
|
|
1153
1156
|
--lui-shadow-overlay: var(--lui-shadow-overlay, 0 4px 12px color-mix(in srgb, CanvasText 10%, transparent), 0 1px 3px color-mix(in srgb, CanvasText 7%, transparent));
|
|
1154
|
-
--lui-ring-focus: var(--lui-ring-focus,
|
|
1157
|
+
--lui-ring-focus: var(--lui-ring-focus, 0 0 0 2px color-mix(in srgb, Highlight 10%, transparent));
|
|
1155
1158
|
--lui-font-size-sm: var(--lui-font-size-sm, 13px);
|
|
1156
1159
|
}
|
|
1157
1160
|
|
|
@@ -3004,7 +3007,10 @@
|
|
|
3004
3007
|
[part="trigger"][data-has-clear] {
|
|
3005
3008
|
padding-inline-end: var(--lui-control-gutter-2);
|
|
3006
3009
|
}
|
|
3007
|
-
|
|
3010
|
+
/* Hover must yield to the activated states: this selector outranks .open
|
|
3011
|
+
* and :focus-visible, so without the exclusions a hovered open trigger
|
|
3012
|
+
* showed the gray hover border under the blue focus ring. */
|
|
3013
|
+
[part="trigger"]:hover:not(.disabled):not(:focus-visible):not(.open) {
|
|
3008
3014
|
border-color: var(
|
|
3009
3015
|
--lui-select-hover-border,
|
|
3010
3016
|
var(--lui-color-border-strong)
|
|
@@ -6143,7 +6149,7 @@
|
|
|
6143
6149
|
margin: 0 auto 8px;
|
|
6144
6150
|
color: var(--lui-color-fg-subtle);
|
|
6145
6151
|
}
|
|
6146
|
-
`],s([h({attribute:!1})],Te.prototype,"nodes",2),s([h({attribute:!1})],Te.prototype,"expandedKeys",2),s([h({attribute:!1})],Te.prototype,"defaultExpandedKeys",2),s([h({attribute:"selected-key"})],Te.prototype,"selectedKey",2),s([h({attribute:!1})],Te.prototype,"selectedKeys",2),s([h({attribute:!1})],Te.prototype,"checkedKeys",2),s([h({attribute:!1})],Te.prototype,"defaultCheckedKeys",2),s([h({attribute:!1})],Te.prototype,"loadingKeys",2),s([h({attribute:!1})],Te.prototype,"childrenLoader",2),s([h({reflect:!0})],Te.prototype,"size",2),s([h()],Te.prototype,"label",2),s([h({attribute:"empty-text"})],Te.prototype,"emptyText",2),s([h({attribute:"expand-trigger"})],Te.prototype,"expandTrigger",2),s([h({type:Boolean,attribute:"show-guides"})],Te.prototype,"showGuides",2),s([h({attribute:"selection-mode"})],Te.prototype,"selectionMode",2),s([h({type:Boolean,attribute:"check-strictly"})],Te.prototype,"checkStrictly",2),s([h({type:Boolean,attribute:"load-on-expand"})],Te.prototype,"loadOnExpand",2),s([h({type:Boolean})],Te.prototype,"filterable",2),s([h({attribute:"filter-value"})],Te.prototype,"filterValue",2),s([h({attribute:"filter-placeholder"})],Te.prototype,"filterPlaceholder",2),s([h({type:Boolean,attribute:"draggable-nodes"})],Te.prototype,"draggableNodes",2),s([h({type:Boolean,attribute:"drag-leaf-only"})],Te.prototype,"dragLeafOnly",2),s([h({type:Boolean,attribute:"drop-same-level-only"})],Te.prototype,"dropSameLevelOnly",2),s([h({type:Boolean,attribute:"drag-handle"})],Te.prototype,"dragHandle",2),s([h({type:Boolean})],Te.prototype,"virtual",2),s([h({type:Number,attribute:"virtual-threshold"})],Te.prototype,"virtualThreshold",2),s([h({attribute:!1})],Te.prototype,"contextMenuItems",2),s([h({attribute:!1})],Te.prototype,"dragFilter",2),s([h({attribute:!1})],Te.prototype,"dropFilter",2),s([Y()],Te.prototype,"_innerExpanded",2),s([Y()],Te.prototype,"_innerSelected",2),s([Y()],Te.prototype,"_innerChecked",2),s([Y()],Te.prototype,"_innerLoading",2),s([Y()],Te.prototype,"_activeKey",2),s([Y()],Te.prototype,"_dragKey",2),s([Y()],Te.prototype,"_dropKey",2),s([Y()],Te.prototype,"_dropPosition",2),s([G("lui-context-menu.internal-context-menu")],Te.prototype,"_contextMenuEl",2),Te=s([N("lui-tree")],Te);var Dt=class extends L{constructor(){super(...arguments);this.title="";this.subtitle="";this.hoverable=!1;this.compact=!1;this.size="md";this.borderless=!1;this.shadow="none";this.clickable=!1;this.selected=!1;this.loading=!1;this.dividerless=!1;this.coverRatio="";this._onKeyDown=e=>{!this.clickable||this.loading||e.key!=="Enter"&&e.key!==" "||(e.preventDefault(),this.click())}}connectedCallback(){super.connectedCallback(),this._disposeLocaleChange=Ie(()=>this.requestUpdate()),this._lightDomObserver=new MutationObserver(()=>this.requestUpdate()),this._lightDomObserver.observe(this,{childList:!0,subtree:!1,attributes:!0,attributeFilter:["slot"]})}disconnectedCallback(){this._disposeLocaleChange?.(),this._disposeLocaleChange=void 0,this._lightDomObserver?.disconnect(),this._lightDomObserver=void 0,super.disconnectedCallback()}_hasSlot(e){return Array.from(this.children).some(t=>t.getAttribute("slot")===e)}_t(e,t){return Me(_e(this.locale,this.translations),e,t)}render(){let e=this._hasSlot("header"),t=this._hasSlot("footer"),i=this._hasSlot("cover"),n=this._hasSlot("extra"),a=this._hasSlot("actions"),l=e||!!this.title||!!this.subtitle,
|
|
6152
|
+
`],s([h({attribute:!1})],Te.prototype,"nodes",2),s([h({attribute:!1})],Te.prototype,"expandedKeys",2),s([h({attribute:!1})],Te.prototype,"defaultExpandedKeys",2),s([h({attribute:"selected-key"})],Te.prototype,"selectedKey",2),s([h({attribute:!1})],Te.prototype,"selectedKeys",2),s([h({attribute:!1})],Te.prototype,"checkedKeys",2),s([h({attribute:!1})],Te.prototype,"defaultCheckedKeys",2),s([h({attribute:!1})],Te.prototype,"loadingKeys",2),s([h({attribute:!1})],Te.prototype,"childrenLoader",2),s([h({reflect:!0})],Te.prototype,"size",2),s([h()],Te.prototype,"label",2),s([h({attribute:"empty-text"})],Te.prototype,"emptyText",2),s([h({attribute:"expand-trigger"})],Te.prototype,"expandTrigger",2),s([h({type:Boolean,attribute:"show-guides"})],Te.prototype,"showGuides",2),s([h({attribute:"selection-mode"})],Te.prototype,"selectionMode",2),s([h({type:Boolean,attribute:"check-strictly"})],Te.prototype,"checkStrictly",2),s([h({type:Boolean,attribute:"load-on-expand"})],Te.prototype,"loadOnExpand",2),s([h({type:Boolean})],Te.prototype,"filterable",2),s([h({attribute:"filter-value"})],Te.prototype,"filterValue",2),s([h({attribute:"filter-placeholder"})],Te.prototype,"filterPlaceholder",2),s([h({type:Boolean,attribute:"draggable-nodes"})],Te.prototype,"draggableNodes",2),s([h({type:Boolean,attribute:"drag-leaf-only"})],Te.prototype,"dragLeafOnly",2),s([h({type:Boolean,attribute:"drop-same-level-only"})],Te.prototype,"dropSameLevelOnly",2),s([h({type:Boolean,attribute:"drag-handle"})],Te.prototype,"dragHandle",2),s([h({type:Boolean})],Te.prototype,"virtual",2),s([h({type:Number,attribute:"virtual-threshold"})],Te.prototype,"virtualThreshold",2),s([h({attribute:!1})],Te.prototype,"contextMenuItems",2),s([h({attribute:!1})],Te.prototype,"dragFilter",2),s([h({attribute:!1})],Te.prototype,"dropFilter",2),s([Y()],Te.prototype,"_innerExpanded",2),s([Y()],Te.prototype,"_innerSelected",2),s([Y()],Te.prototype,"_innerChecked",2),s([Y()],Te.prototype,"_innerLoading",2),s([Y()],Te.prototype,"_activeKey",2),s([Y()],Te.prototype,"_dragKey",2),s([Y()],Te.prototype,"_dropKey",2),s([Y()],Te.prototype,"_dropPosition",2),s([G("lui-context-menu.internal-context-menu")],Te.prototype,"_contextMenuEl",2),Te=s([N("lui-tree")],Te);var Dt=class extends L{constructor(){super(...arguments);this.title="";this.subtitle="";this.hoverable=!1;this.compact=!1;this.size="md";this.borderless=!1;this.shadow="none";this.clickable=!1;this.selected=!1;this.loading=!1;this.dividerless=!1;this.coverRatio="";this._onKeyDown=e=>{!this.clickable||this.loading||e.key!=="Enter"&&e.key!==" "||(e.preventDefault(),this.click())}}connectedCallback(){super.connectedCallback(),this._disposeLocaleChange=Ie(()=>this.requestUpdate()),this._lightDomObserver=new MutationObserver(()=>this.requestUpdate()),this._lightDomObserver.observe(this,{childList:!0,subtree:!1,attributes:!0,attributeFilter:["slot"]})}disconnectedCallback(){this._disposeLocaleChange?.(),this._disposeLocaleChange=void 0,this._lightDomObserver?.disconnect(),this._lightDomObserver=void 0,super.disconnectedCallback()}_hasSlot(e){return Array.from(this.children).some(t=>t.getAttribute("slot")===e)}_t(e,t){return Me(_e(this.locale,this.translations),e,t)}render(){let e=this._hasSlot("header"),t=this._hasSlot("footer"),i=this._hasSlot("cover"),n=this._hasSlot("extra"),a=this._hasSlot("actions"),l=this._hasSlot("media"),d=this._hasSlot("title"),p=e||l||d||!!this.title||!!this.subtitle,m=n||a,v=p||m,k=["cover",i&&this.coverRatio?"ratio":""].filter(Boolean).join(" ");return b`
|
|
6147
6153
|
<article
|
|
6148
6154
|
class="card"
|
|
6149
6155
|
part="card"
|
|
@@ -6155,19 +6161,22 @@
|
|
|
6155
6161
|
aria-busy=${this.loading?"true":"false"}
|
|
6156
6162
|
@keydown=${this._onKeyDown}
|
|
6157
6163
|
>
|
|
6158
|
-
${i?b`<div class=${
|
|
6164
|
+
${i?b`<div class=${k} part="cover"><slot name="cover"></slot></div>`:_}
|
|
6159
6165
|
|
|
6160
|
-
${
|
|
6161
|
-
<div class="header ${
|
|
6162
|
-
${
|
|
6166
|
+
${v?b`
|
|
6167
|
+
<div class="header ${p?"":"header-only-side"}" part="header">
|
|
6168
|
+
${p?b`
|
|
6163
6169
|
<div class="header-main ${e?"custom":""}" part="header-main">
|
|
6164
|
-
${
|
|
6165
|
-
|
|
6166
|
-
|
|
6167
|
-
|
|
6170
|
+
${l?b`<div class="header-media" part="header-media"><slot name="media"></slot></div>`:_}
|
|
6171
|
+
<div class="header-text" part="header-text">
|
|
6172
|
+
${e?b`<slot name="header"></slot>`:d?b`<slot name="title"></slot>`:b`
|
|
6173
|
+
${this.title?b`<div class="title" part="title">${this.title}</div>`:_}
|
|
6174
|
+
${this.subtitle?b`<div class="subtitle" part="subtitle">${this.subtitle}</div>`:_}
|
|
6175
|
+
`}
|
|
6176
|
+
</div>
|
|
6168
6177
|
</div>
|
|
6169
6178
|
`:_}
|
|
6170
|
-
${
|
|
6179
|
+
${m?b`
|
|
6171
6180
|
<div class="header-side" part="header-side">
|
|
6172
6181
|
${n?b`<slot name="extra"></slot>`:_}
|
|
6173
6182
|
${a?b`
|
|
@@ -6327,17 +6336,35 @@
|
|
|
6327
6336
|
min-width: 0;
|
|
6328
6337
|
flex: 1;
|
|
6329
6338
|
display: flex;
|
|
6330
|
-
flex-direction:
|
|
6331
|
-
|
|
6339
|
+
flex-direction: row;
|
|
6340
|
+
align-items: center;
|
|
6341
|
+
gap: var(--lui-card-media-gap, 10px);
|
|
6332
6342
|
}
|
|
6333
6343
|
.header-main.custom {
|
|
6334
6344
|
gap: 0;
|
|
6335
6345
|
}
|
|
6336
|
-
.header-
|
|
6346
|
+
.header-text {
|
|
6347
|
+
min-width: 0;
|
|
6348
|
+
flex: 1;
|
|
6349
|
+
display: flex;
|
|
6350
|
+
flex-direction: column;
|
|
6351
|
+
gap: 4px;
|
|
6352
|
+
}
|
|
6353
|
+
.header-media {
|
|
6354
|
+
flex: none;
|
|
6355
|
+
display: inline-flex;
|
|
6356
|
+
align-items: center;
|
|
6357
|
+
justify-content: center;
|
|
6358
|
+
min-width: 0;
|
|
6359
|
+
}
|
|
6360
|
+
.header-media:empty {
|
|
6361
|
+
display: none;
|
|
6362
|
+
}
|
|
6363
|
+
.header-text slot[name="header"] {
|
|
6337
6364
|
display: block;
|
|
6338
6365
|
min-width: 0;
|
|
6339
6366
|
}
|
|
6340
|
-
.header-
|
|
6367
|
+
.header-text slot[name="header"]::slotted(*) {
|
|
6341
6368
|
display: block;
|
|
6342
6369
|
max-width: 100%;
|
|
6343
6370
|
}
|
|
@@ -10695,7 +10722,10 @@
|
|
|
10695
10722
|
.wrapper {
|
|
10696
10723
|
min-height: var(--lui-input-height, var(--lui-control-height, 38px));
|
|
10697
10724
|
}
|
|
10698
|
-
|
|
10725
|
+
/* :not(.focused) mirrors lui-input: this selector outranks .focused below,
|
|
10726
|
+
* so without the exclusion a hovered focused field flipped to the gray
|
|
10727
|
+
* hover border under the blue focus ring. */
|
|
10728
|
+
.wrapper:hover:not(.disabled):not(.focused) {
|
|
10699
10729
|
border-color: var(--lui-color-border-strong);
|
|
10700
10730
|
}
|
|
10701
10731
|
.wrapper.focused {
|
|
@@ -13995,7 +14025,9 @@
|
|
|
13995
14025
|
[part="trigger"][data-has-clear] {
|
|
13996
14026
|
padding-inline-end: var(--lui-control-gutter-2);
|
|
13997
14027
|
}
|
|
13998
|
-
|
|
14028
|
+
/* :not(:focus-visible):not(.open) keeps hover from out-ranking the
|
|
14029
|
+
* activated border below; the hover selector otherwise wins on specificity. */
|
|
14030
|
+
[part="trigger"]:hover:not(.disabled):not(:focus-visible):not(.open) {
|
|
13999
14031
|
border-color: var(--lui-color-border-strong);
|
|
14000
14032
|
}
|
|
14001
14033
|
[part="trigger"].open:not(.disabled),
|
|
@@ -14165,7 +14197,9 @@
|
|
|
14165
14197
|
flex-wrap: wrap;
|
|
14166
14198
|
height: auto;
|
|
14167
14199
|
}
|
|
14168
|
-
|
|
14200
|
+
/* :not(:focus-visible):not(.open) keeps hover from out-ranking the
|
|
14201
|
+
* activated border below; the hover selector otherwise wins on specificity. */
|
|
14202
|
+
[part="trigger"]:hover:not(.disabled):not(:focus-visible):not(.open) {
|
|
14169
14203
|
border-color: var(--lui-color-border-strong);
|
|
14170
14204
|
}
|
|
14171
14205
|
[part="trigger"].open:not(.disabled) {
|