@ornikar/kitt-universal 1.3.0 → 1.4.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.
- package/dist/definitions/story-components/Story.d.ts.map +1 -1
- package/dist/definitions/story-components/theme.d.ts +2 -0
- package/dist/definitions/story-components/theme.d.ts.map +1 -0
- package/dist/index-browser-all.es.android.js +9 -7
- package/dist/index-browser-all.es.android.js.map +1 -1
- package/dist/index-browser-all.es.ios.js +9 -7
- package/dist/index-browser-all.es.ios.js.map +1 -1
- package/dist/index-browser-all.es.js +9 -7
- package/dist/index-browser-all.es.js.map +1 -1
- package/dist/index-browser-all.es.web.js +9 -7
- package/dist/index-browser-all.es.web.js.map +1 -1
- package/dist/index-node-14.17.cjs.js +9 -7
- package/dist/index-node-14.17.cjs.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Story.d.ts","sourceRoot":"","sources":["../../../src/story-components/Story.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"Story.d.ts","sourceRoot":"","sources":["../../../src/story-components/Story.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAKpD,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,SAAS,CAAC;IACjB,QAAQ,EAAE,SAAS,CAAC;IACpB,qBAAqB,CAAC,EAAE,eAAe,CAAC,uBAAuB,CAAC,CAAC;CAClE;AAMD,wBAAgB,KAAK,CAAC,EAAE,KAAK,EAAE,qBAAqB,EAAE,QAAQ,EAAE,EAAE,UAAU,GAAG,YAAY,CAO1F"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/story-components/theme.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,KAAK,CAAC"}
|
|
@@ -1460,7 +1460,7 @@ var _excluded$2 = ["title", "className", "children"],
|
|
|
1460
1460
|
_excluded2 = ["title", "className", "children"];
|
|
1461
1461
|
|
|
1462
1462
|
var _templateObject$4, _templateObject2$1, _templateObject3$1;
|
|
1463
|
-
var StyledSection = styled.View(_templateObject$4 || (_templateObject$4 = _taggedTemplateLiteral(["\n margin-bottom:
|
|
1463
|
+
var StyledSection = styled.View(_templateObject$4 || (_templateObject$4 = _taggedTemplateLiteral(["\n margin-bottom: 32px;\n"])));
|
|
1464
1464
|
function Section(_ref) {
|
|
1465
1465
|
var title = _ref.title;
|
|
1466
1466
|
_ref.className;
|
|
@@ -1469,7 +1469,7 @@ function Section(_ref) {
|
|
|
1469
1469
|
|
|
1470
1470
|
return /*#__PURE__*/React.createElement(StyledSection, props, /*#__PURE__*/React.createElement(StoryTitle.Level2, null, title), children);
|
|
1471
1471
|
}
|
|
1472
|
-
var StyledSubSection = styled.View(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteral(["\n margin-bottom:
|
|
1472
|
+
var StyledSubSection = styled.View(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteral(["\n margin-bottom: 16px;\n"])));
|
|
1473
1473
|
|
|
1474
1474
|
function SubSection(_ref2) {
|
|
1475
1475
|
var title = _ref2.title;
|
|
@@ -1480,7 +1480,7 @@ function SubSection(_ref2) {
|
|
|
1480
1480
|
return /*#__PURE__*/React.createElement(StyledSubSection, props, /*#__PURE__*/React.createElement(StoryTitle.Level3, null, title), children);
|
|
1481
1481
|
}
|
|
1482
1482
|
|
|
1483
|
-
var StyledDemoSection = styled.View(_templateObject3$1 || (_templateObject3$1 = _taggedTemplateLiteral(["\n margin-bottom:
|
|
1483
|
+
var StyledDemoSection = styled.View(_templateObject3$1 || (_templateObject3$1 = _taggedTemplateLiteral(["\n margin-bottom: 64px;\n"])));
|
|
1484
1484
|
|
|
1485
1485
|
function DemoSection(_ref3) {
|
|
1486
1486
|
var children = _ref3.children;
|
|
@@ -1492,8 +1492,10 @@ function DemoSection(_ref3) {
|
|
|
1492
1492
|
Section.SubSection = SubSection;
|
|
1493
1493
|
Section.DemoSection = DemoSection;
|
|
1494
1494
|
|
|
1495
|
+
var storyPadding = 16;
|
|
1496
|
+
|
|
1495
1497
|
var _templateObject$3;
|
|
1496
|
-
var StoryContainer = styled.ScrollView(_templateObject$3 || (_templateObject$3 = _taggedTemplateLiteral(["\n padding:
|
|
1498
|
+
var StoryContainer = styled.ScrollView(_templateObject$3 || (_templateObject$3 = _taggedTemplateLiteral(["\n padding: ", "px;\n"])), storyPadding);
|
|
1497
1499
|
function Story(_ref) {
|
|
1498
1500
|
var title = _ref.title,
|
|
1499
1501
|
contentContainerStyle = _ref.contentContainerStyle,
|
|
@@ -1511,9 +1513,9 @@ function StoryDecorator(storyFn, context) {
|
|
|
1511
1513
|
|
|
1512
1514
|
var _templateObject$2, _templateObject2, _templateObject3, _templateObject4;
|
|
1513
1515
|
var SmallScreenRow = styled.View(_templateObject$2 || (_templateObject$2 = _taggedTemplateLiteral(["\n flex-direction: column;\n margin: 0;\n"])));
|
|
1514
|
-
var SmallScreenCol = styled.View(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n padding:
|
|
1515
|
-
var FlexRow = styled.View(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n flex-direction: row;\n margin: 0 -
|
|
1516
|
-
var FlexCol = styled.View(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n flex-grow: 1;\n flex-basis: 0;\n margin: 0
|
|
1516
|
+
var SmallScreenCol = styled.View(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n padding: 8px 0 16px;\n"])));
|
|
1517
|
+
var FlexRow = styled.View(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n flex-direction: row;\n margin: 0 -4px 16px;\n"])));
|
|
1518
|
+
var FlexCol = styled.View(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n flex-grow: 1;\n flex-basis: 0;\n margin: 0 8px;\n"])));
|
|
1517
1519
|
|
|
1518
1520
|
function StoryGridRow(_ref) {
|
|
1519
1521
|
var children = _ref.children,
|