@bubo-squared/ui-framework 0.1.94 → 0.1.96

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/dist/index.d.cts CHANGED
@@ -146,9 +146,12 @@ interface BadgeStatusProps extends React$1.HTMLAttributes<HTMLDivElement> {
146
146
  declare const BadgeStatus: React$1.ForwardRefExoticComponent<BadgeStatusProps & React$1.RefAttributes<HTMLDivElement>>;
147
147
 
148
148
  type DividerType = "default" | "text" | "iconButton" | "iconButtonGroup" | "button";
149
+ type DividerOrientation = "horizontal" | "vertical";
149
150
  type SimpleDividerType = Exclude<DividerType, "button" | "iconButton" | "iconButtonGroup">;
150
151
  interface BaseDividerProps extends React$1.HTMLAttributes<HTMLDivElement> {
151
152
  type?: SimpleDividerType;
153
+ /** Orientation of the divider lines. Defaults to "horizontal". */
154
+ orientation?: DividerOrientation;
152
155
  /** Size variant for the divider (affects line thickness + center element sizing). */
153
156
  size?: DividerSize;
154
157
  /** Label shown for text variant (e.g. "OR"). */
@@ -159,6 +162,8 @@ type IconButtonVariant = ButtonProps["variant"];
159
162
  type DividerSize = IconButtonGroupProps["size"];
160
163
  interface IconLinesDividerProps extends React$1.HTMLAttributes<HTMLDivElement> {
161
164
  type: "iconButton";
165
+ /** Orientation of the divider lines. Defaults to "horizontal". */
166
+ orientation?: DividerOrientation;
162
167
  /** Size variant for the divider (affects line thickness + icon button size). */
163
168
  size?: DividerSize;
164
169
  /** Icon rendered between the lines. */
@@ -172,6 +177,8 @@ interface IconLinesDividerProps extends React$1.HTMLAttributes<HTMLDivElement> {
172
177
  }
173
178
  interface ButtonLinesDividerProps extends React$1.HTMLAttributes<HTMLDivElement> {
174
179
  type: "button";
180
+ /** Orientation of the divider lines. Defaults to "horizontal". */
181
+ orientation?: DividerOrientation;
175
182
  /** Size variant for the divider (affects line thickness + button size). */
176
183
  size?: DividerSize;
177
184
  /** Text inside the button between the lines. */
@@ -183,6 +190,8 @@ interface ButtonLinesDividerProps extends React$1.HTMLAttributes<HTMLDivElement>
183
190
  }
184
191
  interface IconGroupLinesDividerProps extends React$1.HTMLAttributes<HTMLDivElement> {
185
192
  type: "iconButtonGroup";
193
+ /** Orientation of the divider lines. Defaults to "horizontal". */
194
+ orientation?: DividerOrientation;
186
195
  /** Size variant for the divider (affects line thickness + icon group size). */
187
196
  size?: DividerSize;
188
197
  /** Items rendered as a segmented icon group between the lines. */
package/dist/index.d.ts CHANGED
@@ -146,9 +146,12 @@ interface BadgeStatusProps extends React$1.HTMLAttributes<HTMLDivElement> {
146
146
  declare const BadgeStatus: React$1.ForwardRefExoticComponent<BadgeStatusProps & React$1.RefAttributes<HTMLDivElement>>;
147
147
 
148
148
  type DividerType = "default" | "text" | "iconButton" | "iconButtonGroup" | "button";
149
+ type DividerOrientation = "horizontal" | "vertical";
149
150
  type SimpleDividerType = Exclude<DividerType, "button" | "iconButton" | "iconButtonGroup">;
150
151
  interface BaseDividerProps extends React$1.HTMLAttributes<HTMLDivElement> {
151
152
  type?: SimpleDividerType;
153
+ /** Orientation of the divider lines. Defaults to "horizontal". */
154
+ orientation?: DividerOrientation;
152
155
  /** Size variant for the divider (affects line thickness + center element sizing). */
153
156
  size?: DividerSize;
154
157
  /** Label shown for text variant (e.g. "OR"). */
@@ -159,6 +162,8 @@ type IconButtonVariant = ButtonProps["variant"];
159
162
  type DividerSize = IconButtonGroupProps["size"];
160
163
  interface IconLinesDividerProps extends React$1.HTMLAttributes<HTMLDivElement> {
161
164
  type: "iconButton";
165
+ /** Orientation of the divider lines. Defaults to "horizontal". */
166
+ orientation?: DividerOrientation;
162
167
  /** Size variant for the divider (affects line thickness + icon button size). */
163
168
  size?: DividerSize;
164
169
  /** Icon rendered between the lines. */
@@ -172,6 +177,8 @@ interface IconLinesDividerProps extends React$1.HTMLAttributes<HTMLDivElement> {
172
177
  }
173
178
  interface ButtonLinesDividerProps extends React$1.HTMLAttributes<HTMLDivElement> {
174
179
  type: "button";
180
+ /** Orientation of the divider lines. Defaults to "horizontal". */
181
+ orientation?: DividerOrientation;
175
182
  /** Size variant for the divider (affects line thickness + button size). */
176
183
  size?: DividerSize;
177
184
  /** Text inside the button between the lines. */
@@ -183,6 +190,8 @@ interface ButtonLinesDividerProps extends React$1.HTMLAttributes<HTMLDivElement>
183
190
  }
184
191
  interface IconGroupLinesDividerProps extends React$1.HTMLAttributes<HTMLDivElement> {
185
192
  type: "iconButtonGroup";
193
+ /** Orientation of the divider lines. Defaults to "horizontal". */
194
+ orientation?: DividerOrientation;
186
195
  /** Size variant for the divider (affects line thickness + icon group size). */
187
196
  size?: DividerSize;
188
197
  /** Items rendered as a segmented icon group between the lines. */