fomantic-ui 2.10.0-beta.12 → 2.10.0-beta.120

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 (354) hide show
  1. package/.eslintrc.js +7 -23
  2. package/.github/ISSUE_TEMPLATE/bug.yaml +95 -0
  3. package/.github/ISSUE_TEMPLATE/feature.yaml +45 -0
  4. package/.github/workflows/ci.yml +9 -9
  5. package/.github/workflows/depsreview.yml +2 -2
  6. package/.github/workflows/nightly.yml +7 -6
  7. package/.github/workflows/release.yml +2 -2
  8. package/.stylelintrc.js +1 -16
  9. package/README.md +18 -12
  10. package/changelog-setup.js +12 -12
  11. package/dist/components/accordion.css +1 -1
  12. package/dist/components/accordion.js +53 -62
  13. package/dist/components/accordion.min.css +1 -1
  14. package/dist/components/accordion.min.js +3 -3
  15. package/dist/components/ad.css +1 -1
  16. package/dist/components/ad.min.css +1 -1
  17. package/dist/components/api.js +101 -161
  18. package/dist/components/api.min.js +3 -3
  19. package/dist/components/breadcrumb.css +1 -1
  20. package/dist/components/breadcrumb.min.css +1 -1
  21. package/dist/components/button.css +5 -6
  22. package/dist/components/button.min.css +2 -2
  23. package/dist/components/calendar.css +3 -3
  24. package/dist/components/calendar.js +280 -327
  25. package/dist/components/calendar.min.css +2 -2
  26. package/dist/components/calendar.min.js +3 -3
  27. package/dist/components/card.css +1 -1
  28. package/dist/components/card.min.css +1 -1
  29. package/dist/components/checkbox.css +1 -1
  30. package/dist/components/checkbox.js +49 -68
  31. package/dist/components/checkbox.min.css +1 -1
  32. package/dist/components/checkbox.min.js +3 -3
  33. package/dist/components/comment.css +1 -1
  34. package/dist/components/comment.min.css +1 -1
  35. package/dist/components/container.css +1 -1
  36. package/dist/components/container.min.css +1 -1
  37. package/dist/components/dimmer.css +2 -2
  38. package/dist/components/dimmer.js +39 -52
  39. package/dist/components/dimmer.min.css +2 -2
  40. package/dist/components/dimmer.min.js +3 -3
  41. package/dist/components/divider.css +1 -1
  42. package/dist/components/divider.min.css +1 -1
  43. package/dist/components/dropdown.css +15 -31
  44. package/dist/components/dropdown.js +428 -522
  45. package/dist/components/dropdown.min.css +2 -2
  46. package/dist/components/dropdown.min.js +3 -3
  47. package/dist/components/embed.css +1 -1
  48. package/dist/components/embed.js +55 -68
  49. package/dist/components/embed.min.css +1 -1
  50. package/dist/components/embed.min.js +3 -3
  51. package/dist/components/emoji.css +1 -1
  52. package/dist/components/emoji.min.css +1 -1
  53. package/dist/components/feed.css +1 -1
  54. package/dist/components/feed.min.css +1 -1
  55. package/dist/components/flag.css +1 -1
  56. package/dist/components/flag.min.css +1 -1
  57. package/dist/components/flyout.css +1 -1
  58. package/dist/components/flyout.js +117 -134
  59. package/dist/components/flyout.min.css +1 -1
  60. package/dist/components/flyout.min.js +3 -3
  61. package/dist/components/form.css +6 -5
  62. package/dist/components/form.js +249 -269
  63. package/dist/components/form.min.css +2 -2
  64. package/dist/components/form.min.js +3 -3
  65. package/dist/components/grid.css +2 -2
  66. package/dist/components/grid.min.css +2 -2
  67. package/dist/components/header.css +6 -6
  68. package/dist/components/header.min.css +2 -2
  69. package/dist/components/icon.css +10 -37
  70. package/dist/components/icon.min.css +2 -2
  71. package/dist/components/image.css +1 -1
  72. package/dist/components/image.min.css +1 -1
  73. package/dist/components/input.css +284 -12
  74. package/dist/components/input.min.css +2 -2
  75. package/dist/components/item.css +1 -1
  76. package/dist/components/item.min.css +1 -1
  77. package/dist/components/label.css +6 -14
  78. package/dist/components/label.min.css +2 -2
  79. package/dist/components/list.css +3 -3
  80. package/dist/components/list.min.css +2 -2
  81. package/dist/components/loader.css +53 -53
  82. package/dist/components/loader.min.css +2 -2
  83. package/dist/components/menu.css +6 -21
  84. package/dist/components/menu.min.css +2 -2
  85. package/dist/components/message.css +2 -2
  86. package/dist/components/message.min.css +2 -2
  87. package/dist/components/modal.css +5 -5
  88. package/dist/components/modal.js +123 -130
  89. package/dist/components/modal.min.css +2 -2
  90. package/dist/components/modal.min.js +3 -3
  91. package/dist/components/nag.css +1 -1
  92. package/dist/components/nag.js +74 -88
  93. package/dist/components/nag.min.css +1 -1
  94. package/dist/components/nag.min.js +3 -3
  95. package/dist/components/placeholder.css +2 -2
  96. package/dist/components/placeholder.min.css +2 -2
  97. package/dist/components/popup.css +19 -73
  98. package/dist/components/popup.js +99 -130
  99. package/dist/components/popup.min.css +2 -2
  100. package/dist/components/popup.min.js +3 -3
  101. package/dist/components/progress.css +4 -13
  102. package/dist/components/progress.js +75 -97
  103. package/dist/components/progress.min.css +2 -2
  104. package/dist/components/progress.min.js +3 -3
  105. package/dist/components/rail.css +1 -1
  106. package/dist/components/rail.min.css +1 -1
  107. package/dist/components/rating.css +1 -1
  108. package/dist/components/rating.js +49 -61
  109. package/dist/components/rating.min.css +1 -1
  110. package/dist/components/rating.min.js +3 -3
  111. package/dist/components/reset.css +53 -211
  112. package/dist/components/reset.min.css +2 -2
  113. package/dist/components/reveal.css +2 -5
  114. package/dist/components/reveal.min.css +2 -2
  115. package/dist/components/search.css +4 -3
  116. package/dist/components/search.js +178 -198
  117. package/dist/components/search.min.css +2 -2
  118. package/dist/components/search.min.js +3 -3
  119. package/dist/components/segment.css +6 -6
  120. package/dist/components/segment.min.css +2 -2
  121. package/dist/components/shape.css +1 -1
  122. package/dist/components/shape.js +59 -69
  123. package/dist/components/shape.min.css +1 -1
  124. package/dist/components/shape.min.js +3 -3
  125. package/dist/components/sidebar.css +1 -1
  126. package/dist/components/sidebar.js +81 -101
  127. package/dist/components/sidebar.min.css +1 -1
  128. package/dist/components/sidebar.min.js +3 -3
  129. package/dist/components/site.css +2 -1
  130. package/dist/components/site.js +37 -58
  131. package/dist/components/site.min.css +2 -2
  132. package/dist/components/site.min.js +3 -3
  133. package/dist/components/slider.css +1 -1
  134. package/dist/components/slider.js +169 -183
  135. package/dist/components/slider.min.css +1 -1
  136. package/dist/components/slider.min.js +3 -3
  137. package/dist/components/state.js +45 -59
  138. package/dist/components/state.min.js +3 -3
  139. package/dist/components/statistic.css +1 -1
  140. package/dist/components/statistic.min.css +1 -1
  141. package/dist/components/step.css +4 -4
  142. package/dist/components/step.min.css +2 -2
  143. package/dist/components/sticky.css +1 -1
  144. package/dist/components/sticky.js +80 -100
  145. package/dist/components/sticky.min.css +1 -1
  146. package/dist/components/sticky.min.js +3 -3
  147. package/dist/components/tab.css +1 -1
  148. package/dist/components/tab.js +83 -115
  149. package/dist/components/tab.min.css +1 -1
  150. package/dist/components/tab.min.js +3 -3
  151. package/dist/components/table.css +8 -8
  152. package/dist/components/table.min.css +2 -2
  153. package/dist/components/text.css +1 -1
  154. package/dist/components/text.min.css +1 -1
  155. package/dist/components/toast.css +1 -1
  156. package/dist/components/toast.js +64 -74
  157. package/dist/components/toast.min.css +1 -1
  158. package/dist/components/toast.min.js +3 -3
  159. package/dist/components/transition.css +1 -1
  160. package/dist/components/transition.js +61 -85
  161. package/dist/components/transition.min.css +1 -1
  162. package/dist/components/transition.min.js +3 -3
  163. package/dist/components/visibility.js +109 -127
  164. package/dist/components/visibility.min.js +3 -3
  165. package/dist/semantic.css +638 -565
  166. package/dist/semantic.js +2756 -3337
  167. package/dist/semantic.min.css +3 -3
  168. package/dist/semantic.min.js +3 -3
  169. package/package.json +13 -8
  170. package/scripts/nightly-version.js +6 -6
  171. package/src/definitions/behaviors/api.js +100 -160
  172. package/src/definitions/behaviors/form.js +248 -268
  173. package/src/definitions/behaviors/state.js +44 -58
  174. package/src/definitions/behaviors/visibility.js +108 -126
  175. package/src/definitions/collections/breadcrumb.less +0 -1
  176. package/src/definitions/collections/form.less +6 -12
  177. package/src/definitions/collections/grid.less +1 -2
  178. package/src/definitions/collections/menu.less +5 -21
  179. package/src/definitions/collections/message.less +1 -2
  180. package/src/definitions/collections/table.less +7 -8
  181. package/src/definitions/elements/button.less +4 -6
  182. package/src/definitions/elements/container.less +0 -1
  183. package/src/definitions/elements/divider.less +1 -2
  184. package/src/definitions/elements/emoji.less +1 -1
  185. package/src/definitions/elements/flag.less +6 -5
  186. package/src/definitions/elements/header.less +4 -5
  187. package/src/definitions/elements/icon.less +10 -37
  188. package/src/definitions/elements/image.less +0 -1
  189. package/src/definitions/elements/input.less +4 -7
  190. package/src/definitions/elements/label.less +5 -14
  191. package/src/definitions/elements/list.less +2 -3
  192. package/src/definitions/elements/loader.less +10 -11
  193. package/src/definitions/elements/placeholder.less +1 -2
  194. package/src/definitions/elements/rail.less +0 -1
  195. package/src/definitions/elements/reveal.less +1 -5
  196. package/src/definitions/elements/segment.less +5 -6
  197. package/src/definitions/elements/step.less +3 -4
  198. package/src/definitions/elements/text.less +0 -1
  199. package/src/definitions/globals/reset.less +1 -3
  200. package/src/definitions/globals/site.js +36 -57
  201. package/src/definitions/globals/site.less +1 -2
  202. package/src/definitions/modules/accordion.js +52 -61
  203. package/src/definitions/modules/accordion.less +0 -1
  204. package/src/definitions/modules/calendar.js +279 -326
  205. package/src/definitions/modules/calendar.less +2 -3
  206. package/src/definitions/modules/checkbox.js +48 -67
  207. package/src/definitions/modules/checkbox.less +0 -1
  208. package/src/definitions/modules/dimmer.js +38 -51
  209. package/src/definitions/modules/dimmer.less +1 -2
  210. package/src/definitions/modules/dropdown.js +427 -521
  211. package/src/definitions/modules/dropdown.less +16 -33
  212. package/src/definitions/modules/embed.js +54 -67
  213. package/src/definitions/modules/embed.less +0 -1
  214. package/src/definitions/modules/flyout.js +116 -133
  215. package/src/definitions/modules/flyout.less +0 -1
  216. package/src/definitions/modules/modal.js +122 -129
  217. package/src/definitions/modules/modal.less +3 -4
  218. package/src/definitions/modules/nag.js +73 -87
  219. package/src/definitions/modules/nag.less +0 -1
  220. package/src/definitions/modules/popup.js +98 -129
  221. package/src/definitions/modules/popup.less +18 -73
  222. package/src/definitions/modules/progress.js +74 -96
  223. package/src/definitions/modules/progress.less +3 -13
  224. package/src/definitions/modules/rating.js +48 -60
  225. package/src/definitions/modules/rating.less +0 -1
  226. package/src/definitions/modules/search.js +177 -197
  227. package/src/definitions/modules/search.less +4 -6
  228. package/src/definitions/modules/shape.js +58 -68
  229. package/src/definitions/modules/shape.less +0 -1
  230. package/src/definitions/modules/sidebar.js +80 -100
  231. package/src/definitions/modules/sidebar.less +0 -1
  232. package/src/definitions/modules/slider.js +168 -182
  233. package/src/definitions/modules/slider.less +0 -1
  234. package/src/definitions/modules/sticky.js +79 -99
  235. package/src/definitions/modules/sticky.less +0 -1
  236. package/src/definitions/modules/tab.js +82 -114
  237. package/src/definitions/modules/tab.less +0 -1
  238. package/src/definitions/modules/toast.js +63 -73
  239. package/src/definitions/modules/toast.less +0 -1
  240. package/src/definitions/modules/transition.js +60 -84
  241. package/src/definitions/modules/transition.less +1 -2
  242. package/src/definitions/views/ad.less +0 -1
  243. package/src/definitions/views/card.less +0 -1
  244. package/src/definitions/views/comment.less +0 -1
  245. package/src/definitions/views/feed.less +0 -1
  246. package/src/definitions/views/item.less +0 -1
  247. package/src/definitions/views/statistic.less +0 -1
  248. package/src/semantic.less +1 -1
  249. package/src/themes/amazon/elements/button.overrides +1 -1
  250. package/src/themes/amazon/elements/button.variables +5 -6
  251. package/src/themes/amazon/globals/site.variables +2 -3
  252. package/src/themes/bookish/elements/header.variables +2 -2
  253. package/src/themes/bootstrap3/elements/button.variables +5 -6
  254. package/src/themes/chubby/elements/button.overrides +4 -4
  255. package/src/themes/chubby/modules/accordion.overrides +1 -1
  256. package/src/themes/chubby/views/comment.overrides +2 -2
  257. package/src/themes/chubby/views/comment.variables +2 -2
  258. package/src/themes/classic/collections/table.variables +2 -2
  259. package/src/themes/classic/elements/button.variables +11 -11
  260. package/src/themes/classic/modules/progress.variables +2 -2
  261. package/src/themes/classic/views/card.variables +2 -2
  262. package/src/themes/default/collections/breadcrumb.variables +1 -1
  263. package/src/themes/default/collections/form.variables +3 -4
  264. package/src/themes/default/collections/menu.variables +12 -12
  265. package/src/themes/default/collections/message.variables +1 -1
  266. package/src/themes/default/collections/table.variables +4 -4
  267. package/src/themes/default/elements/button.variables +9 -10
  268. package/src/themes/default/elements/divider.variables +1 -1
  269. package/src/themes/default/elements/flag.variables +264 -264
  270. package/src/themes/default/elements/header.variables +3 -3
  271. package/src/themes/default/elements/icon.variables +2 -2
  272. package/src/themes/default/elements/image.variables +1 -1
  273. package/src/themes/default/elements/input.variables +2 -2
  274. package/src/themes/default/elements/label.variables +9 -9
  275. package/src/themes/default/elements/list.variables +1 -1
  276. package/src/themes/default/elements/loader.variables +8 -8
  277. package/src/themes/default/elements/placeholder.variables +7 -7
  278. package/src/themes/default/elements/segment.variables +9 -9
  279. package/src/themes/default/globals/reset.overrides +49 -205
  280. package/src/themes/default/globals/site.variables +115 -115
  281. package/src/themes/default/modules/accordion.variables +0 -1
  282. package/src/themes/default/modules/checkbox.variables +3 -3
  283. package/src/themes/default/modules/dimmer.variables +12 -12
  284. package/src/themes/default/modules/dropdown.variables +18 -18
  285. package/src/themes/default/modules/embed.variables +2 -2
  286. package/src/themes/default/modules/flyout.variables +3 -3
  287. package/src/themes/default/modules/modal.variables +14 -14
  288. package/src/themes/default/modules/nag.variables +1 -1
  289. package/src/themes/default/modules/popup.variables +2 -2
  290. package/src/themes/default/modules/rating.variables +1 -1
  291. package/src/themes/default/modules/search.variables +1 -1
  292. package/src/themes/default/modules/shape.variables +1 -1
  293. package/src/themes/default/modules/sidebar.variables +2 -2
  294. package/src/themes/default/modules/toast.variables +4 -4
  295. package/src/themes/default/views/card.variables +6 -7
  296. package/src/themes/default/views/feed.variables +5 -5
  297. package/src/themes/default/views/item.variables +2 -3
  298. package/src/themes/flat/collections/form.variables +1 -1
  299. package/src/themes/flat/globals/site.variables +9 -9
  300. package/src/themes/github/collections/form.overrides +3 -3
  301. package/src/themes/github/collections/form.variables +3 -3
  302. package/src/themes/github/collections/menu.overrides +1 -1
  303. package/src/themes/github/collections/menu.variables +10 -10
  304. package/src/themes/github/collections/message.variables +6 -6
  305. package/src/themes/github/elements/button.variables +17 -17
  306. package/src/themes/github/elements/header.variables +1 -1
  307. package/src/themes/github/elements/input.overrides +1 -1
  308. package/src/themes/github/elements/input.variables +3 -3
  309. package/src/themes/github/elements/segment.variables +2 -2
  310. package/src/themes/github/elements/step.overrides +4 -4
  311. package/src/themes/github/elements/step.variables +3 -3
  312. package/src/themes/github/globals/site.variables +2 -2
  313. package/src/themes/github/modules/dropdown.variables +1 -3
  314. package/src/themes/gmail/collections/message.variables +2 -2
  315. package/src/themes/material/collections/menu.variables +1 -1
  316. package/src/themes/material/elements/button.overrides +4 -4
  317. package/src/themes/material/elements/button.variables +5 -5
  318. package/src/themes/material/modules/dropdown.variables +1 -1
  319. package/src/themes/material/modules/modal.variables +1 -1
  320. package/src/themes/raised/elements/button.variables +1 -1
  321. package/src/themes/round/elements/button.variables +12 -12
  322. package/src/themes/striped/modules/progress.overrides +3 -3
  323. package/src/themes/timeline/views/feed.variables +2 -2
  324. package/src/themes/twitter/elements/button.overrides +1 -1
  325. package/src/themes/twitter/elements/button.variables +4 -5
  326. package/tasks/admin/components/create.js +12 -43
  327. package/tasks/admin/components/init.js +11 -12
  328. package/tasks/admin/components/update.js +19 -20
  329. package/tasks/admin/distributions/create.js +30 -52
  330. package/tasks/admin/distributions/init.js +11 -12
  331. package/tasks/admin/distributions/update.js +18 -19
  332. package/tasks/admin/register.js +7 -8
  333. package/tasks/build/assets.js +1 -1
  334. package/tasks/build/css.js +5 -5
  335. package/tasks/build/javascript.js +1 -1
  336. package/tasks/config/admin/github.js +1 -1
  337. package/tasks/config/admin/release.js +1 -2
  338. package/tasks/config/admin/templates/README.md +0 -5
  339. package/tasks/config/admin/templates/css-package.js +1 -1
  340. package/tasks/config/admin/templates/less-package.js +1 -1
  341. package/tasks/config/project/config.js +10 -10
  342. package/tasks/config/project/install.js +13 -19
  343. package/tasks/config/project/release.js +6 -12
  344. package/tasks/config/tasks.js +15 -11
  345. package/tasks/config/user.js +1 -4
  346. package/tasks/docs/metadata.js +18 -20
  347. package/tasks/install.js +14 -12
  348. package/test/meteor/assets.js +4 -4
  349. package/test/meteor/fonts.js +10 -11
  350. package/test/modules/module.spec.js +18 -18
  351. package/.github/ISSUE_TEMPLATE/bug-report.md +0 -51
  352. package/.github/ISSUE_TEMPLATE/feature-request.md +0 -41
  353. package/bower.json +0 -29
  354. package/tasks/config/admin/templates/bower.json +0 -28
