@antimatter-audio/antimatter-ui 7.0.2 → 7.2.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,4 @@
1
+ .ModuleHeader_ModuleHeaderStyle__1in8y4q0 {
2
+ background-color: var(--colors-background-header__1gden72h);
3
+ color: var(--colors-text-primary__1gden72v);
4
+ }
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import React__default from 'react';
3
3
  import { Spacing as Spacing$1, FlexWrap as FlexWrap$1 } from 'common/types';
4
- import { FlexDirection as FlexDirection$1, AlignItems, JustifyContent as JustifyContent$1 } from 'core/Layout/types';
4
+ import { FlexDirection as FlexDirection$1, AlignItems as AlignItems$1, JustifyContent as JustifyContent$1 } from 'core/Layout/types';
5
5
  export { defaultTheme, root, themeValues } from 'styles.css';
6
6
  import * as _use_gesture_react_dist_declarations_src_types from '@use-gesture/react/dist/declarations/src/types';
7
7
  import { SliderOrientation as SliderOrientation$1, JuceSliderProperties as JuceSliderProperties$1 } from 'core/Slider/types';
@@ -176,20 +176,10 @@ declare enum FlexDirection {
176
176
  row = "row",
177
177
  column = "column"
178
178
  }
179
- declare enum FlexAlign {
180
- flexStart = "flex-start",
181
- flexEnd = "flex-end",
182
- center = "center"
183
- }
184
179
  declare enum FlexWrap {
185
180
  wrap = "wrap",
186
181
  noWrap = "nowrap"
187
182
  }
