@antimatter-audio/antimatter-ui 7.2.0 → 7.3.1
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 +3 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -265,7 +265,8 @@ declare enum AlignItems {
|
|
|
265
265
|
declare enum LayoutTags {
|
|
266
266
|
header = "header",
|
|
267
267
|
main = "main",
|
|
268
|
-
section = "section"
|
|
268
|
+
section = "section",
|
|
269
|
+
div = "div"
|
|
269
270
|
}
|
|
270
271
|
|
|
271
272
|
interface LayoutProps {
|
|
@@ -292,6 +293,7 @@ declare namespace Layout {
|
|
|
292
293
|
var height: typeof Height;
|
|
293
294
|
var padding: typeof Spacing;
|
|
294
295
|
var flexWrap: typeof FlexWrap;
|
|
296
|
+
var tag: typeof LayoutTags;
|
|
295
297
|
}
|
|
296
298
|
|
|
297
299
|
interface LayoutFlexItemProps {
|
package/dist/index.js
CHANGED
|
@@ -1245,6 +1245,7 @@ var LayoutTags;
|
|
|
1245
1245
|
LayoutTags["header"] = "header";
|
|
1246
1246
|
LayoutTags["main"] = "main";
|
|
1247
1247
|
LayoutTags["section"] = "section";
|
|
1248
|
+
LayoutTags["div"] = "div";
|
|
1248
1249
|
})(LayoutTags || (LayoutTags = {}));
|
|
1249
1250
|
|
|
1250
1251
|
function _define_property$4(obj, key, value) {
|
|
@@ -1281,7 +1282,7 @@ function Layout(param) {
|
|
|
1281
1282
|
Spacing.none,
|
|
1282
1283
|
Spacing.none,
|
|
1283
1284
|
Spacing.none
|
|
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.
|
|
1285
|
+
] : _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.div : _param_tag;
|
|
1285
1286
|
var Tag = tag;
|
|
1286
1287
|
var _padding_, _padding_1, _padding_2, _ref;
|
|
1287
1288
|
return /*#__PURE__*/ React__default.createElement(Tag, {
|
|
@@ -1307,6 +1308,7 @@ Layout.width = Width;
|
|
|
1307
1308
|
Layout.height = Height;
|
|
1308
1309
|
Layout.padding = Spacing;
|
|
1309
1310
|
Layout.flexWrap = FlexWrap;
|
|
1311
|
+
Layout.tag = LayoutTags;
|
|
1310
1312
|
|
|
1311
1313
|
var LayoutFlexItemStyle = 'LayoutFlexItem_LayoutFlexItemStyle__197p9du0';
|
|
1312
1314
|
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'};
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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