react-miui 0.4.2 → 0.5.2

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.
Files changed (83) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/components/layout/card/Card.d.ts +8 -0
  3. package/dist/components/layout/card/Card.d.ts.map +1 -0
  4. package/dist/components/layout/card/Card.js +19 -0
  5. package/dist/components/layout/card/Card.js.map +1 -0
  6. package/dist/components/layout/card/Card.module.scss +15 -0
  7. package/dist/components/layout/section/Section.d.ts +12 -0
  8. package/dist/components/layout/section/Section.d.ts.map +1 -0
  9. package/dist/components/layout/section/Section.js +22 -0
  10. package/dist/components/layout/section/Section.js.map +1 -0
  11. package/dist/components/layout/section/Section.module.scss +17 -0
  12. package/dist/components/layout/section/SectionContainer.d.ts +4 -0
  13. package/dist/components/layout/section/SectionContainer.d.ts.map +1 -0
  14. package/dist/components/layout/section/SectionContainer.js +13 -0
  15. package/dist/components/layout/section/SectionContainer.js.map +1 -0
  16. package/dist/components/layout/section/SectionContainer.module.scss +4 -0
  17. package/dist/components/ui/button/Button.d.ts +1 -2
  18. package/dist/components/ui/button/Button.d.ts.map +1 -1
  19. package/dist/components/ui/button/Button.js +16 -4
  20. package/dist/components/ui/button/Button.js.map +1 -1
  21. package/dist/global.scss +2 -0
  22. package/dist/index.d.ts +2 -0
  23. package/dist/index.d.ts.map +1 -1
  24. package/dist/index.js +2 -0
  25. package/dist/index.js.map +1 -1
  26. package/dist/utils/makeVariants.d.ts +3 -0
  27. package/dist/utils/makeVariants.d.ts.map +1 -0
  28. package/dist/utils/makeVariants.js +14 -0
  29. package/dist/utils/makeVariants.js.map +1 -0
  30. package/docs/assets/js/search.js +1 -1
  31. package/docs/assets/js/search.json +1 -1
  32. package/docs/enums/ICON.html +12 -6
  33. package/docs/index.html +13 -4
  34. package/docs/modules/Item.html +6 -3
  35. package/docs/modules/List.html +6 -3
  36. package/docs/modules/Section.html +147 -0
  37. package/docs/modules/StickyHeader.html +7 -4
  38. package/docs/modules.html +49 -17
  39. package/docs/pages/Tutorials/Test.html +6 -3
  40. package/esm/components/layout/card/Card.d.ts +8 -0
  41. package/esm/components/layout/card/Card.d.ts.map +1 -0
  42. package/esm/components/layout/card/Card.js +13 -0
  43. package/esm/components/layout/card/Card.js.map +1 -0
  44. package/esm/components/layout/card/Card.module.scss +15 -0
  45. package/esm/components/layout/section/Section.d.ts +12 -0
  46. package/esm/components/layout/section/Section.d.ts.map +1 -0
  47. package/esm/components/layout/section/Section.js +16 -0
  48. package/esm/components/layout/section/Section.js.map +1 -0
  49. package/esm/components/layout/section/Section.module.scss +17 -0
  50. package/esm/components/layout/section/SectionContainer.d.ts +4 -0
  51. package/esm/components/layout/section/SectionContainer.d.ts.map +1 -0
  52. package/esm/components/layout/section/SectionContainer.js +7 -0
  53. package/esm/components/layout/section/SectionContainer.js.map +1 -0
  54. package/esm/components/layout/section/SectionContainer.module.scss +4 -0
  55. package/esm/components/ui/button/Button.d.ts +1 -2
  56. package/esm/components/ui/button/Button.d.ts.map +1 -1
  57. package/esm/components/ui/button/Button.js +4 -4
  58. package/esm/components/ui/button/Button.js.map +1 -1
  59. package/esm/global.scss +2 -0
  60. package/esm/index.d.ts +2 -0
  61. package/esm/index.d.ts.map +1 -1
  62. package/esm/index.js +2 -0
  63. package/esm/index.js.map +1 -1
  64. package/esm/utils/makeVariants.d.ts +3 -0
  65. package/esm/utils/makeVariants.d.ts.map +1 -0
  66. package/esm/utils/makeVariants.js +11 -0
  67. package/esm/utils/makeVariants.js.map +1 -0
  68. package/package.json +2 -2
  69. package/src/components/layout/card/Card.module.scss +15 -0
  70. package/src/components/layout/card/Card.tsx +26 -0
  71. package/src/components/layout/section/Section.module.scss +17 -0
  72. package/src/components/layout/section/Section.tsx +34 -0
  73. package/src/components/layout/section/SectionContainer.module.scss +4 -0
  74. package/src/components/layout/section/SectionContainer.tsx +11 -0
  75. package/src/components/ui/button/Button.tsx +9 -5
  76. package/src/demo/Main.module.scss +2 -0
  77. package/src/demo/components/layout/card/Card.tsx +21 -0
  78. package/src/demo/components/layout/section/Section.tsx +34 -0
  79. package/src/demo/components/ui/button/ButtonDemo.tsx +9 -5
  80. package/src/demo/componentsMap.ts +10 -0
  81. package/src/global.scss +2 -0
  82. package/src/index.ts +2 -0
  83. /package/src/{demo/utils → utils}/makeVariants.ts +0 -0
package/CHANGELOG.md CHANGED
@@ -6,6 +6,23 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
6
6
  ## [UNRELEASED]
7
7
  (nothing yet)
8
8
 
9
+ ## [0.5.2] - 2021-12-29
10
+ ### Fixed
11
+ - button component not accepting most of the props
12
+
13
+ ## [0.5.1] - 2021-12-17
14
+ ### Fixed
15
+ - newest components not exported
16
+
17
+ ## [0.5.0] - 2021-12-17
18
+ ### Added
19
+ - Section component + container
20
+ - Card component
21
+
22
+ ## [0.4.3] - 2021-11-27
23
+ ### Fixed
24
+ - Button component crashing
25
+
9
26
  ## [0.4.2] - 2021-11-27
10
27
  ### Fixed
11
28
  - A lot of components crashing on unknown imports due to missing extensions
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ declare type Variants = "margin";
3
+ interface Props {
4
+ variant?: Variants;
5
+ }
6
+ declare const Card: React.FC<Props>;
7
+ export { Card };
8
+ //# sourceMappingURL=Card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,aAAK,QAAQ,GAAG,QAAQ,CAAC;AAEzB,UAAU,KAAK;IACX,OAAO,CAAC,EAAE,QAAQ,CAAC;CACtB;AAED,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAWzB,CAAC;AAEF,OAAO,EAAE,IAAI,EAAE,CAAC"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Card = void 0;
7
+ const react_1 = __importDefault(require("react"));
8
+ const classnames_1 = __importDefault(require("classnames"));
9
+ const makeVariants_js_1 = require("../../../utils/makeVariants.js");
10
+ const Card_module_scss_1 = __importDefault(require("./Card.module.scss"));
11
+ const Card = (props) => {
12
+ const v = makeVariants_js_1.makeVariants(props.variant);
13
+ const cls = classnames_1.default(Card_module_scss_1.default.card, {
14
+ [Card_module_scss_1.default.margin]: v.includes("margin"),
15
+ });
16
+ return (react_1.default.createElement("div", { className: cls }, props.children));
17
+ };
18
+ exports.Card = Card;
19
+ //# sourceMappingURL=Card.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Card.js","sourceRoot":"","sources":["../../../../src/components/layout/card/Card.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,4DAAoC;AAEpC,oEAA8D;AAC9D,0EAAwC;AAQxC,MAAM,IAAI,GAAoB,CAAC,KAAK,EAAE,EAAE;IACpC,MAAM,CAAC,GAAG,8BAAY,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IACtC,MAAM,GAAG,GAAG,oBAAU,CAAC,0BAAM,CAAC,IAAI,EAAE;QAChC,CAAC,0BAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC;KACxC,CAAC,CAAC;IAIH,OAAO,CACH,uCAAK,SAAS,EAAE,GAAG,IAAG,KAAK,CAAC,QAAQ,CAAO,CAC9C,CAAC;AACN,CAAC,CAAC;AAEO,oBAAI"}
@@ -0,0 +1,15 @@
1
+ .card {
2
+ background: var(--background);
3
+ border-radius: 5px;
4
+ display: flex;
5
+ flex-direction: column;
6
+
7
+ + .card {
8
+ margin-top: 23px;
9
+ }
10
+ }
11
+
12
+ .margin {
13
+ margin-left: 23px;
14
+ margin-right: 23px;
15
+ }
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ import { SectionContainer } from "./SectionContainer.js";
3
+ interface SubComponents {
4
+ Container: typeof SectionContainer;
5
+ }
6
+ declare type Variant = "horizontal" | "vertical";
7
+ interface Props {
8
+ variant?: Variant | Variant[];
9
+ }
10
+ declare const Section: React.FC<Props> & SubComponents;
11
+ export { Section };
12
+ //# sourceMappingURL=Section.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Section.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/section/Section.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAIzD,UAAU,aAAa;IACnB,SAAS,EAAE,OAAO,gBAAgB,CAAC;CACtC;AAED,aAAK,OAAO,GAAG,YAAY,GAAG,UAAU,CAAC;AAEzC,UAAU,KAAK;IACX,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,EAAE,CAAC;CACjC;AAED,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,aAYhC,CAAC;AAIF,OAAO,EAAE,OAAO,EAAE,CAAC"}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Section = void 0;
7
+ const react_1 = __importDefault(require("react"));
8
+ const classnames_1 = __importDefault(require("classnames"));
9
+ const SectionContainer_js_1 = require("./SectionContainer.js");
10
+ const makeVariants_js_1 = require("../../../utils/makeVariants.js");
11
+ const Section_module_scss_1 = __importDefault(require("./Section.module.scss"));
12
+ const Section = (props) => {
13
+ const v = makeVariants_js_1.makeVariants(props.variant);
14
+ const cls = classnames_1.default(Section_module_scss_1.default.section, {
15
+ [Section_module_scss_1.default.vertical]: v.includes("vertical"),
16
+ [Section_module_scss_1.default.horizontal]: v.includes("horizontal"),
17
+ });
18
+ return (react_1.default.createElement("section", { className: cls }, props.children));
19
+ };
20
+ exports.Section = Section;
21
+ Section.Container = SectionContainer_js_1.SectionContainer;
22
+ //# sourceMappingURL=Section.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Section.js","sourceRoot":"","sources":["../../../../src/components/layout/section/Section.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,4DAAoC;AAEpC,+DAAyD;AACzD,oEAA8D;AAC9D,gFAA2C;AAY3C,MAAM,OAAO,GAAoC,CAAC,KAAK,EAAE,EAAE;IACvD,MAAM,CAAC,GAAG,8BAAY,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAEtC,MAAM,GAAG,GAAG,oBAAU,CAAC,6BAAM,CAAC,OAAO,EAAE;QACnC,CAAC,6BAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,UAAU,CAAC;QACzC,CAAC,6BAAM,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,YAAY,CAAC;KAChD,CAAC,CAAC;IACH,OAAO,CACH,2CAAS,SAAS,EAAE,GAAG,IAClB,KAAK,CAAC,QAAQ,CACT,CACb,CAAC;AACN,CAAC,CAAC;AAIO,0BAAO;AAFhB,OAAO,CAAC,SAAS,GAAG,sCAAgB,CAAC"}
@@ -0,0 +1,17 @@
1
+ .section {
2
+ background: var(--background);
3
+ }
4
+
5
+ .section + .section {
6
+ margin-top: 23px;
7
+ }
8
+
9
+ .vertical {
10
+ margin-top: 23px;
11
+ margin-bottom: 23px;
12
+ }
13
+
14
+ .horizontal {
15
+ margin-left: 23px;
16
+ margin-right: 23px;
17
+ }
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ declare const SectionContainer: React.FC;
3
+ export { SectionContainer };
4
+ //# sourceMappingURL=SectionContainer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/section/SectionContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAI7B,CAAC;AAEF,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.SectionContainer = void 0;
7
+ const react_1 = __importDefault(require("react"));
8
+ const SectionContainer_module_scss_1 = __importDefault(require("./SectionContainer.module.scss"));
9
+ const SectionContainer = (props) => {
10
+ return (react_1.default.createElement("div", { className: SectionContainer_module_scss_1.default.container }, props.children));
11
+ };
12
+ exports.SectionContainer = SectionContainer;
13
+ //# sourceMappingURL=SectionContainer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionContainer.js","sourceRoot":"","sources":["../../../../src/components/layout/section/SectionContainer.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAE1B,kGAAoD;AAEpD,MAAM,gBAAgB,GAAa,CAAC,KAAK,EAAE,EAAE;IACzC,OAAO,CACH,uCAAK,SAAS,EAAE,sCAAM,CAAC,SAAS,IAAG,KAAK,CAAC,QAAQ,CAAO,CAC3D,CAAC;AACN,CAAC,CAAC;AAEO,4CAAgB"}
@@ -0,0 +1,4 @@
1
+ .container {
2
+ background: var(--toolbar-bg);
3
+ flex: 1;
4
+ }
@@ -1,8 +1,7 @@
1
1
  import React from "react";
2
2
  interface Props {
3
- disabled?: boolean;
4
3
  variant?: "inline" | "outline";
5
4
  }
6
- declare const Button: React.FC<Props>;
5
+ declare const Button: React.FC<React.ButtonHTMLAttributes<HTMLButtonElement> & Props>;
7
6
  export { Button };
8
7
  //# sourceMappingURL=Button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,UAAU,KAAK;IACX,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CAClC;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAW3B,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,CAAC"}
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,UAAU,KAAK;IACX,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CAClC;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAgB3E,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,CAAC"}
@@ -1,4 +1,15 @@
1
1
  "use strict";
2
+ var __rest = (this && this.__rest) || function (s, e) {
3
+ var t = {};
4
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
+ t[p] = s[p];
6
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
+ t[p[i]] = s[p[i]];
10
+ }
11
+ return t;
12
+ };
2
13
  var __importDefault = (this && this.__importDefault) || function (mod) {
3
14
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
15
  };
@@ -7,14 +18,15 @@ exports.Button = void 0;
7
18
  const react_1 = __importDefault(require("react"));
8
19
  const classnames_1 = __importDefault(require("classnames"));
9
20
  const Button_module_scss_1 = __importDefault(require("./Button.module.scss"));
10
- const makeVariants_js_1 = require("../../../demo/utils/makeVariants.js");
11
- const Button = (props) => {
21
+ const makeVariants_js_1 = require("../../../utils/makeVariants.js");
22
+ const Button = (_a) => {
23
+ var { className, children } = _a, props = __rest(_a, ["className", "children"]);
12
24
  const variants = makeVariants_js_1.makeVariants(props.variant);
13
25
  const cls = classnames_1.default(Button_module_scss_1.default.btn, {
14
26
  [Button_module_scss_1.default["btn--inline"]]: variants.includes("inline"),
15
27
  [Button_module_scss_1.default["btn--outline"]]: variants.includes("outline"),
16
- });
17
- return (react_1.default.createElement("button", { className: cls, disabled: props.disabled }, props.children));
28
+ }, className);
29
+ return (react_1.default.createElement("button", Object.assign({}, props, { className: cls, disabled: props.disabled }), children));
18
30
  };
19
31
  exports.Button = Button;
