@evolve.ui/basketball-training 1.0.1 → 1.1.1
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/Button.cjs +1 -2
- package/Button.cjs.map +1 -1
- package/Button.d.cts.map +1 -1
- package/Button.d.mts.map +1 -1
- package/Button.mjs +1 -2
- package/Button.mjs.map +1 -1
- package/evolve-ui.entries.json +51 -0
- package/package.json +2 -4
- package/src/components/Badge.tsx +7 -0
- package/src/components/Button.tsx +14 -0
- package/src/components/Callout.tsx +7 -0
- package/src/components/Checkbox.tsx +2 -0
- package/src/components/IconButton.tsx +7 -0
- package/src/components/InfoIconTooltip.tsx +10 -0
- package/src/components/Radio.tsx +2 -0
- package/src/components/Tooltip.tsx +7 -0
- package/src/index.ts +31 -0
package/Button.cjs
CHANGED
|
@@ -5,10 +5,9 @@ Object.defineProperties(exports, {
|
|
|
5
5
|
});
|
|
6
6
|
let _evolve_ui_core_components = require("@evolve.ui/core-components");
|
|
7
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
|
-
let _evolve_ui_theme_system = require("@evolve.ui/theme-system");
|
|
9
8
|
//#region src/components/Button.tsx
|
|
10
9
|
const Button = ({ className, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_evolve_ui_core_components.Button, {
|
|
11
|
-
className
|
|
10
|
+
className,
|
|
12
11
|
...props
|
|
13
12
|
});
|
|
14
13
|
Button.displayName = "BasketballButton";
|
package/Button.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.cjs","names":["CoreButton"],"sources":["../src/components/Button.tsx"],"sourcesContent":["import { Button as CoreButton, type ButtonProps as CoreButtonProps } from '@evolve.ui/core-components';\
|
|
1
|
+
{"version":3,"file":"Button.cjs","names":["CoreButton"],"sources":["../src/components/Button.tsx"],"sourcesContent":["import { Button as CoreButton, type ButtonProps as CoreButtonProps } from '@evolve.ui/core-components';\n\nexport type ButtonProps = CoreButtonProps;\n\ntype Props = CoreButtonProps;\n\nexport const Button = ({ className, ...props }: Props) => (\n <CoreButton\n className={className}\n {...props}\n />\n);\n\nButton.displayName = 'BasketballButton';\n"],"mappings":";;;;;;;AAMA,MAAa,UAAU,EAAE,WAAW,GAAG,YACnC,iBAAA,GAAA,kBAAA,IAAA,CAACA,2BAAAA,QAAD;CACe;CACX,GAAI;AACP,CAAA;AAGL,OAAO,cAAc"}
|
package/Button.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.cts","names":[],"sources":["../src/components/Button.tsx"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Button.d.cts","names":[],"sources":["../src/components/Button.tsx"],"mappings":";;;KAEY,WAAA,GAAc,aAAe;AAAA,KAEpC,KAAA,GAAQ,aAAe;AAAA,cAEf,MAAA;EAAA;;;KAAmC,KAAK,+BAAA,GAAA,CAAA,OAAA"}
|
package/Button.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.mts","names":[],"sources":["../src/components/Button.tsx"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Button.d.mts","names":[],"sources":["../src/components/Button.tsx"],"mappings":";;;KAEY,WAAA,GAAc,aAAe;AAAA,KAEpC,KAAA,GAAQ,aAAe;AAAA,cAEf,MAAA;EAAA;;;KAAmC,KAAK,+BAAA,GAAA,CAAA,OAAA"}
|
package/Button.mjs
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { Button as Button$1 } from "@evolve.ui/core-components";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
import { cn } from "@evolve.ui/theme-system";
|
|
5
4
|
//#region src/components/Button.tsx
|
|
6
5
|
const Button = ({ className, ...props }) => /* @__PURE__ */ jsx(Button$1, {
|
|
7
|
-
className
|
|
6
|
+
className,
|
|
8
7
|
...props
|
|
9
8
|
});
|
|
10
9
|
Button.displayName = "BasketballButton";
|
package/Button.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.mjs","names":["CoreButton"],"sources":["../src/components/Button.tsx"],"sourcesContent":["import { Button as CoreButton, type ButtonProps as CoreButtonProps } from '@evolve.ui/core-components';\
|
|
1
|
+
{"version":3,"file":"Button.mjs","names":["CoreButton"],"sources":["../src/components/Button.tsx"],"sourcesContent":["import { Button as CoreButton, type ButtonProps as CoreButtonProps } from '@evolve.ui/core-components';\n\nexport type ButtonProps = CoreButtonProps;\n\ntype Props = CoreButtonProps;\n\nexport const Button = ({ className, ...props }: Props) => (\n <CoreButton\n className={className}\n {...props}\n />\n);\n\nButton.displayName = 'BasketballButton';\n"],"mappings":";;;AAMA,MAAa,UAAU,EAAE,WAAW,GAAG,YACnC,oBAACA,UAAD;CACe;CACX,GAAI;AACP,CAAA;AAGL,OAAO,cAAc"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"entries": [
|
|
3
|
+
{
|
|
4
|
+
"exportName": "index",
|
|
5
|
+
"filePath": "src/index.ts",
|
|
6
|
+
"source": "entries"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"exportName": "Badge",
|
|
10
|
+
"filePath": "src/components/Badge.tsx",
|
|
11
|
+
"source": "clientEntries"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"exportName": "Button",
|
|
15
|
+
"filePath": "src/components/Button.tsx",
|
|
16
|
+
"source": "clientEntries"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"exportName": "Callout",
|
|
20
|
+
"filePath": "src/components/Callout.tsx",
|
|
21
|
+
"source": "clientEntries"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"exportName": "Checkbox",
|
|
25
|
+
"filePath": "src/components/Checkbox.tsx",
|
|
26
|
+
"source": "clientEntries"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"exportName": "IconButton",
|
|
30
|
+
"filePath": "src/components/IconButton.tsx",
|
|
31
|
+
"source": "clientEntries"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"exportName": "InfoIconTooltip",
|
|
35
|
+
"filePath": "src/components/InfoIconTooltip.tsx",
|
|
36
|
+
"source": "clientEntries"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"exportName": "Radio",
|
|
40
|
+
"filePath": "src/components/Radio.tsx",
|
|
41
|
+
"source": "clientEntries"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"exportName": "Tooltip",
|
|
45
|
+
"filePath": "src/components/Tooltip.tsx",
|
|
46
|
+
"source": "clientEntries"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"package": "@evolve.ui/basketball-training",
|
|
50
|
+
"schemaVersion": 1
|
|
51
|
+
}
|
package/package.json
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evolve.ui/basketball-training",
|
|
3
3
|
"dependencies": {
|
|
4
|
-
"@evolve.ui/core-components": "1.0
|
|
5
|
-
"clsx": "^2.1.1",
|
|
6
|
-
"tailwind-merge": "^3.4.0"
|
|
4
|
+
"@evolve.ui/core-components": "1.2.0"
|
|
7
5
|
},
|
|
8
6
|
"peerDependencies": {
|
|
9
7
|
"@evolve.ui/theme-system": ">=1.0.1",
|
|
10
8
|
"react": ">=18",
|
|
11
9
|
"react-dom": ">=18"
|
|
12
10
|
},
|
|
13
|
-
"version": "1.
|
|
11
|
+
"version": "1.1.1",
|
|
14
12
|
"repository": {
|
|
15
13
|
"type": "git",
|
|
16
14
|
"url": "git+https://github.com/dbarrett24/evolve-ui.git",
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Button as CoreButton, type ButtonProps as CoreButtonProps } from '@evolve.ui/core-components';
|
|
2
|
+
|
|
3
|
+
export type ButtonProps = CoreButtonProps;
|
|
4
|
+
|
|
5
|
+
type Props = CoreButtonProps;
|
|
6
|
+
|
|
7
|
+
export const Button = ({ className, ...props }: Props) => (
|
|
8
|
+
<CoreButton
|
|
9
|
+
className={className}
|
|
10
|
+
{...props}
|
|
11
|
+
/>
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
Button.displayName = 'BasketballButton';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Callout as CoreCallout, type CalloutProps as CoreCalloutProps } from '@evolve.ui/core-components';
|
|
2
|
+
|
|
3
|
+
export type CalloutProps = CoreCalloutProps;
|
|
4
|
+
|
|
5
|
+
export const Callout = (props: CalloutProps) => <CoreCallout {...props} />;
|
|
6
|
+
|
|
7
|
+
Callout.displayName = 'BasketballCallout';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IconButton as CoreIconButton, type IconButtonProps as CoreIconButtonProps } from '@evolve.ui/core-components';
|
|
2
|
+
|
|
3
|
+
export type IconButtonProps = CoreIconButtonProps;
|
|
4
|
+
|
|
5
|
+
export const IconButton = (props: IconButtonProps) => <CoreIconButton {...props} />;
|
|
6
|
+
|
|
7
|
+
IconButton.displayName = 'BasketballIconButton';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {
|
|
2
|
+
InfoIconTooltip as CoreInfoIconTooltip,
|
|
3
|
+
type InfoIconTooltipProps as CoreInfoIconTooltipProps,
|
|
4
|
+
} from '@evolve.ui/core-components';
|
|
5
|
+
|
|
6
|
+
export type InfoIconTooltipProps = CoreInfoIconTooltipProps;
|
|
7
|
+
|
|
8
|
+
export const InfoIconTooltip = (props: InfoIconTooltipProps) => <CoreInfoIconTooltip {...props} />;
|
|
9
|
+
|
|
10
|
+
InfoIconTooltip.displayName = 'BasketballInfoIconTooltip';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Tooltip as CoreTooltip, type TooltipProps as CoreTooltipProps } from '@evolve.ui/core-components';
|
|
2
|
+
|
|
3
|
+
export type TooltipProps = CoreTooltipProps;
|
|
4
|
+
|
|
5
|
+
export const Tooltip = (props: TooltipProps) => <CoreTooltip {...props} />;
|
|
6
|
+
|
|
7
|
+
Tooltip.displayName = 'BasketballTooltip';
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// Components
|
|
2
|
+
export { Badge } from './components/Badge';
|
|
3
|
+
export type { BadgeProps } from './components/Badge';
|
|
4
|
+
export { Button } from './components/Button';
|
|
5
|
+
export type { ButtonProps } from './components/Button';
|
|
6
|
+
export { Callout } from './components/Callout';
|
|
7
|
+
export type { CalloutProps } from './components/Callout';
|
|
8
|
+
export { Checkbox, CheckboxGroup, CheckboxOption } from './components/Checkbox';
|
|
9
|
+
export type { GroupProps } from './components/Checkbox';
|
|
10
|
+
export { IconButton } from './components/IconButton';
|
|
11
|
+
export type { IconButtonProps } from './components/IconButton';
|
|
12
|
+
export { InfoIconTooltip } from './components/InfoIconTooltip';
|
|
13
|
+
export type { InfoIconTooltipProps } from './components/InfoIconTooltip';
|
|
14
|
+
export { Radio, RadioGroup, RadioOption } from './components/Radio';
|
|
15
|
+
export { Tooltip } from './components/Tooltip';
|
|
16
|
+
export type { TooltipProps } from './components/Tooltip';
|
|
17
|
+
|
|
18
|
+
// Re-export core types for convenience
|
|
19
|
+
export type {
|
|
20
|
+
BadgeColor,
|
|
21
|
+
BadgeEmphasis,
|
|
22
|
+
BadgeSize,
|
|
23
|
+
ButtonStyle,
|
|
24
|
+
ButtonVariant,
|
|
25
|
+
CalloutButtonConfig,
|
|
26
|
+
CalloutStatus,
|
|
27
|
+
IconButtonSize,
|
|
28
|
+
} from '@evolve.ui/core-components';
|
|
29
|
+
|
|
30
|
+
// Re-export theme utilities
|
|
31
|
+
export { cn } from '@evolve.ui/theme-system';
|