@redsift/icons 8.0.6 → 8.1.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/CONTRIBUTING.md +21 -23
- package/cjs/index.js +3 -0
- package/cjs/index.js.map +1 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/package.json +2 -2
package/CONTRIBUTING.md
CHANGED
|
@@ -42,6 +42,10 @@ The Design System is following a monorepo architecture, providing multiple packa
|
|
|
42
42
|
|
|
43
43
|
This package provides popover components. Popover components are based on [floating-ui](https://floating-ui.com/) and [@floating-ui/react](https://floating-ui.com/docs/react). Toasts are based on [react-toastify](https://fkhadra.github.io/react-toastify).
|
|
44
44
|
|
|
45
|
+
- `@redsift/pickers`
|
|
46
|
+
|
|
47
|
+
This package provides selection components. The Popover part of the Pickers comes from `@redsift/popovers`.
|
|
48
|
+
|
|
45
49
|
- `@redsift/table`
|
|
46
50
|
|
|
47
51
|
This package provides datagrid components and features based on [MUI DataGrid](https://mui.com/x/react-data-grid/). Due to the use of advanced features, a [premium license](https://mui.com/x/introduction/licensing/#premium-plan) from MUI is required.
|
|
@@ -136,29 +140,23 @@ const DEFAULT_PROPS: Partial<BadgeProps> = {
|
|
|
136
140
|
/**
|
|
137
141
|
* The Badge component.
|
|
138
142
|
*/
|
|
139
|
-
export const Badge: Comp<BadgeProps, HTMLDivElement> = forwardRef(
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
>
|
|
157
|
-
// content of the component if needed
|
|
158
|
-
</StyledBadge>
|
|
159
|
-
);
|
|
160
|
-
}
|
|
161
|
-
);
|
|
143
|
+
export const Badge: Comp<BadgeProps, HTMLDivElement> = forwardRef((props, ref) => {
|
|
144
|
+
const {
|
|
145
|
+
// props
|
|
146
|
+
...forwardedProps
|
|
147
|
+
} = props;
|
|
148
|
+
|
|
149
|
+
return (
|
|
150
|
+
<StyledBadge
|
|
151
|
+
{...forwardedProps}
|
|
152
|
+
// transient props
|
|
153
|
+
className={classNames(Badge.className, `${Badge.className}-${variant}`, className)}
|
|
154
|
+
ref={ref as RefObject<HTMLDivElement>}
|
|
155
|
+
>
|
|
156
|
+
// content of the component if needed
|
|
157
|
+
</StyledBadge>
|
|
158
|
+
);
|
|
159
|
+
});
|
|
162
160
|
Badge.className = CLASSNAME;
|
|
163
161
|
Badge.defaultProps = DEFAULT_PROPS;
|
|
164
162
|
Badge.displayName = COMPONENT_NAME;
|
package/cjs/index.js
CHANGED
|
@@ -7300,6 +7300,8 @@ var mdiZodiacScorpio = "M17.71,15.29L16.29,16.71L17.59,18H16A2,2 0 0,1 14,16V6A3
|
|
|
7300
7300
|
var mdiZodiacTaurus = "M15.59,9C17.7,7.74 19,5.46 19,3H17A5,5 0 0,1 12,8A5,5 0 0,1 7,3H5C5,5.46 6.3,7.74 8.41,9C5.09,11 4,15.28 6,18.6C7.97,21.92 12.27,23 15.59,21C18.91,19.04 20,14.74 18,11.42C17.42,10.43 16.58,9.59 15.59,9M12,20A5,5 0 0,1 7,15A5,5 0 0,1 12,10A5,5 0 0,1 17,15A5,5 0 0,1 12,20Z";
|
|
7301
7301
|
var mdiZodiacVirgo = "M18.5,19.13C20,17.77 20,15.18 20,14A4,4 0 0,0 16,10C15.3,10 14.6,10.2 14,10.56V6A3,3 0 0,0 11,3C10.25,3 9.55,3.29 9,3.78C7.86,2.76 6.14,2.76 5,3.78C4.45,3.28 3.74,3 3,3V5A1,1 0 0,1 4,6V16H6V6A1,1 0 0,1 7,5A1,1 0 0,1 8,6V16H10V6A1,1 0 0,1 11,5A1,1 0 0,1 12,6V14C12,15.18 12,17.77 13.5,19.13C12.72,19.54 11.88,19.84 11,20V22C12.29,22 14.84,20.74 16,20.13C17.16,20.74 19.71,22 21,22V20C20.12,19.84 19.28,19.54 18.5,19.13M16,12A2,2 0 0,1 18,14C18,16.92 17.46,18 16,18C14.54,18 14,16.92 14,14A2,2 0 0,1 16,12Z";
|
|
7302
7302
|
|
|
7303
|
+
const rsiAi = ['M12.0032 7.49101V5.48507H9.99726V7.49101H12.0032Z', 'M12.0032 14.1378V9.49695H9.99726V15.5148H11.1131C11.3531 15.0184 11.6529 14.5562 12.0032 14.1378Z', 'M18.8843 11.9947C18.976 11.5103 19.024 11.0106 19.024 10.4999C19.024 6.07682 15.4233 2.47616 11.0002 2.47616C6.57713 2.47616 2.97646 6.07682 2.97646 10.4999C2.97646 14.7398 6.28503 18.224 10.4551 18.5054C10.4658 19.2115 10.5868 19.8911 10.8015 20.5277C5.35672 20.4217 0.97052 15.9699 0.97052 10.4999C0.97052 4.96352 5.46383 0.470215 11.0002 0.470215C16.5366 0.470215 21.0299 4.96352 21.0299 10.4999C21.0299 11.3074 20.9344 12.0926 20.7539 12.845C20.1854 12.4707 19.5562 12.1813 18.8843 11.9947Z', 'M19.6044 14.5515H21.0299L21.0298 17.3255L21.0299 21.4866H19.6044L19.6043 17.3255L19.6044 14.5515Z', 'M15.3163 14.5771H16.7166L19.327 21.4865H17.9068L17.2467 19.764H14.7662L14.1161 21.4865H12.6959L15.3163 14.5771ZM16.9966 18.8201L16.0165 15.9687L14.9963 18.8201H16.9966Z'];
|
|
7304
|
+
|
|
7303
7305
|
exports.mdiAbTesting = mdiAbTesting;
|
|
7304
7306
|
exports.mdiAbacus = mdiAbacus;
|
|
7305
7307
|
exports.mdiAbjadArabic = mdiAbjadArabic;
|
|
@@ -14596,4 +14598,5 @@ exports.mdiZodiacSagittarius = mdiZodiacSagittarius;
|
|
|
14596
14598
|
exports.mdiZodiacScorpio = mdiZodiacScorpio;
|
|
14597
14599
|
exports.mdiZodiacTaurus = mdiZodiacTaurus;
|
|
14598
14600
|
exports.mdiZodiacVirgo = mdiZodiacVirgo;
|
|
14601
|
+
exports.rsiAi = rsiAi;
|
|
14599
14602
|
//# sourceMappingURL=index.js.map
|