188
- declare enum JustifyContent {
189
- flexStart = "flex-start",
190
- flexEnd = "flex-end",
191
- center = "center"
192
- }
193
183
  declare enum Height {
194
184
  full = "100%",
195
185
  auto = "auto"
@@ -257,10 +247,31 @@ declare namespace IndicatorLight {
257
247
  var type: typeof IndicatorLightType;
258
248
  }
259
249
 
250
+ declare enum JustifyContent {
251
+ flexStart = "flex-start",
252
+ flexEnd = "flex-end",
253
+ center = "center",
254
+ spaceBetween = "space-between",
255
+ spaceAround = "space-around",
256
+ spaceEvenly = "space-evenly"
257
+ }
258
+ declare enum AlignItems {
259
+ flexStart = "flex-start",
260
+ flexEnd = "flex-end",
261
+ center = "center",
262
+ stretch = "stretch",
263
+ baseline = "baseline"
264
+ }
265
+ declare enum LayoutTags {
266
+ header = "header",
267
+ main = "main",
268
+ section = "section"
269
+ }
270
+
260
271
  interface LayoutProps {
261
272
  className?: string;
262
273
  style?: React__default.CSSProperties;
263
- alignItems?: FlexAlign;
274
+ alignItems?: AlignItems;
264
275
  justifyContent?: JustifyContent;
265
276
  gap?: Spacing;
266
277
  flexWrap?: FlexWrap;
@@ -269,10 +280,11 @@ interface LayoutProps {
269
280
  height?: Height | string;
270
281
  border?: boolean;
271
282
  padding?: Array<Spacing>;
283
+ tag?: LayoutTags;
272
284
  }
273
- declare function Layout({ alignItems, justifyContent, className, style, children, width, flexWrap, height, border, flexDirection, padding, gap, }: React__default.PropsWithChildren<LayoutProps>): React__default.JSX.Element;
285
+ declare function Layout({ alignItems, justifyContent, className, style, children, width, flexWrap, height, border, flexDirection, padding, gap, tag, }: React__default.PropsWithChildren<LayoutProps>): React__default.JSX.Element;
274
286
  declare namespace Layout {
275
- var alignItems: typeof FlexAlign;
287
+ var alignItems: typeof AlignItems;
276
288
  var justifyContent: typeof JustifyContent;
277
289
  var gap: typeof Spacing;
278
290
  var flexDirection: typeof FlexDirection;
@@ -287,7 +299,7 @@ interface LayoutFlexItemProps {
287
299
  offset?: number;
288
300
  padding?: Array<Spacing$1>;
289
301
  justifyContent?: JustifyContent$1;
290
- alignItems?: AlignItems;
302
+ alignItems?: AlignItems$1;
291
303
  flexDirection?: FlexDirection$1;
292
304
  flexWrap?: FlexWrap$1;
293
305
  flex?: string;
@@ -301,7 +313,7 @@ declare function LayoutFlexItem({ justifyContent, alignItems, flexDirection, cla
301
313
  declare namespace LayoutFlexItem {
302
314
  var padding: typeof Spacing$1;
303
315
  var flexDirection: typeof FlexDirection$1;
304
- var alignItems: typeof AlignItems;
316
+ var alignItems: typeof AlignItems$1;
305
317
  var justifyContent: typeof JustifyContent$1;
306
318
  var gap: typeof Spacing$1;
307
319
  var flexWrap: typeof FlexWrap$1;
@@ -323,8 +335,8 @@ declare namespace LayoutBlockItem {
323
335
 
324
336
  interface KeyValueDisplayScreenProps {
325
337
  data?: {
326
- key: string;
327
- value: string | number;
338
+ key?: string;
339
+ value?: string | number;
328
340
  };
329
341
  className?: string;
330
342
  style?: React__default.CSSProperties;
@@ -340,6 +352,17 @@ interface OscilloscopeProps {
340
352
  }
341
353
  declare function Oscilloscope({ width, height, className, style, id, }: OscilloscopeProps): React__default.JSX.Element;
342
354
 
355
+ declare function ModuleHeader({ title, subtitle, activeItem, className, style, }: {
356
+ title: string;
357
+ subtitle: string;
358
+ activeItem: {
359
+ key: string;
360
+ value: string | number;
361
+ };
362
+ className: string;
363
+ style: React__default.CSSProperties;
364
+ }): React__default.JSX.Element;
365
+
343
366
  declare const clamp: (val: number, min?: number, max?: number) => number;
344
367
  declare function normalizedToScaledValue({ normalizedValue, skew, end, start, }: {
345
368
  normalizedValue: number;
@@ -408,4 +431,4 @@ declare const useSlider: ({ id, mockProperties, mockInitialScaledValue, sliderOr
408
431
  properties: JuceSliderProperties$1 | null;
409
432
  };
410
433
 
411
- export { Slider as BarSlider, Button, CustomSlider, Dropdown, IndicatorLight, KeyValueDisplayScreen, Label, Layout, LayoutBlockItem, LayoutFlexItem, Matrix, Oscilloscope, RotarySlider, SliderValue, Tabs, TextHeader, TextInput, clamp, decimalToPercent, getNormalizedValue, getPosition, getTransformString, normalizedToScaledValue, percentToDecimal, useSlider };
434
+ export { Slider as BarSlider, Button, CustomSlider, Dropdown, IndicatorLight, KeyValueDisplayScreen, Label, Layout, LayoutBlockItem, LayoutFlexItem, Matrix, ModuleHeader, Oscilloscope, RotarySlider, SliderValue, Tabs, TextHeader, TextInput, clamp, decimalToPercent, getNormalizedValue, getPosition, getTransformString, normalizedToScaledValue, percentToDecimal, useSlider };
package/dist/index.js CHANGED
@@ -20,6 +20,7 @@ import './assets/src/core/Indicators/IndicatorLight.css.ts.vanilla-DezQz_Lo.css'
20
20
  import './assets/src/core/Layout/LayoutBlockItem.css.ts.vanilla-DqLdzK1x.css';
21
21
  import * as d3 from 'd3';
22
22
  import './assets/src/components/Oscilloscope/Oscilloscope.css.ts.vanilla-2B6OY8v0.css';
23
+ import './assets/src/components/ModuleHeader/ModuleHeader.css.ts.vanilla-D0g1ku0n.css';
23
24
 
24
25
  var Spacing;
25
26
  (function(Spacing) {
@@ -53,6 +54,9 @@ var JustifyContent$1;
53
54
  JustifyContent["flexStart"] = "flex-start";
54
55
  JustifyContent["flexEnd"] = "flex-end";
55
56
  JustifyContent["center"] = "center";
57
+ JustifyContent["spaceBetween"] = "space-between";
58
+ JustifyContent["spaceAround"] = "space-around";
59
+ JustifyContent["spaceEvenly"] = "space-evenly";
56
60
  })(JustifyContent$1 || (JustifyContent$1 = {}));
57
61
  var Height;
58
62
  (function(Height) {
@@ -177,7 +181,7 @@ function _array_like_to_array$4(arr, len) {
177
181
  function _array_with_holes$4(arr) {
178
182
  if (Array.isArray(arr)) return arr;
179
183
  }
180
- function _define_property$a(obj, key, value) {
184
+ function _define_property$b(obj, key, value) {
181
185
  if (key in obj) {
182
186
  Object.defineProperty(obj, key, {
183
187
  value: value,
@@ -217,7 +221,7 @@ function _iterable_to_array_limit$4(arr, i) {
217
221
  function _non_iterable_rest$4() {
218
222
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
219
223
  }
220
- function _object_spread$a(target) {
224
+ function _object_spread$b(target) {
221
225
  for(var i = 1; i < arguments.length; i++){
222
226
  var source = arguments[i] != null ? arguments[i] : {};
223
227
  var ownKeys = Object.keys(source);
@@ -227,7 +231,7 @@ function _object_spread$a(target) {
227
231
  }));
228
232
  }
229
233
  ownKeys.forEach(function(key) {
230
- _define_property$a(target, key, source[key]);
234
+ _define_property$b(target, key, source[key]);
231
235
  });
232
236
  }
233
237
  return target;
@@ -276,7 +280,7 @@ function Button(param) {
276
280
  id: id,
277
281
  onMouseDown: handleMouseDown,
278
282
  disabled: disabled,
279
- style: _object_spread$a({}, style),
283
+ style: _object_spread$b({}, style),
280
284
  className: classnames('Button', defaultTheme, ButtonStyle, variants$2[size], isSelected && 'selected', className)
281
285
  }, text ? text : children);
282
286
  }
@@ -392,7 +396,7 @@ function _array_like_to_array$2(arr, len) {
392
396
  function _array_with_holes$2(arr) {
393
397
  if (Array.isArray(arr)) return arr;
394
398
  }
395
- function _define_property$9(obj, key, value) {
399
+ function _define_property$a(obj, key, value) {
396
400
  if (key in obj) {
397
401
  Object.defineProperty(obj, key, {
398
402
  value: value,
@@ -432,7 +436,7 @@ function _iterable_to_array_limit$2(arr, i) {
432
436
  function _non_iterable_rest$2() {
433
437
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
434
438
  }
435
- function _object_spread$9(target) {
439
+ function _object_spread$a(target) {
436
440
  for(var i = 1; i < arguments.length; i++){
437
441
  var source = arguments[i] != null ? arguments[i] : {};
438
442
  var ownKeys = Object.keys(source);
@@ -442,7 +446,7 @@ function _object_spread$9(target) {
442
446
  }));
443
447
  }
444
448
  ownKeys.forEach(function(key) {
445
- _define_property$9(target, key, source[key]);
449
+ _define_property$a(target, key, source[key]);
446
450
  });
447
451
  }
448
452
  return target;
@@ -535,7 +539,7 @@ function TextInput(param) {
535
539
  return /*#__PURE__*/ React__default.createElement("input", {
536
540
  ref: inputRef,
537
541
  className: classnames('TextInput', hasIncompleteValue || hasError ? 'is-blinking' : '', className),
538
- style: _object_spread$9({
542
+ style: _object_spread$a({
539
543
  color: hasError ? 'red' : hasIncompleteValue ? '#999' : textColor,
540
544
  fontFamily: 'DS-DIGIB',
541
545
  fontSize: '24px'
@@ -814,7 +818,7 @@ var RotarySliderIndicatorStyle = 'RotarySlider_RotarySliderIndicatorStyle__srrsm
814
818
  var RotarySliderInnerStyle = 'RotarySlider_RotarySliderInnerStyle__srrsmo1';
815
819
  var RotarySliderStyle = 'RotarySlider_RotarySliderStyle__srrsmo0';
816
820
 
817
- function _define_property$8(obj, key, value) {
821
+ function _define_property$9(obj, key, value) {
818
822
  if (key in obj) {
819
823
  Object.defineProperty(obj, key, {
820
824
  value: value,
@@ -827,7 +831,7 @@ function _define_property$8(obj, key, value) {
827
831
  }
828
832
  return obj;
829
833
  }
830
- function _object_spread$8(target) {
834
+ function _object_spread$9(target) {
831
835
  for(var i = 1; i < arguments.length; i++){
832
836
  var source = arguments[i] != null ? arguments[i] : {};
833
837
  var ownKeys = Object.keys(source);
@@ -837,7 +841,7 @@ function _object_spread$8(target) {
837
841
  }));
838
842
  }
839
843
  ownKeys.forEach(function(key) {
840
- _define_property$8(target, key, source[key]);
844
+ _define_property$9(target, key, source[key]);
841
845
  });
842
846
  }
843
847
  return target;
@@ -883,18 +887,18 @@ function RotarySlider(param) {
883
887
  }
884
888
  }, polarity === SliderPolarity.bipolar && /*#__PURE__*/ React__default.createElement("div", {
885
889
  className: classnames(defaultTheme, RotarySliderCenterMarkerStyle)
886
- }), /*#__PURE__*/ React__default.createElement("div", _object_spread_props$2(_object_spread$8({
890
+ }), /*#__PURE__*/ React__default.createElement("div", _object_spread_props$2(_object_spread$9({
887
891
  className: classnames(defaultTheme, RotarySliderStyle, 'Slider-rotary', polarity === SliderPolarity.linear ? 'Slider-polarity-linear' : 'Slider-polarity-bipolar', className)
888
892
  }, bindDrag()), {
889
893
  onMouseEnter: function() {
890
894
  return onMouseEnter && onMouseEnter(id, decimalToPercent(scaledValue));
891
895
  },
892
- style: _object_spread$8({
896
+ style: _object_spread$9({
893
897
  touchAction: 'none'
894
898
  }, style)
895
899
  }), /*#__PURE__*/ React__default.createElement("div", {
896
900
  className: classnames(defaultTheme, RotarySliderInnerStyle),
897
- style: _object_spread$8({
901
+ style: _object_spread$9({
898
902
  rotate: rotationBehavior === SliderRotationBehavior.rotateIndicator ? "".concat(polarity === SliderPolarity.linear ? normalizedValue : normalizedValue + 0.5, "turn") : ''
899
903
  }, getTransformString({
900
904
  sliderType: SliderType.rotary,
@@ -907,7 +911,7 @@ function RotarySlider(param) {
907
911
  }))
908
912
  }, /*#__PURE__*/ React__default.createElement("div", {
909
913
  className: classnames(defaultTheme, RotarySliderIndicatorStyle),
910
- style: _object_spread$8({}, style)
914
+ style: _object_spread$9({}, style)
911
915
  }))));
912
916
  }
913
917
  RotarySlider.sliderPolarity = SliderPolarity;
@@ -916,7 +920,7 @@ var BarSliderInnerStyle = 'BarSlider_BarSliderInnerStyle__kmoaop1';
916
920
  var BarSliderStyle = 'BarSlider_BarSliderStyle__kmoaop0';
917
921
  var variants$1 = {horizontal:'BarSlider_variants_horizontal__kmoaop3 BarSlider_BarSliderStyle__kmoaop0',vertical:'BarSlider_variants_vertical__kmoaop4 BarSlider_BarSliderStyle__kmoaop0'};
918
922
 
919
- function _define_property$7(obj, key, value) {
923
+ function _define_property$8(obj, key, value) {
920
924
  if (key in obj) {
921
925
  Object.defineProperty(obj, key, {
922
926
  value: value,
@@ -929,7 +933,7 @@ function _define_property$7(obj, key, value) {
929
933
  }
930
934
  return obj;
931
935
  }
932
- function _object_spread$7(target) {
936
+ function _object_spread$8(target) {
933
937
  for(var i = 1; i < arguments.length; i++){
934
938
  var source = arguments[i] != null ? arguments[i] : {};
935
939
  var ownKeys = Object.keys(source);
@@ -939,7 +943,7 @@ function _object_spread$7(target) {
939
943
  }));
940
944
  }
941
945
  ownKeys.forEach(function(key) {
942
- _define_property$7(target, key, source[key]);
946
+ _define_property$8(target, key, source[key]);
943
947
  });
944
948
  }
945
949
  return target;
@@ -986,18 +990,18 @@ function Slider(param) {
986
990
  }
987
991
  }, polarity === SliderPolarity.bipolar && /*#__PURE__*/ React__default.createElement("div", {
988
992
  className: "Slider-center-marker"
989
- }), /*#__PURE__*/ React__default.createElement("div", _object_spread_props$1(_object_spread$7({
993
+ }), /*#__PURE__*/ React__default.createElement("div", _object_spread_props$1(_object_spread$8({
990
994
  className: classnames('Slider-bar', defaultTheme, BarSliderStyle, sliderOrientation === SliderOrientation.horizontal ? variants$1.horizontal : variants$1.vertical, className)
991
995
  }, bindDrag()), {
992
996
  onMouseEnter: function() {
993
997
  return onMouseEnter && onMouseEnter(id, decimalToPercent(scaledValue));
994
998
  },
995
- style: _object_spread$7({
999
+ style: _object_spread$8({
996
1000
  touchAction: 'none'
997
1001
  }, style)
998
1002
  }), /*#__PURE__*/ React__default.createElement("div", {
999
1003
  className: classnames(defaultTheme, BarSliderInnerStyle),
1000
- style: _object_spread$7({}, getTransformString({
1004
+ style: _object_spread$8({}, getTransformString({
1001
1005
  sliderType: SliderType.bar,
1002
1006
  sliderOrientation: sliderOrientation,
1003
1007
  polarity: polarity,
@@ -1020,7 +1024,7 @@ var paddingLeft$4 = {none:'Label_paddingLeft_none__gunjniu Label_LabelStyle__gun
1020
1024
  var paddingRight$4 = {none:'Label_paddingRight_none__gunjnie Label_LabelStyle__gunjni0',xSmall:'Label_paddingRight_xSmall__gunjnif Label_LabelStyle__gunjni0',small:'Label_paddingRight_small__gunjnig Label_LabelStyle__gunjni0',mediumSmall:'Label_paddingRight_mediumSmall__gunjnih Label_LabelStyle__gunjni0',medium:'Label_paddingRight_medium__gunjnii Label_LabelStyle__gunjni0',mediumLarge:'Label_paddingRight_mediumLarge__gunjnij Label_LabelStyle__gunjni0',large:'Label_paddingRight_large__gunjnik Label_LabelStyle__gunjni0',xLarge:'Label_paddingRight_xLarge__gunjnil Label_LabelStyle__gunjni0'};
1021
1025
  var paddingTop$4 = {none:'Label_paddingTop_none__gunjni6 Label_LabelStyle__gunjni0',xSmall:'Label_paddingTop_xSmall__gunjni7 Label_LabelStyle__gunjni0',small:'Label_paddingTop_small__gunjni8 Label_LabelStyle__gunjni0',mediumSmall:'Label_paddingTop_mediumSmall__gunjni9 Label_LabelStyle__gunjni0',medium:'Label_paddingTop_medium__gunjnia Label_LabelStyle__gunjni0',mediumLarge:'Label_paddingTop_mediumLarge__gunjnib Label_LabelStyle__gunjni0',large:'Label_paddingTop_large__gunjnic Label_LabelStyle__gunjni0',xLarge:'Label_paddingTop_xLarge__gunjnid Label_LabelStyle__gunjni0'};
1022
1026
 
1023
- function _define_property$6(obj, key, value) {
1027
+ function _define_property$7(obj, key, value) {
1024
1028
  if (key in obj) {
1025
1029
  Object.defineProperty(obj, key, {
1026
1030
  value: value,
@@ -1033,7 +1037,7 @@ function _define_property$6(obj, key, value) {
1033
1037
  }
1034
1038
  return obj;
1035
1039
  }
1036
- function _object_spread$6(target) {
1040
+ function _object_spread$7(target) {
1037
1041
  for(var i = 1; i < arguments.length; i++){
1038
1042
  var source = arguments[i] != null ? arguments[i] : {};
1039
1043
  var ownKeys = Object.keys(source);
@@ -1043,7 +1047,7 @@ function _object_spread$6(target) {
1043
1047
  }));
1044
1048
  }
1045
1049
  ownKeys.forEach(function(key) {
1046
- _define_property$6(target, key, source[key]);
1050
+ _define_property$7(target, key, source[key]);
1047
1051
  });
1048
1052
  }
1049
1053
  return target;
@@ -1055,7 +1059,7 @@ function Label(param) {
1055
1059
  var _padding_, _padding_1, _padding_2, _ref;
1056
1060
  return /*#__PURE__*/ React.createElement("span", {
1057
1061
  id: id,
1058
- style: _object_spread$6({}, style),
1062
+ style: _object_spread$7({}, style),
1059
1063
  className: classnames('Label', LabelStyle, paddingTop$4[padding[0]], paddingRight$4[(_padding_ = padding[1]) !== null && _padding_ !== void 0 ? _padding_ : padding[0]], paddingBottom$4[(_padding_1 = padding[2]) !== null && _padding_1 !== void 0 ? _padding_1 : padding[0]], paddingLeft$4[(_ref = (_padding_2 = padding[3]) !== null && _padding_2 !== void 0 ? _padding_2 : padding[1]) !== null && _ref !== void 0 ? _ref : padding[0]], className)
1060
1064
  }, value ? value : children);
1061
1065
  }
@@ -1079,7 +1083,7 @@ function SliderValue(param) {
1079
1083
  }));
1080
1084
  }
1081
1085
 
1082
- function _define_property$5(obj, key, value) {
1086
+ function _define_property$6(obj, key, value) {
1083
1087
  if (key in obj) {
1084
1088
  Object.defineProperty(obj, key, {
1085
1089
  value: value,
@@ -1092,7 +1096,7 @@ function _define_property$5(obj, key, value) {
1092
1096
  }
1093
1097
  return obj;
1094
1098
  }
1095
- function _object_spread$5(target) {
1099
+ function _object_spread$6(target) {
1096
1100
  for(var i = 1; i < arguments.length; i++){
1097
1101
  var source = arguments[i] != null ? arguments[i] : {};
1098
1102
  var ownKeys = Object.keys(source);
@@ -1102,7 +1106,7 @@ function _object_spread$5(target) {
1102
1106
  }));
1103
1107
  }
1104
1108
  ownKeys.forEach(function(key) {
1105
- _define_property$5(target, key, source[key]);
1109
+ _define_property$6(target, key, source[key]);
1106
1110
  });
1107
1111
  }
1108
1112
  return target;
@@ -1140,13 +1144,13 @@ function CustomSlider(param) {
1140
1144
  onChange: onChange
1141
1145
  }).bindDrag;
1142
1146
  return /*#__PURE__*/ React__default.createElement("div", {
1143
- style: _object_spread$5({}, style)
1144
- }, /*#__PURE__*/ React__default.createElement("div", _object_spread_props(_object_spread$5({
1147
+ style: _object_spread$6({}, style)
1148
+ }, /*#__PURE__*/ React__default.createElement("div", _object_spread_props(_object_spread$6({
1145
1149
  className: classnames('Slider-custom', className)
1146
1150
  }, bindDrag()), {
1147
1151
  onMouseEnter: onMouseEnter,
1148
1152
  onChange: onChange,
1149
- style: _object_spread$5({
1153
+ style: _object_spread$6({
1150
1154
  touchAction: 'none'
1151
1155
  }, style)
1152
1156
  }), /*#__PURE__*/ React__default.createElement("div", null, children)));
@@ -1164,7 +1168,7 @@ var HeaderLevels;
1164
1168
  HeaderLevels["h2"] = "h2";
1165
1169
  })(HeaderLevels || (HeaderLevels = {}));
1166
1170
 
1167
- function _define_property$4(obj, key, value) {
1171
+ function _define_property$5(obj, key, value) {
1168
1172
  if (key in obj) {
1169
1173
  Object.defineProperty(obj, key, {
1170
1174
  value: value,
@@ -1177,7 +1181,7 @@ function _define_property$4(obj, key, value) {
1177
1181
  }
1178
1182
  return obj;
1179
1183
  }
1180
- function _object_spread$4(target) {
1184
+ function _object_spread$5(target) {
1181
1185
  for(var i = 1; i < arguments.length; i++){
1182
1186
  var source = arguments[i] != null ? arguments[i] : {};
1183
1187
  var ownKeys = Object.keys(source);
@@ -1187,7 +1191,7 @@ function _object_spread$4(target) {
1187
1191
  }));
1188
1192
  }
1189
1193
  ownKeys.forEach(function(key) {
1190
- _define_property$4(target, key, source[key]);
1194
+ _define_property$5(target, key, source[key]);
1191
1195
  });
1192
1196
  }
1193
1197
  return target;
@@ -1200,7 +1204,7 @@ function TextHeader(param) {
1200
1204
  var _padding_, _padding_1, _padding_2, _ref;
1201
1205
  return /*#__PURE__*/ React.createElement(Tag, {
1202
1206
  id: id,
1203
- style: _object_spread$4({}, style),
1207
+ style: _object_spread$5({}, style),
1204
1208
  className: classnames('TextHeader', TextHeaderStyle, paddingTop$3[padding[0]], paddingRight$3[(_padding_ = padding[1]) !== null && _padding_ !== void 0 ? _padding_ : padding[0]], paddingBottom$3[(_padding_1 = padding[2]) !== null && _padding_1 !== void 0 ? _padding_1 : padding[0]], paddingLeft$3[(_ref = (_padding_2 = padding[3]) !== null && _padding_2 !== void 0 ? _padding_2 : padding[1]) !== null && _ref !== void 0 ? _ref : padding[0]], className)
1205
1209
  }, value ? value : children);
1206
1210
  }
@@ -1214,7 +1218,36 @@ var paddingLeft$2 = {none:'Layout_paddingLeft_none__1sxxtfex Layout_LayoutStyle_
1214
1218
  var paddingRight$2 = {none:'Layout_paddingRight_none__1sxxtfeh Layout_LayoutStyle__1sxxtfe0',xSmall:'Layout_paddingRight_xSmall__1sxxtfei Layout_LayoutStyle__1sxxtfe0',small:'Layout_paddingRight_small__1sxxtfej Layout_LayoutStyle__1sxxtfe0',mediumSmall:'Layout_paddingRight_mediumSmall__1sxxtfek Layout_LayoutStyle__1sxxtfe0',medium:'Layout_paddingRight_medium__1sxxtfel Layout_LayoutStyle__1sxxtfe0',mediumLarge:'Layout_paddingRight_mediumLarge__1sxxtfem Layout_LayoutStyle__1sxxtfe0',large:'Layout_paddingRight_large__1sxxtfen Layout_LayoutStyle__1sxxtfe0',xLarge:'Layout_paddingRight_xLarge__1sxxtfeo Layout_LayoutStyle__1sxxtfe0'};
1215
1219
  var paddingTop$2 = {none:'Layout_paddingTop_none__1sxxtfe9 Layout_LayoutStyle__1sxxtfe0',xSmall:'Layout_paddingTop_xSmall__1sxxtfea Layout_LayoutStyle__1sxxtfe0',small:'Layout_paddingTop_small__1sxxtfeb Layout_LayoutStyle__1sxxtfe0',mediumSmall:'Layout_paddingTop_mediumSmall__1sxxtfec Layout_LayoutStyle__1sxxtfe0',medium:'Layout_paddingTop_medium__1sxxtfed Layout_LayoutStyle__1sxxtfe0',mediumLarge:'Layout_paddingTop_mediumLarge__1sxxtfee Layout_LayoutStyle__1sxxtfe0',large:'Layout_paddingTop_large__1sxxtfef Layout_LayoutStyle__1sxxtfe0',xLarge:'Layout_paddingTop_xLarge__1sxxtfeg Layout_LayoutStyle__1sxxtfe0'};
1216
1220
 
1217
- function _define_property$3(obj, key, value) {
1221
+ var FlexDirection;
1222
+ (function(FlexDirection) {
1223
+ FlexDirection["row"] = "row";
1224
+ FlexDirection["column"] = "column";
1225
+ })(FlexDirection || (FlexDirection = {}));
1226
+ var JustifyContent;
1227
+ (function(JustifyContent) {
1228
+ JustifyContent["flexStart"] = "flex-start";
1229
+ JustifyContent["flexEnd"] = "flex-end";
1230
+ JustifyContent["center"] = "center";
1231
+ JustifyContent["spaceBetween"] = "space-between";
1232
+ JustifyContent["spaceAround"] = "space-around";
1233
+ JustifyContent["spaceEvenly"] = "space-evenly";
1234
+ })(JustifyContent || (JustifyContent = {}));
1235
+ var AlignItems;
1236
+ (function(AlignItems) {
1237
+ AlignItems["flexStart"] = "flex-start";
1238
+ AlignItems["flexEnd"] = "flex-end";
1239
+ AlignItems["center"] = "center";
1240
+ AlignItems["stretch"] = "stretch";
1241
+ AlignItems["baseline"] = "baseline";
1242
+ })(AlignItems || (AlignItems = {}));
1243
+ var LayoutTags;
1244
+ (function(LayoutTags) {
1245
+ LayoutTags["header"] = "header";
1246
+ LayoutTags["main"] = "main";
1247
+ LayoutTags["section"] = "section";
1248
+ })(LayoutTags || (LayoutTags = {}));
1249
+
1250
+ function _define_property$4(obj, key, value) {
1218
1251
  if (key in obj) {
1219
1252
  Object.defineProperty(obj, key, {
1220
1253
  value: value,
@@ -1227,7 +1260,7 @@ function _define_property$3(obj, key, value) {
1227
1260
  }
1228
1261
  return obj;
1229
1262
  }
1230
- function _object_spread$3(target) {
1263
+ function _object_spread$4(target) {
1231
1264
  for(var i = 1; i < arguments.length; i++){
1232
1265
  var source = arguments[i] != null ? arguments[i] : {};
1233
1266
  var ownKeys = Object.keys(source);
@@ -1237,7 +1270,7 @@ function _object_spread$3(target) {
1237
1270
  }));
1238
1271
  }
1239
1272
  ownKeys.forEach(function(key) {
1240
- _define_property$3(target, key, source[key]);
1273
+ _define_property$4(target, key, source[key]);
1241
1274
  });
1242
1275
  }
1243
1276
  return target;
@@ -1248,12 +1281,13 @@ function Layout(param) {
1248
1281
  Spacing.none,
1249
1282
  Spacing.none,
1250
1283
  Spacing.none
1251
- ] : _param_padding, _param_gap = param.gap, gap = _param_gap === void 0 ? Spacing.xSmall : _param_gap;
1284
+ ] : _param_padding, _param_gap = param.gap, gap = _param_gap === void 0 ? Spacing.xSmall : _param_gap, _param_tag = param.tag, tag = _param_tag === void 0 ? LayoutTags.section : _param_tag;
1285
+ var Tag = tag;
1252
1286
  var _padding_, _padding_1, _padding_2, _ref;
1253
- return /*#__PURE__*/ React__default.createElement("div", {
1287
+ return /*#__PURE__*/ React__default.createElement(Tag, {
1254
1288
  className: classnames('Layout', 'globalValues', LayoutStyle, gapVariant$1[gap], paddingTop$2[padding[0]], paddingRight$2[(_padding_ = padding[1]) !== null && _padding_ !== void 0 ? _padding_ : padding[0]], paddingBottom$2[(_padding_1 = padding[2]) !== null && _padding_1 !== void 0 ? _padding_1 : padding[0]], paddingLeft$2[(_ref = (_padding_2 = padding[3]) !== null && _padding_2 !== void 0 ? _padding_2 : padding[1]) !== null && _ref !== void 0 ? _ref : padding[0]], className),
1255
1289
  // id="globalValues"
1256
- style: _object_spread$3({
1290
+ style: _object_spread$4({
1257
1291
  flexWrap: flexWrap,
1258
1292
  border: border ? '2px solid #999' : '',
1259
1293
  maxWidth: width,
@@ -1265,8 +1299,8 @@ function Layout(param) {
1265
1299
  }, children);
1266
1300
  }
1267
1301
  // Object.assign(Layout, width, height, ALIGN, JUSTIFY, DIRECTION, SPACING);
1268
- Layout.alignItems = FlexAlign;
1269
- Layout.justifyContent = JustifyContent$1;
1302
+ Layout.alignItems = AlignItems;
1303
+ Layout.justifyContent = JustifyContent;
1270
1304
  Layout.gap = Spacing;
1271
1305
  Layout.flexDirection = FlexDirection$1;
1272
1306
  Layout.width = Width;
@@ -1274,29 +1308,6 @@ Layout.height = Height;
1274
1308
  Layout.padding = Spacing;
1275
1309
  Layout.flexWrap = FlexWrap;
1276
1310
 
1277
- var FlexDirection;
1278
- (function(FlexDirection) {
1279
- FlexDirection["row"] = "row";
1280
- FlexDirection["column"] = "column";
1281
- })(FlexDirection || (FlexDirection = {}));
1282
- var JustifyContent;
1283
- (function(JustifyContent) {
1284
- JustifyContent["flexStart"] = "flex-start";
1285
- JustifyContent["flexEnd"] = "flex-end";
1286
- JustifyContent["center"] = "center";
1287
- JustifyContent["spaceBetween"] = "space-between";
1288
- JustifyContent["spaceAround"] = "space-around";
1289
- JustifyContent["spaceEvenly"] = "space-evenly";
1290
- })(JustifyContent || (JustifyContent = {}));
1291
- var AlignItems;
1292
- (function(AlignItems) {
1293
- AlignItems["flexStart"] = "flex-start";
1294
- AlignItems["flexEnd"] = "flex-end";
1295
- AlignItems["center"] = "center";
1296
- AlignItems["stretch"] = "stretch";
1297
- AlignItems["baseline"] = "baseline";
1298
- })(AlignItems || (AlignItems = {}));
1299
-
1300
1311
  var LayoutFlexItemStyle = 'LayoutFlexItem_LayoutFlexItemStyle__197p9du0';
1301
1312
  var gapVariant = {none:'LayoutFlexItem_gapVariant_none__197p9du1 LayoutFlexItem_LayoutFlexItemStyle__197p9du0',xSmall:'LayoutFlexItem_gapVariant_xSmall__197p9du2 LayoutFlexItem_LayoutFlexItemStyle__197p9du0',small:'LayoutFlexItem_gapVariant_small__197p9du3 LayoutFlexItem_LayoutFlexItemStyle__197p9du0',mediumSmall:'LayoutFlexItem_gapVariant_mediumSmall__197p9du4 LayoutFlexItem_LayoutFlexItemStyle__197p9du0',medium:'LayoutFlexItem_gapVariant_medium__197p9du5 LayoutFlexItem_LayoutFlexItemStyle__197p9du0',mediumLarge:'LayoutFlexItem_gapVariant_mediumLarge__197p9du6 LayoutFlexItem_LayoutFlexItemStyle__197p9du0',large:'LayoutFlexItem_gapVariant_large__197p9du7 LayoutFlexItem_LayoutFlexItemStyle__197p9du0',xLarge:'LayoutFlexItem_gapVariant_xLarge__197p9du8 LayoutFlexItem_LayoutFlexItemStyle__197p9du0'};
1302
1313
  var paddingBottom$1 = {none:'LayoutFlexItem_paddingBottom_none__197p9dup LayoutFlexItem_LayoutFlexItemStyle__197p9du0',xSmall:'LayoutFlexItem_paddingBottom_xSmall__197p9duq LayoutFlexItem_LayoutFlexItemStyle__197p9du0',small:'LayoutFlexItem_paddingBottom_small__197p9dur LayoutFlexItem_LayoutFlexItemStyle__197p9du0',mediumSmall:'LayoutFlexItem_paddingBottom_mediumSmall__197p9dus LayoutFlexItem_LayoutFlexItemStyle__197p9du0',medium:'LayoutFlexItem_paddingBottom_medium__197p9dut LayoutFlexItem_LayoutFlexItemStyle__197p9du0',mediumLarge:'LayoutFlexItem_paddingBottom_mediumLarge__197p9duu LayoutFlexItem_LayoutFlexItemStyle__197p9du0',large:'LayoutFlexItem_paddingBottom_large__197p9duv LayoutFlexItem_LayoutFlexItemStyle__197p9du0',xLarge:'LayoutFlexItem_paddingBottom_xLarge__197p9duw LayoutFlexItem_LayoutFlexItemStyle__197p9du0'};
@@ -1304,7 +1315,7 @@ var paddingLeft$1 = {none:'LayoutFlexItem_paddingLeft_none__197p9dux LayoutFlexI
1304
1315
  var paddingRight$1 = {none:'LayoutFlexItem_paddingRight_none__197p9duh LayoutFlexItem_LayoutFlexItemStyle__197p9du0',xSmall:'LayoutFlexItem_paddingRight_xSmall__197p9dui LayoutFlexItem_LayoutFlexItemStyle__197p9du0',small:'LayoutFlexItem_paddingRight_small__197p9duj LayoutFlexItem_LayoutFlexItemStyle__197p9du0',mediumSmall:'LayoutFlexItem_paddingRight_mediumSmall__197p9duk LayoutFlexItem_LayoutFlexItemStyle__197p9du0',medium:'LayoutFlexItem_paddingRight_medium__197p9dul LayoutFlexItem_LayoutFlexItemStyle__197p9du0',mediumLarge:'LayoutFlexItem_paddingRight_mediumLarge__197p9dum LayoutFlexItem_LayoutFlexItemStyle__197p9du0',large:'LayoutFlexItem_paddingRight_large__197p9dun LayoutFlexItem_LayoutFlexItemStyle__197p9du0',xLarge:'LayoutFlexItem_paddingRight_xLarge__197p9duo LayoutFlexItem_LayoutFlexItemStyle__197p9du0'};
1305
1316
  var paddingTop$1 = {none:'LayoutFlexItem_paddingTop_none__197p9du9 LayoutFlexItem_LayoutFlexItemStyle__197p9du0',xSmall:'LayoutFlexItem_paddingTop_xSmall__197p9dua LayoutFlexItem_LayoutFlexItemStyle__197p9du0',small:'LayoutFlexItem_paddingTop_small__197p9dub LayoutFlexItem_LayoutFlexItemStyle__197p9du0',mediumSmall:'LayoutFlexItem_paddingTop_mediumSmall__197p9duc LayoutFlexItem_LayoutFlexItemStyle__197p9du0',medium:'LayoutFlexItem_paddingTop_medium__197p9dud LayoutFlexItem_LayoutFlexItemStyle__197p9du0',mediumLarge:'LayoutFlexItem_paddingTop_mediumLarge__197p9due LayoutFlexItem_LayoutFlexItemStyle__197p9du0',large:'LayoutFlexItem_paddingTop_large__197p9duf LayoutFlexItem_LayoutFlexItemStyle__197p9du0',xLarge:'LayoutFlexItem_paddingTop_xLarge__197p9dug LayoutFlexItem_LayoutFlexItemStyle__197p9du0'};
1306
1317
 
1307
- function _define_property$2(obj, key, value) {
1318
+ function _define_property$3(obj, key, value) {
1308
1319
  if (key in obj) {
1309
1320
  Object.defineProperty(obj, key, {
1310
1321
  value: value,
@@ -1317,7 +1328,7 @@ function _define_property$2(obj, key, value) {
1317
1328
  }
1318
1329
  return obj;
1319
1330
  }
1320
- function _object_spread$2(target) {
1331
+ function _object_spread$3(target) {
1321
1332
  for(var i = 1; i < arguments.length; i++){
1322
1333
  var source = arguments[i] != null ? arguments[i] : {};
1323
1334
  var ownKeys = Object.keys(source);
@@ -1327,7 +1338,7 @@ function _object_spread$2(target) {
1327
1338
  }));
1328
1339
  }
1329
1340
  ownKeys.forEach(function(key) {
1330
- _define_property$2(target, key, source[key]);
1341
+ _define_property$3(target, key, source[key]);
1331
1342
  });
1332
1343
  }
1333
1344
  return target;
@@ -1336,7 +1347,7 @@ function LayoutFlexItem(param) {
1336
1347
  var _param_justifyContent = param.justifyContent, justifyContent = _param_justifyContent === void 0 ? JustifyContent.center : _param_justifyContent, _param_alignItems = param.alignItems, alignItems = _param_alignItems === void 0 ? AlignItems.center : _param_alignItems, _param_flexDirection = param.flexDirection, flexDirection = _param_flexDirection === void 0 ? FlexDirection.row : _param_flexDirection, className = param.className, children = param.children, onClick = param.onClick, flex = param.flex, _param_padding = param.padding, padding = _param_padding === void 0 ? [] : _param_padding, _param_style = param.style, style = _param_style === void 0 ? {} : _param_style, _param_border = param.border, border = _param_border === void 0 ? false : _param_border, _param_gap = param.gap, gap = _param_gap === void 0 ? Spacing.medium : _param_gap;
1337
1348
  var _padding_, _padding_1, _padding_2, _ref;
1338
1349
  return /*#__PURE__*/ React.createElement("div", {
1339
- style: _object_spread$2({
1350
+ style: _object_spread$3({
1340
1351
  border: border ? '2px solid #888' : '',
1341
1352
  justifyContent: justifyContent,
1342
1353
  alignItems: alignItems,
@@ -1422,7 +1433,7 @@ var paddingLeft = {none:'LayoutBlockItem_paddingLeft_none__xc14fup LayoutBlockIt
1422
1433
  var paddingRight = {none:'LayoutBlockItem_paddingRight_none__xc14fu9 LayoutBlockItem_LayoutBlockItemStyle__xc14fu0',xSmall:'LayoutBlockItem_paddingRight_xSmall__xc14fua LayoutBlockItem_LayoutBlockItemStyle__xc14fu0',small:'LayoutBlockItem_paddingRight_small__xc14fub LayoutBlockItem_LayoutBlockItemStyle__xc14fu0',mediumSmall:'LayoutBlockItem_paddingRight_mediumSmall__xc14fuc LayoutBlockItem_LayoutBlockItemStyle__xc14fu0',medium:'LayoutBlockItem_paddingRight_medium__xc14fud LayoutBlockItem_LayoutBlockItemStyle__xc14fu0',mediumLarge:'LayoutBlockItem_paddingRight_mediumLarge__xc14fue LayoutBlockItem_LayoutBlockItemStyle__xc14fu0',large:'LayoutBlockItem_paddingRight_large__xc14fuf LayoutBlockItem_LayoutBlockItemStyle__xc14fu0',xLarge:'LayoutBlockItem_paddingRight_xLarge__xc14fug LayoutBlockItem_LayoutBlockItemStyle__xc14fu0'};
1423
1434
  var paddingTop = {none:'LayoutBlockItem_paddingTop_none__xc14fu1 LayoutBlockItem_LayoutBlockItemStyle__xc14fu0',xSmall:'LayoutBlockItem_paddingTop_xSmall__xc14fu2 LayoutBlockItem_LayoutBlockItemStyle__xc14fu0',small:'LayoutBlockItem_paddingTop_small__xc14fu3 LayoutBlockItem_LayoutBlockItemStyle__xc14fu0',mediumSmall:'LayoutBlockItem_paddingTop_mediumSmall__xc14fu4 LayoutBlockItem_LayoutBlockItemStyle__xc14fu0',medium:'LayoutBlockItem_paddingTop_medium__xc14fu5 LayoutBlockItem_LayoutBlockItemStyle__xc14fu0',mediumLarge:'LayoutBlockItem_paddingTop_mediumLarge__xc14fu6 LayoutBlockItem_LayoutBlockItemStyle__xc14fu0',large:'LayoutBlockItem_paddingTop_large__xc14fu7 LayoutBlockItem_LayoutBlockItemStyle__xc14fu0',xLarge:'LayoutBlockItem_paddingTop_xLarge__xc14fu8 LayoutBlockItem_LayoutBlockItemStyle__xc14fu0'};
1424
1435
 
1425
- function _define_property$1(obj, key, value) {
1436
+ function _define_property$2(obj, key, value) {
1426
1437
  if (key in obj) {
1427
1438
  Object.defineProperty(obj, key, {
1428
1439
  value: value,
@@ -1435,7 +1446,7 @@ function _define_property$1(obj, key, value) {
1435
1446
  }
1436
1447
  return obj;
1437
1448
  }
1438
- function _object_spread$1(target) {
1449
+ function _object_spread$2(target) {
1439
1450
  for(var i = 1; i < arguments.length; i++){
1440
1451
  var source = arguments[i] != null ? arguments[i] : {};
1441
1452
  var ownKeys = Object.keys(source);
@@ -1445,7 +1456,7 @@ function _object_spread$1(target) {
1445
1456
  }));
1446
1457
  }
1447
1458
  ownKeys.forEach(function(key) {
1448
- _define_property$1(target, key, source[key]);
1459
+ _define_property$2(target, key, source[key]);
1449
1460
  });
1450
1461
  }
1451
1462
  return target;
@@ -1454,7 +1465,7 @@ function LayoutBlockItem(param) {
1454
1465
  var className = param.className, children = param.children, onClick = param.onClick, _param_padding = param.padding, padding = _param_padding === void 0 ? [] : _param_padding, _param_style = param.style, style = _param_style === void 0 ? {} : _param_style, _param_border = param.border, border = _param_border === void 0 ? false : _param_border;
1455
1466
  var _padding_, _padding_1, _padding_2, _ref;
1456
1467
  return /*#__PURE__*/ React.createElement("div", {
1457
- style: _object_spread$1({
1468
+ style: _object_spread$2({
1458
1469
  border: border ? '2px solid #888' : ''
1459
1470
  }, style),
1460
1471
  onClick: onClick,
@@ -1463,7 +1474,7 @@ function LayoutBlockItem(param) {
1463
1474
  }
1464
1475
  LayoutBlockItem.padding = Spacing;
1465
1476
 
1466
- function _define_property(obj, key, value) {
1477
+ function _define_property$1(obj, key, value) {
1467
1478
  if (key in obj) {
1468
1479
  Object.defineProperty(obj, key, {
1469
1480
  value: value,
@@ -1476,7 +1487,7 @@ function _define_property(obj, key, value) {
1476
1487
  }
1477
1488
  return obj;
1478
1489
  }
1479
- function _object_spread(target) {
1490
+ function _object_spread$1(target) {
1480
1491
  for(var i = 1; i < arguments.length; i++){
1481
1492
  var source = arguments[i] != null ? arguments[i] : {};
1482
1493
  var ownKeys = Object.keys(source);
@@ -1486,7 +1497,7 @@ function _object_spread(target) {
1486
1497
  }));
1487
1498
  }
1488
1499
  ownKeys.forEach(function(key) {
1489
- _define_property(target, key, source[key]);
1500
+ _define_property$1(target, key, source[key]);
1490
1501
  });
1491
1502
  }
1492
1503
  return target;
@@ -1496,7 +1507,7 @@ function KeyValueDisplayScreen(param) {
1496
1507
  return /*#__PURE__*/ React__default.createElement(Layout, {
1497
1508
  flexDirection: Layout.flexDirection.column,
1498
1509
  gap: Layout.gap.small,
1499
- style: _object_spread({
1510
+ style: _object_spread$1({
1500
1511
  backgroundColor: '#333',
1501
1512
  width: '150px'
1502
1513
  }, style),
@@ -1651,5 +1662,54 @@ function Oscilloscope(param) {
1651
1662
  }));
1652
1663
  }
1653
1664
 
1654
- export { Slider as BarSlider, Button, CustomSlider, Dropdown, IndicatorLight, KeyValueDisplayScreen, Label, Layout, LayoutBlockItem, LayoutFlexItem, Matrix, Oscilloscope, RotarySlider, SliderValue, Tabs, TextHeader, TextInput, clamp, decimalToPercent, defaultTheme, getNormalizedValue, getPosition, getTransformString, normalizedToScaledValue, percentToDecimal, root, themeValues, useSlider };
1665
+ var ModuleHeaderStyle = 'ModuleHeader_ModuleHeaderStyle__1in8y4q0';
1666
+
1667
+ function _define_property(obj, key, value) {
1668
+ if (key in obj) {
1669
+ Object.defineProperty(obj, key, {
1670
+ value: value,
1671
+ enumerable: true,
1672
+ configurable: true,
1673
+ writable: true
1674
+ });
1675
+ } else {
1676
+ obj[key] = value;
1677
+ }
1678
+ return obj;
1679
+ }
1680
+ function _object_spread(target) {
1681
+ for(var i = 1; i < arguments.length; i++){
1682
+ var source = arguments[i] != null ? arguments[i] : {};
1683
+ var ownKeys = Object.keys(source);
1684
+ if (typeof Object.getOwnPropertySymbols === "function") {
1685
+ ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
1686
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
1687
+ }));
1688
+ }
1689
+ ownKeys.forEach(function(key) {
1690
+ _define_property(target, key, source[key]);
1691
+ });
1692
+ }
1693
+ return target;
1694
+ }
1695
+ function ModuleHeader(param) {
1696
+ var title = param.title, subtitle = param.subtitle, activeItem = param.activeItem, className = param.className, style = param.style;
1697
+ return /*#__PURE__*/ React__default.createElement("header", null, /*#__PURE__*/ React__default.createElement(Layout, {
1698
+ gap: Layout.gap.medium,
1699
+ className: classnames(ModuleHeaderStyle, defaultTheme, className),
1700
+ style: _object_spread({}, style)
1701
+ }, /*#__PURE__*/ React__default.createElement(LayoutFlexItem, {
1702
+ flexDirection: LayoutFlexItem.flexDirection.column
1703
+ }, /*#__PURE__*/ React__default.createElement(TextHeader, null, title), /*#__PURE__*/ React__default.createElement(TextHeader, null, subtitle)), /*#__PURE__*/ React__default.createElement(LayoutFlexItem, null, /*#__PURE__*/ React__default.createElement(KeyValueDisplayScreen, {
1704
+ data: {
1705
+ key: activeItem === null || activeItem === void 0 ? void 0 : activeItem.key,
1706
+ value: activeItem === null || activeItem === void 0 ? void 0 : activeItem.value
1707
+ }
1708
+ })), /*#__PURE__*/ React__default.createElement(LayoutFlexItem, null, /*#__PURE__*/ React__default.createElement(Dropdown, {
1709
+ id: "ModuleHeader-dropdown",
1710
+ items: []
1711
+ }))));
1712
+ }
1713
+
1714
+ export { Slider as BarSlider, Button, CustomSlider, Dropdown, IndicatorLight, KeyValueDisplayScreen, Label, Layout, LayoutBlockItem, LayoutFlexItem, Matrix, ModuleHeader, Oscilloscope, RotarySlider, SliderValue, Tabs, TextHeader, TextInput, clamp, decimalToPercent, defaultTheme, getNormalizedValue, getPosition, getTransformString, normalizedToScaledValue, percentToDecimal, root, themeValues, useSlider };
1655
1715
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antimatter-audio/antimatter-ui",
3
- "version": "7.0.2",
3
+ "version": "7.2.0",
4
4
  "description": "React UI component library for Antimatter Audio.",
5
5
  "repository": {
6
6
  "type": "git",