@openedx/paragon 23.14.6 → 23.14.8
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/icons/package.json +1 -1
- package/package.json +3 -4
- package/icons/node_modules/@svgr/babel-plugin-add-jsx-attribute/CHANGELOG.md +0 -50
- package/icons/node_modules/@svgr/babel-plugin-add-jsx-attribute/LICENSE +0 -7
- package/icons/node_modules/@svgr/babel-plugin-add-jsx-attribute/README.md +0 -37
- package/icons/node_modules/@svgr/babel-plugin-add-jsx-attribute/dist/index.d.ts +0 -20
- package/icons/node_modules/@svgr/babel-plugin-add-jsx-attribute/dist/index.js +0 -79
- package/icons/node_modules/@svgr/babel-plugin-add-jsx-attribute/dist/index.js.map +0 -1
- package/icons/node_modules/@svgr/babel-plugin-add-jsx-attribute/package.json +0 -40
- package/icons/node_modules/@svgr/babel-plugin-add-jsx-attribute/tsconfig.json +0 -4
package/icons/package.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"@babel/preset-react": "^7.12.10",
|
|
18
18
|
"@material-icons/svg": "^1.0.30",
|
|
19
19
|
"@svgr/cli": "^6.4.0",
|
|
20
|
-
"@svgr/babel-plugin-add-jsx-attribute": "^
|
|
20
|
+
"@svgr/babel-plugin-add-jsx-attribute": "^8.0.0",
|
|
21
21
|
"bootstrap-icons": "^1.11.3"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openedx/paragon",
|
|
3
|
-
"version": "23.14.
|
|
3
|
+
"version": "23.14.8",
|
|
4
4
|
"description": "Accessible, responsive UI component library based on Bootstrap.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"@popperjs/core": "^2.11.4",
|
|
65
65
|
"@tokens-studio/sd-transforms": "^1.2.4",
|
|
66
|
-
"axios": "^0.
|
|
66
|
+
"axios": "^0.30.2",
|
|
67
67
|
"bootstrap": "^4.6.2",
|
|
68
68
|
"chalk": "^4.1.2",
|
|
69
69
|
"child_process": "^1.0.2",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"react-loading-skeleton": "^3.1.0",
|
|
98
98
|
"react-popper": "^2.2.5",
|
|
99
99
|
"react-proptype-conditional-require": "^1.0.4",
|
|
100
|
-
"react-responsive": "^
|
|
100
|
+
"react-responsive": "^10.0.0",
|
|
101
101
|
"react-table": "^7.7.0",
|
|
102
102
|
"react-transition-group": "^4.4.2",
|
|
103
103
|
"sass": "^1.58.3",
|
|
@@ -139,7 +139,6 @@
|
|
|
139
139
|
"@types/uuid": "^9.0.0",
|
|
140
140
|
"@typescript-eslint/eslint-plugin": "^5.22.0",
|
|
141
141
|
"@typescript-eslint/parser": "^5.22.0",
|
|
142
|
-
"axios": "^0.28.0",
|
|
143
142
|
"axios-mock-adapter": "^1.21.1",
|
|
144
143
|
"babel-jest": "^29.7.0",
|
|
145
144
|
"babel-loader": "^8.2.4",
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
-
|
|
6
|
-
## [6.5.1](https://github.com/gregberge/svgr/compare/v6.5.0...v6.5.1) (2022-10-27)
|
|
7
|
-
|
|
8
|
-
**Note:** Version bump only for package @svgr/babel-plugin-add-jsx-attribute
|
|
9
|
-
|
|
10
|
-
# [6.5.0](https://github.com/gregberge/svgr/compare/v6.4.0...v6.5.0) (2022-10-14)
|
|
11
|
-
|
|
12
|
-
**Note:** Version bump only for package @svgr/babel-plugin-add-jsx-attribute
|
|
13
|
-
|
|
14
|
-
## [6.3.1](https://github.com/gregberge/svgr/compare/v6.3.0...v6.3.1) (2022-07-22)
|
|
15
|
-
|
|
16
|
-
### Bug Fixes
|
|
17
|
-
|
|
18
|
-
- fix exports compat with ESM ([#749](https://github.com/gregberge/svgr/issues/749)) ([f3e304c](https://github.com/gregberge/svgr/commit/f3e304c166282f042ecd4d6c396a0798a7f0b490))
|
|
19
|
-
|
|
20
|
-
# [6.3.0](https://github.com/gregberge/svgr/compare/v6.2.1...v6.3.0) (2022-07-18)
|
|
21
|
-
|
|
22
|
-
### Bug Fixes
|
|
23
|
-
|
|
24
|
-
- **package.json:** fix exports ([#745](https://github.com/gregberge/svgr/issues/745)) ([2a368d1](https://github.com/gregberge/svgr/commit/2a368d1305949ec6426c7c7312c04224071ec2bd))
|
|
25
|
-
|
|
26
|
-
# [5.4.0](https://github.com/gregberge/svgr/tree/master/packages/babel-plugin-add-jsx-attribute/compare/v5.3.1...v5.4.0) (2020-04-27)
|
|
27
|
-
|
|
28
|
-
**Note:** Version bump only for package @svgr/babel-plugin-add-jsx-attribute
|
|
29
|
-
|
|
30
|
-
## [5.0.1](https://github.com/gregberge/svgr/tree/master/packages/babel-plugin-add-jsx-attribute/compare/v5.0.0...v5.0.1) (2019-12-29)
|
|
31
|
-
|
|
32
|
-
### Bug Fixes
|
|
33
|
-
|
|
34
|
-
- fix engines in package.json ([a45d6fc](https://github.com/gregberge/svgr/tree/master/packages/babel-plugin-add-jsx-attribute/commit/a45d6fc8b43402bec60ed4e9273f90fdc65a23a7))
|
|
35
|
-
|
|
36
|
-
# [4.2.0](https://github.com/gregberge/svgr/tree/master/packages/babel-plugin-add-jsx-attribute/compare/v4.1.0...v4.2.0) (2019-04-11)
|
|
37
|
-
|
|
38
|
-
**Note:** Version bump only for package @svgr/babel-plugin-add-jsx-attribute
|
|
39
|
-
|
|
40
|
-
# [4.0.0](https://github.com/gregberge/svgr/compare/v3.1.0...v4.0.0) (2018-11-04)
|
|
41
|
-
|
|
42
|
-
### Features
|
|
43
|
-
|
|
44
|
-
- **v4:** new architecture ([ac8b8ca](https://github.com/gregberge/svgr/commit/ac8b8ca))
|
|
45
|
-
|
|
46
|
-
### BREAKING CHANGES
|
|
47
|
-
|
|
48
|
-
- **v4:** - `template` option must now returns a Babel AST
|
|
49
|
-
|
|
50
|
-
* `@svgr/core` does not include svgo & prettier by default
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
Copyright 2017 Smooth Code
|
|
2
|
-
|
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4
|
-
|
|
5
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
6
|
-
|
|
7
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
# @svgr/babel-plugin-add-jsx-attribute
|
|
2
|
-
|
|
3
|
-
## Install
|
|
4
|
-
|
|
5
|
-
```
|
|
6
|
-
npm install --save-dev @svgr/babel-plugin-add-jsx-attribute
|
|
7
|
-
```
|
|
8
|
-
|
|
9
|
-
## Usage
|
|
10
|
-
|
|
11
|
-
**.babelrc**
|
|
12
|
-
|
|
13
|
-
```json
|
|
14
|
-
{
|
|
15
|
-
"plugins": [
|
|
16
|
-
[
|
|
17
|
-
"@svgr/babel-plugin-add-jsx-attribute",
|
|
18
|
-
{
|
|
19
|
-
"elements": ["svg"],
|
|
20
|
-
"attributes": [
|
|
21
|
-
{
|
|
22
|
-
"name": "width",
|
|
23
|
-
"value": "200",
|
|
24
|
-
"spread": false,
|
|
25
|
-
"literal": false,
|
|
26
|
-
"position": "end"
|
|
27
|
-
}
|
|
28
|
-
]
|
|
29
|
-
}
|
|
30
|
-
]
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
## License
|
|
36
|
-
|
|
37
|
-
MIT
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ConfigAPI, NodePath, types } from '@babel/core';
|
|
2
|
-
|
|
3
|
-
interface Attribute {
|
|
4
|
-
name: string;
|
|
5
|
-
value?: boolean | number | string | null;
|
|
6
|
-
spread?: boolean;
|
|
7
|
-
literal?: boolean;
|
|
8
|
-
position?: 'start' | 'end';
|
|
9
|
-
}
|
|
10
|
-
interface Options {
|
|
11
|
-
elements: string[];
|
|
12
|
-
attributes: Attribute[];
|
|
13
|
-
}
|
|
14
|
-
declare const addJSXAttribute: (_: ConfigAPI, opts: Options) => {
|
|
15
|
-
visitor: {
|
|
16
|
-
JSXOpeningElement(path: NodePath<types.JSXOpeningElement>): void;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
export { Attribute, Options, addJSXAttribute as default };
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var core = require('@babel/core');
|
|
4
|
-
|
|
5
|
-
const positionMethod = {
|
|
6
|
-
start: "unshiftContainer",
|
|
7
|
-
end: "pushContainer"
|
|
8
|
-
};
|
|
9
|
-
const addJSXAttribute = (_, opts) => {
|
|
10
|
-
function getAttributeValue({
|
|
11
|
-
literal,
|
|
12
|
-
value
|
|
13
|
-
}) {
|
|
14
|
-
if (typeof value === "boolean") {
|
|
15
|
-
return core.types.jsxExpressionContainer(core.types.booleanLiteral(value));
|
|
16
|
-
}
|
|
17
|
-
if (typeof value === "number") {
|
|
18
|
-
return core.types.jsxExpressionContainer(core.types.numericLiteral(value));
|
|
19
|
-
}
|
|
20
|
-
if (typeof value === "string" && literal) {
|
|
21
|
-
return core.types.jsxExpressionContainer(
|
|
22
|
-
core.template.ast(value).expression
|
|
23
|
-
);
|
|
24
|
-
}
|
|
25
|
-
if (typeof value === "string") {
|
|
26
|
-
return core.types.stringLiteral(value);
|
|
27
|
-
}
|
|
28
|
-
return null;
|
|
29
|
-
}
|
|
30
|
-
function getAttribute({ spread, name, value, literal }) {
|
|
31
|
-
if (spread) {
|
|
32
|
-
return core.types.jsxSpreadAttribute(core.types.identifier(name));
|
|
33
|
-
}
|
|
34
|
-
return core.types.jsxAttribute(
|
|
35
|
-
core.types.jsxIdentifier(name),
|
|
36
|
-
getAttributeValue({ value, literal })
|
|
37
|
-
);
|
|
38
|
-
}
|
|
39
|
-
return {
|
|
40
|
-
visitor: {
|
|
41
|
-
JSXOpeningElement(path) {
|
|
42
|
-
if (!core.types.isJSXIdentifier(path.node.name))
|
|
43
|
-
return;
|
|
44
|
-
if (!opts.elements.includes(path.node.name.name))
|
|
45
|
-
return;
|
|
46
|
-
opts.attributes.forEach(
|
|
47
|
-
({
|
|
48
|
-
name,
|
|
49
|
-
value = null,
|
|
50
|
-
spread = false,
|
|
51
|
-
literal = false,
|
|
52
|
-
position = "end"
|
|
53
|
-
}) => {
|
|
54
|
-
const method = positionMethod[position];
|
|
55
|
-
const newAttribute = getAttribute({ spread, name, value, literal });
|
|
56
|
-
const attributes = path.get("attributes");
|
|
57
|
-
const isEqualAttribute = (attribute) => {
|
|
58
|
-
if (spread)
|
|
59
|
-
return attribute.isJSXSpreadAttribute() && attribute.get("argument").isIdentifier({ name });
|
|
60
|
-
return attribute.isJSXAttribute() && attribute.get("name").isJSXIdentifier({ name });
|
|
61
|
-
};
|
|
62
|
-
const replaced = attributes.some((attribute) => {
|
|
63
|
-
if (!isEqualAttribute(attribute))
|
|
64
|
-
return false;
|
|
65
|
-
attribute.replaceWith(newAttribute);
|
|
66
|
-
return true;
|
|
67
|
-
});
|
|
68
|
-
if (!replaced) {
|
|
69
|
-
path[method]("attributes", newAttribute);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
module.exports = addJSXAttribute;
|
|
79
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\nimport { ConfigAPI, types as t, NodePath, template } from '@babel/core'\n\nexport interface Attribute {\n name: string\n value?: boolean | number | string | null\n spread?: boolean\n literal?: boolean\n position?: 'start' | 'end'\n}\n\nexport interface Options {\n elements: string[]\n attributes: Attribute[]\n}\n\nconst positionMethod = {\n start: 'unshiftContainer',\n end: 'pushContainer',\n} as const\n\nconst addJSXAttribute = (_: ConfigAPI, opts: Options) => {\n function getAttributeValue({\n literal,\n value,\n }: {\n literal?: Attribute['literal']\n value: Attribute['value']\n }) {\n if (typeof value === 'boolean') {\n return t.jsxExpressionContainer(t.booleanLiteral(value))\n }\n\n if (typeof value === 'number') {\n return t.jsxExpressionContainer(t.numericLiteral(value))\n }\n\n if (typeof value === 'string' && literal) {\n return t.jsxExpressionContainer(\n (template.ast(value) as t.ExpressionStatement).expression,\n )\n }\n\n if (typeof value === 'string') {\n return t.stringLiteral(value)\n }\n\n return null\n }\n\n function getAttribute({ spread, name, value, literal }: Attribute) {\n if (spread) {\n return t.jsxSpreadAttribute(t.identifier(name))\n }\n\n return t.jsxAttribute(\n t.jsxIdentifier(name),\n getAttributeValue({ value, literal }),\n )\n }\n\n return {\n visitor: {\n JSXOpeningElement(path: NodePath<t.JSXOpeningElement>) {\n if (!t.isJSXIdentifier(path.node.name)) return\n if (!opts.elements.includes(path.node.name.name)) return\n\n opts.attributes.forEach(\n ({\n name,\n value = null,\n spread = false,\n literal = false,\n position = 'end',\n }) => {\n const method = positionMethod[position]\n const newAttribute = getAttribute({ spread, name, value, literal })\n const attributes = path.get('attributes')\n\n const isEqualAttribute = (\n attribute: NodePath<t.JSXSpreadAttribute | t.JSXAttribute>,\n ) => {\n if (spread)\n return (\n attribute.isJSXSpreadAttribute() &&\n attribute.get('argument').isIdentifier({ name })\n )\n return (\n attribute.isJSXAttribute() &&\n attribute.get('name').isJSXIdentifier({ name })\n )\n }\n\n const replaced = attributes.some((attribute) => {\n if (!isEqualAttribute(attribute)) return false\n attribute.replaceWith(newAttribute)\n return true\n })\n\n if (!replaced) {\n path[method]('attributes', newAttribute)\n }\n },\n )\n },\n },\n }\n}\n\nexport default addJSXAttribute\n"],"names":["t","template"],"mappings":"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"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@svgr/babel-plugin-add-jsx-attribute",
|
|
3
|
-
"description": "Add JSX attribute",
|
|
4
|
-
"version": "6.5.1",
|
|
5
|
-
"main": "./dist/index.js",
|
|
6
|
-
"types": "./dist/index.d.ts",
|
|
7
|
-
"exports": {
|
|
8
|
-
".": {
|
|
9
|
-
"types": "./dist/index.d.ts",
|
|
10
|
-
"default": "./dist/index.js"
|
|
11
|
-
},
|
|
12
|
-
"./package.json": "./package.json"
|
|
13
|
-
},
|
|
14
|
-
"repository": "https://github.com/gregberge/svgr/tree/main/packages/babel-plugin-add-jsx-attribute",
|
|
15
|
-
"author": "Greg Bergé <berge.greg@gmail.com>",
|
|
16
|
-
"publishConfig": {
|
|
17
|
-
"access": "public"
|
|
18
|
-
},
|
|
19
|
-
"keywords": [
|
|
20
|
-
"babel-plugin"
|
|
21
|
-
],
|
|
22
|
-
"engines": {
|
|
23
|
-
"node": ">=10"
|
|
24
|
-
},
|
|
25
|
-
"homepage": "https://react-svgr.com",
|
|
26
|
-
"funding": {
|
|
27
|
-
"type": "github",
|
|
28
|
-
"url": "https://github.com/sponsors/gregberge"
|
|
29
|
-
},
|
|
30
|
-
"license": "MIT",
|
|
31
|
-
"peerDependencies": {
|
|
32
|
-
"@babel/core": "^7.0.0-0"
|
|
33
|
-
},
|
|
34
|
-
"scripts": {
|
|
35
|
-
"reset": "rm -rf dist",
|
|
36
|
-
"build": "rollup -c ../../build/rollup.config.js",
|
|
37
|
-
"prepublishOnly": "npm run reset && npm run build"
|
|
38
|
-
},
|
|
39
|
-
"gitHead": "d5efedd372999692f84d30072e502b5a6b8fe734"
|
|
40
|
-
}
|