@stll/ui 0.94.0 → 0.95.0

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.
@@ -95,6 +95,16 @@ export declare const LabelFace: ({ children, className }: {
95
95
  children: ReactNode;
96
96
  className?: string | undefined;
97
97
  }) => import("react").JSX.Element;
98
+ /**
99
+ * One row of a list of choices, as `Label` draws it (its `choice` variant),
100
+ * for a pending list whose options wait on data: the same row box, holding
101
+ * the faces the view draws in place of the control and its caption. It is
102
+ * no control: it takes no pointer and is hidden from assistive technology.
103
+ */
104
+ export declare const ChoiceFace: ({ children, className }: {
105
+ children: ReactNode;
106
+ className?: string | undefined;
107
+ }) => import("react").JSX.Element;
98
108
  /**
99
109
  * How a field's face lays out its parts, in `Form`'s names: `stack` puts the
100
110
  * caption over the control over its lines (the field's column), `inline` a
@@ -118,6 +118,18 @@ const LabelFace = ({ children, className }) => /* @__PURE__ */ jsx("span", {
118
118
  "data-slot": "label-face",
119
119
  children
120
120
  });
121
+ /**
122
+ * One row of a list of choices, as `Label` draws it (its `choice` variant),
123
+ * for a pending list whose options wait on data: the same row box, holding
124
+ * the faces the view draws in place of the control and its caption. It is
125
+ * no control: it takes no pointer and is hidden from assistive technology.
126
+ */
127
+ const ChoiceFace = ({ children, className }) => /* @__PURE__ */ jsx("span", {
128
+ "aria-hidden": "true",
129
+ className: cn(LABEL_VARIANT_CLASS_NAME.choice, FACE_UNAVAILABLE_CLASS, className),
130
+ "data-slot": "choice-face",
131
+ children
132
+ });
121
133
  const FIELD_FACE_LAYOUT_CLASS_NAMES = {
122
134
  stack: "",
123
135
  inline: "flex-row items-center"
@@ -189,4 +201,4 @@ const SplitButtonFace = ({ children, size = "md" }) => /* @__PURE__ */ jsxs("spa
189
201
  children: /* @__PURE__ */ jsx(SplitButtonChevron, {})
190
202
  })]
191
203
  });
192
- export { ButtonFace, CheckboxFace, FaceLabelPending, FieldDescriptionFace, FieldFace, FieldTriggerFace, InputFace, LabelFace, SPLIT_BUTTON_PRIMARY_CLASS, SPLIT_BUTTON_ROOT_CLASS, SPLIT_BUTTON_TRIGGER_CLASS, SegmentedIconToggleFace, SelectTriggerFace, SplitButtonChevron, SplitButtonFace, SwitchFace, TabsFace, buttonFaceClassName };
204
+ export { ButtonFace, CheckboxFace, ChoiceFace, FaceLabelPending, FieldDescriptionFace, FieldFace, FieldTriggerFace, InputFace, LabelFace, SPLIT_BUTTON_PRIMARY_CLASS, SPLIT_BUTTON_ROOT_CLASS, SPLIT_BUTTON_TRIGGER_CLASS, SegmentedIconToggleFace, SelectTriggerFace, SplitButtonChevron, SplitButtonFace, SwitchFace, TabsFace, buttonFaceClassName };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stll/ui",
3
- "version": "0.94.0",
3
+ "version": "0.95.0",
4
4
  "description": "Stella's design system: bidi-aware React primitives built on Base UI, the dockable inspector pane, and the Tailwind v4 theme they are styled with.",
5
5
  "keywords": [
6
6
  "base-ui",