@atlaskit/status 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/cjs/components/Status.js +5 -2
  3. package/dist/cjs/components/StatusPicker.js +24 -18
  4. package/dist/cjs/components/analytics.js +2 -2
  5. package/dist/cjs/components/i18n.js +5 -0
  6. package/dist/cjs/components/internal/color-palette.js +84 -24
  7. package/dist/cjs/components/internal/color.js +21 -10
  8. package/dist/cjs/i18n/cs.js +4 -3
  9. package/dist/cjs/i18n/da.js +4 -3
  10. package/dist/cjs/i18n/de.js +4 -3
  11. package/dist/cjs/i18n/en_ZZ.js +24 -0
  12. package/dist/cjs/i18n/es.js +4 -3
  13. package/dist/cjs/i18n/et.js +2 -2
  14. package/dist/cjs/i18n/fi.js +4 -3
  15. package/dist/cjs/i18n/fr.js +4 -3
  16. package/dist/cjs/i18n/hu.js +4 -3
  17. package/dist/cjs/i18n/it.js +4 -3
  18. package/dist/cjs/i18n/ja.js +4 -3
  19. package/dist/cjs/i18n/ko.js +4 -3
  20. package/dist/cjs/i18n/nb.js +4 -3
  21. package/dist/cjs/i18n/nl.js +4 -3
  22. package/dist/cjs/i18n/pl.js +4 -3
  23. package/dist/cjs/i18n/pt_BR.js +4 -3
  24. package/dist/cjs/i18n/pt_PT.js +2 -2
  25. package/dist/cjs/i18n/ru.js +4 -3
  26. package/dist/cjs/i18n/sk.js +2 -2
  27. package/dist/cjs/i18n/sv.js +4 -3
  28. package/dist/cjs/i18n/th.js +4 -3
  29. package/dist/cjs/i18n/tr.js +4 -3
  30. package/dist/cjs/i18n/uk.js +4 -3
  31. package/dist/cjs/i18n/vi.js +4 -3
  32. package/dist/cjs/i18n/zh.js +4 -3
  33. package/dist/cjs/i18n/zh_TW.js +4 -3
  34. package/dist/cjs/version.json +1 -1
  35. package/dist/es2019/components/Status.js +6 -2
  36. package/dist/es2019/components/StatusPicker.js +20 -13
  37. package/dist/es2019/components/i18n.js +5 -0
  38. package/dist/es2019/components/internal/color-palette.js +77 -18
  39. package/dist/es2019/components/internal/color.js +25 -13
  40. package/dist/es2019/i18n/cs.js +4 -3
  41. package/dist/es2019/i18n/da.js +4 -3
  42. package/dist/es2019/i18n/de.js +4 -3
  43. package/dist/es2019/i18n/en_ZZ.js +16 -0
  44. package/dist/es2019/i18n/es.js +4 -3
  45. package/dist/es2019/i18n/et.js +2 -2
  46. package/dist/es2019/i18n/fi.js +4 -3
  47. package/dist/es2019/i18n/fr.js +4 -3
  48. package/dist/es2019/i18n/hu.js +4 -3
  49. package/dist/es2019/i18n/it.js +4 -3
  50. package/dist/es2019/i18n/ja.js +4 -3
  51. package/dist/es2019/i18n/ko.js +4 -3
  52. package/dist/es2019/i18n/nb.js +4 -3
  53. package/dist/es2019/i18n/nl.js +4 -3
  54. package/dist/es2019/i18n/pl.js +4 -3
  55. package/dist/es2019/i18n/pt_BR.js +4 -3
  56. package/dist/es2019/i18n/pt_PT.js +2 -2
  57. package/dist/es2019/i18n/ru.js +4 -3
  58. package/dist/es2019/i18n/sk.js +2 -2
  59. package/dist/es2019/i18n/sv.js +4 -3
  60. package/dist/es2019/i18n/th.js +4 -3
  61. package/dist/es2019/i18n/tr.js +4 -3
  62. package/dist/es2019/i18n/uk.js +4 -3
  63. package/dist/es2019/i18n/vi.js +4 -3
  64. package/dist/es2019/i18n/zh.js +4 -3
  65. package/dist/es2019/i18n/zh_TW.js +4 -3
  66. package/dist/es2019/version.json +1 -1
  67. package/dist/esm/components/Status.js +6 -2
  68. package/dist/esm/components/StatusPicker.js +25 -19
  69. package/dist/esm/components/analytics.js +2 -2
  70. package/dist/esm/components/i18n.js +5 -0
  71. package/dist/esm/components/internal/color-palette.js +86 -24
  72. package/dist/esm/components/internal/color.js +22 -11
  73. package/dist/esm/i18n/cs.js +4 -3
  74. package/dist/esm/i18n/da.js +4 -3
  75. package/dist/esm/i18n/de.js +4 -3
  76. package/dist/esm/i18n/en_ZZ.js +16 -0
  77. package/dist/esm/i18n/es.js +4 -3
  78. package/dist/esm/i18n/et.js +2 -2
  79. package/dist/esm/i18n/fi.js +4 -3
  80. package/dist/esm/i18n/fr.js +4 -3
  81. package/dist/esm/i18n/hu.js +4 -3
  82. package/dist/esm/i18n/it.js +4 -3
  83. package/dist/esm/i18n/ja.js +4 -3
  84. package/dist/esm/i18n/ko.js +4 -3
  85. package/dist/esm/i18n/nb.js +4 -3
  86. package/dist/esm/i18n/nl.js +4 -3
  87. package/dist/esm/i18n/pl.js +4 -3
  88. package/dist/esm/i18n/pt_BR.js +4 -3
  89. package/dist/esm/i18n/pt_PT.js +2 -2
  90. package/dist/esm/i18n/ru.js +4 -3
  91. package/dist/esm/i18n/sk.js +2 -2
  92. package/dist/esm/i18n/sv.js +4 -3
  93. package/dist/esm/i18n/th.js +4 -3
  94. package/dist/esm/i18n/tr.js +4 -3
  95. package/dist/esm/i18n/uk.js +4 -3
  96. package/dist/esm/i18n/vi.js +4 -3
  97. package/dist/esm/i18n/zh.js +4 -3
  98. package/dist/esm/i18n/zh_TW.js +4 -3
  99. package/dist/esm/version.json +1 -1
  100. package/dist/types/components/Status.d.ts +2 -1
  101. package/dist/types/components/StatusPicker.d.ts +5 -13
  102. package/dist/types/components/i18n.d.ts +5 -0
  103. package/dist/types/components/internal/color-palette.d.ts +2 -2
  104. package/dist/types/components/internal/color.d.ts +4 -3
  105. package/dist/types/i18n/cs.d.ts +2 -1
  106. package/dist/types/i18n/da.d.ts +2 -1
  107. package/dist/types/i18n/de.d.ts +2 -1
  108. package/dist/types/i18n/en_ZZ.d.ts +16 -0
  109. package/dist/types/i18n/es.d.ts +2 -1
  110. package/dist/types/i18n/et.d.ts +1 -1
  111. package/dist/types/i18n/fi.d.ts +2 -1
  112. package/dist/types/i18n/fr.d.ts +2 -1
  113. package/dist/types/i18n/hu.d.ts +2 -1
  114. package/dist/types/i18n/it.d.ts +2 -1
  115. package/dist/types/i18n/ja.d.ts +2 -1
  116. package/dist/types/i18n/ko.d.ts +2 -1
  117. package/dist/types/i18n/nb.d.ts +2 -1
  118. package/dist/types/i18n/nl.d.ts +2 -1
  119. package/dist/types/i18n/pl.d.ts +2 -1
  120. package/dist/types/i18n/pt_BR.d.ts +2 -1
  121. package/dist/types/i18n/pt_PT.d.ts +1 -1
  122. package/dist/types/i18n/ru.d.ts +2 -1
  123. package/dist/types/i18n/sk.d.ts +1 -1
  124. package/dist/types/i18n/sv.d.ts +2 -1
  125. package/dist/types/i18n/th.d.ts +2 -1
  126. package/dist/types/i18n/tr.d.ts +2 -1
  127. package/dist/types/i18n/uk.d.ts +2 -1
  128. package/dist/types/i18n/vi.d.ts +2 -1
  129. package/dist/types/i18n/zh.d.ts +2 -1
  130. package/dist/types/i18n/zh_TW.d.ts +2 -1
  131. package/package.json +14 -7
