@ballistix.digital/react-components 0.4.45 → 0.4.46

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.ts CHANGED
@@ -101,7 +101,7 @@ type TProps$b = {
101
101
  children: ReactElement | ReactElement[];
102
102
  label: string | ReactElement;
103
103
  type?: 'button' | 'compact';
104
- direction?: 'left' | 'right';
104
+ direction?: 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right';
105
105
  styles?: TDropdownElementStyles;
106
106
  };
107
107
  declare const DropdownElement: {
package/dist/index.esm.js CHANGED
@@ -436,7 +436,7 @@ var styles$g = {
436
436
  };
437
437
 
438
438
  var Container$3 = function (props) {
439
- var children = props.children, label = props.label, _a = props.type, type = _a === void 0 ? 'button' : _a, _b = props.direction, direction = _b === void 0 ? 'left' : _b, stylesOverrides = props.styles;
439
+ var children = props.children, label = props.label, _a = props.type, type = _a === void 0 ? 'button' : _a, _b = props.direction, direction = _b === void 0 ? 'bottom-left' : _b, stylesOverrides = props.styles;
440
440
  var handleGenerateStyle = function () {
441
441
  var result = deepCopyObject(styles$f.base);
442
442
  var keys = calculateNestedKeys(styles$f.base);
@@ -462,18 +462,26 @@ var base$e = {
462
462
  };
463
463
  var button = {};
464
464
  var compact = {};
465
- var left$1 = {
465
+ var bottomLeft = {
466
466
  items: 'origin-top-right right-0',
467
467
  };
468
- var right$1 = {
468
+ var bottomRight = {
469
469
  items: 'origin-top-left left-0',
470
470
  };
471
+ var topLeft = {
472
+ items: 'origin-bottom-right right-0 bottom-0',
473
+ };
474
+ var topRight = {
475
+ items: 'origin-bottom-left left-0 bottom-0',
476
+ };
471
477
  var styles$f = {
472
478
  base: base$e,
473
479
  button: button,
474
480
  compact: compact,
475
- left: left$1,
476
- right: right$1,
481
+ 'bottom-left': bottomLeft,
482
+ 'bottom-right': bottomRight,
483
+ 'top-left': topLeft,
484
+ 'top-right': topRight,
477
485
  };
478
486
 
479
487
  var IconElement = function (props) {