package/.eslintrc.js CHANGED
@@ -9,7 +9,7 @@ module.exports = {
9
9
  'plugin:@internal/eslint-plugin/recommended',
10
10
  ],
11
11
  parserOptions: {
12
- ecmaVersion: '2020',
12
+ ecmaVersion: '2021',
13
13
  sourceType: 'module',
14
14
  },
15
15
  ignorePatterns: [
@@ -31,8 +31,8 @@ module.exports = {
31
31
  }],
32
32
  'consistent-return': 'off',
33
33
  curly: ['error', 'all'],
34
- 'default-case': 'off',
35
34
  'func-names': 'off',
35
+ 'import/no-extraneous-dependencies': ['error', {}],
36
36
  'import/no-unresolved': 'off',
37
37
  'import/prefer-default-export': 'off',
38
38
  indent: ['error', 4, {
@@ -41,13 +41,10 @@ module.exports = {
41
41
  'linebreak-style': ['error', 'unix'],
42
42
  'max-len': 'off',
43
43
  'no-console': 'off',
44
- 'no-continue': 'off',
45
- 'no-lonely-if': 'off',
46
44
  'no-nested-ternary': 'off',
47
45
  'no-param-reassign': 'off',
48
46
  'no-plusplus': 'off',
49
47
  'no-restricted-syntax': 'off',
50
- 'no-underscore-dangle': 'off',
51
48
  'no-unused-vars': 'off',
52
49
  'object-shorthand': ['error', 'never'],
53
50
  'padding-line-between-statements': ['error', {
@@ -69,38 +66,25 @@ module.exports = {
69
66
  },
70
67
  }],
71
68
  strict: 'off',
72
- 'unicorn/catch-error-name': 'off',
69
+ 'unicorn/no-anonymous-default-export': 'off',
73
70
  'unicorn/no-array-callback-reference': 'off',
74
- 'unicorn/no-lonely-if': 'off',
75
71
  'unicorn/no-negated-condition': 'off',
76
72
  'unicorn/no-null': 'off',
77
73
  'unicorn/no-this-assignment': 'off',
78
- 'unicorn/numeric-separators-style': 'off',
79
74
  'unicorn/prefer-array-find': 'off',
80
75
  'unicorn/prefer-array-some': 'off', // https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2007
76
+ 'unicorn/prefer-at': 'off',
77
+ 'unicorn/prefer-global-this': 'off',
81
78
  'unicorn/prefer-module': 'off',
79
+ 'unicorn/prefer-string-raw': 'off',
80
+ 'unicorn/prefer-string-replace-all': 'off',
82
81
  'unicorn/prevent-abbreviations': 'off',
83
82
  'wrap-iife': ['error', 'inside'],
84
83
 
85
84
  // TODO rules to be removed/fixed in v2.10.0 as fixes are not compatible with IE11
86
- 'guard-for-in': 'off', // refactor to "for of"
87
- 'no-restricted-globals': 'off',
88
85
  'no-restricted-properties': 'off',
89
- 'prefer-const': 'off',
90
- 'prefer-exponentiation-operator': 'off',
91
- 'prefer-rest-params': 'off',
92
- 'prefer-spread': 'off',
93
- 'unicorn/no-array-for-each': 'off',
94
- 'unicorn/no-for-loop': 'off', // autofixes to "for of"
95
- 'unicorn/prefer-code-point': 'off',
96
- 'unicorn/prefer-includes': 'off',
97
- 'unicorn/prefer-number-properties': 'off',
98
- 'unicorn/prefer-optional-catch-binding': 'off',
99
- 'unicorn/prefer-prototype-methods': 'off',
100
86
  'unicorn/prefer-reflect-apply': 'off',
101
- 'unicorn/prefer-spread': 'off',
102
87
  'unicorn/prefer-top-level-await': 'off', // needs Node 14+
103
- 'vars-on-top': 'off',
104
88
 
105
89
  // TODO rules with a lot of errors to be fixed manually, fix in a separate PR
106
90
  eqeqeq: 'off', // about 20 errors to be fixed manually
@@ -0,0 +1,95 @@
1
+ name: Bug Report
2
+ title: "[scope] summary of your bug"
3
+ description: Use this if something isn't working how you think it should or you think you've found a bug
4
+ projects: []
5
+ labels:
6
+ - state/awaiting-investigation
7
+ - state/awaiting-triage
8
+ - type/bug
9
+ body:
10
+ - type: textarea
11
+ id: describe
12
+ attributes:
13
+ label: Bug Report
14
+ description: Describe what's wrong in great detail
15
+ placeholder: Describe what's wrong in great detail.
16
+ validations:
17
+ required: true
18
+ - type: textarea
19
+ id: reproduce
20
+ attributes:
21
+ label: Steps to reproduce
22
+ description: Tell us how to reproduce your issue
23
+ placeholder: |
24
+ 1.
25
+ 2.
26
+ 3.
27
+ value: |
28
+ 1.
29
+ 2.
30
+ 3.
31
+ validations:
32
+ required: true
33
+ - type: textarea
34
+ id: expected-result
35
+ attributes:
36
+ label: Expected result
37
+ placeholder: Tell us what result you were expecting
38
+ description: Tell us what result you were expecting
39
+ validations:
40
+ required: true
41
+ - type: textarea
42
+ id: actual-result
43
+ attributes:
44
+ label: Actual result
45
+ description: Tell us what the actual result was
46
+ validations:
47
+ required: true
48
+ - type: textarea
49
+ id: testcase
50
+ attributes:
51
+ label: Testcase
52
+ placeholder: |
53
+ If possible create an example of your issue via a JSFiddle.
54
+
55
+ How to create an example
56
+ 1. Open the following JSFiddle - https://jsfiddle.net/31d6y7mn
57
+ 2. Click "Fork" at the top
58
+ 3. Add the minimum required HTML, CSS and JavaScript which reproduces your issue
59
+ 4. Click "Save" at the top
60
+ 5. Copy the URL of your fiddle and link it here
61
+ description: |
62
+ If possible create an example of your issue via a JSFiddle.
63
+
64
+ How to create an example
65
+ 1. Open the following JSFiddle - https://jsfiddle.net/31d6y7mn
66
+ 2. Click "Fork" at the top
67
+ 3. Add the minimum required HTML, CSS and JavaScript which reproduces your issue
68
+ 4. Click "Save" at the top
69
+ 5. Copy the URL of your fiddle and link it here
70
+ validations:
71
+ required: false
72
+ - type: textarea
73
+ id: screenshot
74
+ attributes:
75
+ label: Screenshot
76
+ placeholder: |
77
+ - If possible include images or gifs of your issue.
78
+ - E.g. Incorrect component CSS should include an image of what the component looks like.
79
+ - If your looking for a tool we recommend ShareX - https://github.com/ShareX/ShareX
80
+ description: |
81
+ - If possible include images or gifs of your issue.
82
+ - E.g. Incorrect component CSS should include an image of what the component looks like.
83
+ - If your looking for a tool we recommend ShareX - https://github.com/ShareX/ShareX
84
+
85
+ validations:
86
+ required: false
87
+ - type: input
88
+ id: version
89
+ attributes:
90
+ label: Version
91
+ description: Include the version of the library you are using
92
+ placeholder: 2.x.x
93
+ value: 2.x.x
94
+ validations:
95
+ required: true
@@ -0,0 +1,45 @@
1
+ name: Feature Request
2
+ title: "[scope] summary of your request"
3
+ description: Use this to suggest new feature/enhancements
4
+ projects: []
5
+ labels:
6
+ - state/awaiting-triage
7
+ - type/feat
8
+ body:
9
+ - type: textarea
10
+ id: detail
11
+ attributes:
12
+ label: Explain your request in great detail.
13
+ description: |
14
+ Things to consider:
15
+ - Why should we add this feature/enhancement
16
+ - What problem(s) does it solve
17
+ - Complexity
18
+ - How we should implement it
19
+ validations:
20
+ required: true
21
+
22
+ - type: textarea
23
+ id: example
24
+ attributes:
25
+ label: Example (Optional)
26
+ description: |
27
+ If possible demonstrate your request via a JSFiddle. How to create an example:
28
+ 1. Open the following JSFiddle - https://jsfiddle.net/31d6y7mn
29
+ 2. Click Fork at the top
30
+ 3. Add the HTML, CSS and JavaScript which shows your request
31
+ 4. Click Save at the top
32
+ 5. Copy the URL of your fiddle and link it here
33
+ validations:
34
+ required: false
35
+
36
+ - type: textarea
37
+ id: screenshot
38
+ attributes:
39
+ label: ScreenShot (Optional)
40
+ description: |
41
+ - If possible include images or gifs of your issue.
42
+ - E.g. Incorrect component CSS should include an image of what the component looks like.
43
+ - If your looking for a tool we recommend ShareX - https://github.com/ShareX/ShareX
44
+ validations:
45
+ required: false
@@ -8,8 +8,8 @@ jobs:
8
8
  name: Lint
9
9
  runs-on: ubuntu-latest
10
10
  steps:
11
- - uses: actions/checkout@v4
12
- - uses: actions/setup-node@v4
11
+ - uses: actions/checkout@v7
12
+ - uses: actions/setup-node@v7
13
13
  - name: Install dependencies
14
14
  run: yarn
15
15
  - name: Lint JS and LESS files
@@ -26,11 +26,11 @@ jobs:
26
26
  strategy:
27
27
  fail-fast: false
28
28
  matrix:
29
- node-version: [18, 20, 22]
29
+ node-version: [18, 20, 22, 24]
30
30
  steps:
31
- - uses: actions/checkout@v4
31
+ - uses: actions/checkout@v7
32
32
  - name: Setup Node.js ${{ matrix.node-version }}
33
- uses: actions/setup-node@v4
33
+ uses: actions/setup-node@v7
34
34
  with:
35
35
  node-version: ${{ matrix.node-version }}
36
36
  - name: pre-install
@@ -47,12 +47,12 @@ jobs:
47
47
  contents: read
48
48
  security-events: write
49
49
  steps:
50
- - uses: actions/checkout@v4
51
- - uses: github/codeql-action/init@v3
50
+ - uses: actions/checkout@v7
51
+ - uses: github/codeql-action/init@v4.37.7
52
52
  with:
53
53
  languages: 'javascript'
54
54
  config-file: ./.github/codeql/codeql-config.yml
55
55
  - name: Autobuild
56
- uses: github/codeql-action/autobuild@v3
56
+ uses: github/codeql-action/autobuild@v4.37.7
57
57
  - name: Perform CodeQL Analysis
58
- uses: github/codeql-action/analyze@v3
58
+ uses: github/codeql-action/analyze@v4.37.7
@@ -9,6 +9,6 @@ jobs:
9
9
  runs-on: ubuntu-latest
10
10
  steps:
11
11
  - name: 'Checkout Repository'
12
- uses: actions/checkout@v4
12
+ uses: actions/checkout@v7
13
13
  - name: 'Dependency Review'
14
- uses: actions/dependency-review-action@v4
14
+ uses: actions/dependency-review-action@v5
@@ -3,6 +3,7 @@ on:
3
3
  schedule:
4
4
  - cron: 00 23 * * *
5
5
  permissions:
6
+ id-token: write # Required for OIDC
6
7
  contents: read
7
8
 
8
9
  jobs:
@@ -13,13 +14,15 @@ jobs:
13
14
  outputs:
14
15
  shouldPublish: ${{ steps.nightly-version.outputs.shouldPublish }}
15
16
  steps:
16
- - uses: actions/checkout@v4
17
+ - uses: actions/checkout@v7
17
18
  with:
18
19
  ref: develop
19
- - uses: actions/setup-node@v4
20
+ - uses: actions/setup-node@v7
20
21
  with:
21
- node-version: 18
22
- registry-url: https://registry.npmjs.org/
22
+ node-version: 24
23
+ # Ensure npm 11.5.1 or later is installed
24
+ - name: Update npm
25
+ run: npm install -g npm@latest
23
26
  - name: pre-setup
24
27
  run: sh ./scripts/preinstall.sh
25
28
  - name: install dependencies
@@ -34,7 +37,5 @@ jobs:
34
37
  if: ${{ steps.nightly-version.outputs.shouldPublish == 'yes' }}
35
38
  env:
36
39
  CI: true
37
- NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTOMATION }}
38
40
  run: |
39
- npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
40
41
  npm publish --tag nightly
@@ -11,10 +11,10 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
  if: github.repository == 'fomantic/Fomantic-UI'
13
13
  steps:
14
- - uses: actions/checkout@v4
14
+ - uses: actions/checkout@v7
15
15
  with:
16
16
  ref: master
17
- - uses: actions/setup-node@v4
17
+ - uses: actions/setup-node@v7
18
18
  with:
19
19
  node-version: 18
20
20
  registry-url: https://registry.npmjs.org/
package/.stylelintrc.js CHANGED
@@ -1,6 +1,6 @@
1
1
  module.exports = {
2
2
  extends: [
3
- 'stylelint-config-standard',
3
+ 'stylelint-config-standard-less',
4
4
  ],
5
5
  customSyntax: 'postcss-less',
6
6
  ignoreFiles: [
@@ -9,40 +9,25 @@ module.exports = {
9
9
  ],
10
10
  rules: {
11
11
  'at-rule-empty-line-before': null,
12
- 'at-rule-name-case': null,
13
- 'at-rule-no-unknown': null,
14
12
  'block-no-empty': null,
15
- 'color-function-notation': 'legacy',
16
- 'color-hex-case': 'lower',
17
- 'declaration-colon-newline-after': null, // handled by Prettier
18
13
  'font-family-no-missing-generic-family-keyword': null,
19
- 'function-no-unknown': null,
20
14
  'import-notation': null,
21
- indentation: null, // handled by Prettier
22
15
  'keyframes-name-pattern': null,
23
- linebreaks: 'unix',
24
- 'max-line-length': null,
25
16
  'no-descending-specificity': null,
26
- 'no-extra-semicolons': null, // handled by Prettier
27
17
  'no-duplicate-selectors': null,
28
18
  'number-max-precision': 5,
29
- 'property-case': null,
30
19
  'property-no-vendor-prefix': [true, {
31
20
  ignoreProperties: [
32
21
  'background-clip', // https://caniuse.com/background-clip-text
33
- 'appearance', // https://caniuse.com/css-appearance
34
22
  'backdrop-filter', // https://caniuse.com/css-backdrop-filter
35
23
  'text-size-adjust', // https://caniuse.com/text-size-adjust
36
24
  ],
37
25
  }],
38
26
  'rule-empty-line-before': null,
39
- 'string-quotes': 'double',
40
27
  'value-keyword-case': null,
41
28
 
42
29
  // TODO rules to be removed/fixed in v2.10.0 as fixes are not compatible with IE11
43
30
  'alpha-value-notation': 'number', // https://caniuse.com/mdn-css_properties_opacity_percentages
44
- 'selector-not-notation': null, // https://caniuse.com/css-not-sel-list
45
- 'selector-no-vendor-prefix': null,
46
31
  },
47
32
  reportNeedlessDisables: true,
48
33
  };
package/README.md CHANGED
@@ -27,10 +27,12 @@ The official community fork of the popular Semantic-UI framework.
27
27
 
28
28
  ---
29
29
 
30
- > *NOTE:* Fomantic was created to continue active development of Semantic-UI and has the intent to be merged back into the master repository once active development can restart. For more info please read the following issues https://github.com/Semantic-Org/Semantic-UI/issues/6109 https://github.com/Semantic-Org/Semantic-UI/issues/6413
31
- >
32
- > *EDIT:* Lots has changed since we started this project and we are now starting the development of FUI v3. You can read more about the v3 proposals [here](https://github.com/fomantic/Fomantic-UI/issues/319).
33
- >
30
+ > [!NOTE]
31
+ > Fomantic was created to continue active development of Semantic-UI and has the intent to be merged back into the master repository once active development can restart.
32
+ > For more info please read the following issues Semantic-Org/Semantic-UI#6109 Semantic-Org/Semantic-UI#6413
33
+
34
+ > *EDIT:* Lots has changed since we started this project and we are now starting the development of FUI v3.
35
+ > You can read more about the v3 proposals [here](https://github.com/fomantic/Fomantic-UI/issues/319).
34
36
  > To be clear merging back into SUI is still our intention, read [this comment](https://github.com/fomantic/Fomantic-UI/issues/319#issuecomment-461736399) for more info
35
37
 
36
38
  ---
@@ -40,12 +42,12 @@ Fomantic allows developers to build beautiful websites fast, with **concise HTML
40
42
  ## 📡 Installation
41
43
 
42
44
  ```bash
43
- $ npm install fomantic-ui
45
+ npm install fomantic-ui
44
46
  ```
45
47
 
46
48
  Living on the edge? Try our nightly build and test new features and bug fixes early!
47
49
  ```bash
48
- $ npm install fomantic-ui@nightly
50
+ npm install fomantic-ui@nightly
49
51
  ```
50
52
 
51
53
  Fomantic includes an interactive installer to help setup your project.
@@ -55,10 +57,14 @@ Fomantic includes an interactive installer to help setup your project.
55
57
 
56
58
  ### 💻 Browser Support
57
59
 
58
- * Last 2 Versions of Firefox, Chrome, Safari Mac, Edge
59
- * Last 4 Versions of Android, Chrome for Android, iOS Safari[^1]
60
-
61
- [^1]: Fomantic-UI should basically still work in iOS Safari 11+, Android 7+, but, starting from v2.9.0, we won't support them anymore if anything works different than in recent versions.
60
+ * [![Chrome](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/75.0.1/chrome/chrome_16x16.png)]() Chrome >= 88
61
+ * [![Edge](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/75.0.1/edge/edge_16x16.png)]() Edge >= 88
62
+ * [![Safari](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/75.0.1/archive/safari-ios_1-6/safari-ios_1-6_16x16.png)]() Safari >= 14.1
63
+ * [![Firefox](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/75.0.1/firefox/firefox_16x16.png)]() Firefox >= 82
64
+ * [![Opera](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/75.0.1/opera/opera_16x16.png)]() Opera >= 75
65
+ * [![Saumsung Internet](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/75.0.1/samsung-internet/samsung-internet_16x16.png)]() Samsung Internet >= 15
66
+ * [![iOS](https://img.shields.io/badge/-ffffff?logo=apple&logoColor=black)]() iOS >= 14.1
67
+ * [![Android](https://img.shields.io/badge/-ffffff?logo=android&logoColor=43dd88)]() Android >= 8
62
68
 
63
69
  ---
64
70
 
@@ -89,6 +95,8 @@ or you can ask in our community [Discord](https://discord.gg/YChxjJ3) server.
89
95
 
90
96
  Before creating a pull request be sure to read the [Contributing Guide](CONTRIBUTING.md) and our [Code of Conduct](CODE_OF_CONDUCT.md), this is where we explain everything you need to know about contributing to Fomantic.
91
97
 
98
+ ---
99
+
92
100
  ## Sponsors
93
101
 
94
102
  ### Cross-browser testing provided by [BrowserStack](https://www.browserstack.com)
@@ -96,5 +104,3 @@ Before creating a pull request be sure to read the [Contributing Guide](CONTRIBU
96
104
 
97
105
  ### IDE's provided by [JetBrains](https://www.jetbrains.com?from=Fomantic-UI)
98
106
  [![JetBrains logo.](https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.svg)](https://jb.gg/OpenSourceSupport?from=Fomantic-UI)
99
-
100
- ---
@@ -1,4 +1,4 @@
1
- const semver = require('semver'); // eslint-disable-line import/no-extraneous-dependencies
1
+ const semver = require('semver');
2
2
 
3
3
  let changelogDeps = {};
4
4
  let loopVersion = '';
@@ -9,7 +9,7 @@ const issueLinks = function (item) {
9
9
  if (typeof loopVersion !== 'string') {
10
10
  return item;
11
11
  }
12
- let repository = semver.gte(loopVersion, '2.4.0') ? 'fomantic/Fomantic-UI' : 'Semantic-Org/Semantic-UI';
12
+ const repository = semver.gte(loopVersion, '2.4.0') ? 'fomantic/Fomantic-UI' : 'Semantic-Org/Semantic-UI';
13
13
  item.subject = item.subject.replace(/#(\d+)([ ,]|$)/, '[`#$1`](https://github.com/' + repository + '/issues/$1) ');
14
14
 
15
15
  return item;
@@ -18,7 +18,7 @@ const issueLinks = function (item) {
18
18
  module.exports = function (Handlebars) {
19
19
  Handlebars.registerHelper('commit-collector', (merges, commits, major, minor, options) => {
20
20
  const commitsFromMerges = merges.map((merge) => merge.commit);
21
- const result = commits.concat(commitsFromMerges);
21
+ const result = [...commits, ...commitsFromMerges];
22
22
  isMajor = major;
23
23
  isMinor = minor;
24
24
 
@@ -96,7 +96,7 @@ module.exports = function (Handlebars) {
96
96
  if (!(typeof text === 'string')) {
97
97
  return '';
98
98
  }
99
- let result = text.replace(/^(\w+(\([^()]+\))?:|\[[\w ]+]) */, '');
99
+ const result = text.replace(/^(\w+(\([^()]+\))?:|\[[\w ]+]) */, '');
100
100
 
101
101
  return new Handlebars.SafeString(result);
102
102
  });
@@ -105,7 +105,7 @@ module.exports = function (Handlebars) {
105
105
  if (!(typeof text === 'string')) {
106
106
  return '';
107
107
  }
108
- let result = text.replace(/add ([\dA-Za-z-]+) as a contributor/, '[`$1`](https://github.com/$1)');
108
+ const result = text.replace(/add ([\dA-Za-z-]+) as a contributor/, '[`$1`](https://github.com/$1)');
109
109
 
110
110
  return Handlebars.helpers.noprefix(result);
111
111
  });
@@ -127,14 +127,14 @@ module.exports = function (Handlebars) {
127
127
  changelogDeps = {};
128
128
  const depsRegex = /(?:build\(deps[A-Za-z-]*\):|\[Snyk]) (?:\[?[Ss]ecurity]? )?(?:bump|upgrade) ([\w./@-]+) from (\d+\.\d+\.\d+) to (\d+\.\d+\.\d+)/;
129
129
  const detectVersionRange = function (item) {
130
- let subjectDetails = item.subject.match(depsRegex);
130
+ const subjectDetails = item.subject.match(depsRegex);
131
131
  if (!subjectDetails) {
132
132
  return true;
133
133
  }
134
134
 
135
- let depPackage = subjectDetails[1];
136
- let depVersionFrom = subjectDetails[2];
137
- let depVersionTo = subjectDetails[3];
135
+ const depPackage = subjectDetails[1];
136
+ const depVersionFrom = subjectDetails[2];
137
+ const depVersionTo = subjectDetails[3];
138
138
  if (!changelogDeps[depPackage]) {
139
139
  changelogDeps[depPackage] = {
140
140
  from: '999.999.999',
@@ -188,12 +188,12 @@ module.exports = function (Handlebars) {
188
188
  .filter(detectVersionRange)
189
189
  // adjust from version to create the whole range in one line (linked to the latest commit)
190
190
  .map((item) => {
191
- let subjectDetails = item.subject.match(depsRegex);
191
+ const subjectDetails = item.subject.match(depsRegex);
192
192
  if (!subjectDetails) {
193
193
  return item;
194
194
  }
195
- let depPackage = subjectDetails[1];
196
- let depVersionFrom = subjectDetails[2];
195
+ const depPackage = subjectDetails[1];
196
+ const depVersionFrom = subjectDetails[2];
197
197
  item.subject = item.subject.replace(depVersionFrom, changelogDeps[depPackage].from);
198
198
 
199
199
  return item;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.12+66ebec1 - Accordion
2
+ * # Fomantic-UI 2.10.0-beta.120+46a9032 - Accordion
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *