@voplus/morpho-document 6.1.47 → 6.1.48

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-document",
3
- "version": "6.1.47",
3
+ "version": "6.1.48",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://voplus.visualstudio.com/morpho-document/_git/morpho-document"
@@ -1,17 +0,0 @@
1
- import React from "react";
2
- declare const TButton: {
3
- (props: {
4
- children: React.ReactNode;
5
- className?: string;
6
- /** size of Button */
7
- size?: "small" | "middle" | "large";
8
- /** disabled Button */
9
- disabled?: boolean;
10
- ariaLabel?: string;
11
- onClick?: (e: React.MouseEvent<HTMLElement, MouseEvent>) => void;
12
- }): React.JSX.Element;
13
- defaultProps: {
14
- size: string;
15
- };
16
- };
17
- export default TButton;
@@ -1,13 +0,0 @@
1
- import React from "react";
2
- import classnames from "classnames";
3
- const TButton = (props) => {
4
- const { disabled, className, onClick, children, ariaLabel, size } = props;
5
- const small = "w-7 h-7 border-0 bg-transparent rounded hover:bg-slate-100";
6
- const middle = "w-9 h-9 rounded-lg hover:border-slate-300 hover:bg-slate-50";
7
- return (React.createElement("button", { disabled: disabled, onClick: onClick, className: classnames(className, size === "small" ? small : "", size === "middle" ? middle : "", "inline-flex items-center justify-center text-slate-500 cursor-pointer transition-all duration-200 hover:text-slate-600"), "aria-label": ariaLabel }, children));
8
- };
9
- TButton.defaultProps = {
10
- size: "small",
11
- };
12
- export default TButton;
13
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/TButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,MAAM,OAAO,GAAG,CAAC,KAShB,EAAE,EAAE;IACJ,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IAE1E,MAAM,KAAK,GAAG,4DAA4D,CAAC;IAE3E,MAAM,MAAM,GAAG,6DAA6D,CAAC;IAE7E,OAAO,CACN,gCACC,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,UAAU,CACpB,SAAS,EACT,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAC7B,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAC/B,wHAAwH,CACxH,gBACW,SAAS,IAEpB,QAAQ,CACD,CACT,CAAC;AACH,CAAC,CAAC;AAEF,OAAO,CAAC,YAAY,GAAG;IACtB,IAAI,EAAE,OAAO;CACb,CAAC;AAEF,eAAe,OAAO,CAAC"}