@easypost/easy-ui 1.0.0-alpha.115 → 1.0.0-alpha.116

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @easypost/easy-ui
2
2
 
3
+ ## 1.0.0-alpha.116
4
+
5
+ ### Minor Changes
6
+
7
+ - 6ca337d: add support for secondary text on select items
8
+
3
9
  ## 1.0.0-alpha.115
4
10
 
5
11
  ### Patch Changes
@@ -39,7 +39,7 @@ const Menu = require("../__chunks__/Menu-MGDv1tob.js");
39
39
  const Text = require("../__chunks__/Text-DkzMEqky.js");
40
40
  const Icon = require("../__chunks__/Icon-BRlbo3RF.js");
41
41
  const UnstyledButton = require("../__chunks__/UnstyledButton-DW8CjaXN.js");
42
- const SelectOverlay = require("../__chunks__/SelectOverlay-Bva0SG8D.js");
42
+ const SelectOverlay = require("../__chunks__/SelectOverlay-DpI9vNLw.js");
43
43
  const useTriggerWidth = require("../__chunks__/useTriggerWidth-NhYqZmlX.js");
44
44
  const ExpandMore400 = require("../__chunks__/ExpandMore400-CJpvxyJm.js");
45
45
  const Close = require("../__chunks__/Close-BQ2IlPyf.js");
@@ -38,7 +38,7 @@ import { M as Menu } from "../__chunks__/Menu-Ci1FGh8B.mjs";
38
38
  import { T as Text } from "../__chunks__/Text-D6oT5WJQ.mjs";
39
39
  import { I as Icon } from "../__chunks__/Icon-BIpaQJ_I.mjs";
40
40
  import { U as UnstyledButton } from "../__chunks__/UnstyledButton-DxJLvL-G.mjs";
41
- import { u as useInternalSelectContext, $ as $bdd25dc72710631f$export$cbd84cdb2e668835, a as $2bc3a590c5373a4e$export$5159ec8b34d4ec12, b as $58aed456727eb0f3$export$e64b2f635402ca43, I as InternalSelectContext, S as SelectOverlay, d as SelectOption } from "../__chunks__/SelectOverlay-q23ZLLi4.mjs";
41
+ import { u as useInternalSelectContext, $ as $bdd25dc72710631f$export$cbd84cdb2e668835, a as $2bc3a590c5373a4e$export$5159ec8b34d4ec12, b as $58aed456727eb0f3$export$e64b2f635402ca43, I as InternalSelectContext, S as SelectOverlay, d as SelectOption } from "../__chunks__/SelectOverlay-C23EXgqX.mjs";
42
42
  import { u as useTriggerWidth } from "../__chunks__/useTriggerWidth-CBghrvjy.mjs";
43
43
  import { E as ExpandMore400 } from "../__chunks__/ExpandMore400-CH7GNxqk.mjs";
44
44
  import { C as Close } from "../__chunks__/Close-Cq6Q6MN6.mjs";
@@ -30,56 +30,56 @@ export type SelectProps<T, K extends Key> = Omit<AriaSelectProps<T>, keyof BaseS
30
30
  *
31
31
  * @example
32
32
  * _Simple controlled selection:_
33
- *```tsx
34
- * import { Select } from "@easypost/easy-ui/Select";
35
- *
36
- * export function Component() {
37
- * const [selectedOption, setSelectedOption] = React.useState("Option 1");
38
- *
39
- * return (
40
- * <Select
41
- * label="Label"
42
- * selectedKey={selectedOption}
43
- * onSelectionChange={(selected) => setSelectedOption(selected)}
44
- * helperText="Helper text"
45
- * >
46
- * <Select.Option key="Option 1">Option 1</Select.Option>
47
- * <Select.Option key="Option 2">Option 2</Select.Option>
48
- * <Select.Option key="Option 3">Option 3</Select.Option>
49
- * </Select>
50
- * );
51
- * }
52
- ```
53
- *
54
- * @example
55
- * _Simple controlled selection with separator:_
56
- *```tsx
57
- * import { Select } from "@easypost/easy-ui/Select";
58
- *
59
- * export function Component() {
60
- * const [selectedOption, setSelectedOption] = React.useState("Option 1");
61
- *
62
- * return (
63
- * <Select
64
- * label="Label"
65
- * selectedKey={selectedOption}
66
- * onSelectionChange={(selected) => setSelectedOption(selected)}
67
- * helperText="Helper text"
68
- * >
69
- * <Select.Section aria-label="Primary options">
70
- * <Select.Option key="Option 1">Option 1</Select.Option>
71
- * <Select.Option key="Option 2">Option 2</Select.Option>
72
- * <Select.Option key="Option 3">Option 3</Select.Option>
73
- * </Select.Section>
74
- * <Select.Section aria-label="Secondary options">
75
- * <Select.Option key="Option 4">Option 4</Select.Option>
76
- * <Select.Option key="Option 5">Option 5</Select.Option>
77
- * <Select.Option key="Option 6">Option 6</Select.Option>
78
- * </Select.Section>
79
- * </Select>
80
- * );
81
- * }
82
- ```
33
+ *```tsx
34
+ * import { Select } from "@easypost/easy-ui/Select";
35
+ *
36
+ * export function Component() {
37
+ * const [selectedOption, setSelectedOption] = React.useState("Option 1");
38
+ *
39
+ * return (
40
+ * <Select
41
+ * label="Label"
42
+ * selectedKey={selectedOption}
43
+ * onSelectionChange={(selected) => setSelectedOption(selected)}
44
+ * helperText="Helper text"
45
+ * >
46
+ * <Select.Option key="Option 1">Option 1</Select.Option>
47
+ * <Select.Option key="Option 2">Option 2</Select.Option>
48
+ * <Select.Option key="Option 3">Option 3</Select.Option>
49
+ * </Select>
50
+ * );
51
+ * }
52
+ * ```
53
+ *
54
+ * @example
55
+ * _Simple controlled selection with separator:_
56
+ *```tsx
57
+ * import { Select } from "@easypost/easy-ui/Select";
58
+ *
59
+ * export function Component() {
60
+ * const [selectedOption, setSelectedOption] = React.useState("Option 1");
61
+ *
62
+ * return (
63
+ * <Select
64
+ * label="Label"
65
+ * selectedKey={selectedOption}
66
+ * onSelectionChange={(selected) => setSelectedOption(selected)}
67
+ * helperText="Helper text"
68
+ * >
69
+ * <Select.Section aria-label="Primary options">
70
+ * <Select.Option key="Option 1">Option 1</Select.Option>
71
+ * <Select.Option key="Option 2">Option 2</Select.Option>
72
+ * <Select.Option key="Option 3">Option 3</Select.Option>
73
+ * </Select.Section>
74
+ * <Select.Section aria-label="Secondary options">
75
+ * <Select.Option key="Option 4">Option 4</Select.Option>
76
+ * <Select.Option key="Option 5">Option 5</Select.Option>
77
+ * <Select.Option key="Option 6">Option 6</Select.Option>
78
+ * </Select.Section>
79
+ * </Select>
80
+ * );
81
+ * }
82
+ * ```
83
83
  */
