@evolve.ui/basketball-training 1.0.1 → 1.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/evolve-ui.entries.json +51 -0
- package/package.json +2 -2
- package/src/components/Badge.tsx +7 -0
- package/src/components/Button.tsx +15 -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
|
@@ -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,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evolve.ui/basketball-training",
|
|
3
3
|
"dependencies": {
|
|
4
|
-
"@evolve.ui/core-components": "1.0
|
|
4
|
+
"@evolve.ui/core-components": "1.1.0",
|
|
5
5
|
"clsx": "^2.1.1",
|
|
6
6
|
"tailwind-merge": "^3.4.0"
|
|
7
7
|
},
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"react": ">=18",
|
|
11
11
|
"react-dom": ">=18"
|
|
12
12
|
},
|
|
13
|
-
"version": "1.0
|
|
13
|
+
"version": "1.1.0",
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|
|
16
16
|
"url": "git+https://github.com/dbarrett24/evolve-ui.git",
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Button as CoreButton, type ButtonProps as CoreButtonProps } from '@evolve.ui/core-components';
|
|
2
|
+
import { cn } from '@evolve.ui/theme-system';
|
|
3
|
+
|
|
4
|
+
export type ButtonProps = CoreButtonProps;
|
|
5
|
+
|
|
6
|
+
type Props = CoreButtonProps;
|
|
7
|
+
|
|
8
|
+
export const Button = ({ className, ...props }: Props) => (
|
|
9
|
+
<CoreButton
|
|
10
|
+
className={cn('shadow-md', className)}
|
|
11
|
+
{...props}
|
|
12
|
+
/>
|
|
13
|
+
);
|
|
14
|
+
|
|
15
|
+
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';
|