@uniformdev/design-system 20.23.0 → 20.23.1-alpha.9
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/dist/index.d.mts +8 -8
- package/dist/index.d.ts +8 -8
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -1164,13 +1164,12 @@ declare const allSupportedIcons: {
|
|
|
1164
1164
|
|
|
1165
1165
|
/** A list of available icon names that can be used with the Uniform brand */
|
|
1166
1166
|
type IconName = keyof typeof allSupportedIcons;
|
|
1167
|
-
|
|
1167
|
+
/** sets the type of icon to use from the available list */
|
|
1168
|
+
type IconType = IconName | IconType$1;
|
|
1168
1169
|
/** sets fill color of the svg icon
|
|
1169
1170
|
* @default 'default'
|
|
1170
1171
|
*/
|
|
1171
1172
|
type IconColor = 'white' | 'action' | 'default' | 'red' | 'gray' | 'gray300' | 'accent' | 'currentColor' | 'accent-dark' | 'accent-light' | 'accent-alt-dark';
|
|
1172
|
-
/** sets the type of icon to use from the available list */
|
|
1173
|
-
type IconType = IconName | IconType$1;
|
|
1174
1173
|
interface IconProps extends IconBaseProps {
|
|
1175
1174
|
/** sets the icon to be used */
|
|
1176
1175
|
icon: IconType;
|
|
@@ -1179,11 +1178,6 @@ interface IconProps extends IconBaseProps {
|
|
|
1179
1178
|
/** sets additional icon props provided by "react-icons" */
|
|
1180
1179
|
otherProps?: IconBaseProps;
|
|
1181
1180
|
}
|
|
1182
|
-
/**
|
|
1183
|
-
* Component that renders icons
|
|
1184
|
-
* @example <Icon icon="add-r" iconColor="currentColor" />
|
|
1185
|
-
*/
|
|
1186
|
-
declare const Icon: React__default.MemoExoticComponent<({ icon, iconColor, size, ...otherProps }: IconProps) => _emotion_react_jsx_runtime.JSX.Element | null>;
|
|
1187
1181
|
|
|
1188
1182
|
declare const rectangleRoundedIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1189
1183
|
declare const cardIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
@@ -1238,6 +1232,12 @@ declare const customIcons: {
|
|
|
1238
1232
|
'zig-zag-thick': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1239
1233
|
};
|
|
1240
1234
|
|
|
1235
|
+
/**
|
|
1236
|
+
* Component that renders icons
|
|
1237
|
+
* @example <Icon icon="add-r" iconColor="currentColor" />
|
|
1238
|
+
*/
|
|
1239
|
+
declare const Icon: React__default.MemoExoticComponent<({ icon, iconColor, size, ...otherProps }: IconProps) => _emotion_react_jsx_runtime.JSX.Element | null>;
|
|
1240
|
+
|
|
1241
1241
|
type IconsMap = Record<string, IconType$1>;
|
|
1242
1242
|
declare function useIconContext(): {
|
|
1243
1243
|
iconsMap: IconsMap;
|
package/dist/index.d.ts
CHANGED
|
@@ -1164,13 +1164,12 @@ declare const allSupportedIcons: {
|
|
|
1164
1164
|
|
|
1165
1165
|
/** A list of available icon names that can be used with the Uniform brand */
|
|
1166
1166
|
type IconName = keyof typeof allSupportedIcons;
|
|
1167
|
-
|
|
1167
|
+
/** sets the type of icon to use from the available list */
|
|
1168
|
+
type IconType = IconName | IconType$1;
|
|
1168
1169
|
/** sets fill color of the svg icon
|
|
1169
1170
|
* @default 'default'
|
|
1170
1171
|
*/
|
|
1171
1172
|
type IconColor = 'white' | 'action' | 'default' | 'red' | 'gray' | 'gray300' | 'accent' | 'currentColor' | 'accent-dark' | 'accent-light' | 'accent-alt-dark';
|
|
1172
|
-
/** sets the type of icon to use from the available list */
|
|
1173
|
-
type IconType = IconName | IconType$1;
|
|
1174
1173
|
interface IconProps extends IconBaseProps {
|
|
1175
1174
|
/** sets the icon to be used */
|
|
1176
1175
|
icon: IconType;
|
|
@@ -1179,11 +1178,6 @@ interface IconProps extends IconBaseProps {
|
|
|
1179
1178
|
/** sets additional icon props provided by "react-icons" */
|
|
1180
1179
|
otherProps?: IconBaseProps;
|
|
1181
1180
|
}
|
|
1182
|
-
/**
|
|
1183
|
-
* Component that renders icons
|
|
1184
|
-
* @example <Icon icon="add-r" iconColor="currentColor" />
|
|
1185
|
-
*/
|
|
1186
|
-
declare const Icon: React__default.MemoExoticComponent<({ icon, iconColor, size, ...otherProps }: IconProps) => _emotion_react_jsx_runtime.JSX.Element | null>;
|
|
1187
1181
|
|
|
1188
1182
|
declare const rectangleRoundedIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1189
1183
|
declare const cardIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
@@ -1238,6 +1232,12 @@ declare const customIcons: {
|
|
|
1238
1232
|
'zig-zag-thick': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1239
1233
|
};
|
|
1240
1234
|
|
|
1235
|
+
/**
|
|
1236
|
+
* Component that renders icons
|
|
1237
|
+
* @example <Icon icon="add-r" iconColor="currentColor" />
|
|
1238
|
+
*/
|
|
1239
|
+
declare const Icon: React__default.MemoExoticComponent<({ icon, iconColor, size, ...otherProps }: IconProps) => _emotion_react_jsx_runtime.JSX.Element | null>;
|
|
1240
|
+
|
|
1241
1241
|
type IconsMap = Record<string, IconType$1>;
|
|
1242
1242
|
declare function useIconContext(): {
|
|
1243
1243
|
iconsMap: IconsMap;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/design-system",
|
|
3
|
-
"version": "20.23.
|
|
3
|
+
"version": "20.23.1-alpha.9+8cf3ab5014",
|
|
4
4
|
"description": "Uniform design system components",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"exports": {
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"@storybook/theming": "^8.3.3",
|
|
39
39
|
"@types/react": "18.3.11",
|
|
40
40
|
"@types/react-dom": "18.3.1",
|
|
41
|
-
"@uniformdev/canvas": "^20.23.
|
|
42
|
-
"@uniformdev/richtext": "^20.23.
|
|
41
|
+
"@uniformdev/canvas": "^20.23.1-alpha.9+8cf3ab5014",
|
|
42
|
+
"@uniformdev/richtext": "^20.23.1-alpha.9+8cf3ab5014",
|
|
43
43
|
"@vitest/coverage-v8": "^3.1.2",
|
|
44
44
|
"autoprefixer": "10.4.21",
|
|
45
45
|
"hygen": "6.2.11",
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
"publishConfig": {
|
|
92
92
|
"access": "public"
|
|
93
93
|
},
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "8cf3ab5014026843e8a9b7ec64c9b4f7661daa92"
|
|
95
95
|
}
|