odaptos_design_system 1.4.58 → 1.4.60
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/Cards/Card.d.ts +4 -2
- package/dist/index.d.ts +1 -0
- package/dist/odaptos_design_system.cjs.development.js +9 -4
- package/dist/odaptos_design_system.cjs.development.js.map +1 -1
- package/dist/odaptos_design_system.cjs.production.min.js +1 -1
- package/dist/odaptos_design_system.cjs.production.min.js.map +1 -1
- package/dist/odaptos_design_system.esm.js +9 -5
- package/dist/odaptos_design_system.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/Cards/Card.tsx +16 -3
- package/src/Icons/Miscellaneous/EarthIcon.tsx +3 -3
- package/src/index.ts +1 -0
package/dist/Cards/Card.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React, { HTMLAttributes } from 'react';
|
|
2
|
-
export interface CardProps extends HTMLAttributes<
|
|
2
|
+
export interface CardProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
3
|
children: JSX.Element;
|
|
4
4
|
className: string;
|
|
5
|
+
onMouseEnter: () => void;
|
|
6
|
+
onMouseLeave: () => void;
|
|
5
7
|
}
|
|
6
|
-
export declare const Card: ({ children, className }: CardProps) => React.JSX.Element;
|
|
8
|
+
export declare const Card: ({ children, onMouseEnter, onMouseLeave, className, }: CardProps) => React.JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -45,5 +45,6 @@ export * from './Typography/Caption';
|
|
|
45
45
|
export * from './Typography/Text';
|
|
46
46
|
export * from './Typography/TextForButton';
|
|
47
47
|
export * from './Typography/TextForDropDownItem';
|
|
48
|
+
export * from './Typography/TextWithLink';
|
|
48
49
|
export * from './Typography/Title';
|
|
49
50
|
export * from './utils/getIconSize';
|
|
@@ -3688,17 +3688,17 @@ function EarthIcon({
|
|
|
3688
3688
|
fillRule: "evenodd",
|
|
3689
3689
|
clipRule: "evenodd",
|
|
3690
3690
|
d: "M2.15 12C2.15 14.6124 3.18776 17.1178 5.035 18.965C6.88223 20.8122 9.38762 21.85 12 21.85C14.6124 21.85 17.1178 20.8122 18.965 18.965C20.8122 17.1178 21.85 14.6124 21.85 12C21.85 9.38762 20.8122 6.88223 18.965 5.035C17.1178 3.18776 14.6124 2.15 12 2.15C9.38762 2.15 6.88223 3.18776 5.035 5.035C3.18776 6.88223 2.15 9.38762 2.15 12ZM4.04505 19.955C1.93526 17.8452 0.75 14.9837 0.75 12C0.75 9.01631 1.93526 6.15483 4.04505 4.04505C6.15483 1.93526 9.01631 0.75 12 0.75C14.9837 0.75 17.8452 1.93526 19.955 4.04505C22.0647 6.15483 23.25 9.01631 23.25 12C23.25 14.9837 22.0647 17.8452 19.955 19.955C17.8452 22.0647 14.9837 23.25 12 23.25C9.01631 23.25 6.15483 22.0647 4.04505 19.955Z",
|
|
3691
|
-
fill:
|
|
3691
|
+
fill: fill
|
|
3692
3692
|
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3693
3693
|
fillRule: "evenodd",
|
|
3694
3694
|
clipRule: "evenodd",
|
|
3695
3695
|
d: "M4.07747 18.2515L5 20.8L6 15.75H7.08C7.30808 15.7508 7.53325 15.6988 7.73794 15.5982C7.94264 15.4976 8.1213 15.3511 8.26 15.17C8.40286 14.9931 8.50181 14.7849 8.54874 14.5624C8.59567 14.34 8.58925 14.1095 8.53 13.89L7.78 10.89C7.70141 10.5648 7.51563 10.2755 7.2526 10.0687C6.98957 9.86187 6.66459 9.74962 6.33 9.75H1L1.50679 11.15L6.33 11.15L6.33159 11.15C6.3518 11.15 6.37143 11.1568 6.38732 11.1692C6.4032 11.1817 6.41442 11.1992 6.41917 11.2189L7.1718 14.2296L7.17836 14.2548C7.18001 14.2609 7.18019 14.2673 7.17888 14.2735C7.17758 14.2797 7.17483 14.2854 7.17086 14.2904C7.16332 14.2997 7.1559 14.3091 7.1486 14.3187C7.1411 14.3284 7.13144 14.3364 7.12038 14.3418C7.10932 14.3472 7.09714 14.3501 7.08481 14.35L6 14.35C5.33164 14.35 4.75649 14.8224 4.62667 15.4781L4.07747 18.2515Z",
|
|
3696
|
-
fill:
|
|
3696
|
+
fill: fill
|
|
3697
3697
|
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3698
3698
|
fillRule: "evenodd",
|
|
3699
3699
|
clipRule: "evenodd",
|
|
3700
3700
|
d: "M21.1163 6.64524C21.0779 6.64839 21.0392 6.65 21 6.65H16.9184C16.8982 6.64998 16.8786 6.65676 16.8627 6.66925C16.8468 6.68174 16.8356 6.69921 16.8308 6.71886L16.8282 6.72956L16.0782 9.72955L16.074 9.7458C16.0724 9.75193 16.0723 9.75834 16.0736 9.76452C16.075 9.7707 16.0778 9.77647 16.0818 9.78136C16.0919 9.79362 16.1018 9.80606 16.1114 9.81866C16.1189 9.82845 16.1286 9.83637 16.1396 9.84181C16.1507 9.84724 16.1629 9.85005 16.1752 9.85001L16.18 9.84999L17.76 9.85C18.4456 9.85 19.0304 10.3466 19.1415 11.0231L19.9207 15.7681C19.9248 15.7907 19.9366 15.8111 19.954 15.8261C19.9709 15.8405 19.992 15.8489 20.0141 15.85H21.8833L22 17.25H20C19.6488 17.2455 19.3103 17.118 19.0435 16.8896C18.7767 16.6611 18.5985 16.3463 18.54 16L17.76 11.25H16.18C15.9519 11.2508 15.7267 11.1988 15.5221 11.0982C15.3174 10.9976 15.1387 10.8511 15 10.67C14.8554 10.494 14.7547 10.2862 14.706 10.0637C14.6573 9.84118 14.6621 9.6103 14.72 9.39L15.47 6.39C15.5486 6.06477 15.7344 5.77546 15.9974 5.56867C16.2604 5.36187 16.5854 5.24962 16.92 5.25H21L21.1163 6.64524Z",
|
|
3701
|
-
fill:
|
|
3701
|
+
fill: fill
|
|
3702
3702
|
})), /*#__PURE__*/React__default.createElement("defs", null, /*#__PURE__*/React__default.createElement("clipPath", {
|
|
3703
3703
|
id: "clip0_2944_42782"
|
|
3704
3704
|
}, /*#__PURE__*/React__default.createElement("rect", {
|
|
@@ -5278,9 +5278,13 @@ styleInject(css_248z$7);
|
|
|
5278
5278
|
|
|
5279
5279
|
const Card = ({
|
|
5280
5280
|
children,
|
|
5281
|
+
onMouseEnter,
|
|
5282
|
+
onMouseLeave,
|
|
5281
5283
|
className
|
|
5282
5284
|
}) => /*#__PURE__*/React__default.createElement("div", {
|
|
5283
|
-
className: `${styles$7.card} ${className}
|
|
5285
|
+
className: `${styles$7.card} ${className}`,
|
|
5286
|
+
onMouseEnter: onMouseEnter,
|
|
5287
|
+
onMouseLeave: onMouseLeave
|
|
5284
5288
|
}, children);
|
|
5285
5289
|
|
|
5286
5290
|
var css_248z$8 = ".CardButton-modules_card_button__t90XV{align-items:center;background:var(--color-neutral-basics-white,#fff);border-radius:1rem;box-shadow:0 1px 3px 1px rgba(0,0,0,.08),0 1px 2px 0 rgba(0,0,0,.15);cursor:pointer;display:flex;flex-direction:column;gap:1.5rem;height:14.25rem;justify-content:center;padding:1rem;width:16.5rem}.CardButton-modules_card_button__t90XV:hover{border:1px solid var(--sdColorPrimary500);outline:0 solid transparent;padding:1rem;transform:translateY(-.5rem);transition:all .2s ease-in-out}";
|
|
@@ -8275,6 +8279,7 @@ exports.Text = Text;
|
|
|
8275
8279
|
exports.TextForButton = TextForButton;
|
|
8276
8280
|
exports.TextForDropDownItem = TextForDropDownItem;
|
|
8277
8281
|
exports.TextInput = TextInput;
|
|
8282
|
+
exports.TextWithLink = TextWithLink;
|
|
8278
8283
|
exports.Textarea = Textarea;
|
|
8279
8284
|
exports.TimePicker = TimePicker;
|
|
8280
8285
|
exports.Title = Title;
|