@lmvz-ds/components 0.28.0 → 0.28.1
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/CHANGELOG.md +6 -0
- package/assets/icons/chevron-down.svg +1 -1
- package/cjs/{ds.constants-CN0zFjB7.js → ds.constants-JXqgKnXL.js} +3 -0
- package/cjs/index.cjs.js +2 -1
- package/cjs/lmvz-chip.cjs.entry.js +1 -1
- package/cjs/lmvz-components.cjs.js +1 -1
- package/cjs/lmvz-select.cjs.entry.js +4 -4
- package/cjs/lmvz-snackbar.cjs.entry.js +1 -1
- package/cjs/lmvz-spinner.cjs.entry.js +1 -1
- package/cjs/lmvz-tab.cjs.entry.js +1 -1
- package/cjs/lmvz-tabs.cjs.entry.js +1 -1
- package/cjs/lmvz-toggle.cjs.entry.js +1 -1
- package/cjs/loader.cjs.js +1 -1
- package/collection/api/ds.constants.js +1 -0
- package/collection/assets/icons/chevron-down.svg +1 -1
- package/collection/components/lmvz-select/lmvz-select.css +61 -16
- package/collection/components/lmvz-select/lmvz-select.js +53 -2
- package/collection/components/lmvz-snackbar/lmvz-snackbar.js +1 -1
- package/collection/components/lmvz-spinner/lmvz-spinner.js +1 -1
- package/collection/components/lmvz-tab/lmvz-tab.js +1 -1
- package/collection/components/lmvz-tabs/lmvz-tabs.js +1 -1
- package/collection/components/lmvz-toggle/lmvz-toggle.js +1 -1
- package/collection/index.js +1 -1
- package/collection/integration/header-integration/header-integration.js +1 -1
- package/components/index.js +1 -1
- package/components/lmvz-chip.js +1 -1
- package/components/lmvz-select.js +1 -1
- package/components/lmvz-snackbar.js +1 -1
- package/components/lmvz-spinner.js +1 -1
- package/components/lmvz-tab.js +1 -1
- package/components/lmvz-tabs.js +1 -1
- package/components/lmvz-toggle.js +1 -1
- package/esm/{ds.constants-BTa7u4To.js → ds.constants-DWePb-zu.js} +3 -1
- package/esm/index.js +1 -1
- package/esm/lmvz-chip.entry.js +1 -1
- package/esm/lmvz-components.js +1 -1
- package/esm/lmvz-select.entry.js +4 -4
- package/esm/lmvz-snackbar.entry.js +1 -1
- package/esm/lmvz-spinner.entry.js +1 -1
- package/esm/lmvz-tab.entry.js +1 -1
- package/esm/lmvz-tabs.entry.js +1 -1
- package/esm/lmvz-toggle.entry.js +1 -1
- package/esm/loader.js +1 -1
- package/hydrate/index.js +12 -10
- package/hydrate/index.mjs +12 -10
- package/lmvz-components/index.esm.js +1 -1
- package/lmvz-components/lmvz-components.esm.js +1 -1
- package/lmvz-components/{p-e672c0fa.entry.js → p-211ee69d.entry.js} +1 -1
- package/lmvz-components/{p-fdb8de66.entry.js → p-4484ab62.entry.js} +1 -1
- package/lmvz-components/{p-80c6ec27.entry.js → p-5ace2c2d.entry.js} +1 -1
- package/lmvz-components/{p-98e3e85a.entry.js → p-5fcc6f84.entry.js} +1 -1
- package/lmvz-components/{p-85b0b718.entry.js → p-61752dcd.entry.js} +1 -1
- package/lmvz-components/{p-02e8e45a.entry.js → p-8b4740bb.entry.js} +1 -1
- package/lmvz-components/p-DWePb-zu.js +1 -0
- package/lmvz-components/p-dc28c6d8.entry.js +1 -0
- package/manifest.json +81 -2
- package/package.json +1 -1
- package/types/api/ds.constants.d.ts +4 -0
- package/types/components/lmvz-select/lmvz-select.d.ts +3 -0
- package/types/components.d.ts +28 -0
- package/types/index.d.ts +1 -1
- package/lmvz-components/p-6a1c3088.entry.js +0 -1
- package/lmvz-components/p-BTa7u4To.js +0 -1
package/manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-06-
|
|
2
|
+
"timestamp": "2026-06-15T10:54:33",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.43.5",
|
|
@@ -6597,7 +6597,7 @@
|
|
|
6597
6597
|
"filePath": "src/components/lmvz-select/lmvz-select.tsx",
|
|
6598
6598
|
"encapsulation": "scoped",
|
|
6599
6599
|
"tag": "lmvz-select",
|
|
6600
|
-
"readme": "# lmvz-select\n\n\n",
|
|
6600
|
+
"readme": "# lmvz-select\n\n## Props\n\n### `size`\n\n- Type: `'small' | 'default' | 'large'`\n- Default: `'default'`\n\nControls the visual height variant of the select field. Use `small` for compact layouts, `default` for standard use, and `large` for emphasis.\n\n### `highlighted`\n\n- Type: `boolean`\n- Default: `false`\n\nIndicates that an active filter or selection applies (e.g., a filter chip is active). When `true`:\n- The host attribute `[highlighted]` is present for CSS styling (`:host([highlighted])`).\n- The host attribute `data-highlighted=\"true\"` is set for assistive-technology consumers.\n\nWhen `false`, `data-highlighted=\"false\"` is set. Note that `aria-pressed` and `aria-selected` are not used here; they conflict with native `<select>` semantics. The `data-highlighted` attribute provides the accessible contract.\n",
|
|
6601
6601
|
"docs": "Select component with floating label and pill-shaped trigger.\nWraps a native `<select>` element for full keyboard and form support.",
|
|
6602
6602
|
"docsTags": [
|
|
6603
6603
|
{
|
|
@@ -6670,6 +6670,35 @@
|
|
|
6670
6670
|
"getter": false,
|
|
6671
6671
|
"setter": false
|
|
6672
6672
|
},
|
|
6673
|
+
{
|
|
6674
|
+
"name": "highlighted",
|
|
6675
|
+
"type": "boolean",
|
|
6676
|
+
"complexType": {
|
|
6677
|
+
"original": "boolean",
|
|
6678
|
+
"resolved": "boolean",
|
|
6679
|
+
"references": {}
|
|
6680
|
+
},
|
|
6681
|
+
"mutable": false,
|
|
6682
|
+
"attr": "highlighted",
|
|
6683
|
+
"reflectToAttr": true,
|
|
6684
|
+
"docs": "Whether the select has an active filter or selection that should be visually\ndistinguished (e.g. a filter chip is applied).\n\nWhen `true`:\n- The host attribute `highlighted` is present (CSS: `:host([highlighted])`).\n- The host attribute `data-highlighted=\"true\"` is set for assistive-technology\n consumers that observe data attributes. When `false`, `data-highlighted` is\n set to `\"false\"`.\n\nNote: `aria-pressed` and `aria-selected` are intentionally not used here.\n`aria-pressed` is reserved for toggle-button roles; `aria-selected` is\nreserved for option/listbox roles. The `data-highlighted` attribute provides\nthe accessible contract without conflicting with native `<select>` semantics.",
|
|
6685
|
+
"docsTags": [
|
|
6686
|
+
{
|
|
6687
|
+
"name": "default",
|
|
6688
|
+
"text": "false"
|
|
6689
|
+
}
|
|
6690
|
+
],
|
|
6691
|
+
"default": "false",
|
|
6692
|
+
"values": [
|
|
6693
|
+
{
|
|
6694
|
+
"type": "boolean"
|
|
6695
|
+
}
|
|
6696
|
+
],
|
|
6697
|
+
"optional": false,
|
|
6698
|
+
"required": false,
|
|
6699
|
+
"getter": false,
|
|
6700
|
+
"setter": false
|
|
6701
|
+
},
|
|
6673
6702
|
{
|
|
6674
6703
|
"name": "label",
|
|
6675
6704
|
"type": "string",
|
|
@@ -6748,6 +6777,51 @@
|
|
|
6748
6777
|
"getter": false,
|
|
6749
6778
|
"setter": false
|
|
6750
6779
|
},
|
|
6780
|
+
{
|
|
6781
|
+
"name": "size",
|
|
6782
|
+
"type": "\"default\" | \"large\" | \"small\"",
|
|
6783
|
+
"complexType": {
|
|
6784
|
+
"original": "Select.Size",
|
|
6785
|
+
"resolved": "\"default\" | \"large\" | \"small\"",
|
|
6786
|
+
"references": {
|
|
6787
|
+
"Select": {
|
|
6788
|
+
"location": "import",
|
|
6789
|
+
"path": "../../api",
|
|
6790
|
+
"id": "src/api/index.d.ts::Select",
|
|
6791
|
+
"referenceLocation": "Select"
|
|
6792
|
+
}
|
|
6793
|
+
}
|
|
6794
|
+
},
|
|
6795
|
+
"mutable": false,
|
|
6796
|
+
"attr": "size",
|
|
6797
|
+
"reflectToAttr": true,
|
|
6798
|
+
"docs": "Visual size variant of the select field.\n- `small` — compact height\n- `default` — standard height (default)\n- `large` — increased height",
|
|
6799
|
+
"docsTags": [
|
|
6800
|
+
{
|
|
6801
|
+
"name": "default",
|
|
6802
|
+
"text": "'default'"
|
|
6803
|
+
}
|
|
6804
|
+
],
|
|
6805
|
+
"default": "'default'",
|
|
6806
|
+
"values": [
|
|
6807
|
+
{
|
|
6808
|
+
"value": "default",
|
|
6809
|
+
"type": "string"
|
|
6810
|
+
},
|
|
6811
|
+
{
|
|
6812
|
+
"value": "large",
|
|
6813
|
+
"type": "string"
|
|
6814
|
+
},
|
|
6815
|
+
{
|
|
6816
|
+
"value": "small",
|
|
6817
|
+
"type": "string"
|
|
6818
|
+
}
|
|
6819
|
+
],
|
|
6820
|
+
"optional": false,
|
|
6821
|
+
"required": false,
|
|
6822
|
+
"getter": false,
|
|
6823
|
+
"setter": false
|
|
6824
|
+
},
|
|
6751
6825
|
{
|
|
6752
6826
|
"name": "value",
|
|
6753
6827
|
"type": "string | undefined",
|
|
@@ -7939,6 +8013,11 @@
|
|
|
7939
8013
|
"docstring": "",
|
|
7940
8014
|
"path": "src/api/index.d.ts"
|
|
7941
8015
|
},
|
|
8016
|
+
"src/api/index.d.ts::Select": {
|
|
8017
|
+
"declaration": "any",
|
|
8018
|
+
"docstring": "",
|
|
8019
|
+
"path": "src/api/index.d.ts"
|
|
8020
|
+
},
|
|
7942
8021
|
"src/api/index.d.ts::Snackbar": {
|
|
7943
8022
|
"declaration": "any",
|
|
7944
8023
|
"docstring": "",
|
package/package.json
CHANGED
|
@@ -4,6 +4,7 @@ export declare const sizes: readonly ["xs", "sm", "md", "lg"];
|
|
|
4
4
|
export declare const textSizes: readonly ["xs", "sm", "md", "lg", "xl"];
|
|
5
5
|
export declare const inputTypes: readonly ["text", "email", "password", "tel", "url", "search", "number"];
|
|
6
6
|
export declare const inputSizes: readonly ["sm", "md", "lg"];
|
|
7
|
+
export declare const selectSizes: readonly ["small", "default", "large"];
|
|
7
8
|
export declare const iconSizes: readonly ["xs", "sm", "md", "lg", "inherit"];
|
|
8
9
|
export declare const iconWeights: readonly ["thin", "medium", "bold"];
|
|
9
10
|
export declare const chipTypes: readonly ["active", "warning", "success", "error", "neutral"];
|
|
@@ -34,6 +35,9 @@ export declare namespace Input {
|
|
|
34
35
|
type Inputmode = 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
35
36
|
type Autocapitalize = 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
|
|
36
37
|
}
|
|
38
|
+
export declare namespace Select {
|
|
39
|
+
type Size = (typeof selectSizes)[number];
|
|
40
|
+
}
|
|
37
41
|
export declare const messageTypes: readonly ["neutral", "warning"];
|
|
38
42
|
export declare namespace Message {
|
|
39
43
|
type Type = (typeof messageTypes)[number];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import type { Select } from '../../api';
|
|
2
3
|
import { type AriaValidationHost } from '../../utils/aria/aria-validation-controller';
|
|
3
4
|
import { ReactiveControllerHost } from '../../utils/reactive-controller-host';
|
|
4
5
|
export declare class LmvzSelect extends ReactiveControllerHost implements AriaValidationHost {
|
|
@@ -14,6 +15,8 @@ export declare class LmvzSelect extends ReactiveControllerHost implements AriaVa
|
|
|
14
15
|
disabled: boolean;
|
|
15
16
|
required: boolean;
|
|
16
17
|
name?: string;
|
|
18
|
+
size: Select.Size;
|
|
19
|
+
highlighted: boolean;
|
|
17
20
|
private selectedLabel;
|
|
18
21
|
private get hasValue();
|
|
19
22
|
componentDidLoad(): void;
|
package/types/components.d.ts
CHANGED
|
@@ -536,6 +536,11 @@ export declare namespace Components {
|
|
|
536
536
|
* Helper text displayed below the select field.
|
|
537
537
|
*/
|
|
538
538
|
"helperText"?: string;
|
|
539
|
+
/**
|
|
540
|
+
* Whether the select has an active filter or selection that should be visually distinguished (e.g. a filter chip is applied). When `true`: - The host attribute `highlighted` is present (CSS: `:host([highlighted])`). - The host attribute `data-highlighted="true"` is set for assistive-technology consumers that observe data attributes. When `false`, `data-highlighted` is set to `"false"`. Note: `aria-pressed` and `aria-selected` are intentionally not used here. `aria-pressed` is reserved for toggle-button roles; `aria-selected` is reserved for option/listbox roles. The `data-highlighted` attribute provides the accessible contract without conflicting with native `<select>` semantics.
|
|
541
|
+
* @default false
|
|
542
|
+
*/
|
|
543
|
+
"highlighted": boolean;
|
|
539
544
|
/**
|
|
540
545
|
* Label text displayed as a placeholder when no value is selected, and floated above the trigger when a value is present.
|
|
541
546
|
*/
|
|
@@ -549,6 +554,11 @@ export declare namespace Components {
|
|
|
549
554
|
* @default false
|
|
550
555
|
*/
|
|
551
556
|
"required": boolean;
|
|
557
|
+
/**
|
|
558
|
+
* Visual size variant of the select field. - `small` — compact height - `default` — standard height (default) - `large` — increased height
|
|
559
|
+
* @default 'default'
|
|
560
|
+
*/
|
|
561
|
+
"size": Select.Size;
|
|
552
562
|
/**
|
|
553
563
|
* Currently selected value.
|
|
554
564
|
*/
|
|
@@ -1255,6 +1265,11 @@ export declare namespace JSX {
|
|
|
1255
1265
|
* Helper text displayed below the select field.
|
|
1256
1266
|
*/
|
|
1257
1267
|
"helperText"?: string;
|
|
1268
|
+
/**
|
|
1269
|
+
* Whether the select has an active filter or selection that should be visually distinguished (e.g. a filter chip is applied). When `true`: - The host attribute `highlighted` is present (CSS: `:host([highlighted])`). - The host attribute `data-highlighted="true"` is set for assistive-technology consumers that observe data attributes. When `false`, `data-highlighted` is set to `"false"`. Note: `aria-pressed` and `aria-selected` are intentionally not used here. `aria-pressed` is reserved for toggle-button roles; `aria-selected` is reserved for option/listbox roles. The `data-highlighted` attribute provides the accessible contract without conflicting with native `<select>` semantics.
|
|
1270
|
+
* @default false
|
|
1271
|
+
*/
|
|
1272
|
+
"highlighted"?: boolean;
|
|
1258
1273
|
/**
|
|
1259
1274
|
* Label text displayed as a placeholder when no value is selected, and floated above the trigger when a value is present.
|
|
1260
1275
|
*/
|
|
@@ -1272,6 +1287,11 @@ export declare namespace JSX {
|
|
|
1272
1287
|
* @default false
|
|
1273
1288
|
*/
|
|
1274
1289
|
"required"?: boolean;
|
|
1290
|
+
/**
|
|
1291
|
+
* Visual size variant of the select field. - `small` — compact height - `default` — standard height (default) - `large` — increased height
|
|
1292
|
+
* @default 'default'
|
|
1293
|
+
*/
|
|
1294
|
+
"size"?: Select.Size;
|
|
1275
1295
|
/**
|
|
1276
1296
|
* Currently selected value.
|
|
1277
1297
|
*/
|
|
@@ -1528,6 +1548,8 @@ export declare namespace JSX {
|
|
|
1528
1548
|
"disabled": boolean;
|
|
1529
1549
|
"required": boolean;
|
|
1530
1550
|
"name": string;
|
|
1551
|
+
"size": Select.Size;
|
|
1552
|
+
"highlighted": boolean;
|
|
1531
1553
|
}
|
|
1532
1554
|
export interface LmvzSnackbarAttributes {
|
|
1533
1555
|
"status": Snackbar.Status;
|
|
@@ -1661,6 +1683,12 @@ declare const messageTypes: readonly ["neutral", "warning"];
|
|
|
1661
1683
|
|
|
1662
1684
|
declare const scaleValues: readonly ["small", "default", "large"];
|
|
1663
1685
|
|
|
1686
|
+
export declare namespace Select {
|
|
1687
|
+
export type Size = (typeof selectSizes)[number];
|
|
1688
|
+
}
|
|
1689
|
+
|
|
1690
|
+
declare const selectSizes: readonly ["small", "default", "large"];
|
|
1691
|
+
|
|
1664
1692
|
declare const sizes: readonly ["xs", "sm", "md", "lg"];
|
|
1665
1693
|
|
|
1666
1694
|
export declare namespace Snackbar {
|
package/types/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from '@lmvz-ds/aria-validation';
|
|
2
2
|
export type * from './components.d.ts';
|
|
3
|
-
export { chipSizes, chipTypes, iconSizes, iconWeights, inputSizes, inputTypes, messageTypes, textSizes } from './api/ds.constants';
|
|
3
|
+
export { chipSizes, chipTypes, iconSizes, iconWeights, inputSizes, inputTypes, messageTypes, selectSizes, textSizes } from './api/ds.constants';
|
|
4
4
|
export type { LmvzDS, Typography } from './api';
|
|
5
5
|
export * from './components/lmvz-message/public';
|
|
6
6
|
export * from './components/lmvz-snackbar/public';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{g as e,r as l,c as t,h as a,H as s}from"./p-BPeerEwm.js";import{A as o}from"./p-CPOia2kT.js";import{R as c}from"./p-FBuCCcFC.js";import"./p-CdDO7mQa.js";let i=0;const r=class extends c{get el(){return e(this)}get validationEl(){return this.el}selectId="lmvz-select-"+i++;nativeSelectEl;constructor(e){super(),l(this,e),this.lmvzChange=t(this,"lmvzChange",7),this.addController(new o(this))}lmvzChange;value;label;helperText;disabled=!1;required=!1;name;selectedLabel="";get hasValue(){return Boolean(this.value)}componentDidLoad(){this.syncSelectedLabel(),super.componentDidLoad()}handleValueChange(e){this.nativeSelectEl&&this.nativeSelectEl.value!==(e??"")&&(this.nativeSelectEl.value=e??""),this.syncSelectedLabel()}syncSelectedLabel(){if(!this.nativeSelectEl)return;const e=this.nativeSelectEl.selectedIndex;this.selectedLabel=e>=0?this.nativeSelectEl.options[e]?.text??"":""}handleChange=e=>{const l=e.target;this.value=l.value,this.syncSelectedLabel(),this.lmvzChange.emit(l.value)};render(){const e=this.hasValue;return a(s,{key:"ea378aacdaae4df8eaecb3e906815d3d97b0b7b3"},a("div",{key:"28d99d298556ca10233fcf7ebe159328989924bd",class:"select-wrapper"},a("label",{key:"05e4969c87d11387a80c76731fb9e4f862554211",htmlFor:this.selectId,class:e?"floating-label":"assistive-label"},this.label,this.required&&e&&a("span",{key:"4d1e5afd375b43a14e1b34214139fde45178b0ce","aria-hidden":"true"}," *")),a("div",{key:"93ba4ccbf77a17caaddeec5aa2d7576062dc47dd","aria-hidden":"true"},a("span",{key:"0c7054456cc775823dc3c118709e9dff72acbcb8"},e?this.selectedLabel:this.label,this.required&&!e&&a("span",{key:"1c8a75e56c0ca0187809e3c298a7e23304428dff","aria-hidden":"true"}," *")),a("span",{key:"1e696fd7a1203c1705e579c4425ccdd5d9e621a7"},a("img",{key:"c5723c1a240c360c50d02ff1b66c0bebb4337788",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIwLjMzMzQgOC42NjY2M0wxMi4wMDAxIDE3TDMuNjY2NzUgOC42NjY2MyIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=",alt:""}))),a("select",{key:"e50855b52dd997b6496ff8d0de23b2240843f742",id:this.selectId,ref:e=>this.nativeSelectEl=e,name:this.name,disabled:this.disabled,required:this.required,"aria-label":this.label,onChange:this.handleChange},!e&&a("option",{key:"9044ee2e697c8e41e25acd019dabbf9dd2e54d3d",value:"",disabled:!0,selected:!0,hidden:!0}),a("slot",{key:"87e0c5c64015c3920d33f4c316c1cf7ed94be4f0"}))),this.helperText&&a("div",{key:"745e3512848019291c06bd7f0dcc230f63d960c1",role:"status"},this.helperText))}static get watchers(){return{value:[{handleValueChange:0}]}}};r.style="@layer lmvz-ds.reset, lmvz-ds.theme, lmvz-ds.components, lmvz-ds.overrides; @layer lmvz-ds.theme { @font-face { font-family: Router; src: local('RouterBook-Regular'), local('Router-Book'), url('/assets/fonts/Router-Book.woff') format('woff'); font-weight: 400; } @font-face { font-family: Router; src: local('RouterMedium-Regular'), local('Router-Medium'), url('/assets/fonts/Router-Medium.woff') format('woff'); font-weight: 500; } @font-face { font-family: Router; src: local('RouterBold-Regular'), local('Router-Bold'), url('/assets/fonts/Router-Bold.woff') format('woff'); font-weight: 700; } } .sc-lmvz-select-h { display: block; font-family: var(--lmvz-global-font-family-default, Router); --lmvz-internal-select-floating-label-top-offset: 0.375rem; padding-top: var(--lmvz-internal-select-floating-label-top-offset); --lmvz-select-radius: var(--lmvz-component-input-radius-default, 999px); --lmvz-select-bg: var(--lmvz-semantic-color-int-secondary, #f0f0f0); --lmvz-select-bg-hover: var(--lmvz-semantic-color-int-secondary-hover, #e0e0e0); --lmvz-select-text-color: var(--lmvz-semantic-color-int-on-secondary, #000000); --lmvz-select-label-color: var(--lmvz-semantic-color-on-surface-input-primary, #000000); --lmvz-select-padding-x: var(--lmvz-component-input-md-padding-x, clamp(0.75rem, 0.69rem + 0.26vw, 1rem)); --lmvz-select-gap: var(--lmvz-component-input-md-gap-x, clamp(0.25rem, 0.16rem + 0.39vw, 0.63rem)); --lmvz-select-height: 40px; --lmvz-select-label-font-size: var(--lmvz-component-component-typography-body-sm-font-size, 0.75rem); --lmvz-select-label-top-offset: calc(var(--lmvz-internal-select-floating-label-top-offset) * -1); --lmvz-select-label-minimized-padding-x: 4px; --lmvz-select-disabled-opacity: var(--lmvz-component-input-disabled-opacity, 40%); --lmvz-select-helper-color: var(--lmvz-semantic-color-on-surface-input-secondary, #545454); --lmvz-select-focus-color: var(--lmvz-semantic-color-status-on-active, #0e7ab4); --lmvz-select-error-color: var(--lmvz-semantic-color-status-on-danger, #e52a31); } .select-wrapper.sc-lmvz-select { position: relative; height: var(--lmvz-select-height); } label.sc-lmvz-select { position: absolute; top: 50%; left: var(--lmvz-select-padding-x); font-size: var(--lmvz-select-label-font-size); color: var(--lmvz-select-label-color); line-height: normal; white-space: nowrap; pointer-events: none; z-index: 2; transform: translateY(-50%); transform-origin: left top; transition: top 0.2s ease-out, transform 0.2s ease-out, opacity 0.2s ease-out, padding 0.2s ease-out; } label.assistive-label.sc-lmvz-select { opacity: 0; padding: 0; } label.floating-label.sc-lmvz-select { top: var(--lmvz-select-label-top-offset); transform: translateY(0) scale(0.85); left: calc(var(--lmvz-select-padding-x) - 2px); background-color: var(--lmvz-select-bg); padding: 0 var(--lmvz-select-label-minimized-padding-x); opacity: 1; font-weight: 500; } label.sc-lmvz-select > span[aria-hidden='true'].sc-lmvz-select, div[aria-hidden='true'].sc-lmvz-select > span.sc-lmvz-select:first-child > span[aria-hidden='true'].sc-lmvz-select { color: var(--lmvz-select-error-color); margin-left: 2px; display: inline-block; line-height: 0; vertical-align: middle; } div[aria-hidden].sc-lmvz-select { display: flex; align-items: center; gap: var(--lmvz-select-gap); height: 100%; padding: 0 var(--lmvz-select-padding-x); border-radius: var(--lmvz-select-radius); background-color: var(--lmvz-select-bg); cursor: pointer; position: relative; z-index: 1; transition: background-color 0.15s ease; } .sc-lmvz-select-h:not([disabled]) .select-wrapper.sc-lmvz-select:hover div[aria-hidden].sc-lmvz-select { background-color: var(--lmvz-select-bg-hover); } .select-wrapper.sc-lmvz-select:focus-within div[aria-hidden].sc-lmvz-select { outline: var(--lmvz-ds-outline, 1px solid #0e7ab4); outline-offset: var(--lmvz-ds-outline-offset, clamp(0.25rem, 0.19rem + 0.26vw, 0.5rem)); } div[aria-hidden].sc-lmvz-select > span.sc-lmvz-select:first-child { flex: 1 0 0; font: var(--lmvz-typography-body-md-strong, 500 clamp(0.88rem, 0.84rem + 0.13vw, 1rem) / 1.5 Router); color: var(--lmvz-select-text-color); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } div[aria-hidden].sc-lmvz-select > span.sc-lmvz-select:last-child { flex-shrink: 0; display: flex; align-items: center; justify-content: center; } img.sc-lmvz-select { display: block; width: var(--lmvz-component-icon-size-xs, clamp(0.75rem, 0.72rem + 0.13vw, 0.88rem)); height: var(--lmvz-component-icon-size-xs, clamp(0.75rem, 0.72rem + 0.13vw, 0.88rem)); } select.sc-lmvz-select { appearance: none; position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 2; border: none; background: transparent; margin: 0; padding: 0; } [disabled].sc-lmvz-select-h .select-wrapper.sc-lmvz-select { opacity: var(--lmvz-select-disabled-opacity); pointer-events: none; cursor: not-allowed; } [role='status'].sc-lmvz-select { margin-top: 4px; padding-left: var(--lmvz-select-padding-x); font-size: var(--lmvz-select-label-font-size); color: var(--lmvz-select-helper-color); line-height: normal; }";export{r as lmvz_select}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const a=["xs","sm","md","lg"],s=[...a,"xl"],e=["text","email","password","tel","url","search","number"],r=["sm","md","lg"],l=[...a,"inherit"],t=["thin","medium","bold"],m=["active","warning","success","error","neutral"],n=["default","small"],i=["neutral","warning"];export{m as a,t as b,n as c,r as d,e,l as i,i as m,s as t}
|