84
84
  export declare function Select<T extends object, K extends Key>(props: SelectProps<T, K>): React.JSX.Element;
85
85
  export declare namespace Select {
@@ -14,4 +14,5 @@ export declare const WithSeparator: Story;
14
14
  export declare const ControlledSelection: Story;
15
15
  export declare const DisabledOptions: Story;
16
16
  export declare const DisabledSelect: Story;
17
+ export declare const WithSecondaryText: Story;
17
18
  //# sourceMappingURL=Select.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Select.stories.d.ts","sourceRoot":"","sources":["../../src/Select/Select.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAKvD,OAAO,EAAE,MAAM,EAAe,MAAM,UAAU,CAAC;AAE/C,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC;AAYrC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAS7B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,QAAQ,EAAE,KAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAKlB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KA0BzB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KA0BzB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAK/B,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAMjC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAmB3B,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAoBjC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAQ7B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAQ5B,CAAC"}
1
+ {"version":3,"file":"Select.stories.d.ts","sourceRoot":"","sources":["../../src/Select/Select.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAKvD,OAAO,EAAE,MAAM,EAAe,MAAM,UAAU,CAAC;AAE/C,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC;AAYrC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAS7B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,QAAQ,EAAE,KAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAKlB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KA0BzB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KA0BzB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAK/B,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAMjC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAmB3B,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAoBjC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAQ7B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAQ5B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAoC/B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SelectField.d.ts","sourceRoot":"","sources":["../../src/Select/SelectField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAIvD,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAOtC,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACjD,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,SAAS,CAAC;AAElD,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;;OAIG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,2CAA2C;IAC3C,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,kDAAkD;IAClD,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,mDAAmD;IACnD,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,kEAAkE;IAClE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6CAA6C;IAC7C,WAAW,CAAC,EAAE,UAAU,CAAC;CAC1B,CAAC;AAEF,KAAK,yBAAyB,GAAG;IAC/B,yCAAyC;IACzC,UAAU,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;IAC7C,+CAA+C;IAC/C,eAAe,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;IAClD,8CAA8C;IAC9C,cAAc,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;IACjD,yBAAyB;IACzB,UAAU,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;CAC9C,CAAC;AAEF,KAAK,gBAAgB,GAAG,oBAAoB,GAAG,yBAAyB,CAAC;AAEzE,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,qBAiElD"}
1
+ {"version":3,"file":"SelectField.d.ts","sourceRoot":"","sources":["../../src/Select/SelectField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAIvD,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAOtC,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACjD,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,SAAS,CAAC;AAElD,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;;OAIG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,2CAA2C;IAC3C,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,kDAAkD;IAClD,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,mDAAmD;IACnD,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,kEAAkE;IAClE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6CAA6C;IAC7C,WAAW,CAAC,EAAE,UAAU,CAAC;CAC1B,CAAC;AAEF,KAAK,yBAAyB,GAAG;IAC/B,yCAAyC;IACzC,UAAU,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;IAC7C,+CAA+C;IAC/C,eAAe,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;IAClD,8CAA8C;IAC9C,cAAc,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;IACjD,yBAAyB;IACzB,UAAU,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;CAC9C,CAAC;AAEF,KAAK,gBAAgB,GAAG,oBAAoB,GAAG,yBAAyB,CAAC;AAEzE,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,qBA+ElD"}
@@ -6,6 +6,10 @@ export type SelectOptionProps = {
6
6
  "aria-label"?: string;
7
7
  /** Rendered contents of the option or child options. */
8
8
  children: ReactNode;
9
+ /** Secondary text shown under the main option text. */
10
+ description?: ReactNode;
11
+ /** Plain text value for accessibility and typeahead. */
12
+ textValue?: string;
9
13
  };
10
14
  /**
11
15
  * @privateRemarks
@@ -1 +1 @@
1
- {"version":3,"file":"SelectOption.d.ts","sourceRoot":"","sources":["../../src/Select/SelectOption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAQ,IAAI,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAExD,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAInC,MAAM,MAAM,iBAAiB,GAAG;IAC9B,6CAA6C;IAC7C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wDAAwD;IACxD,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,CAAC,CAAC,QAErE;AAID,KAAK,wBAAwB,CAAC,CAAC,IAAI;IACjC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IACd,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;CACvB,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,EACrC,IAAI,EACJ,KAAK,GACN,EAAE,wBAAwB,CAAC,CAAC,CAAC,qBAwB7B"}
1
+ {"version":3,"file":"SelectOption.d.ts","sourceRoot":"","sources":["../../src/Select/SelectOption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAQ,IAAI,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAExD,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGnC,MAAM,MAAM,iBAAiB,GAAG;IAC9B,6CAA6C;IAC7C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wDAAwD;IACxD,QAAQ,EAAE,SAAS,CAAC;IACpB,uDAAuD;IACvD,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,wDAAwD;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,CAAC,CAAC,QAErE;AAID,KAAK,wBAAwB,CAAC,CAAC,IAAI;IACjC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IACd,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;CACvB,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,EACrC,IAAI,EACJ,KAAK,GACN,EAAE,wBAAwB,CAAC,CAAC,CAAC,qBAkC7B"}
@@ -1,4 +1,4 @@
1
- import React, { DOMAttributes, ReactNode } from "react";
1
+ import React, { ReactNode, DOMAttributes } from "react";
2
2
  import { FocusableElement } from "@react-types/shared";
3
3
  import { SelectFieldSize } from "./SelectField";
4
4
  import { IconSymbol } from "../types";
@@ -1 +1 @@
1
- {"version":3,"file":"SelectTrigger.d.ts","sourceRoot":"","sources":["../../src/Select/SelectTrigger.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAExD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAGhD,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAItC,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;;OAIG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,6CAA6C;IAC7C,WAAW,CAAC,EAAE,UAAU,CAAC;IACzB,yBAAyB;IACzB,UAAU,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;IAC7C,sBAAsB;IACtB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,qBA2CtD"}
1
+ {"version":3,"file":"SelectTrigger.d.ts","sourceRoot":"","sources":["../../src/Select/SelectTrigger.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAExD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAGhD,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAItC,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;;OAIG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,6CAA6C;IAC7C,WAAW,CAAC,EAAE,UAAU,CAAC;IACzB,yBAAyB;IACzB,UAAU,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;IAC7C,sBAAsB;IACtB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,qBA2CtD"}
package/Select/index.js CHANGED
@@ -21,7 +21,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
21
21
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
22
22
  const jsxRuntime = require("react/jsx-runtime");
23
23
  const React = require("react");
24
- const SelectOverlay = require("../__chunks__/SelectOverlay-Bva0SG8D.js");
24
+ const SelectOverlay = require("../__chunks__/SelectOverlay-DpI9vNLw.js");
25
25
  const utilities_css = require("../utilities/css.js");
26
26
  const InputCaption = require("../__chunks__/InputCaption-CccF4ynE.js");
27
27
  const Text = require("../__chunks__/Text-DkzMEqky.js");
@@ -44,7 +44,7 @@ function SelectTrigger(props) {
44
44
  }), jsxRuntime.jsx(UnstyledButton.UnstyledButton, __spreadProps(__spreadValues({}, triggerProps), {
45
45
  ref: triggerRef,
46
46
  className,
47
- children: jsxRuntime.jsx("span", __spreadProps(__spreadValues({}, valueProps), {
47
+ children: jsxRuntime.jsx("div", __spreadProps(__spreadValues({}, valueProps), {
48
48
  className: SelectOverlay.styles.selectFieldText,
49
49
  children
50
50
  }))
@@ -57,6 +57,7 @@ function SelectTrigger(props) {
57
57
  });
58
58
  }
59
59
  function SelectField(props) {
60
+ var _a, _b;
60
61
  const { isDisabled = false, validationState = "valid", isLabelEmphasized = false, size = "md", label, errorText, helperText, placeholder, iconAtStart, labelProps, valueProps, errorTextProps, helperTextProps } = props;
61
62
  const { triggerRef, selectState } = SelectOverlay.useInternalSelectContext();
62
63
  const hasError = validationState === "invalid";
@@ -64,6 +65,7 @@ function SelectField(props) {
64
65
  const showHelperText = !showErrorText && helperText;
65
66
  const captionProps = showHelperText ? helperTextProps : errorTextProps;
66
67
  const captionText = showHelperText ? helperText : errorText;
68
+ const selectedDescription = (_b = (_a = selectState.selectedItem) == null ? void 0 : _a.props) == null ? void 0 : _b.description;
67
69
  return jsxRuntime.jsxs("div", {
68
70
  className: utilities_css.classNames(SelectOverlay.styles.fieldRoot),
69
71
  children: [label && jsxRuntime.jsx(InputCaption.Label, __spreadProps(__spreadValues({
@@ -83,7 +85,21 @@ function SelectField(props) {
83
85
  hasError,
84
86
  isDisabled,
85
87
  size,
86
- children: selectState.selectedItem ? selectState.selectedItem.rendered : jsxRuntime.jsx(Text.Text, {
88
+ children: selectState.selectedItem ? jsxRuntime.jsxs(jsxRuntime.Fragment, {
89
+ children: [jsxRuntime.jsx(Text.Text, {
90
+ variant: "body2",
91
+ truncate: true,
92
+ children: selectState.selectedItem.rendered
93
+ }), selectedDescription && jsxRuntime.jsx("span", {
94
+ className: SelectOverlay.styles.selectedDescription,
95
+ children: jsxRuntime.jsx(Text.Text, {
96
+ variant: "caption",
97
+ color: "neutral.600",
98
+ truncate: true,
99
+ children: selectedDescription
100
+ })
101
+ })]
102
+ }) : jsxRuntime.jsx(Text.Text, {
87
103
  color: "neutral.600",
88
104
  children: placeholder
89
105
  })
package/Select/index.mjs CHANGED
@@ -17,9 +17,9 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { jsxs, jsx } from "react/jsx-runtime";
20
+ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
21
21
  import React__default, { useMemo } from "react";
22
- import { u as useInternalSelectContext, s as styles, $ as $bdd25dc72710631f$export$cbd84cdb2e668835, a as $2bc3a590c5373a4e$export$5159ec8b34d4ec12, b as $58aed456727eb0f3$export$e64b2f635402ca43, I as InternalSelectContext, S as SelectOverlay, c as SelectSection, d as SelectOption } from "../__chunks__/SelectOverlay-q23ZLLi4.mjs";
22
+ import { u as useInternalSelectContext, s as styles, $ as $bdd25dc72710631f$export$cbd84cdb2e668835, a as $2bc3a590c5373a4e$export$5159ec8b34d4ec12, b as $58aed456727eb0f3$export$e64b2f635402ca43, I as InternalSelectContext, S as SelectOverlay, c as SelectSection, d as SelectOption } from "../__chunks__/SelectOverlay-C23EXgqX.mjs";
23
23
  import { classNames, variationName } from "../utilities/css.mjs";
24
24
  import { L as Label, I as InputCaption } from "../__chunks__/InputCaption-DoyGkWQe.mjs";
25
25
  import { T as Text } from "../__chunks__/Text-D6oT5WJQ.mjs";
@@ -42,7 +42,7 @@ function SelectTrigger(props) {
42
42
  }), jsx(UnstyledButton, __spreadProps(__spreadValues({}, triggerProps), {
43
43
  ref: triggerRef,
44
44
  className,
45
- children: jsx("span", __spreadProps(__spreadValues({}, valueProps), {
45
+ children: jsx("div", __spreadProps(__spreadValues({}, valueProps), {
46
46
  className: styles.selectFieldText,
47
47
  children
48
48
  }))
@@ -55,6 +55,7 @@ function SelectTrigger(props) {
55
55
  });
56
56
  }
57
57
  function SelectField(props) {
58
+ var _a, _b;
58
59
  const { isDisabled = false, validationState = "valid", isLabelEmphasized = false, size = "md", label, errorText, helperText, placeholder, iconAtStart, labelProps, valueProps, errorTextProps, helperTextProps } = props;
59
60
  const { triggerRef, selectState } = useInternalSelectContext();
60
61
  const hasError = validationState === "invalid";
@@ -62,6 +63,7 @@ function SelectField(props) {
62
63
  const showHelperText = !showErrorText && helperText;
63
64
  const captionProps = showHelperText ? helperTextProps : errorTextProps;
64
65
  const captionText = showHelperText ? helperText : errorText;
66
+ const selectedDescription = (_b = (_a = selectState.selectedItem) == null ? void 0 : _a.props) == null ? void 0 : _b.description;
65
67
  return jsxs("div", {
66
68
  className: classNames(styles.fieldRoot),
67
69
  children: [label && jsx(Label, __spreadProps(__spreadValues({
@@ -81,7 +83,21 @@ function SelectField(props) {
81
83
  hasError,
82
84
  isDisabled,
83
85
  size,
84
- children: selectState.selectedItem ? selectState.selectedItem.rendered : jsx(Text, {
86
+ children: selectState.selectedItem ? jsxs(Fragment, {
87
+ children: [jsx(Text, {
88
+ variant: "body2",
89
+ truncate: true,
90
+ children: selectState.selectedItem.rendered
91
+ }), selectedDescription && jsx("span", {
92
+ className: styles.selectedDescription,
93
+ children: jsx(Text, {
94
+ variant: "caption",
95
+ color: "neutral.600",
96
+ truncate: true,
97
+ children: selectedDescription
98
+ })
99
+ })]
100
+ }) : jsx(Text, {
85
101
  color: "neutral.600",
86
102
  children: placeholder
87
103
  })
@@ -401,33 +401,36 @@ function useInternalSelectContext() {
401
401
  }
402
402
  return selectContext;
403
403
  }
404
- const underlay = "_underlay_10bf4_4";
405
- const listboxRoot = "_listboxRoot_10bf4_9";
406
- const listbox = "_listbox_10bf4_9";
407
- const listboxList = "_listboxList_10bf4_78";
408
- const sectionList = "_sectionList_10bf4_79";
409
- const optionContent = "_optionContent_10bf4_85";
410
- const separator = "_separator_10bf4_86";
411
- const option = "_option_10bf4_85";
412
- const fieldRoot = "_fieldRoot_10bf4_129";
413
- const selectField = "_selectField_10bf4_150";
414
- const selectSizeSm = "_selectSizeSm_10bf4_186";
415
- const selectSizeLg = "_selectSizeLg_10bf4_197";
416
- const selectFieldError = "_selectFieldError_10bf4_203";
417
- const selectFieldIconStart = "_selectFieldIconStart_10bf4_211";
418
- const selectFieldIconEnd = "_selectFieldIconEnd_10bf4_215";
419
- const selectFieldIconContainer = "_selectFieldIconContainer_10bf4_219";
420
- const selectFieldText = "_selectFieldText_10bf4_225";
421
- const listboxOpen = "_listboxOpen_10bf4_229";
404
+ const underlay = "_underlay_fl67g_4";
405
+ const listboxRoot = "_listboxRoot_fl67g_9";
406
+ const listbox = "_listbox_fl67g_9";
407
+ const listboxList = "_listboxList_fl67g_79";
408
+ const sectionList = "_sectionList_fl67g_80";
409
+ const option = "_option_fl67g_91";
410
+ const optionContent = "_optionContent_fl67g_98";
411
+ const separator = "_separator_fl67g_108";
412
+ const optionDescription = "_optionDescription_fl67g_129";
413
+ const fieldRoot = "_fieldRoot_fl67g_143";
414
+ const selectField = "_selectField_fl67g_164";
415
+ const selectSizeSm = "_selectSizeSm_fl67g_202";
416
+ const selectSizeLg = "_selectSizeLg_fl67g_213";
417
+ const selectFieldError = "_selectFieldError_fl67g_219";
418
+ const selectFieldIconStart = "_selectFieldIconStart_fl67g_227";
419
+ const selectFieldIconEnd = "_selectFieldIconEnd_fl67g_231";
420
+ const selectFieldIconContainer = "_selectFieldIconContainer_fl67g_235";
421
+ const selectFieldText = "_selectFieldText_fl67g_241";
422
+ const selectedDescription = "_selectedDescription_fl67g_253";
423
+ const listboxOpen = "_listboxOpen_fl67g_259";
422
424
  const styles = {
423
425
  underlay,
424
426
  listboxRoot,
425
427
  listbox,
426
428
  listboxList,
427
429
  sectionList,
430
+ option,
428
431
  optionContent,
429
432
  separator,
430
- option,
433
+ optionDescription,
431
434
  fieldRoot,
432
435
  selectField,
433
436
  selectSizeSm,
@@ -437,6 +440,7 @@ const styles = {
437
440
  selectFieldIconEnd,
438
441
  selectFieldIconContainer,
439
442
  selectFieldText,
443
+ selectedDescription,
440
444
  listboxOpen
441
445
  };
442
446
  function SelectOption(_props) {
@@ -444,23 +448,33 @@ function SelectOption(_props) {
444
448
  }
445
449
  Object.assign(SelectOption, $c1d7fb2ec91bae71$export$6d08773d2e66f8f2);
446
450
  function SelectOptionContent({ item, state }) {
451
+ var _a;
447
452
  const ref = React__default.useRef(null);
448
453
  const { optionProps, isSelected, isFocused, isDisabled } = $293f70390ea03370$export$497855f14858aa34({
449
454
  key: item.key
450
455
  }, state, ref);
456
+ const description = (_a = item.props) == null ? void 0 : _a.description;
451
457
  return jsx("li", __spreadProps(__spreadValues({}, optionProps), {
452
458
  ref,
453
459
  className: styles.option,
454
460
  "data-is-disabled": isDisabled,
455
461
  "data-is-focused": isFocused,
456
462
  "data-is-selected": isSelected,
457
- children: jsx("div", {
463
+ children: jsxs("div", {
458
464
  className: styles.optionContent,
459
- children: jsx(Text, {
460
- variant: "body1",
465
+ children: [jsx(Text, {
466
+ variant: "body2",
461
467
  truncate: true,
462
468
  children: item.rendered
463
- })
469
+ }), description && jsx("span", {
470
+ className: styles.optionDescription,
471
+ children: jsx(Text, {
472
+ variant: "caption",
473
+ color: "neutral.600",
474
+ truncate: true,
475
+ children: description
476
+ })
477
+ })]
464
478
  })
465
479
  }));
466
480
  }
@@ -402,33 +402,36 @@ function useInternalSelectContext() {
402
402
  }
403
403
  return selectContext;
404
404
  }
405
- const underlay = "_underlay_10bf4_4";
406
- const listboxRoot = "_listboxRoot_10bf4_9";
407
- const listbox = "_listbox_10bf4_9";
408
- const listboxList = "_listboxList_10bf4_78";
409
- const sectionList = "_sectionList_10bf4_79";
410
- const optionContent = "_optionContent_10bf4_85";
411
- const separator = "_separator_10bf4_86";
412
- const option = "_option_10bf4_85";
413
- const fieldRoot = "_fieldRoot_10bf4_129";
414
- const selectField = "_selectField_10bf4_150";
415
- const selectSizeSm = "_selectSizeSm_10bf4_186";
416
- const selectSizeLg = "_selectSizeLg_10bf4_197";
417
- const selectFieldError = "_selectFieldError_10bf4_203";
418
- const selectFieldIconStart = "_selectFieldIconStart_10bf4_211";
419
- const selectFieldIconEnd = "_selectFieldIconEnd_10bf4_215";
420
- const selectFieldIconContainer = "_selectFieldIconContainer_10bf4_219";
421
- const selectFieldText = "_selectFieldText_10bf4_225";
422
- const listboxOpen = "_listboxOpen_10bf4_229";
405
+ const underlay = "_underlay_fl67g_4";
406
+ const listboxRoot = "_listboxRoot_fl67g_9";
407
+ const listbox = "_listbox_fl67g_9";
408
+ const listboxList = "_listboxList_fl67g_79";
409
+ const sectionList = "_sectionList_fl67g_80";
410
+ const option = "_option_fl67g_91";
411
+ const optionContent = "_optionContent_fl67g_98";
412
+ const separator = "_separator_fl67g_108";
413
+ const optionDescription = "_optionDescription_fl67g_129";
414
+ const fieldRoot = "_fieldRoot_fl67g_143";
415
+ const selectField = "_selectField_fl67g_164";
416
+ const selectSizeSm = "_selectSizeSm_fl67g_202";
417
+ const selectSizeLg = "_selectSizeLg_fl67g_213";
418
+ const selectFieldError = "_selectFieldError_fl67g_219";
419
+ const selectFieldIconStart = "_selectFieldIconStart_fl67g_227";
420
+ const selectFieldIconEnd = "_selectFieldIconEnd_fl67g_231";
421
+ const selectFieldIconContainer = "_selectFieldIconContainer_fl67g_235";
422
+ const selectFieldText = "_selectFieldText_fl67g_241";
423
+ const selectedDescription = "_selectedDescription_fl67g_253";
424
+ const listboxOpen = "_listboxOpen_fl67g_259";
423
425
  const styles = {
424
426
  underlay,
425
427
  listboxRoot,
426
428
  listbox,
427
429
  listboxList,
428
430
  sectionList,
431
+ option,
429
432
  optionContent,
430
433
  separator,
431
- option,
434
+ optionDescription,
432
435
  fieldRoot,
433
436
  selectField,
434
437
  selectSizeSm,
@@ -438,6 +441,7 @@ const styles = {
438
441
  selectFieldIconEnd,
439
442
  selectFieldIconContainer,
440
443
  selectFieldText,
444
+ selectedDescription,
441
445
  listboxOpen
442
446
  };
443
447
  function SelectOption(_props) {
@@ -445,23 +449,33 @@ function SelectOption(_props) {
445
449
  }
446
450
  Object.assign(SelectOption, Item.$c1d7fb2ec91bae71$export$6d08773d2e66f8f2);
447
451
  function SelectOptionContent({ item, state }) {
452
+ var _a;
448
453
  const ref = React.useRef(null);
449
454
  const { optionProps, isSelected, isFocused, isDisabled } = useListBoxSection.$293f70390ea03370$export$497855f14858aa34({
450
455
  key: item.key
451
456
  }, state, ref);
457
+ const description = (_a = item.props) == null ? void 0 : _a.description;
452
458
  return jsxRuntime.jsx("li", __spreadProps(__spreadValues({}, optionProps), {
453
459
  ref,
454
460
  className: styles.option,
455
461
  "data-is-disabled": isDisabled,
456
462
  "data-is-focused": isFocused,
457
463
  "data-is-selected": isSelected,
458
- children: jsxRuntime.jsx("div", {
464
+ children: jsxRuntime.jsxs("div", {
459
465
  className: styles.optionContent,
460
- children: jsxRuntime.jsx(Text.Text, {
461
- variant: "body1",
466
+ children: [jsxRuntime.jsx(Text.Text, {
467
+ variant: "body2",
462
468
  truncate: true,
463
469
  children: item.rendered
464
- })
470
+ }), description && jsxRuntime.jsx("span", {
471
+ className: styles.optionDescription,
472
+ children: jsxRuntime.jsx(Text.Text, {
473
+ variant: "caption",
474
+ color: "neutral.600",
475
+ truncate: true,
476
+ children: description
477
+ })
478
+ })]
465
479
  })
466
480
  }));
467
481
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easypost/easy-ui",
3
- "version": "1.0.0-alpha.115",
3
+ "version": "1.0.0-alpha.116",
4
4
  "sideEffects": [
5
5
  "**/*.css"
6
6
  ],
package/style.css CHANGED
@@ -4317,12 +4317,12 @@ textarea {
4317
4317
  }/**
4318
4318
  * Do not edit directly, this file was auto-generated.
4319
4319
  */
4320
- ._underlay_10bf4_4 {
4320
+ ._underlay_fl67g_4 {
4321
4321
  position: fixed;
4322
4322
  inset: 0;
4323
4323
  }
4324
4324
 
4325
- ._listboxRoot_10bf4_9 {
4325
+ ._listboxRoot_fl67g_9 {
4326
4326
  --ezui-c-menu-border-radius: var(--ezui-shape-border-radius-md);
4327
4327
  --ezui-c-menu-color-background: var(--ezui-color-neutral-000);
4328
4328
  --ezui-c-menu-color-text: var(--ezui-color-primary-800);
@@ -4339,102 +4339,116 @@ textarea {
4339
4339
  flex-direction: column;
4340
4340
  min-width: var(--ezui-c-menu-min-width);
4341
4341
  }
4342
- ._listboxRoot_10bf4_9 {
4342
+ ._listboxRoot_fl67g_9 {
4343
4343
  --ezui-c-menu-width-xs: initial;
4344
4344
  }
4345
- ._listboxRoot_10bf4_9 {
4345
+ ._listboxRoot_fl67g_9 {
4346
4346
  --ezui-c-menu-width-sm: initial;
4347
4347
  }
4348
- ._listboxRoot_10bf4_9 {
4348
+ ._listboxRoot_fl67g_9 {
4349
4349
  --ezui-c-menu-width-md: initial;
4350
4350
  }
4351
- ._listboxRoot_10bf4_9 {
4351
+ ._listboxRoot_fl67g_9 {
4352
4352
  --ezui-c-menu-width-lg: initial;
4353
4353
  }
4354
- ._listboxRoot_10bf4_9 {
4354
+ ._listboxRoot_fl67g_9 {
4355
4355
  --ezui-c-menu-width-xl: initial;
4356
4356
  }
4357
- ._listboxRoot_10bf4_9 {
4357
+ ._listboxRoot_fl67g_9 {
4358
4358
  --ezui-c-menu-width-xxl: initial;
4359
4359
  }
4360
- ._listboxRoot_10bf4_9 {
4360
+ ._listboxRoot_fl67g_9 {
4361
4361
  width: var(--ezui-c-menu-width-xs);
4362
4362
  }
4363
4363
  @media (min-width: 30em) {
4364
- ._listboxRoot_10bf4_9 {
4364
+ ._listboxRoot_fl67g_9 {
4365
4365
  width: var(--ezui-c-menu-width-sm, var(--ezui-c-menu-width-xs, initial));
4366
4366
  }
4367
4367
  }
4368
4368
  @media (min-width: 40em) {
4369
- ._listboxRoot_10bf4_9 {
4369
+ ._listboxRoot_fl67g_9 {
4370
4370
  width: var(--ezui-c-menu-width-md, var(--ezui-c-menu-width-sm, var(--ezui-c-menu-width-xs, initial)));
4371
4371
  }
4372
4372
  }
4373
4373
  @media (min-width: 64em) {
4374
- ._listboxRoot_10bf4_9 {
4374
+ ._listboxRoot_fl67g_9 {
4375
4375
  width: var(--ezui-c-menu-width-lg, var(--ezui-c-menu-width-md, var(--ezui-c-menu-width-sm, var(--ezui-c-menu-width-xs, initial))));
4376
4376
  }
4377
4377
  }
4378
4378
  @media (min-width: 85em) {
4379
- ._listboxRoot_10bf4_9 {
4379
+ ._listboxRoot_fl67g_9 {
4380
4380
  width: var(--ezui-c-menu-width-xl, var(--ezui-c-menu-width-lg, var(--ezui-c-menu-width-md, var(--ezui-c-menu-width-sm, var(--ezui-c-menu-width-xs, initial)))));
4381
4381
  }
4382
4382
  }
4383
4383
  @media (min-width: 120em) {
4384
- ._listboxRoot_10bf4_9 {
4384
+ ._listboxRoot_fl67g_9 {
4385
4385
  width: var(--ezui-c-menu-width-xxl, var(--ezui-c-menu-width-xl, var(--ezui-c-menu-width-lg, var(--ezui-c-menu-width-md, var(--ezui-c-menu-width-sm, var(--ezui-c-menu-width-xs, initial))))));
4386
4386
  }
4387
4387
  }
4388
4388
 
4389
- ._listbox_10bf4_9 {
4389
+ ._listbox_fl67g_9 {
4390
4390
  overflow: auto;
4391
4391
  padding: var(--ezui-c-menu-padding-y) 0;
4392
+ outline: none;
4392
4393
  }
4393
4394
 
4394
- ._listboxList_10bf4_78,
4395
- ._sectionList_10bf4_79 {
4395
+ ._listboxList_fl67g_79,
4396
+ ._sectionList_fl67g_80 {
4396
4397
  margin: 0;
4397
4398
  padding: 0;
4398
4399
  list-style-type: none;
4399
4400
  }
4400
4401
 
4401
- ._optionContent_10bf4_85,
4402
- ._separator_10bf4_86 {
4403
- display: flex;
4404
- flex-direction: column;
4405
- justify-content: center;
4406
- height: var(--ezui-c-menu-item-height);
4407
- padding: 0 var(--ezui-c-menu-padding-x);
4402
+ ._listboxList_fl67g_79 {
4403
+ padding-top: 0;
4404
+ padding-bottom: 0;
4408
4405
  }
4409
4406
 
4410
- ._option_10bf4_85 {
4407
+ ._option_fl67g_91 {
4411
4408
  text-decoration: none;
4412
- }
4413
-
4414
- ._optionContent_10bf4_85 {
4415
- color: var(--ezui-c-menu-color-text);
4416
- }
4417
-
4418
- ._listbox_10bf4_9,
4419
- ._option_10bf4_85 {
4420
4409
  outline: none;
4421
4410
  }
4422
-
4423
- ._option_10bf4_85:not([data-is-disabled=true]) {
4411
+ ._option_fl67g_91:not([data-is-disabled=true]) {
4424
4412
  cursor: pointer;
4425
4413
  }
4426
-
4427
- ._option_10bf4_85[data-is-focused=true] ._optionContent_10bf4_85 {
4414
+ ._option_fl67g_91[data-is-focused=true] ._optionContent_fl67g_98 {
4428
4415
  background: var(--ezui-c-menu-color-background-hovered);
4429
4416
  }
4430
-
4431
- ._option_10bf4_85[data-is-disabled=true] ._optionContent_10bf4_85 {
4417
+ ._option_fl67g_91[data-is-disabled=true] ._optionContent_fl67g_98 {
4432
4418
  color: var(--ezui-c-menu-color-text-disabled);
4433
4419
  cursor: default;
4434
4420
  font-style: italic;
4435
4421
  }
4436
4422
 
4437
- ._separator_10bf4_86::after {
4423
+ ._optionContent_fl67g_98,
4424
+ ._separator_fl67g_108 {
4425
+ display: flex;
4426
+ flex-direction: column;
4427
+ justify-content: center;
4428
+ height: var(--ezui-c-menu-item-height);
4429
+ padding: 0 var(--ezui-c-menu-padding-x);
4430
+ }
4431
+
4432
+ ._optionContent_fl67g_98 {
4433
+ color: var(--ezui-c-menu-color-text);
4434
+ display: flex;
4435
+ flex-direction: column;
4436
+ align-items: flex-start;
4437
+ gap: 2px;
4438
+ min-width: 0;
4439
+ width: 100%;
4440
+ height: auto;
4441
+ padding-top: var(--ezui-space-1);
4442
+ padding-bottom: var(--ezui-space-1);
4443
+ }
4444
+
4445
+ ._optionDescription_fl67g_129 {
4446
+ width: 100%;
4447
+ line-height: 1.2;
4448
+ white-space: nowrap;
4449
+ }
4450
+
4451
+ ._separator_fl67g_108::after {
4438
4452
  content: "";
4439
4453
  height: 0;
4440
4454
  border: 0 solid var(--ezui-c-menu-color-border);
@@ -4442,7 +4456,7 @@ textarea {
4442
4456
  border-bottom-width: 0.5px;
4443
4457
  }
4444
4458
 
4445
- ._fieldRoot_10bf4_129 {
4459
+ ._fieldRoot_fl67g_143 {
4446
4460
  --ezui-c-inputfield-border-radius: var(--ezui-shape-border-radius-md);
4447
4461
  --ezui-c-inputfield-box-shadow: var(--ezui-shadow-input);
4448
4462
  --ezui-c-inputfield-color-text-resting: var(--ezui-color-primary-800);
@@ -4463,9 +4477,11 @@ textarea {
4463
4477
  flex-direction: column;
4464
4478
  }
4465
4479
 
4466
- ._selectField_10bf4_150 {
4480
+ ._selectField_fl67g_164 {
4467
4481
  display: flex;
4468
4482
  align-items: center;
4483
+ flex: 1 1 auto;
4484
+ min-width: 0;
4469
4485
  font-weight: 400;
4470
4486
  font-size: 0.9375rem;
4471
4487
  letter-spacing: 0.03125rem;
@@ -4481,25 +4497,25 @@ textarea {
4481
4497
  position: relative;
4482
4498
  width: 100%;
4483
4499
  }
4484
- ._selectField_10bf4_150:focus, ._selectField_10bf4_150:active {
4500
+ ._selectField_fl67g_164:focus, ._selectField_fl67g_164:active {
4485
4501
  color: var(--ezui-c-inputfield-color-text-engaged);
4486
4502
  border-color: var(--ezui-c-inputfield-color-border-engaged);
4487
4503
  }
4488
- ._selectField_10bf4_150:focus {
4504
+ ._selectField_fl67g_164:focus {
4489
4505
  box-shadow: var(--ezui-c-inputfield-box-shadow);
4490
4506
  }
4491
- ._selectField_10bf4_150::placeholder {
4507
+ ._selectField_fl67g_164::placeholder {
4492
4508
  color: var(--ezui-c-inputfield-color-text-subdued);
4493
4509
  }
4494
- ._selectField_10bf4_150:disabled {
4510
+ ._selectField_fl67g_164:disabled {
4495
4511
  background-color: var(--ezui-c-inputfield-color-background-disabled);
4496
4512
  color: var(--ezui-c-inputfield-color-text-disabled);
4497
4513
  }
4498
- ._selectField_10bf4_150:hover {
4514
+ ._selectField_fl67g_164:hover {
4499
4515
  border-color: var(--ezui-c-inputfield-color-border-engaged);
4500
4516
  }
4501
4517
 
4502
- ._selectSizeSm_10bf4_186 {
4518
+ ._selectSizeSm_fl67g_202 {
4503
4519
  font-weight: 400;
4504
4520
  font-size: 0.8125rem;
4505
4521
  letter-spacing: 0.015625rem;
@@ -4510,40 +4526,59 @@ textarea {
4510
4526
  --ezui-c-inputfield-icon-input-padding: var(--ezui-space-4-5);
4511
4527
  }
4512
4528
 
4513
- ._selectSizeLg_10bf4_197 {
4529
+ ._selectSizeLg_fl67g_213 {
4514
4530
  padding: calc(var(--ezui-space-2) - var(--ezui-shape-border-width-1));
4515
4531
  --ezui-c-inputfield-min-height-textarea: 56px;
4516
4532
  --ezui-c-inputfield-password-input-padding-right: 0;
4517
4533
  }
4518
4534
 
4519
- ._selectFieldError_10bf4_203 {
4535
+ ._selectFieldError_fl67g_219 {
4520
4536
  color: var(--ezui-c-inputfield-color-text-danger);
4521
4537
  border-color: var(--ezui-c-inputfield-color-border-danger);
4522
4538
  }
4523
- ._selectFieldError_10bf4_203:focus, ._selectFieldError_10bf4_203:active {
4539
+ ._selectFieldError_fl67g_219:focus, ._selectFieldError_fl67g_219:active {
4524
4540
  border-color: var(--ezui-c-inputfield-color-border-danger);
4525
4541
  }
4526
4542
 
4527
- ._selectFieldIconStart_10bf4_211 {
4543
+ ._selectFieldIconStart_fl67g_227 {
4528
4544
  padding-left: var(--ezui-c-inputfield-icon-input-padding);
4529
4545
  }
4530
4546
 
4531
- ._selectFieldIconEnd_10bf4_215 {
4547
+ ._selectFieldIconEnd_fl67g_231 {
4532
4548
  padding-right: var(--ezui-c-inputfield-icon-input-padding);
4533
4549
  }
4534
4550
 
4535
- ._selectFieldIconContainer_10bf4_219 {
4551
+ ._selectFieldIconContainer_fl67g_235 {
4536
4552
  display: flex;
4537
4553
  align-items: center;
4538
4554
  position: relative;
4539
4555
  }
4540
4556
 
4541
- ._selectFieldText_10bf4_225 {
4557
+ ._selectFieldText_fl67g_241 {
4542
4558
  overflow: hidden;
4559
+ display: flex;
4560
+ flex-direction: column;
4561
+ align-items: flex-start;
4562
+ justify-content: center;
4563
+ min-width: 0;
4564
+ width: 100%;
4565
+ text-align: left;
4566
+ gap: 0;
4543
4567
  }
4544
4568
 
4545
- ._listboxOpen_10bf4_229 {
4569
+ ._selectedDescription_fl67g_253 {
4570
+ width: 100%;
4571
+ line-height: 1.2;
4572
+ white-space: nowrap;
4573
+ }
4574
+
4575
+ ._listboxOpen_fl67g_259 {
4546
4576
  border-color: var(--ezui-c-inputfield-color-border-engaged);
4577
+ }
4578
+
4579
+ ._selectFieldIconContainer_fl67g_235 > :last-child {
4580
+ top: 50%;
4581
+ transform: translateY(-50%);
4547
4582
  }/**
4548
4583
  * Do not edit directly, this file was auto-generated.
4549
4584
  */