@mirai/ui 2.0.27 → 2.0.28

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.
@@ -35,25 +35,25 @@ exports[`component:<Action> prop:disabled 1`] = `
35
35
 
36
36
  exports[`component:<Action> prop:href + prop:target 1`] = `
37
37
  <DocumentFragment>
38
- <a
38
+ <ui-a
39
39
  class="pressable action"
40
40
  href="soyjavi.com"
41
41
  tabindex="0"
42
42
  >
43
43
  children
44
- </a>
44
+ </ui-a>
45
45
  </DocumentFragment>
46
46
  `;
47
47
 
48
48
  exports[`component:<Action> prop:href 1`] = `
49
49
  <DocumentFragment>
50
- <a
50
+ <ui-a
51
51
  class="pressable action"
52
52
  href="soyjavi.com"
53
53
  tabindex="0"
54
54
  >
55
55
  children
56
- </a>
56
+ </ui-a>
57
57
  </DocumentFragment>
58
58
  `;
59
59
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  exports[`component:<Form> inherit:className 1`] = `
4
4
  <DocumentFragment>
5
- <form
5
+ <ui-form
6
6
  class="mirai"
7
7
  />
8
8
  </DocumentFragment>
@@ -10,7 +10,7 @@ exports[`component:<Form> inherit:className 1`] = `
10
10
 
11
11
  exports[`component:<Form> prop:children 1`] = `
12
12
  <DocumentFragment>
13
- <form>
13
+ <ui-form>
14
14
  <ui-input-text
15
15
  class="view inputContainer"
16
16
  >
@@ -36,19 +36,19 @@ exports[`component:<Form> prop:children 1`] = `
36
36
  </ui-view>
37
37
  </ui-view>
38
38
  </ui-input-text>
39
- </form>
39
+ </ui-form>
40
40
  </DocumentFragment>
41
41
  `;
42
42
 
43
43
  exports[`component:<Form> renders 1`] = `
44
44
  <DocumentFragment>
45
- <form />
45
+ <ui-form />
46
46
  </DocumentFragment>
47
47
  `;
48
48
 
49
49
  exports[`component:<Form> testId 1`] = `
50
50
  <DocumentFragment>
51
- <form
51
+ <ui-form
52
52
  data-testid="mirai"
53
53
  />
54
54
  </DocumentFragment>
@@ -20,10 +20,6 @@ var NATIVE_TAGS = [
20
20
  // <Select>
21
21
  'select', 'option',
22
22
  // -- COMPONENTS -------------------------------------------------------------
23
- // <Action>
24
- 'a',
25
- // <Form>
26
- 'form',
27
23
  // <Table>
28
24
  'table', 'thead', 'tbody', 'tr', 'th', 'td'];
29
25
  exports.NATIVE_TAGS = NATIVE_TAGS;
@@ -1 +1 @@
1
- {"version":3,"file":"Primitive.constants.js","names":["BANNED_JEST_PROPS","COMMON_PROPS","for","role","testId","NATIVE_TAGS","TESTING_PROPS"],"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\nconst TESTING_PROPS = ['testId'];\n\nexport { BANNED_JEST_PROPS, COMMON_PROPS, NATIVE_TAGS, TESTING_PROPS };\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;AAEF,IAAMC,aAAa,GAAG,CAAC,QAAQ,CAAC;AAAC"}
1
+ {"version":3,"file":"Primitive.constants.js","names":["BANNED_JEST_PROPS","COMMON_PROPS","for","role","testId","NATIVE_TAGS","TESTING_PROPS"],"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 // <Table>\n 'table',\n 'thead',\n 'tbody',\n 'tr',\n 'th',\n 'td',\n];\n\nconst TESTING_PROPS = ['testId'];\n\nexport { BANNED_JEST_PROPS, COMMON_PROPS, NATIVE_TAGS, TESTING_PROPS };\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,OAAO,EACP,OAAO,EACP,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,IAAI,CACL;AAAC;AAEF,IAAMC,aAAa,GAAG,CAAC,QAAQ,CAAC;AAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirai/ui",
3
- "version": "2.0.27",
3
+ "version": "2.0.28",
4
4
  "repository": "git@gitlab.com:miraicorp/dev/frontend/ui.git",
5
5
  "author": "JΛVI <hello@soyjavi.com>",
6
6
  "license": "MIT",