20
32
  //# sourceMappingURL=Button.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../../src/components/ui/button/Button.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,4DAAoC;AAEpC,8EAA0C;AAC1C,yEAAmE;AAOnE,MAAM,MAAM,GAAoB,CAAC,KAAK,EAAE,EAAE;IACtC,MAAM,QAAQ,GAAG,8BAAY,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAE7C,MAAM,GAAG,GAAG,oBAAU,CAAC,4BAAM,CAAC,GAAG,EAAE;QAC/B,CAAC,4BAAM,CAAC,aAAa,CAAC,CAAC,EAAE,QAAQ,CAAC,QAAQ,CAAC,QAAQ,CAAC;QACpD,CAAC,4BAAM,CAAC,cAAc,CAAC,CAAC,EAAE,QAAQ,CAAC,QAAQ,CAAC,SAAS,CAAC;KACzD,CAAC,CAAC;IAEH,OAAO,CACH,0CAAQ,SAAS,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,IAAG,KAAK,CAAC,QAAQ,CAAU,CAC9E,CAAC;AACN,CAAC,CAAC;AAEO,wBAAM"}
1
+ {"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../../src/components/ui/button/Button.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,kDAA0B;AAC1B,4DAAoC;AAEpC,8EAA0C;AAC1C,oEAA8D;AAM9D,MAAM,MAAM,GAAoE,CAAC,EAAiC,EAAE,EAAE;QAArC,EAAE,SAAS,EAAE,QAAQ,OAAY,EAAP,KAAK,cAA/B,yBAAiC,CAAF;IAC5G,MAAM,QAAQ,GAAG,8BAAY,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAE7C,MAAM,GAAG,GAAG,oBAAU,CAAC,4BAAM,CAAC,GAAG,EAAE;QAC/B,CAAC,4BAAM,CAAC,aAAa,CAAC,CAAC,EAAE,QAAQ,CAAC,QAAQ,CAAC,QAAQ,CAAC;QACpD,CAAC,4BAAM,CAAC,cAAc,CAAC,CAAC,EAAE,QAAQ,CAAC,QAAQ,CAAC,SAAS,CAAC;KACzD,EAAE,SAAS,CAAC,CAAC;IAEd,OAAO,CACH,0DACQ,KAAK,IACT,SAAS,EAAE,GAAG,EACd,QAAQ,EAAE,KAAK,CAAC,QAAQ,KAC1B,QAAQ,CACD,CACZ,CAAC;AACN,CAAC,CAAC;AAEO,wBAAM"}
package/dist/global.scss CHANGED
@@ -4,6 +4,8 @@
4
4
  --ratio-border: 2.666666;
5
5
  --ratio-font: 1.666666;
6
6
 
7
+ --background: white;
8
+
7
9
  --main-color: #008ad2; // used
8
10
  --main-color-alt: #006AA9;
9
11
 
package/dist/index.d.ts CHANGED
@@ -1,11 +1,13 @@
1
1
  export * from "./components/form/Checkbox.js";
2
2
  export * from "./components/form/Toggle.js";
3
3
  export * from "./components/icons/Icon.js";
4
+ export * from "./components/layout/card/Card.js";
4
5
  export * from "./components/layout/header/Header.js";
5
6
  export * from "./components/layout/header/HeaderIconAction.js";
6
7
  export * from "./components/layout/header/StickyHeader.js";
7
8
  export * from "./components/layout/list/List.js";
8
9
  export * from "./components/layout/list/Item.js";
10
+ export * from "./components/layout/section/Section.js";
9
11
  export * from "./components/ui/action/Action.js";
10
12
  export * from "./components/ui/action/EqualActions.js";
11
13
  export * from "./components/ui/button/Button.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAE5C,cAAc,4BAA4B,CAAC;AAE3C,cAAc,sCAAsC,CAAC;AACrD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AAEjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;AACjD,cAAc,qCAAqC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAE5C,cAAc,4BAA4B,CAAC;AAE3C,cAAc,kCAAkC,CAAC;AACjD,cAAc,sCAAsC,CAAC;AACrD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,wCAAwC,CAAC;AAEvD,cAAc,kCAAkC,CAAC;AACjD,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;AACjD,cAAc,qCAAqC,CAAC"}
package/dist/index.js CHANGED
@@ -13,11 +13,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
13
13
  __exportStar(require("./components/form/Checkbox.js"), exports);
14
14
  __exportStar(require("./components/form/Toggle.js"), exports);
15
15
  __exportStar(require("./components/icons/Icon.js"), exports);
16
+ __exportStar(require("./components/layout/card/Card.js"), exports);
16
17
  __exportStar(require("./components/layout/header/Header.js"), exports);
17
18
  __exportStar(require("./components/layout/header/HeaderIconAction.js"), exports);
18
19
  __exportStar(require("./components/layout/header/StickyHeader.js"), exports);
19
20
  __exportStar(require("./components/layout/list/List.js"), exports);
20
21
  __exportStar(require("./components/layout/list/Item.js"), exports);
22
+ __exportStar(require("./components/layout/section/Section.js"), exports);
21
23
  __exportStar(require("./components/ui/action/Action.js"), exports);
22
24
  __exportStar(require("./components/ui/action/EqualActions.js"), exports);
