lawgic-dev-kit 0.7.1 → 0.8.2
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/components/atoms/Button/Button.js +29 -15
- package/dist/components/atoms/Button/Button.types.d.ts +3 -0
- package/dist/components/atoms/InformationDisclaimer/InformationDisclaimer.d.ts +4 -0
- package/dist/components/atoms/InformationDisclaimer/InformationDisclaimer.js +34 -0
- package/dist/components/atoms/InformationDisclaimer/InformationDisclaimer.styles.d.ts +2 -0
- package/dist/components/atoms/InformationDisclaimer/InformationDisclaimer.styles.js +13 -0
- package/dist/components/atoms/InformationDisclaimer/InformationDisclaimer.types.d.ts +9 -0
- package/dist/components/atoms/InformationDisclaimer/index.d.ts +1 -0
- package/dist/components/atoms/Tab/Tab.d.ts +1 -1
- package/dist/components/atoms/Tab/Tab.js +19 -12
- package/dist/components/atoms/index.d.ts +1 -0
- package/dist/components/molecules/Tabs/Tabs.d.ts +2 -2
- package/dist/components/molecules/Tabs/Tabs.js +83 -27
- package/dist/index.js +55 -53
- package/dist/lawgic-dev-kit.css +1 -1
- package/dist/lawgic-dev-kit.umd.js +69 -69
- package/dist/node_modules/@fortawesome/pro-regular-svg-icons/index.js +7 -2
- package/dist/src/components/atoms/Tab/Tab.d.ts +3 -0
- package/dist/src/components/molecules/Tabs/Tabs.d.ts +19 -0
- package/package.json +6 -5
|
@@ -3,11 +3,16 @@
|
|
|
3
3
|
* License - https://fontawesome.com/license (Commercial License)
|
|
4
4
|
* Copyright 2024 Fonticons, Inc.
|
|
5
5
|
*/
|
|
6
|
-
const
|
|
6
|
+
const c = {
|
|
7
|
+
prefix: "far",
|
|
8
|
+
iconName: "circle-info",
|
|
9
|
+
icon: [512, 512, ["info-circle"], "f05a", "M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336c-13.3 0-24 10.7-24 24s10.7 24 24 24l80 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-8 0 0-88c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l24 0 0 64-24 0zm40-144a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]
|
|
10
|
+
}, o = {
|
|
7
11
|
prefix: "far",
|
|
8
12
|
iconName: "chevron-down",
|
|
9
13
|
icon: [512, 512, [], "f078", "M239 401c9.4 9.4 24.6 9.4 33.9 0L465 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-175 175L81 175c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9L239 401z"]
|
|
10
14
|
};
|
|
11
15
|
export {
|
|
12
|
-
o as faChevronDown
|
|
16
|
+
o as faChevronDown,
|
|
17
|
+
c as faCircleInfo
|
|
13
18
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IconProp } from "@fortawesome/fontawesome-svg-core";
|
|
2
|
+
import { Tab } from "../../atoms";
|
|
3
|
+
interface Tab {
|
|
4
|
+
id: string | number;
|
|
5
|
+
label: string;
|
|
6
|
+
icon: IconProp;
|
|
7
|
+
href?: string;
|
|
8
|
+
}
|
|
9
|
+
interface TabsProps {
|
|
10
|
+
variant?: "default" | "underline";
|
|
11
|
+
tabs: Tab[];
|
|
12
|
+
activeTab: string | number;
|
|
13
|
+
onTabChange: (tab: string | number) => void;
|
|
14
|
+
direction?: "row" | "col";
|
|
15
|
+
className?: string;
|
|
16
|
+
showLabel?: boolean;
|
|
17
|
+
}
|
|
18
|
+
declare const Tabs: ({ variant, tabs, activeTab, onTabChange, className, direction, showLabel, }: TabsProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export default Tabs;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lawgic-dev-kit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.2",
|
|
4
4
|
"description": "Componentes de UI para Lawgic",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -69,21 +69,22 @@
|
|
|
69
69
|
"build:lib": "vite build && npm run build:types"
|
|
70
70
|
},
|
|
71
71
|
"peerDependencies": {
|
|
72
|
-
"react": "^18.0.0 || ^19.0.0",
|
|
73
|
-
"react-dom": "^18.0.0 || ^19.0.0",
|
|
74
72
|
"@fortawesome/fontawesome-svg-core": "^6.5.1",
|
|
75
73
|
"@fortawesome/free-solid-svg-icons": "^6.5.1",
|
|
76
74
|
"@fortawesome/pro-light-svg-icons": "^6.5.1",
|
|
77
75
|
"@fortawesome/pro-regular-svg-icons": "^6.5.2",
|
|
78
76
|
"@fortawesome/pro-solid-svg-icons": "^6.5.1",
|
|
79
|
-
"@fortawesome/react-fontawesome": "^0.2.0"
|
|
77
|
+
"@fortawesome/react-fontawesome": "^0.2.0",
|
|
78
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
79
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
82
|
"@floating-ui/dom": "^1.6.13",
|
|
83
83
|
"@floating-ui/react": "^0.27.5",
|
|
84
84
|
"clsx": "^2.1.1",
|
|
85
85
|
"date-fns": "^4.1.0",
|
|
86
|
-
"motion": "^12.5.0"
|
|
86
|
+
"motion": "^12.5.0",
|
|
87
|
+
"tailwindest": "^3.1.1"
|
|
87
88
|
},
|
|
88
89
|
"devDependencies": {
|
|
89
90
|
"@chromatic-com/storybook": "^3.2.5",
|