@mirai/ui 2.0.7 → 2.0.8

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 (28) hide show
  1. package/build/components/Action/Action.module.css +4 -0
  2. package/build/components/Button/Button.module.css +27 -27
  3. package/build/components/Button/__tests__/__snapshots__/Button.test.js.snap +32 -32
  4. package/build/components/Calendar/__tests__/__snapshots__/Calendar.test.jsx.snap +64 -64
  5. package/build/components/InputNumber/InputNumber.js +4 -2
  6. package/build/components/InputNumber/InputNumber.js.map +1 -1
  7. package/build/components/InputNumber/__tests__/__snapshots__/InputNumber.test.js.snap +81 -57
  8. package/build/components/Menu/__tests__/__snapshots__/Menu.test.jsx.snap +14 -14
  9. package/build/components/Modal/__tests__/__snapshots__/Modal.test.js.snap +6 -6
  10. package/build/components/Table/__tests__/__snapshots__/Table.ColumnFilter.test.js.snap +30 -30
  11. package/build/components/Tooltip/__tests__/__snapshots__/Tooltip.test.jsx.snap +20 -20
  12. package/build/components/components.customElements.js +6 -0
  13. package/build/components/components.customElements.js.map +1 -0
  14. package/build/components/index.js +1 -0
  15. package/build/components/index.js.map +1 -1
  16. package/build/helpers/CustomElement.js +39 -0
  17. package/build/helpers/CustomElement.js.map +1 -0
  18. package/build/helpers/index.js +11 -0
  19. package/build/helpers/index.js.map +1 -1
  20. package/build/primitives/Layer/__tests__/__snapshots__/Layer.test.js.snap +14 -14
  21. package/build/primitives/Pressable/Pressable.module.css +8 -0
  22. package/build/primitives/Primitive/Primitive.constants.js +0 -2
  23. package/build/primitives/Primitive/Primitive.constants.js.map +1 -1
  24. package/build/primitives/index.js +1 -64
  25. package/build/primitives/index.js.map +1 -1
  26. package/build/primitives/primitives.customElements.js +20 -0
  27. package/build/primitives/primitives.customElements.js.map +1 -0
  28. package/package.json +1 -1
@@ -112,18 +112,18 @@ exports[`component:<Table>:<ColumnFilter> inherit:className 1`] = `
112
112
  <ui-view
113
113
  class="view row wide items"
114
114
  >
115
- <button
115
+ <ui-button
116
116
  class="pressable button secondary wide"
117
117
  tabindex="0"
118
118
  >
119
119
  $Cancel
120
- </button>
121
- <button
120
+ </ui-button>
121
+ <ui-button
122
122
  class="pressable disabled button disabled wide"
123
- disabled=""
123
+ disabled="true"
124
124
  >
125
125
  $Submit
126
- </button>
126
+ </ui-button>
127
127
  </ui-view>
128
128
  </ui-view>
129
129
  </ui-pressable>
@@ -244,18 +244,18 @@ exports[`component:<Table>:<ColumnFilter> prop:l10n 1`] = `
244
244
  <ui-view
245
245
  class="view row wide items"
246
246
  >
247
- <button
247
+ <ui-button
248
248
  class="pressable button secondary wide"
249
249
  tabindex="0"
250
250
  >
251
251
  Cancel
252
- </button>
253
- <button
252
+ </ui-button>
253
+ <ui-button
254
254
  class="pressable disabled button disabled wide"
255
- disabled=""
255
+ disabled="true"
256
256
  >
257
257
  Submit
258
- </button>
258
+ </ui-button>
259
259
  </ui-view>
260
260
  </ui-view>
261
261
  </ui-pressable>
