fomantic-ui 2.10.0-beta.11 → 2.10.0-beta.110
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.
- package/.eslintrc.js +7 -23
- package/.github/ISSUE_TEMPLATE/bug.yaml +95 -0
- package/.github/ISSUE_TEMPLATE/feature.yaml +45 -0
- package/.github/workflows/ci.yml +9 -9
- package/.github/workflows/depsreview.yml +2 -2
- package/.github/workflows/nightly.yml +7 -6
- package/.github/workflows/release.yml +2 -2
- package/.stylelintrc.js +1 -16
- package/CHANGELOG.md +5289 -2325
- package/README.md +18 -12
- package/changelog-setup.js +33 -11
- package/changelog-template.hbs +256 -251
- package/dist/components/accordion.css +1 -1
- package/dist/components/accordion.js +53 -62
- package/dist/components/accordion.min.css +1 -1
- package/dist/components/accordion.min.js +3 -3
- package/dist/components/ad.css +1 -1
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +101 -161
- package/dist/components/api.min.js +3 -3
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +5 -6
- package/dist/components/button.min.css +2 -2
- package/dist/components/calendar.css +3 -3
- package/dist/components/calendar.js +280 -327
- package/dist/components/calendar.min.css +2 -2
- package/dist/components/calendar.min.js +3 -3
- package/dist/components/card.css +1 -1
- package/dist/components/card.min.css +1 -1
- package/dist/components/checkbox.css +1 -1
- package/dist/components/checkbox.js +49 -68
- package/dist/components/checkbox.min.css +1 -1
- package/dist/components/checkbox.min.js +3 -3
- package/dist/components/comment.css +1 -1
- package/dist/components/comment.min.css +1 -1
- package/dist/components/container.css +1 -1
- package/dist/components/container.min.css +1 -1
- package/dist/components/dimmer.css +2 -2
- package/dist/components/dimmer.js +39 -52
- package/dist/components/dimmer.min.css +2 -2
- package/dist/components/dimmer.min.js +3 -3
- package/dist/components/divider.css +1 -1
- package/dist/components/divider.min.css +1 -1
- package/dist/components/dropdown.css +18 -31
- package/dist/components/dropdown.js +428 -522
- package/dist/components/dropdown.min.css +2 -2
- package/dist/components/dropdown.min.js +3 -3
- package/dist/components/embed.css +1 -1
- package/dist/components/embed.js +55 -68
- package/dist/components/embed.min.css +1 -1
- package/dist/components/embed.min.js +3 -3
- package/dist/components/emoji.css +1 -1
- package/dist/components/emoji.min.css +1 -1
- package/dist/components/feed.css +1 -1
- package/dist/components/feed.min.css +1 -1
- package/dist/components/flag.css +1 -1
- package/dist/components/flag.min.css +1 -1
- package/dist/components/flyout.css +1 -1
- package/dist/components/flyout.js +117 -134
- package/dist/components/flyout.min.css +1 -1
- package/dist/components/flyout.min.js +3 -3
- package/dist/components/form.css +6 -5
- package/dist/components/form.js +249 -269
- package/dist/components/form.min.css +2 -2
- package/dist/components/form.min.js +3 -3
- package/dist/components/grid.css +2 -2
- package/dist/components/grid.min.css +2 -2
- package/dist/components/header.css +6 -6
- package/dist/components/header.min.css +2 -2
- package/dist/components/icon.css +10 -37
- package/dist/components/icon.min.css +2 -2
- package/dist/components/image.css +1 -1
- package/dist/components/image.min.css +1 -1
- package/dist/components/input.css +284 -12
- package/dist/components/input.min.css +2 -2
- package/dist/components/item.css +1 -1
- package/dist/components/item.min.css +1 -1
- package/dist/components/label.css +7 -14
- package/dist/components/label.min.css +2 -2
- package/dist/components/list.css +3 -3
- package/dist/components/list.min.css +2 -2
- package/dist/components/loader.css +53 -53
- package/dist/components/loader.min.css +2 -2
- package/dist/components/menu.css +7 -21
- package/dist/components/menu.min.css +2 -2
- package/dist/components/message.css +2 -2
- package/dist/components/message.min.css +2 -2
- package/dist/components/modal.css +5 -5
- package/dist/components/modal.js +123 -130
- package/dist/components/modal.min.css +2 -2
- package/dist/components/modal.min.js +3 -3
- package/dist/components/nag.css +1 -1
- package/dist/components/nag.js +74 -88
- package/dist/components/nag.min.css +1 -1
- package/dist/components/nag.min.js +3 -3
- package/dist/components/placeholder.css +2 -2
- package/dist/components/placeholder.min.css +2 -2
- package/dist/components/popup.css +20 -73
- package/dist/components/popup.js +99 -130
- package/dist/components/popup.min.css +2 -2
- package/dist/components/popup.min.js +3 -3
- package/dist/components/progress.css +4 -13
- package/dist/components/progress.js +75 -97
- package/dist/components/progress.min.css +2 -2
- package/dist/components/progress.min.js +3 -3
- package/dist/components/rail.css +1 -1
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +1 -1
- package/dist/components/rating.js +49 -61
- package/dist/components/rating.min.css +1 -1
- package/dist/components/rating.min.js +3 -3
- package/dist/components/reset.css +53 -211
- package/dist/components/reset.min.css +2 -2
- package/dist/components/reveal.css +2 -5
- package/dist/components/reveal.min.css +2 -2
- package/dist/components/search.css +4 -3
- package/dist/components/search.js +178 -198
- package/dist/components/search.min.css +2 -2
- package/dist/components/search.min.js +3 -3
- package/dist/components/segment.css +6 -6
- package/dist/components/segment.min.css +2 -2
- package/dist/components/shape.css +1 -1
- package/dist/components/shape.js +59 -69
- package/dist/components/shape.min.css +1 -1
- package/dist/components/shape.min.js +3 -3
- package/dist/components/sidebar.css +1 -1
- package/dist/components/sidebar.js +81 -101
- package/dist/components/sidebar.min.css +1 -1
- package/dist/components/sidebar.min.js +3 -3
- package/dist/components/site.css +2 -1
- package/dist/components/site.js +37 -58
- package/dist/components/site.min.css +2 -2
- package/dist/components/site.min.js +3 -3
- package/dist/components/slider.css +1 -1
- package/dist/components/slider.js +169 -183
- package/dist/components/slider.min.css +1 -1
- package/dist/components/slider.min.js +3 -3
- package/dist/components/state.js +45 -59
- package/dist/components/state.min.js +3 -3
- package/dist/components/statistic.css +1 -1
- package/dist/components/statistic.min.css +1 -1
- package/dist/components/step.css +4 -4
- package/dist/components/step.min.css +2 -2
- package/dist/components/sticky.css +2 -1
- package/dist/components/sticky.js +80 -100
- package/dist/components/sticky.min.css +2 -2
- package/dist/components/sticky.min.js +3 -3
- package/dist/components/tab.css +1 -1
- package/dist/components/tab.js +83 -115
- package/dist/components/tab.min.css +1 -1
- package/dist/components/tab.min.js +3 -3
- package/dist/components/table.css +11 -8
- package/dist/components/table.min.css +2 -2
- package/dist/components/text.css +1 -1
- package/dist/components/text.min.css +1 -1
- package/dist/components/toast.css +1 -1
- package/dist/components/toast.js +64 -74
- package/dist/components/toast.min.css +1 -1
- package/dist/components/toast.min.js +3 -3
- package/dist/components/transition.css +1 -1
- package/dist/components/transition.js +61 -85
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +3 -3
- package/dist/components/visibility.js +109 -127
- package/dist/components/visibility.min.js +3 -3
- package/dist/semantic.css +648 -565
- package/dist/semantic.js +2756 -3337
- package/dist/semantic.min.css +3 -3
- package/dist/semantic.min.js +3 -3
- package/package.json +13 -8
- package/scripts/nightly-version.js +6 -6
- package/src/definitions/behaviors/api.js +100 -160
- package/src/definitions/behaviors/form.js +248 -268
- package/src/definitions/behaviors/state.js +44 -58
- package/src/definitions/behaviors/visibility.js +108 -126
- package/src/definitions/collections/breadcrumb.less +0 -1
- package/src/definitions/collections/form.less +6 -12
- package/src/definitions/collections/grid.less +1 -2
- package/src/definitions/collections/menu.less +5 -21
- package/src/definitions/collections/message.less +1 -2
- package/src/definitions/collections/table.less +7 -8
- package/src/definitions/elements/button.less +4 -6
- package/src/definitions/elements/container.less +0 -1
- package/src/definitions/elements/divider.less +1 -2
- package/src/definitions/elements/emoji.less +1 -1
- package/src/definitions/elements/flag.less +1 -1
- package/src/definitions/elements/header.less +4 -5
- package/src/definitions/elements/icon.less +10 -37
- package/src/definitions/elements/image.less +0 -1
- package/src/definitions/elements/input.less +4 -7
- package/src/definitions/elements/label.less +5 -14
- package/src/definitions/elements/list.less +2 -3
- package/src/definitions/elements/loader.less +10 -11
- package/src/definitions/elements/placeholder.less +1 -2
- package/src/definitions/elements/rail.less +0 -1
- package/src/definitions/elements/reveal.less +1 -5
- package/src/definitions/elements/segment.less +5 -6
- package/src/definitions/elements/step.less +3 -4
- package/src/definitions/elements/text.less +0 -1
- package/src/definitions/globals/reset.less +1 -3
- package/src/definitions/globals/site.js +36 -57
- package/src/definitions/globals/site.less +1 -2
- package/src/definitions/modules/accordion.js +52 -61
- package/src/definitions/modules/accordion.less +0 -1
- package/src/definitions/modules/calendar.js +279 -326
- package/src/definitions/modules/calendar.less +2 -3
- package/src/definitions/modules/checkbox.js +48 -67
- package/src/definitions/modules/checkbox.less +0 -1
- package/src/definitions/modules/dimmer.js +38 -51
- package/src/definitions/modules/dimmer.less +1 -2
- package/src/definitions/modules/dropdown.js +427 -521
- package/src/definitions/modules/dropdown.less +16 -33
- package/src/definitions/modules/embed.js +54 -67
- package/src/definitions/modules/embed.less +0 -1
- package/src/definitions/modules/flyout.js +116 -133
- package/src/definitions/modules/flyout.less +0 -1
- package/src/definitions/modules/modal.js +122 -129
- package/src/definitions/modules/modal.less +3 -4
- package/src/definitions/modules/nag.js +73 -87
- package/src/definitions/modules/nag.less +0 -1
- package/src/definitions/modules/popup.js +98 -129
- package/src/definitions/modules/popup.less +18 -73
- package/src/definitions/modules/progress.js +74 -96
- package/src/definitions/modules/progress.less +3 -13
- package/src/definitions/modules/rating.js +48 -60
- package/src/definitions/modules/rating.less +0 -1
- package/src/definitions/modules/search.js +177 -197
- package/src/definitions/modules/search.less +4 -6
- package/src/definitions/modules/shape.js +58 -68
- package/src/definitions/modules/shape.less +0 -1
- package/src/definitions/modules/sidebar.js +80 -100
- package/src/definitions/modules/sidebar.less +0 -1
- package/src/definitions/modules/slider.js +168 -182
- package/src/definitions/modules/slider.less +0 -1
- package/src/definitions/modules/sticky.js +79 -99
- package/src/definitions/modules/sticky.less +0 -1
- package/src/definitions/modules/tab.js +82 -114
- package/src/definitions/modules/tab.less +0 -1
- package/src/definitions/modules/toast.js +63 -73
- package/src/definitions/modules/toast.less +0 -1
- package/src/definitions/modules/transition.js +60 -84
- package/src/definitions/modules/transition.less +1 -2
- package/src/definitions/views/ad.less +0 -1
- package/src/definitions/views/card.less +0 -1
- package/src/definitions/views/comment.less +0 -1
- package/src/definitions/views/feed.less +0 -1
- package/src/definitions/views/item.less +0 -1
- package/src/definitions/views/statistic.less +0 -1
- package/src/semantic.less +1 -1
- package/src/themes/amazon/elements/button.overrides +1 -1
- package/src/themes/amazon/elements/button.variables +5 -6
- package/src/themes/amazon/globals/site.variables +2 -3
- package/src/themes/bookish/elements/header.variables +2 -2
- package/src/themes/bootstrap3/elements/button.variables +4 -5
- package/src/themes/chubby/elements/button.overrides +4 -4
- package/src/themes/chubby/modules/accordion.overrides +1 -1
- package/src/themes/chubby/views/comment.overrides +2 -2
- package/src/themes/chubby/views/comment.variables +2 -2
- package/src/themes/classic/collections/table.variables +2 -2
- package/src/themes/classic/elements/button.variables +11 -11
- package/src/themes/classic/modules/progress.variables +2 -2
- package/src/themes/classic/views/card.variables +2 -2
- package/src/themes/default/collections/form.variables +2 -3
- package/src/themes/default/collections/menu.variables +5 -5
- package/src/themes/default/collections/message.variables +1 -1
- package/src/themes/default/collections/table.variables +4 -4
- package/src/themes/default/elements/button.variables +9 -10
- package/src/themes/default/elements/divider.variables +1 -1
- package/src/themes/default/elements/icon.variables +2 -2
- package/src/themes/default/elements/image.variables +1 -1
- package/src/themes/default/elements/input.variables +2 -2
- package/src/themes/default/elements/label.variables +4 -4
- package/src/themes/default/elements/list.variables +1 -1
- package/src/themes/default/elements/placeholder.variables +6 -6
- package/src/themes/default/elements/segment.variables +8 -8
- package/src/themes/default/globals/reset.overrides +49 -205
- package/src/themes/default/globals/site.variables +50 -50
- package/src/themes/default/modules/accordion.variables +0 -1
- package/src/themes/default/modules/checkbox.variables +1 -1
- package/src/themes/default/modules/dimmer.variables +12 -12
- package/src/themes/default/modules/dropdown.variables +16 -16
- package/src/themes/default/modules/embed.variables +2 -2
- package/src/themes/default/modules/flyout.variables +3 -3
- package/src/themes/default/modules/modal.variables +14 -14
- package/src/themes/default/modules/nag.variables +1 -1
- package/src/themes/default/modules/rating.variables +1 -1
- package/src/themes/default/modules/search.variables +1 -1
- package/src/themes/default/modules/shape.variables +1 -1
- package/src/themes/default/modules/sidebar.variables +2 -2
- package/src/themes/default/modules/toast.variables +4 -4
- package/src/themes/default/views/card.variables +6 -7
- package/src/themes/default/views/feed.variables +4 -4
- package/src/themes/default/views/item.variables +2 -3
- package/src/themes/flat/collections/form.variables +1 -1
- package/src/themes/flat/globals/site.variables +9 -9
- package/src/themes/github/collections/form.overrides +3 -3
- package/src/themes/github/collections/form.variables +3 -3
- package/src/themes/github/collections/menu.overrides +1 -1
- package/src/themes/github/collections/menu.variables +10 -10
- package/src/themes/github/collections/message.variables +6 -6
- package/src/themes/github/elements/button.variables +17 -17
- package/src/themes/github/elements/input.variables +3 -3
- package/src/themes/github/elements/segment.variables +2 -2
- package/src/themes/github/elements/step.overrides +4 -4
- package/src/themes/github/elements/step.variables +3 -3
- package/src/themes/github/globals/site.variables +2 -2
- package/src/themes/github/modules/dropdown.variables +1 -3
- package/src/themes/gmail/collections/message.variables +2 -2
- package/src/themes/material/collections/menu.variables +1 -1
- package/src/themes/material/elements/button.overrides +4 -4
- package/src/themes/material/elements/button.variables +5 -5
- package/src/themes/material/modules/dropdown.variables +1 -1
- package/src/themes/material/modules/modal.variables +1 -1
- package/src/themes/raised/elements/button.variables +1 -1
- package/src/themes/round/elements/button.variables +12 -12
- package/src/themes/striped/modules/progress.overrides +3 -3
- package/src/themes/timeline/views/feed.variables +2 -2
- package/src/themes/twitter/elements/button.overrides +1 -1
- package/src/themes/twitter/elements/button.variables +4 -5
- package/tasks/admin/components/create.js +12 -43
- package/tasks/admin/components/init.js +11 -12
- package/tasks/admin/components/update.js +19 -20
- package/tasks/admin/distributions/create.js +30 -52
- package/tasks/admin/distributions/init.js +11 -12
- package/tasks/admin/distributions/update.js +18 -19
- package/tasks/admin/register.js +7 -8
- package/tasks/build/assets.js +1 -1
- package/tasks/build/css.js +5 -5
- package/tasks/build/javascript.js +1 -1
- package/tasks/config/admin/github.js +1 -1
- package/tasks/config/admin/release.js +1 -2
- package/tasks/config/admin/templates/README.md +0 -5
- package/tasks/config/admin/templates/css-package.js +1 -1
- package/tasks/config/admin/templates/less-package.js +1 -1
- package/tasks/config/project/config.js +10 -10
- package/tasks/config/project/install.js +13 -19
- package/tasks/config/project/release.js +6 -12
- package/tasks/config/tasks.js +15 -11
- package/tasks/config/user.js +1 -4
- package/tasks/docs/metadata.js +18 -20
- package/tasks/install.js +14 -12
- package/test/meteor/assets.js +4 -4
- package/test/meteor/fonts.js +10 -11
- package/test/modules/module.spec.js +18 -18
- package/.github/ISSUE_TEMPLATE/bug-report.md +0 -51
- package/.github/ISSUE_TEMPLATE/feature-request.md +0 -41
- package/bower.json +0 -29
- 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: '
|
|
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/
|
|
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
|
package/.github/workflows/ci.yml
CHANGED
|
@@ -8,8 +8,8 @@ jobs:
|
|
|
8
8
|
name: Lint
|
|
9
9
|
runs-on: ubuntu-latest
|
|
10
10
|
steps:
|
|
11
|
-
- uses: actions/checkout@
|
|
12
|
-
- uses: actions/setup-node@
|
|
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@
|
|
31
|
+
- uses: actions/checkout@v7
|
|
32
32
|
- name: Setup Node.js ${{ matrix.node-version }}
|
|
33
|
-
uses: actions/setup-node@
|
|
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@
|
|
51
|
-
- uses: github/codeql-action/init@
|
|
50
|
+
- uses: actions/checkout@v7
|
|
51
|
+
- uses: github/codeql-action/init@v4
|
|
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@
|
|
56
|
+
uses: github/codeql-action/autobuild@v4
|
|
57
57
|
- name: Perform CodeQL Analysis
|
|
58
|
-
uses: github/codeql-action/analyze@
|
|
58
|
+
uses: github/codeql-action/analyze@v4
|
|
@@ -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@
|
|
17
|
+
- uses: actions/checkout@v7
|
|
17
18
|
with:
|
|
18
19
|
ref: develop
|
|
19
|
-
- uses: actions/setup-node@
|
|
20
|
+
- uses: actions/setup-node@v7
|
|
20
21
|
with:
|
|
21
|
-
node-version:
|
|
22
|
-
|
|
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@
|
|
14
|
+
- uses: actions/checkout@v7
|
|
15
15
|
with:
|
|
16
16
|
ref: master
|
|
17
|
-
- uses: actions/setup-node@
|
|
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
|
};
|