@dt-dds/react-icon 1.0.0-beta.45 → 1.0.0-beta.47
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/CHANGELOG.md +22 -0
- package/dist/index.d.mts +23 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @dt-ui/react-icon
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.47
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- feat: replace rounded with sharp icons
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
- @dt-dds/icons@1.0.0-beta.5
|
|
13
|
+
- @dt-dds/themes@1.0.0-beta.6
|
|
14
|
+
- @dt-dds/react-core@1.0.0-beta.46
|
|
15
|
+
|
|
16
|
+
## 1.0.0-beta.46
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- chore(dependencies): upgrade builders versions
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
- @dt-dds/react-core@1.0.0-beta.45
|
|
23
|
+
- @dt-dds/themes@1.0.0-beta.5
|
|
24
|
+
|
|
3
25
|
## 1.0.0-beta.45
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { CustomTheme } from '@dt-dds/themes';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
import { Code } from '@dt-dds/icons';
|
|
4
|
+
import { BaseProps } from '@dt-dds/react-core';
|
|
5
|
+
|
|
6
|
+
type Variant = 'outlined' | 'filled';
|
|
7
|
+
|
|
8
|
+
type Size = 'xs' | 's' | 'm' | 'l' | 'xl';
|
|
9
|
+
|
|
10
|
+
interface IconProps extends Omit<BaseProps, 'children'> {
|
|
11
|
+
code: Code;
|
|
12
|
+
color?: string;
|
|
13
|
+
size?: Size;
|
|
14
|
+
variant?: Variant;
|
|
15
|
+
}
|
|
16
|
+
declare const Icon: ({ code, color, dataTestId, size, style, variant, }: IconProps) => react_jsx_runtime.JSX.Element;
|
|
17
|
+
|
|
18
|
+
declare module '@emotion/react' {
|
|
19
|
+
interface Theme extends CustomTheme {
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export { Icon, type IconProps };
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -28,11 +28,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
29
|
|
|
30
30
|
// index.ts
|
|
31
|
-
var
|
|
32
|
-
__export(
|
|
31
|
+
var index_exports = {};
|
|
32
|
+
__export(index_exports, {
|
|
33
33
|
Icon: () => Icon
|
|
34
34
|
});
|
|
35
|
-
module.exports = __toCommonJS(
|
|
35
|
+
module.exports = __toCommonJS(index_exports);
|
|
36
36
|
|
|
37
37
|
// src/Icon.tsx
|
|
38
38
|
var import_react = require("@emotion/react");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dt-dds/react-icon",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.47",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dist/index.js"
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"test:update:snapshot": "jest -u"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@dt-dds/icons": "1.0.0-beta.
|
|
24
|
-
"@dt-dds/react-core": "1.0.0-beta.
|
|
25
|
-
"@dt-dds/themes": "1.0.0-beta.
|
|
23
|
+
"@dt-dds/icons": "1.0.0-beta.5",
|
|
24
|
+
"@dt-dds/react-core": "1.0.0-beta.46",
|
|
25
|
+
"@dt-dds/themes": "1.0.0-beta.6"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@babel/core": "^7.22.9",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"react": "^18.1.0",
|
|
44
44
|
"react-dom": "^18.2.0",
|
|
45
45
|
"tsconfig": "*",
|
|
46
|
-
"tsup": "^
|
|
46
|
+
"tsup": "^8.5.0",
|
|
47
47
|
"typescript": "^4.5.3"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|