@@ -376,18 +376,18 @@ exports[`component:<Table>:<ColumnFilter> prop:schema type:number 1`] = `
376
376
  <ui-view
377
377
  class="view row wide items"
378
378
  >
379
- <button
379
+ <ui-button
380
380
  class="pressable button secondary wide"
381
381
  tabindex="0"
382
382
  >
383
383
  Cancel
384
- </button>
385
- <button
384
+ </ui-button>
385
+ <ui-button
386
386
  class="pressable disabled button disabled wide"
387
- disabled=""
387
+ disabled="true"
388
388
  >
389
389
  Submit
390
- </button>
390
+ </ui-button>
391
391
  </ui-view>
392
392
  </ui-view>
393
393
  </ui-pressable>
@@ -508,18 +508,18 @@ exports[`component:<Table>:<ColumnFilter> prop:schema type:text 1`] = `
508
508
  <ui-view
509
509
  class="view row wide items"
510
510
  >
511
- <button
511
+ <ui-button
512
512
  class="pressable button secondary wide"
513
513
  tabindex="0"
514
514
  >
515
515
  Cancel
516
- </button>
517
- <button
516
+ </ui-button>
517
+ <ui-button
518
518
  class="pressable disabled button disabled wide"
519
- disabled=""
519
+ disabled="true"
520
520
  >
521
521
  Submit
522
- </button>
522
+ </ui-button>
523
523
  </ui-view>
524
524
  </ui-view>
525
525
  </ui-pressable>
@@ -640,18 +640,18 @@ exports[`component:<Table>:<ColumnFilter> renders 1`] = `
640
640
  <ui-view
641
641
  class="view row wide items"
642
642
  >
643
- <button
643
+ <ui-button
644
644
  class="pressable button secondary wide"
645
645
  tabindex="0"
646
646
  >
647
647
  $Cancel
648
- </button>
649
- <button
648
+ </ui-button>
649
+ <ui-button
650
650
  class="pressable disabled button disabled wide"
651
- disabled=""
651
+ disabled="true"
652
652
  >
653
653
  $Submit
654
- </button>
654
+ </ui-button>
655
655
  </ui-view>
656
656
  </ui-view>
657
657
  </ui-pressable>
@@ -776,19 +776,19 @@ exports[`component:<Table>:<ColumnFilter> testId 1`] = `
776
776
  <ui-view
777
777
  class="view row wide items"
778
778
  >
779
- <button
779
+ <ui-button
780
780
  class="pressable button secondary wide"
781
781
  tabindex="0"
782
782
  >
783
783
  $Cancel
784
- </button>
785
- <button
784
+ </ui-button>
785
+ <ui-button
786
786
  class="pressable disabled button disabled wide"
787
787
  data-testid="mirai-submit"
788
- disabled=""
788
+ disabled="true"
789
789
  >
790
790
  $Submit
791
- </button>
791
+ </ui-button>
792
792
  </ui-view>
793
793
  </ui-view>
794
794
  </ui-pressable>
@@ -6,13 +6,13 @@ exports[` 1`] = `
6
6
  class="container"
7
7
  data-testid="onEnter"
8
8
  >
9
- <button
9
+ <ui-button
10
10
  class="pressable button dispatcher"
11
11
  data-testid="onEnter-dispatcher"
12
12
  tabindex="0"
13
13
  >
14
14
  Action
15
- </button>
15
+ </ui-button>
16
16
  </ui-tooltip>
17
17
  </DocumentFragment>
18
18
  `;
@@ -23,13 +23,13 @@ exports[` 2`] = `
23
23
  class="container"
24
24
  data-testid="onEnter"
25
25
  >
26
- <button
26
+ <ui-button
27
27
  class="pressable button dispatcher"
28
28
  data-testid="onEnter-dispatcher"
29
29
  tabindex="0"
30
30
  >
31
31
  Action
32
- </button>
32
+ </ui-button>
33
33
  </ui-tooltip>
34
34
  </DocumentFragment>
35
35
  `;
@@ -43,13 +43,13 @@ exports[` 3`] = `
43
43
  <ui-view
44
44
  class="view"
45
45
  >
46
- <button
46
+ <ui-button
47
47
  class="pressable button dispatcher"
48
48
  data-testid="onPress-dispatcher"
49
49
  tabindex="0"
50
50
  >
51
51
  Action
52
- </button>
52
+ </ui-button>
53
53
  </ui-view>
54
54
  </ui-tooltip>
55
55
  </DocumentFragment>
@@ -64,13 +64,13 @@ exports[` 4`] = `
64
64
  <ui-view