@@ -1,15 +1,16 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
4
+ * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- // German
7
+ //German (Germany)
8
8
  export default {
9
9
  'fabric.status.color.blue': 'Blau',
10
10
  'fabric.status.color.green': 'Grün',
11
11
  'fabric.status.color.grey': 'Grau',
12
12
  'fabric.status.color.purple': 'Violett',
13
13
  'fabric.status.color.red': 'Rot',
14
- 'fabric.status.color.yellow': 'Gelb'
14
+ 'fabric.status.color.yellow': 'Gelb',
15
+ 'fabric.status.input.label': 'Status festlegen'
15
16
  };
@@ -0,0 +1,16 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ //
8
+ export default {
9
+ 'fabric.status.color.blue': '⁣⁢Blue‍⁠‌‌⁠‍⁠؜‍⁠؜؜⁣⁤',
10
+ 'fabric.status.color.green': '⁣⁢Green⁡⁡⁡⁠‌‌⁡‌‌⁣⁤',
11
+ 'fabric.status.color.grey': '⁣⁢Grey⁠‌؜؜⁠‍⁡⁡⁡⁠‌؜⁡⁡⁣⁤',
12
+ 'fabric.status.color.purple': '⁣⁢Purple⁡؜‍⁡⁠؜؜؜⁡⁣⁤',
13
+ 'fabric.status.color.red': '⁣⁢Red⁡‌‌‌‌⁠‍‌؜؜⁡‍⁣⁤',
14
+ 'fabric.status.color.yellow': '⁣⁢Yellow‍⁡‍⁣⁤',
15
+ 'fabric.status.input.label': '⁣⁢Set a status‍‌؜‌⁡‍‍؜‍؜‍⁠⁣⁤'
16
+ };
@@ -1,15 +1,16 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
4
+ * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- // Spanish
7
+ //Spanish (International)
8
8
  export default {
9
9
  'fabric.status.color.blue': 'Azul',
10
10
  'fabric.status.color.green': 'Verde',
11
11
  'fabric.status.color.grey': 'Gris',
12
12
  'fabric.status.color.purple': 'Morado',
13
13
  'fabric.status.color.red': 'Rojo',
14
- 'fabric.status.color.yellow': 'Amarillo'
14
+ 'fabric.status.color.yellow': 'Amarillo',
15
+ 'fabric.status.input.label': 'Establecer un estado'
15
16
  };
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
4
+ * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- // Estonian
7
+ //Estonian
8
8
  export default {
9
9
  'fabric.status.color.blue': 'Sinine',
10
10
  'fabric.status.color.green': 'Roheline',
@@ -1,15 +1,16 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
4
+ * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- // Finnish
7
+ //Finnish
8
8
  export default {
9
9
  'fabric.status.color.blue': 'Sininen',
10
10
  'fabric.status.color.green': 'Vihreä',
11
11
  'fabric.status.color.grey': 'Harmaa',
12
12
  'fabric.status.color.purple': 'Violetti',
13
13
  'fabric.status.color.red': 'Punainen',
14
- 'fabric.status.color.yellow': 'Keltainen'
14
+ 'fabric.status.color.yellow': 'Keltainen',
15
+ 'fabric.status.input.label': 'Aseta tila'
15
16
  };
@@ -1,15 +1,16 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
4
+ * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- // French
7
+ //French (France)
8
8
  export default {
9
9
  'fabric.status.color.blue': 'Bleu',
10
10
  'fabric.status.color.green': 'Vert',
11
11
  'fabric.status.color.grey': 'Gris',
12
12
  'fabric.status.color.purple': 'Violet',
13
13
  'fabric.status.color.red': 'Rouge',
14
- 'fabric.status.color.yellow': 'Jaune'
14
+ 'fabric.status.color.yellow': 'Jaune',
15
+ 'fabric.status.input.label': 'Définir un état'
15
16
  };
@@ -1,15 +1,16 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
4
+ * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- // Hungarian
7
+ //Hungarian
8
8
  export default {
9
9
  'fabric.status.color.blue': 'Kék',
10
10
  'fabric.status.color.green': 'Zöld',
11
11
  'fabric.status.color.grey': 'Szürke',
12
12
  'fabric.status.color.purple': 'Lila',
13
13
  'fabric.status.color.red': 'Piros',
14
- 'fabric.status.color.yellow': 'Sárga'
14
+ 'fabric.status.color.yellow': 'Sárga',
15
+ 'fabric.status.input.label': 'Állapot beállítása'
15
16
  };
@@ -1,15 +1,16 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
4
+ * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- // Italian
7
+ //Italian (Italy)
8
8
  export default {
9
9
  'fabric.status.color.blue': 'Blu',
10
10
  'fabric.status.color.green': 'Verde',
11
11
  'fabric.status.color.grey': 'Grigio',
12
12
  'fabric.status.color.purple': 'Viola',
13
13
  'fabric.status.color.red': 'Rosso',
14
- 'fabric.status.color.yellow': 'Giallo'
14
+ 'fabric.status.color.yellow': 'Giallo',
15
+ 'fabric.status.input.label': 'Imposta uno stato'
15
16
  };
@@ -1,15 +1,16 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
4
+ * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- // Japanese
7
+ //Japanese
8
8
  export default {
9
9
  'fabric.status.color.blue': '青',
10
10
  'fabric.status.color.green': '緑',
11
11
  'fabric.status.color.grey': '灰色',
12
12
  'fabric.status.color.purple': '紫',
13
13
  'fabric.status.color.red': '赤',
14
- 'fabric.status.color.yellow': '黄'
14
+ 'fabric.status.color.yellow': '黄',
15
+ 'fabric.status.input.label': 'ステータスを設定'
15
16
  };
@@ -1,15 +1,16 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
4
+ * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- // Korean
7
+ //Korean
8
8
  export default {
9
9
  'fabric.status.color.blue': '파란색',
10
10
  'fabric.status.color.green': '녹색',
11
11
  'fabric.status.color.grey': '회색',
12
12
  'fabric.status.color.purple': '보라색',
13
13
  'fabric.status.color.red': '빨강색',
14
- 'fabric.status.color.yellow': '노란색'
14
+ 'fabric.status.color.yellow': '노란색',
15
+ 'fabric.status.input.label': '상태 설정'
15
16
  };
@@ -1,15 +1,16 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
4
+ * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- // Norwegian Bokmål
7
+ //Norwegian (Bokmål)
8
8
  export default {
9
9
  'fabric.status.color.blue': 'Blå',
10
10
  'fabric.status.color.green': 'Grønn',
11
11
  'fabric.status.color.grey': 'Grå',
12
12
  'fabric.status.color.purple': 'Lilla',
13
13
  'fabric.status.color.red': 'Rød',
14
- 'fabric.status.color.yellow': 'Gul'
14
+ 'fabric.status.color.yellow': 'Gul',
15
+ 'fabric.status.input.label': 'Angi en status'
15
16
  };
@@ -1,15 +1,16 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
4
+ * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- // Dutch
7
+ //Dutch (Netherlands)
8
8
  export default {
9
9
  'fabric.status.color.blue': 'Blauw',
10
10
  'fabric.status.color.green': 'Groen',
11
11
  'fabric.status.color.grey': 'Grijs',
12
12
  'fabric.status.color.purple': 'Paars',
13
13
  'fabric.status.color.red': 'Rood',
14
- 'fabric.status.color.yellow': 'Geel'
14
+ 'fabric.status.color.yellow': 'Geel',
15
+ 'fabric.status.input.label': 'Status instellen'
15
16
  };
@@ -1,15 +1,16 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
4
+ * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- // Polish
7
+ //Polish (Poland)
8
8
  export default {
9
9
  'fabric.status.color.blue': 'Niebieski',
10
10
  'fabric.status.color.green': 'Zielony',
11
11
  'fabric.status.color.grey': 'Szary',
12
12
  'fabric.status.color.purple': 'Fioletowy',
13
13
  'fabric.status.color.red': 'Czerwony',
14
- 'fabric.status.color.yellow': 'Żółty'
14
+ 'fabric.status.color.yellow': 'Żółty',
15
+ 'fabric.status.input.label': 'Ustaw status'
15
16
  };
@@ -1,15 +1,16 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
4
+ * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- // Portuguese (Brazil)
7
+ //Portuguese (Brazil)
8
8
  export default {
9
9
  'fabric.status.color.blue': 'Azul',
10
10
  'fabric.status.color.green': 'Verde',
11
11
  'fabric.status.color.grey': 'Cinza',
12
12
  'fabric.status.color.purple': 'Roxo',
13
13
  'fabric.status.color.red': 'Vermelho',
14
- 'fabric.status.color.yellow': 'Amarelo'
14
+ 'fabric.status.color.yellow': 'Amarelo',
15
+ 'fabric.status.input.label': 'Definir status'
15
16
  };
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
4
+ * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- // Portuguese (Portugal)
7
+ //Portuguese (Portugal)
8
8
  export default {
9
9
  'fabric.status.color.blue': 'Azul',
10
10
  'fabric.status.color.green': 'Verde',
@@ -1,15 +1,16 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
4
+ * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- // Russian
7
+ //Russian
8
8
  export default {
9
9
  'fabric.status.color.blue': 'Синий',
10
10
  'fabric.status.color.green': 'Зеленый',
11
11
  'fabric.status.color.grey': 'Серый',
12
12
  'fabric.status.color.purple': 'Фиолетовый',
13
13
  'fabric.status.color.red': 'Красный',
14
- 'fabric.status.color.yellow': 'Желтый'
14
+ 'fabric.status.color.yellow': 'Желтый',
15
+ 'fabric.status.input.label': 'Задать статус'
15
16
  };
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
4
+ * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- // Slovak
7
+ //Slovak
8
8
  export default {
9
9
  'fabric.status.color.blue': 'Modrá',
10
10
  'fabric.status.color.green': 'Zelená',
@@ -1,15 +1,16 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
4
+ * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- // Swedish
7
+ //Swedish
8
8
  export default {
9
9
  'fabric.status.color.blue': 'Blå',
10
10
  'fabric.status.color.green': 'Grön',
11
11
  'fabric.status.color.grey': 'Grå',
12
12
  'fabric.status.color.purple': 'Lila',
13
13
  'fabric.status.color.red': 'Röd',
14
- 'fabric.status.color.yellow': 'Gul'
14
+ 'fabric.status.color.yellow': 'Gul',
15
+ 'fabric.status.input.label': 'Ange status'
15
16
  };
@@ -1,15 +1,16 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
4
+ * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- // Thai
7
+ //Thai (Thailand)
8
8
  export default {
9
9
  'fabric.status.color.blue': 'น้ำเงิน',
10
10
  'fabric.status.color.green': 'เขียว',
11
11
  'fabric.status.color.grey': 'เทา',
12
12
  'fabric.status.color.purple': 'ม่วง',
13
13
  'fabric.status.color.red': 'แดง',
14
- 'fabric.status.color.yellow': 'เหลือง'
14
+ 'fabric.status.color.yellow': 'เหลือง',
15
+ 'fabric.status.input.label': 'ตั้งค่าสถานะ'
15
16
  };
@@ -1,15 +1,16 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
4
+ * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- // Turkish
7
+ //Turkish (Turkey)
8
8
  export default {
9
9
  'fabric.status.color.blue': 'Mavi',
10
10
  'fabric.status.color.green': 'Yeşil',
11
11
  'fabric.status.color.grey': 'Gri',
12
12
  'fabric.status.color.purple': 'Mor',
13
13
  'fabric.status.color.red': 'Kırmızı',
14
- 'fabric.status.color.yellow': 'Sarı'
14
+ 'fabric.status.color.yellow': 'Sarı',
15
+ 'fabric.status.input.label': 'Durum ayarlayın'
15
16
  };
@@ -1,15 +1,16 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
4
+ * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- // Ukrainian
7
+ //Ukrainian (Ukraine)
8
8
  export default {
9
9
  'fabric.status.color.blue': 'Синій',
10
10
  'fabric.status.color.green': 'Зелений',
11
11
  'fabric.status.color.grey': 'Сірий',
12
12
  'fabric.status.color.purple': 'Фіолетовий',
13
13
  'fabric.status.color.red': 'Червоний',
14
- 'fabric.status.color.yellow': 'Жовтий'
14
+ 'fabric.status.color.yellow': 'Жовтий',
15
+ 'fabric.status.input.label': 'Додати статус'
15
16
  };
@@ -1,15 +1,16 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
4
+ * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- // Vietnamese
7
+ //Vietnamese (Vietnam)
8
8
  export default {
9
9
  'fabric.status.color.blue': 'Xanh lam',
10
10
  'fabric.status.color.green': 'Xanh lục',
11
11
  'fabric.status.color.grey': 'Xám',
12
12
  'fabric.status.color.purple': 'Tím',
13
13
  'fabric.status.color.red': 'Đỏ',
14
- 'fabric.status.color.yellow': 'Vàng'
14
+ 'fabric.status.color.yellow': 'Vàng',
15
+ 'fabric.status.input.label': 'Đặt trạng thái'
15
16
  };
@@ -1,15 +1,16 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
4
+ * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- // Chinese
7
+ //Chinese (Simplified)
8
8
  export default {
9
9
  'fabric.status.color.blue': '蓝色',
10
10
  'fabric.status.color.green': '绿色',
11
11
  'fabric.status.color.grey': '灰色',
12
12
  'fabric.status.color.purple': '紫色',
13
13
  'fabric.status.color.red': '红色',
14
- 'fabric.status.color.yellow': '黄色'
14
+ 'fabric.status.color.yellow': '黄色',
15
+ 'fabric.status.input.label': '设置状态'
15
16
  };
@@ -1,15 +1,16 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
4
+ * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- // undefined
7
+ //Chinese (Traditional)
8
8
  export default {
9
9
  'fabric.status.color.blue': '藍色',
10
10
  'fabric.status.color.green': '綠色',
11
11
  'fabric.status.color.grey': '灰色',
12
12
  'fabric.status.color.purple': '紫色',
13
13
  'fabric.status.color.red': '紅色',
14
- 'fabric.status.color.yellow': '黃色'
14
+ 'fabric.status.color.yellow': '黃色',
15
+ 'fabric.status.input.label': '設定狀態'
15
16
  };
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/status",
3
- "version": "1.0.0"
3
+ "version": "1.1.0"
4
4
  }
@@ -16,6 +16,8 @@ import Lozenge from '@atlaskit/lozenge';
16
16
  import { withAnalyticsEvents } from '@atlaskit/analytics-next';
17
17
  import { createStatusAnalyticsAndFire } from './analytics';
18
18
  import { ANALYTICS_HOVER_DELAY } from './constants';
19
+
20
+ /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
19
21
  var colorToLozengeAppearanceMap = {
20
22
  neutral: 'default',
21
23
  purple: 'new',
@@ -24,6 +26,8 @@ var colorToLozengeAppearanceMap = {
24
26
  yellow: 'moved',
25
27
  green: 'success'
26
28
  };
29
+ /* eslint-enable @atlaskit/design-system/ensure-design-token-usage */
30
+
27
31
  var DEFAULT_APPEARANCE = 'default';
28
32
  var MAX_WIDTH = 200;
29
33
 
@@ -76,7 +80,7 @@ var StatusInternal = /*#__PURE__*/function (_PureComponent) {
76
80
  text = _this$props.text,
77
81
  color = _this$props.color,
78
82
  style = _this$props.style,
79
- localId = _this$props.localId,
83
+ role = _this$props.role,
80
84
  onClick = _this$props.onClick;
81
85
 
82
86
  if (text.trim().length === 0) {
@@ -93,7 +97,7 @@ var StatusInternal = /*#__PURE__*/function (_PureComponent) {
93
97
  "data-node-type": "status",
94
98
  "data-color": color,
95
99
  "data-style": style,
96
- id: localId
100
+ role: role
97
101
  }, /*#__PURE__*/React.createElement(Lozenge, {
98
102
  appearance: appearance,
99
103
  maxWidth: MAX_WIDTH
@@ -13,22 +13,25 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
13
13
 
14
14
  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; } }
15
15
 
16
+ /** @jsx jsx */
16
17
  import TextField from '@atlaskit/textfield';
17
18
  import { gridSize } from '@atlaskit/theme/constants';
18
- import React from 'react';
19
- import { PureComponent } from 'react';
20
- import styled from 'styled-components';
19
+ import React, { PureComponent } from 'react';
20
+ import { injectIntl } from 'react-intl-next';
21
+ import { css, jsx } from '@emotion/react';
21
22
  import ColorPalette from './internal/color-palette';
22
- var FieldTextWrapper = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n margin: 0 ", "px;\n"])), gridSize());
23
- export var StatusPicker = /*#__PURE__*/function (_PureComponent) {
24
- _inherits(StatusPicker, _PureComponent);
23
+ import { messages } from './i18n';
24
+ var fieldTextWrapperStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n margin: 0 ", "px;\n"])), gridSize());
25
25
 
26
- var _super = _createSuper(StatusPicker);
26
+ var Picker = /*#__PURE__*/function (_PureComponent) {
27
+ _inherits(Picker, _PureComponent);
27
28
 
28
- function StatusPicker() {
29
+ var _super = _createSuper(Picker);
30
+
31
+ function Picker() {
29
32
  var _this;
30
33
 
31
- _classCallCheck(this, StatusPicker);
34
+ _classCallCheck(this, Picker);
32
35
 
33
36
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
34
37
  args[_key] = arguments[_key];
@@ -63,20 +66,21 @@ export var StatusPicker = /*#__PURE__*/function (_PureComponent) {
63
66
  return _this;
64
67
  }
65
68
 
66
- _createClass(StatusPicker, [{
69
+ _createClass(Picker, [{
67
70
  key: "render",
68
71
  value: function render() {
69
72
  var _this$props = this.props,
70
73
  text = _this$props.text,
71
74
  selectedColor = _this$props.selectedColor,
72
- localId = _this$props.localId,
73
75
  onColorClick = _this$props.onColorClick,
74
- onColorHover = _this$props.onColorHover; // Using <React.Fragment> instead of [] to workaround Enzyme
76
+ onColorHover = _this$props.onColorHover,
77
+ intl = _this$props.intl; // Using <React.Fragment> instead of [] to workaround Enzyme
75
78
  // (https://github.com/airbnb/enzyme/issues/1149)
76
79
 
77
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FieldTextWrapper, {
80
+ return jsx(React.Fragment, null, jsx("div", {
81
+ css: fieldTextWrapperStyles,
78
82
  key: this.fieldTextWrapperKey
79
- }, /*#__PURE__*/React.createElement(TextField, {
83
+ }, jsx(TextField, {
80
84
  value: text,
81
85
  isCompact: true,
82
86
  ref: this.handleInputRef,
@@ -84,8 +88,8 @@ export var StatusPicker = /*#__PURE__*/function (_PureComponent) {
84
88
  onKeyPress: this.onKeyPress,
85
89
  spellCheck: false,
86
90
  autoComplete: "off",
87
- "aria-labelledby": localId
88
- })), /*#__PURE__*/React.createElement(ColorPalette, {
91
+ "aria-label": intl.formatMessage(messages.statusInputLabel)
92
+ })), jsx(ColorPalette, {
89
93
  key: this.colorPaletteKey,
90
94
  onClick: onColorClick,
91
95
  onHover: onColorHover,
@@ -94,9 +98,11 @@ export var StatusPicker = /*#__PURE__*/function (_PureComponent) {
94
98
  }
95
99
  }]);
96
100
 
97
- return StatusPicker;
101
+ return Picker;
98
102
  }(PureComponent);
99
103
 
100
- _defineProperty(StatusPicker, "defaultProps", {
104
+ _defineProperty(Picker, "defaultProps", {
101
105
  autoFocus: true
102
- });
106
+ });
107
+
108
+ export var StatusPicker = injectIntl(Picker);
@@ -1,8 +1,8 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
 
3
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
3
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
4
4
 
5
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
5
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
6
6
 
7
7
  import { name as packageName, version as packageVersion } from '../version.json';
8
8
  export var ELEMENTS_CHANNEL = 'fabric-elements';
@@ -29,5 +29,10 @@ export var messages = defineMessages({
29
29
  id: 'fabric.status.color.green',
30
30
  defaultMessage: 'Green',
31
31
  description: 'Tooltip for the green color in color palette'
32
+ },
33
+ statusInputLabel: {
34
+ id: 'fabric.status.input.label',
35
+ defaultMessage: 'Set a status',
36
+ description: 'Aria label text for the status input field'
32
37
  }
33
38
  });