@versini/ui-types 9.0.0 → 9.1.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +24 -1
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -227,6 +227,29 @@ declare namespace ButtonCopyTypes {
227
227
  >;
228
228
  }
229
229
 
230
+ declare namespace ButtonGroupTypes {
231
+ export type Props = {
232
+ /**
233
+ * The buttons to render in the group.
234
+ */
235
+ children: React.ReactNode;
236
+ /**
237
+ * CSS class(es) to add to the main component wrapper.
238
+ */
239
+ className?: string;
240
+ /**
241
+ * The spacing between buttons in the group.
242
+ * @default "medium"
243
+ */
244
+ gap?: "small" | "medium" | "large";
245
+ /**
246
+ * The layout direction of the button group.
247
+ * @default "horizontal"
248
+ */
249
+ orientation?: "horizontal" | "vertical";
250
+ } & React.HTMLAttributes<HTMLDivElement>;
251
+ }
252
+
230
253
  declare namespace CardTypes {
231
254
  export type Props = {
232
255
  /**
@@ -448,4 +471,4 @@ declare namespace TooltipTypes {
448
471
  };
449
472
  }
450
473
 
451
- export { ButtonCopyTypes, ButtonIconTypes, ButtonLinkTypes, ButtonSortTypes, ButtonTypes, CardTypes, LiveRegionTypes, ModalTypes, TooltipTypes };
474
+ export { ButtonCopyTypes, ButtonGroupTypes, ButtonIconTypes, ButtonLinkTypes, ButtonSortTypes, ButtonTypes, CardTypes, LiveRegionTypes, ModalTypes, TooltipTypes };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/ui-types",
3
- "version": "9.0.0",
3
+ "version": "9.1.0",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -32,5 +32,5 @@
32
32
  "test:watch": "vitest",
33
33
  "test": "vitest run"
34
34
  },
35
- "gitHead": "a295349019d1512796f266bba535de383f12b6ee"
35
+ "gitHead": "e1d07ef9f8c39af8e1cf471a2d1688f4bca1771c"
36
36
  }