@luscii-healthtech/web-ui 58.7.2 → 58.8.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.
@@ -0,0 +1,16 @@
1
+ import { __rest } from '../../vendor/tslib/tslib.es6.js';
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import classNames from 'classnames';
4
+ import React__default from 'react';
5
+ import { twMerge } from 'tailwind-merge';
6
+
7
+ const ButtonGroup = React__default.forwardRef((_a, innerRef) => {
8
+ var { children, direction = "RTL", className } = _a, otherAttributes = __rest(_a, ["children", "direction", "className"]);
9
+ return jsx("div", Object.assign({ ref: innerRef }, otherAttributes, { className: twMerge(classNames("ui:flex ui:flex-row ui:items-center ui:gap-f_base", {
10
+ "ui:justify-end": direction === "RTL",
11
+ "ui:justify-start": direction === "LTR"
12
+ }), className), children }));
13
+ });
14
+
15
+ export { ButtonGroup };
16
+ //# sourceMappingURL=ButtonGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonGroup.js","sources":["../../../../../../src/components/ButtonGroup/ButtonGroup.tsx"],"sourcesContent":[null],"names":["React","_jsx"],"mappings":";;;;;;AAwCO,MAAM,WAAA,GAAcA,cAAA,CAAM,UAAA,CAC/B,CACE,IACA,QAAA,KACe;AAFf,EAAA,IAAA,EAAE,QAAA,EAAU,SAAA,GAAY,KAAA,EAAO,WAAS,GAAA,EAAA,EAAK,eAAA,GAAe,MAAA,CAAA,EAAA,EAA5D,CAAA,UAAA,EAAA,WAAA,EAAA,WAAA,CAA8D,CAAA;AAG9D,EAAA,OACEC,GAAA,CAAA,KAAA,EAAA,MAAA,CAAA,MAAA,CAAA,EACE,GAAA,EAAK,QAAA,EAAQ,EACT,eAAA,EAAe,EACnB,SAAA,EAAW,OAAA,CACT,WAAW,mDAAA,EAAqD;AAAA,IAC9D,kBAAkB,SAAA,KAAc,KAAA;AAAA,IAChC,oBAAoB,SAAA,KAAc;AAAA,GACnC,CAAA,EACD,SAAS,CAAA,YAGF,CAAA,CAAA;AAGf,CAAC;;;;"}
package/dist/esm/index.js CHANGED
@@ -17,6 +17,7 @@ export { TertiaryButton } from './components/ButtonV2/TertiaryButton.js';
17
17
  export { PrimaryIconButton } from './components/ButtonV2/PrimaryIconButton.js';
18
18
  export { SecondaryIconButton } from './components/ButtonV2/SecondaryIconButton.js';
19
19
  export { TertiaryIconButton } from './components/ButtonV2/TertiaryIconButton.js';
20
+ export { ButtonGroup } from './components/ButtonGroup/ButtonGroup.js';
20
21
  export { Carousel } from './components/Carousel/Carousel.js';
21
22
  export { default as CenteredHero } from './components/CenteredHero/CenteredHero.js';
22
23
  export { Checkbox } from './components/Checkbox/Checkbox.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -2408,6 +2408,14 @@ const TertiaryIconButton = React__namespace.default.forwardRef((props, innerRef)
2408
2408
  }, props.className) }));
2409
2409
  });
2410
2410
 
2411
+ const ButtonGroup = React__namespace.default.forwardRef((_a, innerRef) => {
2412
+ var { children, direction = "RTL", className } = _a, otherAttributes = __rest(_a, ["children", "direction", "className"]);
2413
+ return jsxRuntime.jsx("div", Object.assign({ ref: innerRef }, otherAttributes, { className: tailwindMerge.twMerge(classNames__default.default("ui:flex ui:flex-row ui:items-center ui:gap-f_base", {
2414
+ "ui:justify-end": direction === "RTL",
2415
+ "ui:justify-start": direction === "LTR"
2416
+ }), className), children }));
2417
+ });
2418
+
2411
2419
  const DotButton = (_a) => {
2412
2420
  var { onClick, isActive, className } = _a, rest = __rest(_a, ["onClick", "isActive", "className"]);
2413
2421
  const classes = classNames__default.default(className, "ui:rounded-full", "ui:hover:bg-primary", "ui:size-2", {
@@ -7397,6 +7405,7 @@ exports.BookOpenIcon = BookOpenIcon;
7397
7405
  exports.Box = Box;
7398
7406
  exports.Breadcrumbs = Breadcrumbs;
7399
7407
  exports.BrushIcon = BrushIcon;
7408
+ exports.ButtonGroup = ButtonGroup;
7400
7409
  exports.CRUDPage = CRUDPage;
7401
7410
  exports.CakeIcon = CakeIcon;
7402
7411
  exports.CalendarDayIcon = CalendarDayIcon;