23
25
  __exportStar(require("./components/ui/button/Button.js"), exports);
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,gEAA8C;AAC9C,8DAA4C;AAE5C,6DAA2C;AAE3C,uEAAqD;AACrD,iFAA+D;AAC/D,6EAA2D;AAC3D,mEAAiD;AACjD,mEAAiD;AAEjD,mEAAiD;AACjD,yEAAuD;AACvD,mEAAiD;AACjD,sEAAoD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,gEAA8C;AAC9C,8DAA4C;AAE5C,6DAA2C;AAE3C,mEAAiD;AACjD,uEAAqD;AACrD,iFAA+D;AAC/D,6EAA2D;AAC3D,mEAAiD;AACjD,mEAAiD;AACjD,yEAAuD;AAEvD,mEAAiD;AACjD,yEAAuD;AACvD,mEAAiD;AACjD,sEAAoD"}
@@ -0,0 +1,3 @@
1
+ declare const makeVariants: <T extends string>(variants: T | T[] | undefined) => T[];
2
+ export { makeVariants, };
3
+ //# sourceMappingURL=makeVariants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"makeVariants.d.ts","sourceRoot":"","sources":["../../src/utils/makeVariants.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,YAAY,0DAQjB,CAAC;AAEF,OAAO,EACH,YAAY,GACf,CAAC"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.makeVariants = void 0;
4
+ const makeVariants = (variants) => {
5
+ if (!variants) {
6
+ return [];
7
+ }
8
+ if (typeof variants === "string") {
9
+ return variants.split(" ").filter(Boolean);
10
+ }
11
+ return variants;
12
+ };
13
+ exports.makeVariants = makeVariants;
14
+ //# sourceMappingURL=makeVariants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"makeVariants.js","sourceRoot":"","sources":["../../src/utils/makeVariants.ts"],"names":[],"mappings":";;;AAAA,MAAM,YAAY,GAAG,CAAmB,QAA6B,EAAO,EAAE;IAC1E,IAAI,CAAC,QAAQ,EAAE;QACX,OAAO,EAAE,CAAC;KACb;IACD,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;QAC9B,OAAO,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,CAAQ,CAAC;KACrD;IACD,OAAO,QAAQ,CAAC;AACpB,CAAC,CAAC;AAGE,oCAAY"}
@@ -1 +1 @@
1
- window.searchData = {"kinds":{"2":"Namespace","4":"Enumeration","16":"Enumeration member","32":"Variable","64":"Function"},"rows":[{"id":0,"kind":32,"name":"Checkbox","url":"modules.html#Checkbox","classes":"tsd-kind-variable"},{"id":1,"kind":32,"name":"Toggle","url":"modules.html#Toggle","classes":"tsd-kind-variable"},{"id":2,"kind":32,"name":"Icon","url":"modules.html#Icon","classes":"tsd-kind-variable"},{"id":3,"kind":4,"name":"ICON","url":"enums/ICON.html","classes":"tsd-kind-enum"},{"id":4,"kind":16,"name":"checkmark","url":"enums/ICON.html#checkmark","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"ICON"},{"id":5,"kind":16,"name":"back","url":"enums/ICON.html#back","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"ICON"},{"id":6,"kind":16,"name":"forward","url":"enums/ICON.html#forward","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"ICON"},{"id":7,"kind":32,"name":"Header","url":"modules.html#Header","classes":"tsd-kind-variable"},{"id":8,"kind":32,"name":"HeaderIconAction","url":"modules.html#HeaderIconAction","classes":"tsd-kind-variable"},{"id":9,"kind":32,"name":"StickyHeader","url":"modules.html#StickyHeader","classes":"tsd-kind-variable"},{"id":10,"kind":2,"name":"StickyHeader","url":"modules/StickyHeader.html","classes":"tsd-kind-namespace"},{"id":11,"kind":64,"name":"Content","url":"modules/StickyHeader.html#Content","classes":"tsd-kind-function tsd-parent-kind-namespace","parent":"StickyHeader"},{"id":12,"kind":32,"name":"List","url":"modules.html#List","classes":"tsd-kind-variable"},{"id":13,"kind":2,"name":"List","url":"modules/List.html","classes":"tsd-kind-namespace"},{"id":14,"kind":32,"name":"Header","url":"modules/List.html#Header","classes":"tsd-kind-variable tsd-parent-kind-namespace","parent":"List"},{"id":15,"kind":32,"name":"Item","url":"modules.html#Item","classes":"tsd-kind-variable"},{"id":16,"kind":2,"name":"Item","url":"modules/Item.html","classes":"tsd-kind-namespace"},{"id":17,"kind":32,"name":"Label","url":"modules/Item.html#Label","classes":"tsd-kind-variable tsd-parent-kind-namespace","parent":"Item"},{"id":18,"kind":32,"name":"Value","url":"modules/Item.html#Value","classes":"tsd-kind-variable tsd-parent-kind-namespace","parent":"Item"},{"id":19,"kind":32,"name":"Action","url":"modules.html#Action","classes":"tsd-kind-variable"},{"id":20,"kind":32,"name":"EqualActions","url":"modules.html#EqualActions","classes":"tsd-kind-variable"},{"id":21,"kind":32,"name":"Button","url":"modules.html#Button","classes":"tsd-kind-variable"},{"id":22,"kind":32,"name":"DirectionPad","url":"modules.html#DirectionPad","classes":"tsd-kind-variable"}],"index":{"version":"2.3.9","fields":["name","parent"],"fieldVectors":[["name/0",[0,27.726]],["parent/0",[]],["name/1",[1,27.726]],["parent/1",[]],["name/2",[2,14.733]],["parent/2",[]],["name/3",[2,14.733]],["parent/3",[]],["name/4",[3,27.726]],["parent/4",[2,0.761]],["name/5",[4,27.726]],["parent/5",[2,0.761]],["name/6",[5,27.726]],["parent/6",[2,0.761]],["name/7",[6,22.618]],["parent/7",[]],["name/8",[7,27.726]],["parent/8",[]],["name/9",[8,19.253]],["parent/9",[]],["name/10",[8,19.253]],["parent/10",[]],["name/11",[9,27.726]],["parent/11",[8,0.995]],["name/12",[10,19.253]],["parent/12",[]],["name/13",[10,19.253]],["parent/13",[]],["name/14",[6,22.618]],["parent/14",[10,0.995]],["name/15",[11,16.74]],["parent/15",[]],["name/16",[11,16.74]],["parent/16",[]],["name/17",[12,27.726]],["parent/17",[11,0.865]],["name/18",[13,27.726]],["parent/18",[11,0.865]],["name/19",[14,27.726]],["parent/19",[]],["name/20",[15,27.726]],["parent/20",[]],["name/21",[16,27.726]],["parent/21",[]],["name/22",[17,27.726]],["parent/22",[]]],"invertedIndex":[["action",{"_index":14,"name":{"19":{}},"parent":{}}],["back",{"_index":4,"name":{"5":{}},"parent":{}}],["button",{"_index":16,"name":{"21":{}},"parent":{}}],["checkbox",{"_index":0,"name":{"0":{}},"parent":{}}],["checkmark",{"_index":3,"name":{"4":{}},"parent":{}}],["content",{"_index":9,"name":{"11":{}},"parent":{}}],["directionpad",{"_index":17,"name":{"22":{}},"parent":{}}],["equalactions",{"_index":15,"name":{"20":{}},"parent":{}}],["forward",{"_index":5,"name":{"6":{}},"parent":{}}],["header",{"_index":6,"name":{"7":{},"14":{}},"parent":{}}],["headericonaction",{"_index":7,"name":{"8":{}},"parent":{}}],["icon",{"_index":2,"name":{"2":{},"3":{}},"parent":{"4":{},"5":{},"6":{}}}],["item",{"_index":11,"name":{"15":{},"16":{}},"parent":{"17":{},"18":{}}}],["label",{"_index":12,"name":{"17":{}},"parent":{}}],["list",{"_index":10,"name":{"12":{},"13":{}},"parent":{"14":{}}}],["stickyheader",{"_index":8,"name":{"9":{},"10":{}},"parent":{"11":{}}}],["toggle",{"_index":1,"name":{"1":{}},"parent":{}}],["value",{"_index":13,"name":{"18":{}},"parent":{}}]],"pipeline":[]}}
1
+ window.searchData = {"kinds":{"2":"Namespace","4":"Enumeration","16":"Enumeration member","32":"Variable","64":"Function"},"rows":[{"id":0,"kind":32,"name":"Checkbox","url":"modules.html#Checkbox","classes":"tsd-kind-variable"},{"id":1,"kind":32,"name":"Toggle","url":"modules.html#Toggle","classes":"tsd-kind-variable"},{"id":2,"kind":32,"name":"Icon","url":"modules.html#Icon","classes":"tsd-kind-variable"},{"id":3,"kind":4,"name":"ICON","url":"enums/ICON.html","classes":"tsd-kind-enum"},{"id":4,"kind":16,"name":"checkmark","url":"enums/ICON.html#checkmark","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"ICON"},{"id":5,"kind":16,"name":"back","url":"enums/ICON.html#back","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"ICON"},{"id":6,"kind":16,"name":"forward","url":"enums/ICON.html#forward","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"ICON"},{"id":7,"kind":32,"name":"Card","url":"modules.html#Card","classes":"tsd-kind-variable"},{"id":8,"kind":32,"name":"Header","url":"modules.html#Header","classes":"tsd-kind-variable"},{"id":9,"kind":32,"name":"HeaderIconAction","url":"modules.html#HeaderIconAction","classes":"tsd-kind-variable"},{"id":10,"kind":32,"name":"StickyHeader","url":"modules.html#StickyHeader","classes":"tsd-kind-variable"},{"id":11,"kind":2,"name":"StickyHeader","url":"modules/StickyHeader.html","classes":"tsd-kind-namespace"},{"id":12,"kind":64,"name":"Content","url":"modules/StickyHeader.html#Content","classes":"tsd-kind-function tsd-parent-kind-namespace","parent":"StickyHeader"},{"id":13,"kind":32,"name":"List","url":"modules.html#List","classes":"tsd-kind-variable"},{"id":14,"kind":2,"name":"List","url":"modules/List.html","classes":"tsd-kind-namespace"},{"id":15,"kind":32,"name":"Header","url":"modules/List.html#Header","classes":"tsd-kind-variable tsd-parent-kind-namespace","parent":"List"},{"id":16,"kind":32,"name":"Item","url":"modules.html#Item","classes":"tsd-kind-variable"},{"id":17,"kind":2,"name":"Item","url":"modules/Item.html","classes":"tsd-kind-namespace"},{"id":18,"kind":32,"name":"Label","url":"modules/Item.html#Label","classes":"tsd-kind-variable tsd-parent-kind-namespace","parent":"Item"},{"id":19,"kind":32,"name":"Value","url":"modules/Item.html#Value","classes":"tsd-kind-variable tsd-parent-kind-namespace","parent":"Item"},{"id":20,"kind":32,"name":"Section","url":"modules.html#Section","classes":"tsd-kind-variable"},{"id":21,"kind":2,"name":"Section","url":"modules/Section.html","classes":"tsd-kind-namespace"},{"id":22,"kind":32,"name":"Container","url":"modules/Section.html#Container","classes":"tsd-kind-variable tsd-parent-kind-namespace","parent":"Section"},{"id":23,"kind":32,"name":"Action","url":"modules.html#Action","classes":"tsd-kind-variable"},{"id":24,"kind":32,"name":"EqualActions","url":"modules.html#EqualActions","classes":"tsd-kind-variable"},{"id":25,"kind":32,"name":"Button","url":"modules.html#Button","classes":"tsd-kind-variable"},{"id":26,"kind":32,"name":"DirectionPad","url":"modules.html#DirectionPad","classes":"tsd-kind-variable"}],"index":{"version":"2.3.9","fields":["name","parent"],"fieldVectors":[["name/0",[0,29.267]],["parent/0",[]],["name/1",[1,29.267]],["parent/1",[]],["name/2",[2,16.275]],["parent/2",[]],["name/3",[2,16.275]],["parent/3",[]],["name/4",[3,29.267]],["parent/4",[2,0.825]],["name/5",[4,29.267]],["parent/5",[2,0.825]],["name/6",[5,29.267]],["parent/6",[2,0.825]],["name/7",[6,29.267]],["parent/7",[]],["name/8",[7,24.159]],["parent/8",[]],["name/9",[8,29.267]],["parent/9",[]],["name/10",[9,20.794]],["parent/10",[]],["name/11",[9,20.794]],["parent/11",[]],["name/12",[10,29.267]],["parent/12",[9,1.055]],["name/13",[11,20.794]],["parent/13",[]],["name/14",[11,20.794]],["parent/14",[]],["name/15",[7,24.159]],["parent/15",[11,1.055]],["name/16",[12,18.281]],["parent/16",[]],["name/17",[12,18.281]],["parent/17",[]],["name/18",[13,29.267]],["parent/18",[12,0.927]],["name/19",[14,29.267]],["parent/19",[12,0.927]],["name/20",[15,20.794]],["parent/20",[]],["name/21",[15,20.794]],["parent/21",[]],["name/22",[16,29.267]],["parent/22",[15,1.055]],["name/23",[17,29.267]],["parent/23",[]],["name/24",[18,29.267]],["parent/24",[]],["name/25",[19,29.267]],["parent/25",[]],["name/26",[20,29.267]],["parent/26",[]]],"invertedIndex":[["action",{"_index":17,"name":{"23":{}},"parent":{}}],["back",{"_index":4,"name":{"5":{}},"parent":{}}],["button",{"_index":19,"name":{"25":{}},"parent":{}}],["card",{"_index":6,"name":{"7":{}},"parent":{}}],["checkbox",{"_index":0,"name":{"0":{}},"parent":{}}],["checkmark",{"_index":3,"name":{"4":{}},"parent":{}}],["container",{"_index":16,"name":{"22":{}},"parent":{}}],["content",{"_index":10,"name":{"12":{}},"parent":{}}],["directionpad",{"_index":20,"name":{"26":{}},"parent":{}}],["equalactions",{"_index":18,"name":{"24":{}},"parent":{}}],["forward",{"_index":5,"name":{"6":{}},"parent":{}}],["header",{"_index":7,"name":{"8":{},"15":{}},"parent":{}}],["headericonaction",{"_index":8,"name":{"9":{}},"parent":{}}],["icon",{"_index":2,"name":{"2":{},"3":{}},"parent":{"4":{},"5":{},"6":{}}}],["item",{"_index":12,"name":{"16":{},"17":{}},"parent":{"18":{},"19":{}}}],["label",{"_index":13,"name":{"18":{}},"parent":{}}],["list",{"_index":11,"name":{"13":{},"14":{}},"parent":{"15":{}}}],["section",{"_index":15,"name":{"20":{},"21":{}},"parent":{"22":{}}}],["stickyheader",{"_index":9,"name":{"10":{},"11":{}},"parent":{"12":{}}}],["toggle",{"_index":1,"name":{"1":{}},"parent":{}}],["value",{"_index":14,"name":{"19":{}},"parent":{}}]],"pipeline":[]}}
@@ -1 +1 @@
1
- {"kinds":{"2":"Namespace","4":"Enumeration","16":"Enumeration member","32":"Variable","64":"Function","9999999":"Page"},"rows":[{"id":0,"kind":32,"name":"Checkbox","url":"modules.html#Checkbox","classes":"tsd-kind-variable"},{"id":1,"kind":32,"name":"Toggle","url":"modules.html#Toggle","classes":"tsd-kind-variable"},{"id":2,"kind":32,"name":"Icon","url":"modules.html#Icon","classes":"tsd-kind-variable"},{"id":3,"kind":4,"name":"ICON","url":"enums/ICON.html","classes":"tsd-kind-enum"},{"id":4,"kind":16,"name":"checkmark","url":"enums/ICON.html#checkmark","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"ICON","pagesPluginParent":"ICON."},{"id":5,"kind":16,"name":"back","url":"enums/ICON.html#back","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"ICON","pagesPluginParent":"ICON."},{"id":6,"kind":16,"name":"forward","url":"enums/ICON.html#forward","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"ICON","pagesPluginParent":"ICON."},{"id":7,"kind":32,"name":"Header","url":"modules.html#Header","classes":"tsd-kind-variable"},{"id":8,"kind":32,"name":"HeaderIconAction","url":"modules.html#HeaderIconAction","classes":"tsd-kind-variable"},{"id":9,"kind":32,"name":"StickyHeader","url":"modules.html#StickyHeader","classes":"tsd-kind-variable"},{"id":10,"kind":2,"name":"StickyHeader","url":"modules/StickyHeader.html","classes":"tsd-kind-namespace"},{"id":11,"kind":64,"name":"Content","url":"modules/StickyHeader.html#Content","classes":"tsd-kind-function tsd-parent-kind-namespace","parent":"StickyHeader","pagesPluginParent":"StickyHeader."},{"id":12,"kind":32,"name":"List","url":"modules.html#List","classes":"tsd-kind-variable"},{"id":13,"kind":2,"name":"List","url":"modules/List.html","classes":"tsd-kind-namespace"},{"id":14,"kind":32,"name":"Header","url":"modules/List.html#Header","classes":"tsd-kind-variable tsd-parent-kind-namespace","parent":"List","pagesPluginParent":"List."},{"id":15,"kind":32,"name":"Item","url":"modules.html#Item","classes":"tsd-kind-variable"},{"id":16,"kind":2,"name":"Item","url":"modules/Item.html","classes":"tsd-kind-namespace"},{"id":17,"kind":32,"name":"Label","url":"modules/Item.html#Label","classes":"tsd-kind-variable tsd-parent-kind-namespace","parent":"Item","pagesPluginParent":"Item."},{"id":18,"kind":32,"name":"Value","url":"modules/Item.html#Value","classes":"tsd-kind-variable tsd-parent-kind-namespace","parent":"Item","pagesPluginParent":"Item."},{"id":19,"kind":32,"name":"Action","url":"modules.html#Action","classes":"tsd-kind-variable"},{"id":20,"kind":32,"name":"EqualActions","url":"modules.html#EqualActions","classes":"tsd-kind-variable"},{"id":21,"kind":32,"name":"Button","url":"modules.html#Button","classes":"tsd-kind-variable"},{"id":22,"kind":32,"name":"DirectionPad","url":"modules.html#DirectionPad","classes":"tsd-kind-variable"},{"id":23,"kind":1,"name":"Test","url":"pages/Tutorials/Test.html","classes":"tsd-kind-page","pagesPluginContent":"This is example tutorial page.\n","pagesPluginParent":"Tutorials / "}],"index":{"version":"2.3.9","fields":["pagesPluginContent","name","parent"],"fieldVectors":[["pagesPluginContent/0",[]],["name/0",[0,28.134]],["parent/0",[]],["pagesPluginContent/1",[]],["name/1",[1,28.134]],["parent/1",[]],["pagesPluginContent/2",[]],["name/2",[2,15.141]],["parent/2",[]],["pagesPluginContent/3",[]],["name/3",[2,15.141]],["parent/3",[]],["pagesPluginContent/4",[]],["name/4",[3,28.134]],["parent/4",[2,0.76]],["pagesPluginContent/5",[]],["name/5",[4,28.134]],["parent/5",[2,0.76]],["pagesPluginContent/6",[]],["name/6",[5,28.134]],["parent/6",[2,0.76]],["pagesPluginContent/7",[]],["name/7",[6,23.026]],["parent/7",[]],["pagesPluginContent/8",[]],["name/8",[7,28.134]],["parent/8",[]],["pagesPluginContent/9",[]],["name/9",[8,19.661]],["parent/9",[]],["pagesPluginContent/10",[]],["name/10",[8,19.661]],["parent/10",[]],["pagesPluginContent/11",[]],["name/11",[9,28.134]],["parent/11",[8,0.986]],["pagesPluginContent/12",[]],["name/12",[10,19.661]],["parent/12",[]],["pagesPluginContent/13",[]],["name/13",[10,19.661]],["parent/13",[]],["pagesPluginContent/14",[]],["name/14",[6,23.026]],["parent/14",[10,0.986]],["pagesPluginContent/15",[]],["name/15",[11,17.148]],["parent/15",[]],["pagesPluginContent/16",[]],["name/16",[11,17.148]],["parent/16",[]],["pagesPluginContent/17",[]],["name/17",[12,28.134]],["parent/17",[11,0.86]],["pagesPluginContent/18",[]],["name/18",[13,28.134]],["parent/18",[11,0.86]],["pagesPluginContent/19",[]],["name/19",[14,28.134]],["parent/19",[]],["pagesPluginContent/20",[]],["name/20",[15,28.134]],["parent/20",[]],["pagesPluginContent/21",[]],["name/21",[16,28.134]],["parent/21",[]],["pagesPluginContent/22",[]],["name/22",[17,28.134]],["parent/22",[]],["pagesPluginContent/23",[18,4.054,19,4.054,20,4.054,21,4.054,22,4.054]],["name/23",[23,28.134]],["parent/23",[]]],"invertedIndex":[["action",{"_index":14,"pagesPluginContent":{},"name":{"19":{}},"parent":{}}],["back",{"_index":4,"pagesPluginContent":{},"name":{"5":{}},"parent":{}}],["button",{"_index":16,"pagesPluginContent":{},"name":{"21":{}},"parent":{}}],["checkbox",{"_index":0,"pagesPluginContent":{},"name":{"0":{}},"parent":{}}],["checkmark",{"_index":3,"pagesPluginContent":{},"name":{"4":{}},"parent":{}}],["content",{"_index":9,"pagesPluginContent":{},"name":{"11":{}},"parent":{}}],["directionpad",{"_index":17,"pagesPluginContent":{},"name":{"22":{}},"parent":{}}],["equalactions",{"_index":15,"pagesPluginContent":{},"name":{"20":{}},"parent":{}}],["example",{"_index":20,"pagesPluginContent":{"23":{}},"name":{},"parent":{}}],["forward",{"_index":5,"pagesPluginContent":{},"name":{"6":{}},"parent":{}}],["header",{"_index":6,"pagesPluginContent":{},"name":{"7":{},"14":{}},"parent":{}}],["headericonaction",{"_index":7,"pagesPluginContent":{},"name":{"8":{}},"parent":{}}],["icon",{"_index":2,"pagesPluginContent":{},"name":{"2":{},"3":{}},"parent":{"4":{},"5":{},"6":{}}}],["is",{"_index":19,"pagesPluginContent":{"23":{}},"name":{},"parent":{}}],["item",{"_index":11,"pagesPluginContent":{},"name":{"15":{},"16":{}},"parent":{"17":{},"18":{}}}],["label",{"_index":12,"pagesPluginContent":{},"name":{"17":{}},"parent":{}}],["list",{"_index":10,"pagesPluginContent":{},"name":{"12":{},"13":{}},"parent":{"14":{}}}],["page",{"_index":22,"pagesPluginContent":{"23":{}},"name":{},"parent":{}}],["stickyheader",{"_index":8,"pagesPluginContent":{},"name":{"9":{},"10":{}},"parent":{"11":{}}}],["test",{"_index":23,"pagesPluginContent":{},"name":{"23":{}},"parent":{}}],["this",{"_index":18,"pagesPluginContent":{"23":{}},"name":{},"parent":{}}],["toggle",{"_index":1,"pagesPluginContent":{},"name":{"1":{}},"parent":{}}],["tutorial",{"_index":21,"pagesPluginContent":{"23":{}},"name":{},"parent":{}}],["value",{"_index":13,"pagesPluginContent":{},"name":{"18":{}},"parent":{}}]],"pipeline":[]}}
1
+ {"kinds":{"2":"Namespace","4":"Enumeration","16":"Enumeration member","32":"Variable","64":"Function","9999999":"Page"},"rows":[{"id":0,"kind":32,"name":"Checkbox","url":"modules.html#Checkbox","classes":"tsd-kind-variable"},{"id":1,"kind":32,"name":"Toggle","url":"modules.html#Toggle","classes":"tsd-kind-variable"},{"id":2,"kind":32,"name":"Icon","url":"modules.html#Icon","classes":"tsd-kind-variable"},{"id":3,"kind":4,"name":"ICON","url":"enums/ICON.html","classes":"tsd-kind-enum"},{"id":4,"kind":16,"name":"checkmark","url":"enums/ICON.html#checkmark","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"ICON","pagesPluginParent":"ICON."},{"id":5,"kind":16,"name":"back","url":"enums/ICON.html#back","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"ICON","pagesPluginParent":"ICON."},{"id":6,"kind":16,"name":"forward","url":"enums/ICON.html#forward","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"ICON","pagesPluginParent":"ICON."},{"id":7,"kind":32,"name":"Card","url":"modules.html#Card","classes":"tsd-kind-variable"},{"id":8,"kind":32,"name":"Header","url":"modules.html#Header","classes":"tsd-kind-variable"},{"id":9,"kind":32,"name":"HeaderIconAction","url":"modules.html#HeaderIconAction","classes":"tsd-kind-variable"},{"id":10,"kind":32,"name":"StickyHeader","url":"modules.html#StickyHeader","classes":"tsd-kind-variable"},{"id":11,"kind":2,"name":"StickyHeader","url":"modules/StickyHeader.html","classes":"tsd-kind-namespace"},{"id":12,"kind":64,"name":"Content","url":"modules/StickyHeader.html#Content","classes":"tsd-kind-function tsd-parent-kind-namespace","parent":"StickyHeader","pagesPluginParent":"StickyHeader."},{"id":13,"kind":32,"name":"List","url":"modules.html#List","classes":"tsd-kind-variable"},{"id":14,"kind":2,"name":"List","url":"modules/List.html","classes":"tsd-kind-namespace"},{"id":15,"kind":32,"name":"Header","url":"modules/List.html#Header","classes":"tsd-kind-variable tsd-parent-kind-namespace","parent":"List","pagesPluginParent":"List."},{"id":16,"kind":32,"name":"Item","url":"modules.html#Item","classes":"tsd-kind-variable"},{"id":17,"kind":2,"name":"Item","url":"modules/Item.html","classes":"tsd-kind-namespace"},{"id":18,"kind":32,"name":"Label","url":"modules/Item.html#Label","classes":"tsd-kind-variable tsd-parent-kind-namespace","parent":"Item","pagesPluginParent":"Item."},{"id":19,"kind":32,"name":"Value","url":"modules/Item.html#Value","classes":"tsd-kind-variable tsd-parent-kind-namespace","parent":"Item","pagesPluginParent":"Item."},{"id":20,"kind":32,"name":"Section","url":"modules.html#Section","classes":"tsd-kind-variable"},{"id":21,"kind":2,"name":"Section","url":"modules/Section.html","classes":"tsd-kind-namespace"},{"id":22,"kind":32,"name":"Container","url":"modules/Section.html#Container","classes":"tsd-kind-variable tsd-parent-kind-namespace","parent":"Section","pagesPluginParent":"Section."},{"id":23,"kind":32,"name":"Action","url":"modules.html#Action","classes":"tsd-kind-variable"},{"id":24,"kind":32,"name":"EqualActions","url":"modules.html#EqualActions","classes":"tsd-kind-variable"},{"id":25,"kind":32,"name":"Button","url":"modules.html#Button","classes":"tsd-kind-variable"},{"id":26,"kind":32,"name":"DirectionPad","url":"modules.html#DirectionPad","classes":"tsd-kind-variable"},{"id":27,"kind":1,"name":"Test","url":"pages/Tutorials/Test.html","classes":"tsd-kind-page","pagesPluginContent":"This is example tutorial page.\n","pagesPluginParent":"Tutorials / "}],"index":{"version":"2.3.9","fields":["pagesPluginContent","name","parent"],"fieldVectors":[["pagesPluginContent/0",[]],["name/0",[0,29.618]],["parent/0",[]],["pagesPluginContent/1",[]],["name/1",[1,29.618]],["parent/1",[]],["pagesPluginContent/2",[]],["name/2",[2,16.625]],["parent/2",[]],["pagesPluginContent/3",[]],["name/3",[2,16.625]],["parent/3",[]],["pagesPluginContent/4",[]],["name/4",[3,29.618]],["parent/4",[2,0.822]],["pagesPluginContent/5",[]],["name/5",[4,29.618]],["parent/5",[2,0.822]],["pagesPluginContent/6",[]],["name/6",[5,29.618]],["parent/6",[2,0.822]],["pagesPluginContent/7",[]],["name/7",[6,29.618]],["parent/7",[]],["pagesPluginContent/8",[]],["name/8",[7,24.51]],["parent/8",[]],["pagesPluginContent/9",[]],["name/9",[8,29.618]],["parent/9",[]],["pagesPluginContent/10",[]],["name/10",[9,21.145]],["parent/10",[]],["pagesPluginContent/11",[]],["name/11",[9,21.145]],["parent/11",[]],["pagesPluginContent/12",[]],["name/12",[10,29.618]],["parent/12",[9,1.045]],["pagesPluginContent/13",[]],["name/13",[11,21.145]],["parent/13",[]],["pagesPluginContent/14",[]],["name/14",[11,21.145]],["parent/14",[]],["pagesPluginContent/15",[]],["name/15",[7,24.51]],["parent/15",[11,1.045]],["pagesPluginContent/16",[]],["name/16",[12,18.632]],["parent/16",[]],["pagesPluginContent/17",[]],["name/17",[12,18.632]],["parent/17",[]],["pagesPluginContent/18",[]],["name/18",[13,29.618]],["parent/18",[12,0.921]],["pagesPluginContent/19",[]],["name/19",[14,29.618]],["parent/19",[12,0.921]],["pagesPluginContent/20",[]],["name/20",[15,21.145]],["parent/20",[]],["pagesPluginContent/21",[]],["name/21",[15,21.145]],["parent/21",[]],["pagesPluginContent/22",[]],["name/22",[16,29.618]],["parent/22",[15,1.045]],["pagesPluginContent/23",[]],["name/23",[17,29.618]],["parent/23",[]],["pagesPluginContent/24",[]],["name/24",[18,29.618]],["parent/24",[]],["pagesPluginContent/25",[]],["name/25",[19,29.618]],["parent/25",[]],["pagesPluginContent/26",[]],["name/26",[20,29.618]],["parent/26",[]],["pagesPluginContent/27",[21,3.688,22,3.688,23,3.688,24,3.688,25,3.688]],["name/27",[26,29.618]],["parent/27",[]]],"invertedIndex":[["action",{"_index":17,"pagesPluginContent":{},"name":{"23":{}},"parent":{}}],["back",{"_index":4,"pagesPluginContent":{},"name":{"5":{}},"parent":{}}],["button",{"_index":19,"pagesPluginContent":{},"name":{"25":{}},"parent":{}}],["card",{"_index":6,"pagesPluginContent":{},"name":{"7":{}},"parent":{}}],["checkbox",{"_index":0,"pagesPluginContent":{},"name":{"0":{}},"parent":{}}],["checkmark",{"_index":3,"pagesPluginContent":{},"name":{"4":{}},"parent":{}}],["container",{"_index":16,"pagesPluginContent":{},"name":{"22":{}},"parent":{}}],["content",{"_index":10,"pagesPluginContent":{},"name":{"12":{}},"parent":{}}],["directionpad",{"_index":20,"pagesPluginContent":{},"name":{"26":{}},"parent":{}}],["equalactions",{"_index":18,"pagesPluginContent":{},"name":{"24":{}},"parent":{}}],["example",{"_index":23,"pagesPluginContent":{"27":{}},"name":{},"parent":{}}],["forward",{"_index":5,"pagesPluginContent":{},"name":{"6":{}},"parent":{}}],["header",{"_index":7,"pagesPluginContent":{},"name":{"8":{},"15":{}},"parent":{}}],["headericonaction",{"_index":8,"pagesPluginContent":{},"name":{"9":{}},"parent":{}}],["icon",{"_index":2,"pagesPluginContent":{},"name":{"2":{},"3":{}},"parent":{"4":{},"5":{},"6":{}}}],["is",{"_index":22,"pagesPluginContent":{"27":{}},"name":{},"parent":{}}],["item",{"_index":12,"pagesPluginContent":{},"name":{"16":{},"17":{}},"parent":{"18":{},"19":{}}}],["label",{"_index":13,"pagesPluginContent":{},"name":{"18":{}},"parent":{}}],["list",{"_index":11,"pagesPluginContent":{},"name":{"13":{},"14":{}},"parent":{"15":{}}}],["page",{"_index":25,"pagesPluginContent":{"27":{}},"name":{},"parent":{}}],["section",{"_index":15,"pagesPluginContent":{},"name":{"20":{},"21":{}},"parent":{"22":{}}}],["stickyheader",{"_index":9,"pagesPluginContent":{},"name":{"10":{},"11":{}},"parent":{"12":{}}}],["test",{"_index":26,"pagesPluginContent":{},"name":{"27":{}},"parent":{}}],["this",{"_index":21,"pagesPluginContent":{"27":{}},"name":{},"parent":{}}],["toggle",{"_index":1,"pagesPluginContent":{},"name":{"1":{}},"parent":{}}],["tutorial",{"_index":24,"pagesPluginContent":{"27":{}},"name":{},"parent":{}}],["value",{"_index":14,"pagesPluginContent":{},"name":{"19":{}},"parent":{}}]],"pipeline":[]}}
@@ -3,8 +3,8 @@
3
3
  <head>
4
4
  <meta charset="utf-8">
5
5
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <title>ICON | react-miui - v0.4.2</title>
7
- <meta name="description" content="Documentation for react-miui - v0.4.2">
6
+ <title>ICON | react-miui - v0.5.2</title>
7
+ <meta name="description" content="Documentation for react-miui - v0.5.2">
8
8
  <meta name="viewport" content="width=device-width, initial-scale=1">
9
9
  <link rel="stylesheet" href="../assets/css/main.css">
10
10
  <link rel="stylesheet" href="../assets/css/pages.css">
@@ -23,7 +23,7 @@
23
23
  <li class="state loading">Preparing search index...</li>
24
24
  <li class="state failure">The search index is not available</li>
25
25
  </ul>
26
- <a href="../index.html" class="title">react-miui - v0.4.2</a>
26
+ <a href="../index.html" class="title">react-miui - v0.5.2</a>
27
27
  </div>
28
28
  <div class="table-cell" id="tsd-widgets">
29
29
  <div id="tsd-filter">
@@ -90,7 +90,7 @@
90
90
  <div class="tsd-signature tsd-kind-icon">back<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = &quot;back&quot;</span></div>
91
91
  <aside class="tsd-sources">
92
92
  <ul>
93
- <li>Defined in <a href="https://github.com/dzek69/react-miui/blob/5335b97/src/components/icons/Icon.tsx#L10">src/components/icons/Icon.tsx:10</a></li>
93
+ <li>Defined in <a href="https://github.com/dzek69/react-miui/blob/c241982/src/components/icons/Icon.tsx#L10">src/components/icons/Icon.tsx:10</a></li>
94
94
  </ul>
95
95
  </aside>
96
96
  </section>
@@ -100,7 +100,7 @@
100
100
  <div class="tsd-signature tsd-kind-icon">checkmark<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = &quot;checkmark&quot;</span></div>
101
101
  <aside class="tsd-sources">
102
102
  <ul>
103
- <li>Defined in <a href="https://github.com/dzek69/react-miui/blob/5335b97/src/components/icons/Icon.tsx#L9">src/components/icons/Icon.tsx:9</a></li>
103
+ <li>Defined in <a href="https://github.com/dzek69/react-miui/blob/c241982/src/components/icons/Icon.tsx#L9">src/components/icons/Icon.tsx:9</a></li>
104
104
  </ul>
105
105
  </aside>
106
106
  </section>
@@ -110,7 +110,7 @@
110
110
  <div class="tsd-signature tsd-kind-icon">forward<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = &quot;forward&quot;</span></div>
111
111
  <aside class="tsd-sources">
112
112
  <ul>
113
- <li>Defined in <a href="https://github.com/dzek69/react-miui/blob/5335b97/src/components/icons/Icon.tsx#L11">src/components/icons/Icon.tsx:11</a></li>
113
+ <li>Defined in <a href="https://github.com/dzek69/react-miui/blob/c241982/src/components/icons/Icon.tsx#L11">src/components/icons/Icon.tsx:11</a></li>
114
114
  </ul>
115
115
  </aside>
116
116
  </section>
@@ -156,6 +156,9 @@
156
156
  <li class=" tsd-kind-variable">
157
157
  <a href="../modules.html#Button" class="tsd-kind-icon">Button</a>
158
158
  </li>
159
+ <li class=" tsd-kind-variable">
160
+ <a href="../modules.html#Card" class="tsd-kind-icon">Card</a>
161
+ </li>
159
162
  <li class=" tsd-kind-variable">
160
163
  <a href="../modules.html#Checkbox" class="tsd-kind-icon">Checkbox</a>
161
164
  </li>
@@ -180,6 +183,9 @@
180
183
  <li class=" tsd-kind-variable">
181
184
  <a href="../modules.html#List" class="tsd-kind-icon">List</a>
182
185
  </li>
186
+ <li class=" tsd-kind-variable">
187
+ <a href="../modules.html#Section" class="tsd-kind-icon">Section</a>
188
+ </li>
183
189
  <li class=" tsd-kind-variable">
184
190
  <a href="../modules.html#StickyHeader" class="tsd-kind-icon">Sticky<wbr>Header</a>
185
191
  </li>
package/docs/index.html CHANGED
@@ -3,8 +3,8 @@
3
3
  <head>
4
4
  <meta charset="utf-8">
5
5
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <title>react-miui - v0.4.2</title>
7
- <meta name="description" content="Documentation for react-miui - v0.4.2">
6
+ <title>react-miui - v0.5.2</title>
7
+ <meta name="description" content="Documentation for react-miui - v0.5.2">
8
8
  <meta name="viewport" content="width=device-width, initial-scale=1">
9
9
  <link rel="stylesheet" href="assets/css/main.css">
10
10
  <link rel="stylesheet" href="assets/css/pages.css">
@@ -23,7 +23,7 @@
23
23
  <li class="state loading">Preparing search index...</li>
24
24
  <li class="state failure">The search index is not available</li>
25
25
  </ul>
26
- <a href="index.html" class="title">react-miui - v0.4.2</a>
26
+ <a href="index.html" class="title">react-miui - v0.5.2</a>
27
27
  </div>
28
28
  <div class="table-cell" id="tsd-widgets">
29
29
  <div id="tsd-filter">
@@ -57,7 +57,7 @@
57
57
  <a href="modules.html">Globals</a>
58
58
  </li>
59
59
  </ul>
60
- <h1>Project react-miui - v0.4.2</h1>
60
+ <h1>Project react-miui - v0.5.2</h1>
61
61
  </div>
62
62
  </div>
63
63
  </header>
@@ -101,6 +101,9 @@
101
101
  <li class=" tsd-kind-namespace">
102
102
  <a href="modules/List.html">List</a>
103
103
  </li>
104
+ <li class=" tsd-kind-namespace">
105
+ <a href="modules/Section.html">Section</a>
106
+ </li>
104
107
  <li class=" tsd-kind-namespace">
105
108
  <a href="modules/StickyHeader.html">Sticky<wbr>Header</a>
106
109
  </li>
@@ -117,6 +120,9 @@
117
120
  <li class=" tsd-kind-variable">
118
121
  <a href="modules.html#Button" class="tsd-kind-icon">Button</a>
119
122
  </li>
123
+ <li class=" tsd-kind-variable">
124
+ <a href="modules.html#Card" class="tsd-kind-icon">Card</a>
125
+ </li>
120
126
  <li class=" tsd-kind-variable">
121
127
  <a href="modules.html#Checkbox" class="tsd-kind-icon">Checkbox</a>
122
128
  </li>
@@ -141,6 +147,9 @@
141
147
  <li class=" tsd-kind-variable">
142
148
  <a href="modules.html#List" class="tsd-kind-icon">List</a>
143
149
  </li>
150
+ <li class=" tsd-kind-variable">
151
+ <a href="modules.html#Section" class="tsd-kind-icon">Section</a>
152
+ </li>
144
153
  <li class=" tsd-kind-variable">
145
154
  <a href="modules.html#StickyHeader" class="tsd-kind-icon">Sticky<wbr>Header</a>
146
155
  </li>
@@ -3,8 +3,8 @@
3
3
  <head>
4
4
  <meta charset="utf-8">
5
5
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <title>Item | react-miui - v0.4.2</title>
7
- <meta name="description" content="Documentation for react-miui - v0.4.2">
6
+ <title>Item | react-miui - v0.5.2</title>
7
+ <meta name="description" content="Documentation for react-miui - v0.5.2">
8
8
  <meta name="viewport" content="width=device-width, initial-scale=1">
9
9
  <link rel="stylesheet" href="../assets/css/main.css">
10
10
  <link rel="stylesheet" href="../assets/css/pages.css">
@@ -23,7 +23,7 @@
23
23
  <li class="state loading">Preparing search index...</li>
24
24
  <li class="state failure">The search index is not available</li>
25
25
  </ul>
26
- <a href="../index.html" class="title">react-miui - v0.4.2</a>
26
+ <a href="../index.html" class="title">react-miui - v0.5.2</a>
27
27
  </div>
28
28
  <div class="table-cell" id="tsd-widgets">
29
29
  <div id="tsd-filter">
@@ -120,6 +120,9 @@
120
120
  <li class=" tsd-kind-namespace">
121
121
  <a href="List.html">List</a>
122
122
  </li>
123
+ <li class=" tsd-kind-namespace">
124
+ <a href="Section.html">Section</a>
125
+ </li>
123
126
  <li class=" tsd-kind-namespace">
124
127
  <a href="StickyHeader.html">Sticky<wbr>Header</a>
125
128
  </li>