@stackoverflow/stacks 1.0.0 → 1.2.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.
- package/README.md +47 -47
- package/dist/controllers/s-popover.d.ts +11 -2
- package/dist/css/stacks.css +257 -8
- package/dist/css/stacks.min.css +1 -1
- package/dist/js/stacks.js +18 -2
- package/dist/js/stacks.min.js +1 -1
- package/lib/css/atomic/borders.less +378 -378
- package/lib/css/atomic/colors.less +209 -209
- package/lib/css/atomic/flex.less +375 -375
- package/lib/css/atomic/grid.less +174 -174
- package/lib/css/atomic/misc.less +343 -343
- package/lib/css/atomic/spacing.less +342 -314
- package/lib/css/atomic/typography.less +273 -273
- package/lib/css/atomic/width-height.less +194 -194
- package/lib/css/base/body.less +44 -44
- package/lib/css/base/configuration-static.less +61 -61
- package/lib/css/base/icons.less +20 -20
- package/lib/css/base/internals.less +220 -220
- package/lib/css/base/reset-meyer.less +64 -64
- package/lib/css/base/reset-normalize.less +449 -449
- package/lib/css/base/reset.less +20 -20
- package/lib/css/components/activity-indicator.less +44 -45
- package/lib/css/components/avatars.less +189 -189
- package/lib/css/components/badges.less +254 -209
- package/lib/css/components/banners.less +80 -80
- package/lib/css/components/blank-states.less +26 -26
- package/lib/css/components/breadcrumbs.less +44 -44
- package/lib/css/components/button-groups.less +104 -104
- package/lib/css/components/buttons.less +665 -665
- package/lib/css/components/cards.less +44 -44
- package/lib/css/components/code-blocks.less +130 -130
- package/lib/css/components/collapsible.less +104 -104
- package/lib/css/components/inputs.less +728 -728
- package/lib/css/components/link-previews.less +136 -136
- package/lib/css/components/links.less +218 -218
- package/lib/css/components/menu.less +47 -47
- package/lib/css/components/modals.less +133 -133
- package/lib/css/components/navigation.less +146 -146
- package/lib/css/components/notices.less +233 -233
- package/lib/css/components/page-titles.less +60 -60
- package/lib/css/components/pagination.less +55 -55
- package/lib/css/components/popovers.less +197 -197
- package/lib/css/components/post-summary.less +436 -425
- package/lib/css/components/progress-bars.less +330 -330
- package/lib/css/components/prose.less +503 -503
- package/lib/css/components/spinner.less +107 -107
- package/lib/css/components/tables.less +341 -341
- package/lib/css/components/tags.less +236 -236
- package/lib/css/components/toggle-switches.less +144 -144
- package/lib/css/components/topbar.less +427 -427
- package/lib/css/components/uploader.less +210 -210
- package/lib/css/components/user-cards.less +169 -169
- package/lib/css/components/widget-dynamic.less +33 -33
- package/lib/css/components/widget-static.less +273 -273
- package/lib/css/exports/constants-colors.less +1092 -1092
- package/lib/css/exports/constants-helpers.less +108 -108
- package/lib/css/exports/constants-type.less +153 -153
- package/lib/css/exports/exports.less +15 -15
- package/lib/css/exports/mixins.less +237 -237
- package/lib/css/stacks-dynamic.less +35 -35
- package/lib/css/stacks-static.less +86 -86
- package/lib/css/stacks.less +13 -13
- package/lib/ts/controllers/index.ts +7 -7
- package/lib/ts/controllers/s-expandable-control.ts +188 -188
- package/lib/ts/controllers/s-modal.ts +321 -321
- package/lib/ts/controllers/s-navigation-tablist.ts +117 -117
- package/lib/ts/controllers/s-popover.ts +567 -547
- package/lib/ts/controllers/s-table.ts +220 -220
- package/lib/ts/controllers/s-tooltip.ts +246 -246
- package/lib/ts/controllers/s-uploader.ts +172 -172
- package/lib/ts/index.ts +20 -20
- package/lib/ts/stacks.ts +88 -88
- package/lib/tsconfig.json +13 -13
- package/package.json +86 -87
package/package.json
CHANGED
|
@@ -1,87 +1,86 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@stackoverflow/stacks",
|
|
3
|
-
"description": "Stack Overflow’s CSS and Design Pattern Library. Stacks is an atomic CSS library with classes and components for rapidly building Stack Overflow.",
|
|
4
|
-
"repository": {
|
|
5
|
-
"type": "git",
|
|
6
|
-
"url": "https://github.com/StackExchange/Stacks.git"
|
|
7
|
-
},
|
|
8
|
-
"version": "1.
|
|
9
|
-
"files": [
|
|
10
|
-
"dist",
|
|
11
|
-
"lib"
|
|
12
|
-
],
|
|
13
|
-
"main": "./dist/js/stacks.js",
|
|
14
|
-
"types": "./dist/index.d.ts",
|
|
15
|
-
"style": "./dist/css/stacks.css",
|
|
16
|
-
"less": "./lib/css/stacks.less",
|
|
17
|
-
"unpkg": "dist/css/stacks.min.css",
|
|
18
|
-
"scripts": {
|
|
19
|
-
"start": "concurrently -n w: npm:start:*",
|
|
20
|
-
"build": "concurrently -n w: npm:build:*",
|
|
21
|
-
"build:bundle": "webpack --mode=production",
|
|
22
|
-
"build:docs": "webpack --mode=production --config ./docs/webpack.config.js && cd ./docs && eleventy",
|
|
23
|
-
"start:webpack": "webpack --watch --config ./docs/webpack.config.js",
|
|
24
|
-
"start:eleventy": "cd ./docs && eleventy --serve",
|
|
25
|
-
"test": "backstop test",
|
|
26
|
-
"approve": "backstop approve",
|
|
27
|
-
"prepublishOnly": "npm run build",
|
|
28
|
-
"lint:eslint": "eslint .",
|
|
29
|
-
"lint:prettier": "prettier --check . --end-of-line auto"
|
|
30
|
-
},
|
|
31
|
-
"license": "MIT",
|
|
32
|
-
"dependencies": {
|
|
33
|
-
"@popperjs/core": "^2.11.
|
|
34
|
-
"stimulus": "^2.0.0"
|
|
35
|
-
},
|
|
36
|
-
"devDependencies": {
|
|
37
|
-
"@11ty/eleventy": "^1.0.
|
|
38
|
-
"@highlightjs/cdn-assets": "^11.5.1",
|
|
39
|
-
"@stackoverflow/stacks-editor": "^0.
|
|
40
|
-
"@stackoverflow/stacks-icons": "^2.27.0",
|
|
41
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
42
|
-
"@typescript-eslint/parser": "^5.
|
|
43
|
-
"backstopjs": "^6.0
|
|
44
|
-
"concurrently": "^7.1
|
|
45
|
-
"css-loader": "^6.7.1",
|
|
46
|
-
"cssnano": "^5.1.
|
|
47
|
-
"docsearch.js": "^2.6.3",
|
|
48
|
-
"eleventy-plugin-highlightjs": "^1.
|
|
49
|
-
"eleventy-plugin-nesting-toc": "^1.3.0",
|
|
50
|
-
"eslint": "^8.
|
|
51
|
-
"eslint-config-prettier": "^8.5.0",
|
|
52
|
-
"eslint-plugin-no-unsanitized": "^4.0.1",
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"postcss-
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"stylelint": "^
|
|
63
|
-
"stylelint-config-
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"webpack": "^
|
|
69
|
-
"webpack-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
"
|
|
74
|
-
"not
|
|
75
|
-
"not
|
|
76
|
-
"not
|
|
77
|
-
"not
|
|
78
|
-
"not
|
|
79
|
-
"not
|
|
80
|
-
"not
|
|
81
|
-
"not
|
|
82
|
-
"not
|
|
83
|
-
"not
|
|
84
|
-
"not
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@stackoverflow/stacks",
|
|
3
|
+
"description": "Stack Overflow’s CSS and Design Pattern Library. Stacks is an atomic CSS library with classes and components for rapidly building Stack Overflow.",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "https://github.com/StackExchange/Stacks.git"
|
|
7
|
+
},
|
|
8
|
+
"version": "1.2.0",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"lib"
|
|
12
|
+
],
|
|
13
|
+
"main": "./dist/js/stacks.js",
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"style": "./dist/css/stacks.css",
|
|
16
|
+
"less": "./lib/css/stacks.less",
|
|
17
|
+
"unpkg": "dist/css/stacks.min.css",
|
|
18
|
+
"scripts": {
|
|
19
|
+
"start": "concurrently -n w: npm:start:*",
|
|
20
|
+
"build": "concurrently -n w: npm:build:*",
|
|
21
|
+
"build:bundle": "webpack --mode=production",
|
|
22
|
+
"build:docs": "webpack --mode=production --config ./docs/webpack.config.js && cd ./docs && eleventy",
|
|
23
|
+
"start:webpack": "webpack --watch --config ./docs/webpack.config.js",
|
|
24
|
+
"start:eleventy": "cd ./docs && eleventy --serve",
|
|
25
|
+
"test": "backstop test",
|
|
26
|
+
"approve": "backstop approve",
|
|
27
|
+
"prepublishOnly": "npm run build",
|
|
28
|
+
"lint:eslint": "eslint .",
|
|
29
|
+
"lint:prettier": "prettier --check . --end-of-line auto"
|
|
30
|
+
},
|
|
31
|
+
"license": "MIT",
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@popperjs/core": "^2.11.5",
|
|
34
|
+
"stimulus": "^2.0.0"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@11ty/eleventy": "^1.0.1",
|
|
38
|
+
"@highlightjs/cdn-assets": "^11.5.1",
|
|
39
|
+
"@stackoverflow/stacks-editor": "^0.5.0",
|
|
40
|
+
"@stackoverflow/stacks-icons": "^2.27.0",
|
|
41
|
+
"@typescript-eslint/eslint-plugin": "^5.27.1",
|
|
42
|
+
"@typescript-eslint/parser": "^5.27.1",
|
|
43
|
+
"backstopjs": "^6.1.0",
|
|
44
|
+
"concurrently": "^7.2.1",
|
|
45
|
+
"css-loader": "^6.7.1",
|
|
46
|
+
"cssnano": "^5.1.11",
|
|
47
|
+
"docsearch.js": "^2.6.3",
|
|
48
|
+
"eleventy-plugin-highlightjs": "^1.1.0",
|
|
49
|
+
"eleventy-plugin-nesting-toc": "^1.3.0",
|
|
50
|
+
"eslint": "^8.17.0",
|
|
51
|
+
"eslint-config-prettier": "^8.5.0",
|
|
52
|
+
"eslint-plugin-no-unsanitized": "^4.0.1",
|
|
53
|
+
"jquery": "^3.6.0",
|
|
54
|
+
"less-loader": "^11.0.0",
|
|
55
|
+
"list.js": "^2.3.1",
|
|
56
|
+
"markdown-it": "^13.0.1",
|
|
57
|
+
"mini-css-extract-plugin": "^2.6.0",
|
|
58
|
+
"postcss-less": "^6.0.0",
|
|
59
|
+
"postcss-loader": "^7.0.0",
|
|
60
|
+
"prettier": "^2.6.2",
|
|
61
|
+
"stylelint": "^14.9.1",
|
|
62
|
+
"stylelint-config-recommended": "^8.0.0",
|
|
63
|
+
"stylelint-config-standard": "^26.0.0",
|
|
64
|
+
"terser-webpack-plugin": "^5.3.3",
|
|
65
|
+
"ts-loader": "^9.3.0",
|
|
66
|
+
"typescript": "^4.7.3",
|
|
67
|
+
"webpack": "^5.73.0",
|
|
68
|
+
"webpack-cli": "^4.10.0",
|
|
69
|
+
"webpack-merge": "^5.8.0"
|
|
70
|
+
},
|
|
71
|
+
"browserslist": [
|
|
72
|
+
"last 2 versions",
|
|
73
|
+
"not dead",
|
|
74
|
+
"not ie > 0",
|
|
75
|
+
"not op_mini all",
|
|
76
|
+
"not baidu > 0",
|
|
77
|
+
"not and_ff > 0",
|
|
78
|
+
"not and_qq > 0",
|
|
79
|
+
"not kaios > 0",
|
|
80
|
+
"not op_mob > 0",
|
|
81
|
+
"not ie_mob > 0",
|
|
82
|
+
"not and_uc > 0",
|
|
83
|
+
"not Samsung > 0",
|
|
84
|
+
"not Android > 0"
|
|
85
|
+
]
|
|
86
|
+
}
|