65
65
  class="view"
66
66
  >
67
- <button
67
+ <ui-button
68
68
  class="pressable button dispatcher"
69
69
  data-testid="onPress-dispatcher"
70
70
  tabindex="0"
71
71
  >
72
72
  Action
73
- </button>
73
+ </ui-button>
74
74
  </ui-view>
75
75
  </ui-tooltip>
76
76
  </DocumentFragment>
@@ -78,12 +78,12 @@ exports[` 4`] = `
78
78
 
79
79
  exports[`component:<Tooltip> inherit:className 1`] = `
80
80
  <DocumentFragment>
81
- <button
81
+ <ui-button
82
82
  class="pressable button"
83
83
  tabindex="0"
84
84
  >
85
85
  Action
86
- </button>
86
+ </ui-button>
87
87
  </DocumentFragment>
88
88
  `;
89
89
 
@@ -92,12 +92,12 @@ exports[`component:<Tooltip> prop:Template 1`] = `
92
92
  <ui-tooltip
93
93
  class="container"
94
94
  >
95
- <button
95
+ <ui-button
96
96
  class="pressable button dispatcher"
97
97
  tabindex="0"
98
98
  >
99
99
  Action
100
- </button>
100
+ </ui-button>
101
101
  </ui-tooltip>
102
102
  <ui-tooltip-content
103
103
  class="layer"
@@ -119,12 +119,12 @@ exports[`component:<Tooltip> prop:text 1`] = `
119
119
  <ui-tooltip
120
120
  class="container"
121
121
  >
122
- <button
122
+ <ui-button
123
123
  class="pressable button dispatcher"
124
124
  tabindex="0"
125
125
  >
126
126
  Action
127
- </button>
127
+ </ui-button>
128
128
  </ui-tooltip>
129
129
  <ui-tooltip-content
130
130
  class="layer"
@@ -145,23 +145,23 @@ exports[`component:<Tooltip> prop:text 1`] = `
145
145
 
146
146
  exports[`component:<Tooltip> prop:top 1`] = `
147
147
  <DocumentFragment>
148
- <button
148
+ <ui-button
149
149
  class="pressable button"
150
150
  tabindex="0"
151
151
  >
152
152
  Action
153
- </button>
153
+ </ui-button>
154
154
  </DocumentFragment>
155
155
  `;
156
156
 
157
157
  exports[`component:<Tooltip> renders 1`] = `
158
158
  <DocumentFragment>
159
- <button
159
+ <ui-button
160
160
  class="pressable button"
161
161
  tabindex="0"
162
162
  >
163
163
  Action
164
- </button>
164
+ </ui-button>
165
165
  </DocumentFragment>
166
166
  `;
167
167
 
@@ -171,13 +171,13 @@ exports[`component:<Tooltip> testId 1`] = `
171
171
  class="container"
172
172
  data-testid="mirai"
173
173
  >
174
- <button
174
+ <ui-button
175
175
  class="pressable button dispatcher"
176
176
  data-testid="mirai-dispatcher"
177
177
  tabindex="0"
178
178
  >
179
179
  Action
180
- </button>
180
+ </ui-button>
181
181
  </ui-tooltip>
182
182
  </DocumentFragment>
183
183
  `;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ var _helpers = require("../helpers");
4
+ (0, _helpers.CustomElement)('ui-button', HTMLButtonElement, 'button');
5
+ (0, _helpers.CustomElement)('ui-label', HTMLLabelElement, 'label');
6
+ //# sourceMappingURL=components.customElements.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components.customElements.js","names":["CustomElement","HTMLButtonElement","HTMLLabelElement"],"sources":["../../src/components/components.customElements.js"],"sourcesContent":["import { CustomElement } from '../helpers';\n\nCustomElement('ui-button', HTMLButtonElement, 'button');\nCustomElement('ui-label', HTMLLabelElement, 'label');\n"],"mappings":";;AAAA;AAEA,IAAAA,sBAAa,EAAC,WAAW,EAAEC,iBAAiB,EAAE,QAAQ,CAAC;AACvD,IAAAD,sBAAa,EAAC,UAAU,EAAEE,gBAAgB,EAAE,OAAO,CAAC"}
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ require("./components.customElements");
6
7
  var _Action = require("./Action");
7
8
  Object.keys(_Action).forEach(function (key) {
8
9
  if (key === "default" || key === "__esModule") return;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/components/index.js"],"sourcesContent":["export * from './Action';\nexport * from './Button';\nexport * from './Calendar';\nexport * from './Form';\nexport * from './InputDate';\nexport * from './InputNumber';\nexport * from './InputOption';\nexport * from './InputPhone';\nexport * from './InputSelect';\nexport * from './InputText';\nexport * from './Menu';\nexport * from './Modal';\nexport * from './Notification';\nexport * from './Progress';\nexport * from './Slider';\nexport * from './Table';\nexport * from './Tooltip';\n"],"mappings":";;;;;AAAA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/components/index.js"],"sourcesContent":["import './components.customElements';\n\nexport * from './Action';\nexport * from './Button';\nexport * from './Calendar';\nexport * from './Form';\nexport * from './InputDate';\nexport * from './InputNumber';\nexport * from './InputOption';\nexport * from './InputPhone';\nexport * from './InputSelect';\nexport * from './InputText';\nexport * from './Menu';\nexport * from './Modal';\nexport * from './Notification';\nexport * from './Progress';\nexport * from './Slider';\nexport * from './Table';\nexport * from './Tooltip';\n"],"mappings":";;;;;AAAA;AAEA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA"}
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.CustomElement = void 0;
8
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
9
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
10
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
11
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
12
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
13
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
14
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
15
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
16
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
17
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
18
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
19
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
20
+ var userAgent = navigator.userAgent.toLowerCase();
21
+ var isSafari = userAgent.includes('safari') && !userAgent.includes('chrome') && !userAgent.includes('android');
22
+ var CustomElement = function CustomElement(component) {
23
+ var TagElement = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : HTMLElement;
24
+ var tag = arguments.length > 2 ? arguments[2] : undefined;
25
+ var ClassElement = isSafari ? HTMLElement : TagElement;
26
+ return customElements.define(component, /*#__PURE__*/function (_ClassElement) {
27
+ _inherits(_class, _ClassElement);
28
+ var _super = _createSuper(_class);
29
+ function _class() {
30
+ _classCallCheck(this, _class);
31
+ return _super.apply(this, arguments);
32
+ }
33
+ return _createClass(_class);
34
+ }(ClassElement), {
35
+ extends: tag
36
+ });
37
+ };
38
+ exports.CustomElement = CustomElement;
39
+ //# sourceMappingURL=CustomElement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CustomElement.js","names":["userAgent","navigator","toLowerCase","isSafari","includes","CustomElement","component","TagElement","HTMLElement","tag","ClassElement","customElements","define","extends"],"sources":["../../src/helpers/CustomElement.js"],"sourcesContent":["const userAgent = navigator.userAgent.toLowerCase();\nconst isSafari = userAgent.includes('safari') && !userAgent.includes('chrome') && !userAgent.includes('android');\n\nexport const CustomElement = (component, TagElement = HTMLElement, tag) => {\n const ClassElement = isSafari ? HTMLElement : TagElement;\n\n return customElements.define(component, class extends ClassElement {}, { extends: tag });\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAMA,SAAS,GAAGC,SAAS,CAACD,SAAS,CAACE,WAAW,EAAE;AACnD,IAAMC,QAAQ,GAAGH,SAAS,CAACI,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAACJ,SAAS,CAACI,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAACJ,SAAS,CAACI,QAAQ,CAAC,SAAS,CAAC;AAEzG,IAAMC,aAAa,GAAG,SAAhBA,aAAa,CAAIC,SAAS,EAAoC;EAAA,IAAlCC,UAAU,uEAAGC,WAAW;EAAA,IAAEC,GAAG;EACpE,IAAMC,YAAY,GAAGP,QAAQ,GAAGK,WAAW,GAAGD,UAAU;EAExD,OAAOI,cAAc,CAACC,MAAM,CAACN,SAAS;IAAA;IAAA;IAAA;MAAA;MAAA;IAAA;IAAA;EAAA,EAAgBI,YAAY,GAAK;IAAEG,OAAO,EAAEJ;EAAI,CAAC,CAAC;AAC1F,CAAC;AAAC"}
@@ -3,6 +3,17 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ var _CustomElement = require("./CustomElement");
7
+ Object.keys(_CustomElement).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _CustomElement[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function get() {
13
+ return _CustomElement[key];
14
+ }
15
+ });
16
+ });
6
17
  var _getIconState = require("./getIconState");
7
18
  Object.keys(_getIconState).forEach(function (key) {
8
19
  if (key === "default" || key === "__esModule") return;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/helpers/index.js"],"sourcesContent":["export * from './getIconState';\nexport * from './getInputDateErrors';\nexport * from './getInputPhoneErrors';\nexport * from './getInputErrors';\nexport * from './isJest';\nexport * from './styles';\n"],"mappings":";;;;;AAAA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/helpers/index.js"],"sourcesContent":["export * from './CustomElement';\nexport * from './getIconState';\nexport * from './getInputDateErrors';\nexport * from './getInputPhoneErrors';\nexport * from './getInputErrors';\nexport * from './isJest';\nexport * from './styles';\n"],"mappings":";;;;;AAAA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA"}
@@ -54,12 +54,12 @@ exports[`primitive:<Layer> w/ centered && visible 1`] = `
54
54
  <ui-layer
55
55
  class="container"
56
56
  >
57
- <button
57
+ <ui-button
58
58
  class="pressable button"
59
59
  tabindex="0"
60
60
  >
61
61
  Action
62
- </button>
62
+ </ui-button>
63
63
  </ui-layer>
64
64
  <ui-layer-content
65
65
  class="layer"
@@ -79,13 +79,13 @@ exports[`primitive:<Layer> w/ child fixed 1`] = `
79
79
  <ui-layer
80
80
  class="container"
81
81
  >
82
- <button
82
+ <ui-button
83
83
  class="pressable button"
84
84
  style="position: fixed;"
85
85
  tabindex="0"
86
86
  >
87
87
  Action
88
- </button>
88
+ </ui-button>
89
89
  </ui-layer>
90
90
  <ui-layer-content
91
91
  class="layer fixed hidden"
@@ -105,12 +105,12 @@ exports[`primitive:<Layer> w/ component & <LayerContent> 1`] = `
105
105
  <ui-layer
106
106
  class="container"
107
107
  >
108
- <button
108
+ <ui-button
109
109
  class="pressable button"
110
110
  tabindex="0"
111
111
  >
112
112
  Action
113
- </button>
113
+ </ui-button>
114
114
  </ui-layer>
115
115
  <ui-layer-content
116
116
  class="layer hidden"
@@ -130,12 +130,12 @@ exports[`primitive:<Layer> w/ component 1`] = `
130
130
  <ui-layer
131
131
  class="container"
132
132
  >
133
- <button
133
+ <ui-button
134
134
  class="pressable button"
135
135
  tabindex="0"
136
136
  >
137
137
  Action
138
- </button>
138
+ </ui-button>
139
139
  </ui-layer>
140
140
  <ui-layer-content
141
141
  class="layer hidden"
@@ -149,12 +149,12 @@ exports[`primitive:<Layer> w/ fixed 1`] = `
149
149
  <ui-layer
150
150
  class="container"
151
151
  >
152
- <button
152
+ <ui-button
153
153
  class="pressable button"
154
154
  tabindex="0"
155
155
  >
156
156
  Action
157
- </button>
157
+ </ui-button>
158
158
  </ui-layer>
159
159
  <ui-layer-content
160
160
  class="layer fixed hidden"
@@ -174,12 +174,12 @@ exports[`primitive:<Layer> w/ forceRender={false} & <LayerContent> 1`] = `
174
174
  <ui-layer
175
175
  class="container"
176
176
  >
177
- <button
177
+ <ui-button
178
178
  class="pressable button"
179
179
  tabindex="0"
180
180
  >
181
181
  Action
182
- </button>
182
+ </ui-button>
183
183
  </ui-layer>
184
184
  </DocumentFragment>
185
185
  `;
@@ -189,12 +189,12 @@ exports[`primitive:<Layer> w/ visible 1`] = `
189
189
  <ui-layer
190
190
  class="container"
191
191
  >
192
- <button
192
+ <ui-button
193
193
  class="pressable button"
194
194
  tabindex="0"
195
195
  >
196
196
  Action
197
- </button>
197
+ </ui-button>
198
198
  </ui-layer>
199
199
  <ui-layer-content
200
200
  class="layer"
@@ -6,12 +6,20 @@
6
6
  display: inline-block;
7
7
  height: fit-content;
8
8
  margin: 0;
9
+ outline: none;
9
10
  padding: 0;
10
11
  user-select: none;
11
12
  width: fit-content;
12
13
  -webkit-tap-highlight-color: transparent;
13
14
  }
14
15
 
16
+ .pressable:focus-visible {
17
+ border-radius: var(--mirai-ui-border-radius);
18
+ outline: var(--mirai-ui-focus-width) solid var(--mirai-ui-focus-color);
19
+ outline-offset: calc(var(--mirai-ui-focus-width) * -0.5);
20
+ z-index: var(--mirai-ui-layer-S);
21
+ }
22
+
15
23
  .pressable.disabled,
16
24
  .pressable:disabled {
17
25
  cursor: unset;
@@ -22,8 +22,6 @@ var NATIVE_TAGS = [
22
22
  // -- COMPONENTS -------------------------------------------------------------
23
23
  // <Action>
24
24
  'a',
25
- // <Button>
26
- 'button',
27
25
  // <Form>
28
26
  'form',
29
27
  // <Table>
@@ -1 +1 @@
1
- {"version":3,"file":"Primitive.constants.js","names":["BANNED_JEST_PROPS","COMMON_PROPS","for","role","testId","NATIVE_TAGS"],"sources":["../../../src/primitives/Primitive/Primitive.constants.js"],"sourcesContent":["const BANNED_JEST_PROPS = ['is', 'role', 'aria-hidden', 'aria-label'];\n\nconst COMMON_PROPS = {\n for: 'htmlFor',\n role: 'data-role',\n testId: 'data-testid',\n};\n\nconst NATIVE_TAGS = [\n // -- PRIMITIVES -------------------------------------------------------------\n 'iframe',\n 'img',\n // <Input>\n 'input',\n 'textarea',\n // <Select>\n 'select',\n 'option',\n // -- COMPONENTS -------------------------------------------------------------\n // <Action>\n 'a',\n // <Button>\n 'button',\n // <Form>\n 'form',\n // <Table>\n 'table',\n 'thead',\n 'tbody',\n 'tr',\n 'th',\n 'td',\n];\n\nexport { BANNED_JEST_PROPS, COMMON_PROPS, NATIVE_TAGS };\n"],"mappings":";;;;;;AAAA,IAAMA,iBAAiB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,YAAY,CAAC;AAAC;AAEtE,IAAMC,YAAY,GAAG;EACnBC,GAAG,EAAE,SAAS;EACdC,IAAI,EAAE,WAAW;EACjBC,MAAM,EAAE;AACV,CAAC;AAAC;AAEF,IAAMC,WAAW,GAAG;AAClB;AACA,QAAQ,EACR,KAAK;AACL;AACA,OAAO,EACP,UAAU;AACV;AACA,QAAQ,EACR,QAAQ;AACR;AACA;AACA,GAAG;AACH;AACA,QAAQ;AACR;AACA,MAAM;AACN;AACA,OAAO,EACP,OAAO,EACP,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,IAAI,CACL;AAAC"}
1
+ {"version":3,"file":"Primitive.constants.js","names":["BANNED_JEST_PROPS","COMMON_PROPS","for","role","testId","NATIVE_TAGS"],"sources":["../../../src/primitives/Primitive/Primitive.constants.js"],"sourcesContent":["const BANNED_JEST_PROPS = ['is', 'role', 'aria-hidden', 'aria-label'];\n\nconst COMMON_PROPS = {\n for: 'htmlFor',\n role: 'data-role',\n testId: 'data-testid',\n};\n\nconst NATIVE_TAGS = [\n // -- PRIMITIVES -------------------------------------------------------------\n 'iframe',\n 'img',\n // <Input>\n 'input',\n 'textarea',\n // <Select>\n 'select',\n 'option',\n // -- COMPONENTS -------------------------------------------------------------\n // <Action>\n 'a',\n // <Form>\n 'form',\n // <Table>\n 'table',\n 'thead',\n 'tbody',\n 'tr',\n 'th',\n 'td',\n];\n\nexport { BANNED_JEST_PROPS, COMMON_PROPS, NATIVE_TAGS };\n"],"mappings":";;;;;;AAAA,IAAMA,iBAAiB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,YAAY,CAAC;AAAC;AAEtE,IAAMC,YAAY,GAAG;EACnBC,GAAG,EAAE,SAAS;EACdC,IAAI,EAAE,WAAW;EACjBC,MAAM,EAAE;AACV,CAAC;AAAC;AAEF,IAAMC,WAAW,GAAG;AAClB;AACA,QAAQ,EACR,KAAK;AACL;AACA,OAAO,EACP,UAAU;AACV;AACA,QAAQ,EACR,QAAQ;AACR;AACA;AACA,GAAG;AACH;AACA,MAAM;AACN;AACA,OAAO,EACP,OAAO,EACP,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,IAAI,CACL;AAAC"}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
3
  Object.defineProperty(exports, "__esModule", {
5
4
  value: true
6
5
  });
6
+ require("./primitives.customElements");
7
7
  var _Checkbox = require("./Checkbox");
8
8
  Object.keys(_Checkbox).forEach(function (key) {
9
9
  if (key === "default" || key === "__esModule") return;
@@ -136,67 +136,4 @@ Object.keys(_View).forEach(function (key) {
136
136
  }
137
137
  });
138
138
  });
139
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
140
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
141
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
142
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
143
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
144
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
145
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
146
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
147
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
148
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
149
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
150
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
151
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
152
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
153
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
154
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
155
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
156
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
157
- var CUSTOM_ELEMENTS = {
158
- 'ui-label': {
159
- HtmlElement: HTMLLabelElement,
160
- tag: 'label'
161
- },
162
- 'ui-text': {
163
- HtmlElement: HTMLSpanElement,
164
- tag: 'span'
165
- },
166
- 'ui-view': {
167
- HtmlElement: HTMLDivElement,
168
- tag: 'div'
169
- },
170
- 'ui-h1': {
171
- HtmlElement: HTMLHeadingElement,
172
- tag: 'h1'
173
- },
174
- 'ui-h2': {
175
- HtmlElement: HTMLHeadingElement,
176
- tag: 'h2'
177
- },
178
- 'ui-h3': {
179
- HtmlElement: HTMLHeadingElement,
180
- tag: 'h3'
181
- }
182
- };
183
- Object.entries(CUSTOM_ELEMENTS).forEach(function (_ref) {
184
- var _ref2 = _slicedToArray(_ref, 2),
185
- customElement = _ref2[0],
186
- _ref2$ = _ref2[1];
187
- _ref2$ = _ref2$ === void 0 ? {} : _ref2$;
188
- var HtmlElement = _ref2$.HtmlElement,
189
- tag = _ref2$.tag;
190
- return customElements.define(customElement, /*#__PURE__*/function (_HtmlElement) {
191
- _inherits(_class, _HtmlElement);
192
- var _super = _createSuper(_class);
193
- function _class() {
194
- _classCallCheck(this, _class);
195
- return _super.apply(this, arguments);
196
- }
197
- return _createClass(_class);
198
- }(HtmlElement), {
199
- extends: tag
200
- });
201
- });
202
139
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["CUSTOM_ELEMENTS","HtmlElement","HTMLLabelElement","tag","HTMLSpanElement","HTMLDivElement","HTMLHeadingElement","Object","entries","forEach","customElement","customElements","define","extends"],"sources":["../../src/primitives/index.js"],"sourcesContent":["const CUSTOM_ELEMENTS = {\n 'ui-label': { HtmlElement: HTMLLabelElement, tag: 'label' },\n 'ui-text': { HtmlElement: HTMLSpanElement, tag: 'span' },\n 'ui-view': { HtmlElement: HTMLDivElement, tag: 'div' },\n 'ui-h1': { HtmlElement: HTMLHeadingElement, tag: 'h1' },\n 'ui-h2': { HtmlElement: HTMLHeadingElement, tag: 'h2' },\n 'ui-h3': { HtmlElement: HTMLHeadingElement, tag: 'h3' },\n};\n\nObject.entries(CUSTOM_ELEMENTS).forEach(([customElement, { HtmlElement, tag } = {}]) =>\n customElements.define(customElement, class extends HtmlElement {}, { extends: tag }),\n);\n\nexport * from './Checkbox';\nexport * from './Icon';\nexport * from './Input';\nexport * from './Layer';\nexport * from './Pressable';\nexport * from './Primitive';\nexport * from './Radio';\nexport * from './ScrollView';\nexport * from './Select';\nexport * from './Switch';\nexport * from './Text';\nexport * from './View';\n"],"mappings":";;;;;;AAaA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AAAuB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAxBvB,IAAMA,eAAe,GAAG;EACtB,UAAU,EAAE;IAAEC,WAAW,EAAEC,gBAAgB;IAAEC,GAAG,EAAE;EAAQ,CAAC;EAC3D,SAAS,EAAE;IAAEF,WAAW,EAAEG,eAAe;IAAED,GAAG,EAAE;EAAO,CAAC;EACxD,SAAS,EAAE;IAAEF,WAAW,EAAEI,cAAc;IAAEF,GAAG,EAAE;EAAM,CAAC;EACtD,OAAO,EAAE;IAAEF,WAAW,EAAEK,kBAAkB;IAAEH,GAAG,EAAE;EAAK,CAAC;EACvD,OAAO,EAAE;IAAEF,WAAW,EAAEK,kBAAkB;IAAEH,GAAG,EAAE;EAAK,CAAC;EACvD,OAAO,EAAE;IAAEF,WAAW,EAAEK,kBAAkB;IAAEH,GAAG,EAAE;EAAK;AACxD,CAAC;AAEDI,MAAM,CAACC,OAAO,CAACR,eAAe,CAAC,CAACS,OAAO,CAAC;EAAA;IAAEC,aAAa;IAAA;EAAA,6BAAyB,CAAC,CAAC;EAAA,IAAvBT,WAAW,UAAXA,WAAW;IAAEE,GAAG,UAAHA,GAAG;EAAA,OACzEQ,cAAc,CAACC,MAAM,CAACF,aAAa;IAAA;IAAA;IAAA;MAAA;MAAA;IAAA;IAAA;EAAA,EAAgBT,WAAW,GAAK;IAAEY,OAAO,EAAEV;EAAI,CAAC,CAAC;AAAA,EACrF"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/primitives/index.js"],"sourcesContent":["import './primitives.customElements';\n\nexport * from './Checkbox';\nexport * from './Icon';\nexport * from './Input';\nexport * from './Layer';\nexport * from './Pressable';\nexport * from './Primitive';\nexport * from './Radio';\nexport * from './ScrollView';\nexport * from './Select';\nexport * from './Switch';\nexport * from './Text';\nexport * from './View';\n"],"mappings":";;;;;AAAA;AAEA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA"}