@vaneui/ui 0.3.1-alpha.20251129115555.bcd1100 → 0.3.1-alpha.20251130172447.8795285
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/themeContext.d.ts +17 -1
- package/dist/components/themeContext.d.ts.map +1 -1
- package/dist/components/ui/badge.d.ts +14 -189
- package/dist/components/ui/badge.d.ts.map +1 -1
- package/dist/components/ui/button.d.ts +14 -189
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/card.d.ts +8 -128
- package/dist/components/ui/card.d.ts.map +1 -1
- package/dist/components/ui/checkbox.d.ts +8 -88
- package/dist/components/ui/checkbox.d.ts.map +1 -1
- package/dist/components/ui/chip.d.ts +14 -2
- package/dist/components/ui/chip.d.ts.map +1 -1
- package/dist/components/ui/code.d.ts +8 -126
- package/dist/components/ui/code.d.ts.map +1 -1
- package/dist/components/ui/col.d.ts +8 -96
- package/dist/components/ui/col.d.ts.map +1 -1
- package/dist/components/ui/container.d.ts +8 -96
- package/dist/components/ui/container.d.ts.map +1 -1
- package/dist/components/ui/divider.d.ts +8 -71
- package/dist/components/ui/divider.d.ts.map +1 -1
- package/dist/components/ui/grid.d.ts +16 -405
- package/dist/components/ui/grid.d.ts.map +1 -1
- package/dist/components/ui/img.d.ts +8 -88
- package/dist/components/ui/img.d.ts.map +1 -1
- package/dist/components/ui/input.d.ts +8 -126
- package/dist/components/ui/input.d.ts.map +1 -1
- package/dist/components/ui/label.d.ts +8 -107
- package/dist/components/ui/label.d.ts.map +1 -1
- package/dist/components/ui/props/appearance.d.ts +0 -20
- package/dist/components/ui/props/appearance.d.ts.map +1 -1
- package/dist/components/ui/props/appearanceProps.d.ts +26 -0
- package/dist/components/ui/props/appearanceProps.d.ts.map +1 -0
- package/dist/components/ui/props/baseProps.d.ts +11 -0
- package/dist/components/ui/props/baseProps.d.ts.map +1 -0
- package/dist/components/ui/props/border.d.ts +0 -14
- package/dist/components/ui/props/border.d.ts.map +1 -1
- package/dist/components/ui/props/borderProps.d.ts +22 -0
- package/dist/components/ui/props/borderProps.d.ts.map +1 -0
- package/dist/components/ui/props/breakpoint.d.ts +0 -8
- package/dist/components/ui/props/breakpoint.d.ts.map +1 -1
- package/dist/components/ui/props/breakpointProps.d.ts +14 -0
- package/dist/components/ui/props/breakpointProps.d.ts.map +1 -0
- package/dist/components/ui/props/display.d.ts +0 -22
- package/dist/components/ui/props/display.d.ts.map +1 -1
- package/dist/components/ui/props/displayProps.d.ts +28 -0
- package/dist/components/ui/props/displayProps.d.ts.map +1 -0
- package/dist/components/ui/props/flexDirection.d.ts +0 -8
- package/dist/components/ui/props/flexDirection.d.ts.map +1 -1
- package/dist/components/ui/props/flexDirectionProps.d.ts +14 -0
- package/dist/components/ui/props/flexDirectionProps.d.ts.map +1 -0
- package/dist/components/ui/props/focusVisible.d.ts +0 -4
- package/dist/components/ui/props/focusVisible.d.ts.map +1 -1
- package/dist/components/ui/props/focusVisibleProps.d.ts +10 -0
- package/dist/components/ui/props/focusVisibleProps.d.ts.map +1 -0
- package/dist/components/ui/props/fontFamily.d.ts +0 -6
- package/dist/components/ui/props/fontFamily.d.ts.map +1 -1
- package/dist/components/ui/props/fontFamilyProps.d.ts +12 -0
- package/dist/components/ui/props/fontFamilyProps.d.ts.map +1 -0
- package/dist/components/ui/props/fontStyle.d.ts +0 -4
- package/dist/components/ui/props/fontStyle.d.ts.map +1 -1
- package/dist/components/ui/props/fontStyleProps.d.ts +10 -0
- package/dist/components/ui/props/fontStyleProps.d.ts.map +1 -0
- package/dist/components/ui/props/fontWeight.d.ts +0 -18
- package/dist/components/ui/props/fontWeight.d.ts.map +1 -1
- package/dist/components/ui/props/fontWeightProps.d.ts +24 -0
- package/dist/components/ui/props/fontWeightProps.d.ts.map +1 -0
- package/dist/components/ui/props/gap.d.ts +0 -4
- package/dist/components/ui/props/gap.d.ts.map +1 -1
- package/dist/components/ui/props/gapProps.d.ts +10 -0
- package/dist/components/ui/props/gapProps.d.ts.map +1 -0
- package/dist/components/ui/props/hide.d.ts +0 -8
- package/dist/components/ui/props/hide.d.ts.map +1 -1
- package/dist/components/ui/props/hideProps.d.ts +14 -0
- package/dist/components/ui/props/hideProps.d.ts.map +1 -0
- package/dist/components/ui/props/items.d.ts +0 -10
- package/dist/components/ui/props/items.d.ts.map +1 -1
- package/dist/components/ui/props/itemsProps.d.ts +16 -0
- package/dist/components/ui/props/itemsProps.d.ts.map +1 -0
- package/dist/components/ui/props/justify.d.ts +0 -16
- package/dist/components/ui/props/justify.d.ts.map +1 -1
- package/dist/components/ui/props/justifyProps.d.ts +22 -0
- package/dist/components/ui/props/justifyProps.d.ts.map +1 -0
- package/dist/components/ui/props/listStyle.d.ts +0 -4
- package/dist/components/ui/props/listStyle.d.ts.map +1 -1
- package/dist/components/ui/props/listStyleProps.d.ts +10 -0
- package/dist/components/ui/props/listStyleProps.d.ts.map +1 -0
- package/dist/components/ui/props/overflow.d.ts +0 -30
- package/dist/components/ui/props/overflow.d.ts.map +1 -1
- package/dist/components/ui/props/overflowProps.d.ts +36 -0
- package/dist/components/ui/props/overflowProps.d.ts.map +1 -0
- package/dist/components/ui/props/padding.d.ts +0 -4
- package/dist/components/ui/props/padding.d.ts.map +1 -1
- package/dist/components/ui/props/paddingProps.d.ts +10 -0
- package/dist/components/ui/props/paddingProps.d.ts.map +1 -0
- package/dist/components/ui/props/position.d.ts +0 -10
- package/dist/components/ui/props/position.d.ts.map +1 -1
- package/dist/components/ui/props/positionProps.d.ts +16 -0
- package/dist/components/ui/props/positionProps.d.ts.map +1 -0
- package/dist/components/ui/props/props.d.ts +34 -76
- package/dist/components/ui/props/props.d.ts.map +1 -1
- package/dist/components/ui/props/reverse.d.ts +0 -2
- package/dist/components/ui/props/reverse.d.ts.map +1 -1
- package/dist/components/ui/props/reverseProps.d.ts +8 -0
- package/dist/components/ui/props/reverseProps.d.ts.map +1 -0
- package/dist/components/ui/props/ring.d.ts +0 -4
- package/dist/components/ui/props/ring.d.ts.map +1 -1
- package/dist/components/ui/props/ringProps.d.ts +10 -0
- package/dist/components/ui/props/ringProps.d.ts.map +1 -0
- package/dist/components/ui/props/shadow.d.ts +0 -4
- package/dist/components/ui/props/shadow.d.ts.map +1 -1
- package/dist/components/ui/props/shadowProps.d.ts +10 -0
- package/dist/components/ui/props/shadowProps.d.ts.map +1 -0
- package/dist/components/ui/props/shape.d.ts +0 -6
- package/dist/components/ui/props/shape.d.ts.map +1 -1
- package/dist/components/ui/props/shapeProps.d.ts +12 -0
- package/dist/components/ui/props/shapeProps.d.ts.map +1 -0
- package/dist/components/ui/props/size.d.ts +0 -10
- package/dist/components/ui/props/size.d.ts.map +1 -1
- package/dist/components/ui/props/sizeProps.d.ts +16 -0
- package/dist/components/ui/props/sizeProps.d.ts.map +1 -0
- package/dist/components/ui/props/textAlign.d.ts +0 -8
- package/dist/components/ui/props/textAlign.d.ts.map +1 -1
- package/dist/components/ui/props/textAlignProps.d.ts +14 -0
- package/dist/components/ui/props/textAlignProps.d.ts.map +1 -0
- package/dist/components/ui/props/textDecoration.d.ts +0 -8
- package/dist/components/ui/props/textDecoration.d.ts.map +1 -1
- package/dist/components/ui/props/textDecorationProps.d.ts +14 -0
- package/dist/components/ui/props/textDecorationProps.d.ts.map +1 -0
- package/dist/components/ui/props/textTransform.d.ts +0 -8
- package/dist/components/ui/props/textTransform.d.ts.map +1 -1
- package/dist/components/ui/props/textTransformProps.d.ts +14 -0
- package/dist/components/ui/props/textTransformProps.d.ts.map +1 -0
- package/dist/components/ui/props/transparent.d.ts +0 -2
- package/dist/components/ui/props/transparent.d.ts.map +1 -1
- package/dist/components/ui/props/transparentProps.d.ts +8 -0
- package/dist/components/ui/props/transparentProps.d.ts.map +1 -0
- package/dist/components/ui/props/variant.d.ts +0 -4
- package/dist/components/ui/props/variant.d.ts.map +1 -1
- package/dist/components/ui/props/variantProps.d.ts +10 -0
- package/dist/components/ui/props/variantProps.d.ts.map +1 -0
- package/dist/components/ui/props/wrap.d.ts +0 -6
- package/dist/components/ui/props/wrap.d.ts.map +1 -1
- package/dist/components/ui/props/wrapProps.d.ts +12 -0
- package/dist/components/ui/props/wrapProps.d.ts.map +1 -0
- package/dist/components/ui/row.d.ts +8 -100
- package/dist/components/ui/row.d.ts.map +1 -1
- package/dist/components/ui/section.d.ts +8 -102
- package/dist/components/ui/section.d.ts.map +1 -1
- package/dist/components/ui/stack.d.ts +8 -102
- package/dist/components/ui/stack.d.ts.map +1 -1
- package/dist/components/ui/theme/badgeTheme.d.ts +1 -1
- package/dist/components/ui/theme/badgeTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/buttonTheme.d.ts +1 -1
- package/dist/components/ui/theme/buttonTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/cardTheme.d.ts +1 -1
- package/dist/components/ui/theme/cardTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/checkboxTheme.d.ts +1 -1
- package/dist/components/ui/theme/checkboxTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/chipTheme.d.ts +1 -1
- package/dist/components/ui/theme/chipTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/codeTheme.d.ts +1 -1
- package/dist/components/ui/theme/codeTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/colTheme.d.ts +1 -1
- package/dist/components/ui/theme/colTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/common/ComponentTheme.d.ts +1 -1
- package/dist/components/ui/theme/containerTheme.d.ts +1 -1
- package/dist/components/ui/theme/containerTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/dividerTheme.d.ts +1 -1
- package/dist/components/ui/theme/dividerTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/gridTheme.d.ts +1 -1
- package/dist/components/ui/theme/gridTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/imgTheme.d.ts +1 -1
- package/dist/components/ui/theme/imgTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/inputTheme.d.ts +1 -1
- package/dist/components/ui/theme/inputTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/labelTheme.d.ts +1 -1
- package/dist/components/ui/theme/labelTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/rowTheme.d.ts +1 -1
- package/dist/components/ui/theme/rowTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/sectionTheme.d.ts +1 -1
- package/dist/components/ui/theme/sectionTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/stackTheme.d.ts +1 -1
- package/dist/components/ui/theme/stackTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/typographyTheme.d.ts +1 -1
- package/dist/components/ui/theme/typographyTheme.d.ts.map +1 -1
- package/dist/components/ui/typography.d.ts +51 -108
- package/dist/components/ui/typography.d.ts.map +1 -1
- package/dist/index.esm.js +33 -659
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +32 -782
- package/dist/index.js.map +1 -1
- package/package.json +2 -3
|
@@ -17,7 +17,23 @@ import { CheckboxTheme, CheckTheme, CheckboxWrapperTheme } from './ui/theme/chec
|
|
|
17
17
|
import { LabelTheme } from './ui/theme/labelTheme';
|
|
18
18
|
import { ImgTheme } from './ui/theme/imgTheme';
|
|
19
19
|
import { InputTheme } from './ui/theme/inputTheme';
|
|
20
|
-
import { BadgeProps
|
|
20
|
+
import type { BadgeProps } from "./ui/badge";
|
|
21
|
+
import type { ButtonProps } from "./ui/button";
|
|
22
|
+
import type { CardProps } from "./ui/card";
|
|
23
|
+
import type { ChipProps } from "./ui/chip";
|
|
24
|
+
import type { CodeProps } from "./ui/code";
|
|
25
|
+
import type { ColProps } from "./ui/col";
|
|
26
|
+
import type { ContainerProps } from "./ui/container";
|
|
27
|
+
import type { DividerProps } from "./ui/divider";
|
|
28
|
+
import type { GridProps } from "./ui/grid";
|
|
29
|
+
import type { ListProps, TypographyProps } from "./ui/typography";
|
|
30
|
+
import type { RowProps } from "./ui/row";
|
|
31
|
+
import type { SectionProps } from "./ui/section";
|
|
32
|
+
import type { StackProps } from "./ui/stack";
|
|
33
|
+
import type { CheckboxProps } from "./ui/checkbox";
|
|
34
|
+
import type { LabelProps } from "./ui/label";
|
|
35
|
+
import type { ImgProps } from "./ui/img";
|
|
36
|
+
import type { InputProps } from "./ui/input";
|
|
21
37
|
import { DeepPartial } from "./utils/deepPartial";
|
|
22
38
|
export interface ThemeProps {
|
|
23
39
|
button: ComponentTheme<ButtonProps, ButtonTheme>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"themeContext.d.ts","sourceRoot":"","sources":["../../src/components/themeContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6C,MAAM,OAAO,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,WAAW,EAAsB,MAAM,wBAAwB,CAAC;AACzE,OAAO,EAAE,UAAU,EAAqB,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAE,SAAS,EAAoB,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,SAAS,EAAoB,MAAM,sBAAsB,CAAC;AACnE,OAAO,EACM,SAAS,EAOpB,eAAe,EAChB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,SAAS,EAAoB,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAmB,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAuB,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAyB,MAAM,2BAA2B,CAAC;AAClF,OAAO,EAAE,QAAQ,EAAmB,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAqB,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAuB,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5E,OAAO,EAAiG,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAChJ,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,oBAAoB,EAAwE,MAAM,0BAA0B,CAAC;AACjK,OAAO,EAAE,UAAU,EAAqB,MAAM,uBAAuB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OAAO,CAAC,eAAe,CAAC,aAAa,CAAC,CAAC,CAAC;KACnD,CAAC;IACF,KAAK,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC,CAAC;IAC7C,GAAG,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC,CAAC;IACzC,KAAK,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC,CAAC;CAC9C,CAAC;AA4EF,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,SAAS,CAAC;AAEhD,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,YAAY,CAAC,EAAE,iBAAiB,CAAC;IACjC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,UAAU,CAAC;IAClD,aAAa,CAAC,EAAE,aAAa,CAAC;CAC/B;AAED,wBAAgB,aAAa,CAC3B,EACE,QAAQ,EACR,KAAK,EAAE,WAAgB,EACvB,aAAa,EACb,YAAY,EACZ,aAAa,EACb,aAAuB,EACxB,EAAE,kBAAkB,2CA2CtB;AAED,wBAAgB,QAAQ,IAAI,UAAU,CAErC"}
|
|
@@ -1,190 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
/**
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
*
|
|
16
|
-
* // As a link
|
|
17
|
-
* <Badge href="/notifications" primary outlined>5 New</Badge>
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @param props - Badge props
|
|
21
|
-
* @param props.children - Badge content
|
|
22
|
-
* @param props.className - Additional CSS classes to merge with theme classes
|
|
23
|
-
*
|
|
24
|
-
|
|
25
|
-
* SIZE PROPS:
|
|
26
|
-
* @param props.xs - Extra small size
|
|
27
|
-
* @param props.sm - Small size
|
|
28
|
-
* @param props.md - Medium size (default)
|
|
29
|
-
* @param props.lg - Large size
|
|
30
|
-
* @param props.xl - Extra large size
|
|
31
|
-
*
|
|
32
|
-
|
|
33
|
-
* ALIGNMENT PROPS (Cross-axis):
|
|
34
|
-
* @param props.itemsStart - Align items to start (top/left)
|
|
35
|
-
* @param props.itemsEnd - Align items to end (bottom/right)
|
|
36
|
-
* @param props.itemsCenter - Align items to center
|
|
37
|
-
* @param props.itemsBaseline - Align items to baseline
|
|
38
|
-
* @param props.itemsStretch - Stretch items to fill container
|
|
39
|
-
*
|
|
40
|
-
|
|
41
|
-
* ALIGNMENT PROPS (Main-axis):
|
|
42
|
-
* @param props.justifyStart - Justify content to start
|
|
43
|
-
* @param props.justifyEnd - Justify content to end
|
|
44
|
-
* @param props.justifyCenter - Justify content to center
|
|
45
|
-
* @param props.justifyBetween - Space between items
|
|
46
|
-
* @param props.justifyAround - Space around items
|
|
47
|
-
* @param props.justifyEvenly - Space evenly between items
|
|
48
|
-
*
|
|
49
|
-
|
|
50
|
-
* POSITION PROPS:
|
|
51
|
-
* @param props.relative - Relative positioning
|
|
52
|
-
* @param props.absolute - Absolute positioning
|
|
53
|
-
* @param props.fixed - Fixed positioning
|
|
54
|
-
* @param props.sticky - Sticky positioning
|
|
55
|
-
* @param props.static - Static positioning
|
|
56
|
-
*
|
|
57
|
-
|
|
58
|
-
* DISPLAY PROPS:
|
|
59
|
-
* @param props.flex - Display as flex container
|
|
60
|
-
* @param props.block - Display as block
|
|
61
|
-
* @param props.inline - Display as inline
|
|
62
|
-
* @param props.inlineBlock - Display as inline-block
|
|
63
|
-
* @param props.inlineFlex - Display as inline-flex
|
|
64
|
-
* @param props.grid - Display as grid
|
|
65
|
-
* @param props.inlineGrid - Display as inline-grid
|
|
66
|
-
* @param props.contents - Display as contents
|
|
67
|
-
* @param props.hidden - Hide element (display: none)
|
|
68
|
-
*
|
|
69
|
-
|
|
70
|
-
* OVERFLOW PROPS:
|
|
71
|
-
* @param props.overflowAuto - Auto overflow on both axes
|
|
72
|
-
* @param props.overflowHidden - Hidden overflow on both axes
|
|
73
|
-
* @param props.overflowVisible - Visible overflow on both axes
|
|
74
|
-
* @param props.overflowScroll - Scrollable overflow on both axes
|
|
75
|
-
* @param props.overflowXAuto - Auto overflow on X axis
|
|
76
|
-
* @param props.overflowYAuto - Auto overflow on Y axis
|
|
77
|
-
* @param props.overflowXHidden - Hidden overflow on X axis
|
|
78
|
-
* @param props.overflowYHidden - Hidden overflow on Y axis
|
|
79
|
-
*
|
|
80
|
-
|
|
81
|
-
* FLEXBOX PROPS:
|
|
82
|
-
* @param props.wrap - Enable flex wrap
|
|
83
|
-
* @param props.reverse - Reverse the order of children
|
|
84
|
-
*
|
|
85
|
-
|
|
86
|
-
* LAYOUT PROPS:
|
|
87
|
-
* @param props.gap - Enable gap spacing between children
|
|
88
|
-
* @param props.noGap - Disable gap spacing
|
|
89
|
-
* @param props.padding - Enable internal padding
|
|
90
|
-
* @param props.noPadding - Disable internal padding
|
|
91
|
-
*
|
|
92
|
-
|
|
93
|
-
* FLEXBOX DIRECTION PROPS:
|
|
94
|
-
* @param props.row - Flex direction row (horizontal)
|
|
95
|
-
* @param props.column - Flex direction column (vertical)
|
|
96
|
-
* @param props.rowReverse - Flex direction row-reverse
|
|
97
|
-
* @param props.columnReverse - Flex direction column-reverse
|
|
98
|
-
*
|
|
99
|
-
|
|
100
|
-
* APPEARANCE PROPS:
|
|
101
|
-
* @param props.default - Default color appearance
|
|
102
|
-
* @param props.primary - Primary color appearance (blue)
|
|
103
|
-
* @param props.secondary - Secondary color appearance (gray)
|
|
104
|
-
* @param props.tertiary - Tertiary color appearance
|
|
105
|
-
* @param props.accent - Accent color appearance (rose)
|
|
106
|
-
* @param props.success - Success color appearance (green)
|
|
107
|
-
* @param props.danger - Danger color appearance (red)
|
|
108
|
-
* @param props.warning - Warning color appearance (amber)
|
|
109
|
-
* @param props.info - Info color appearance (cyan)
|
|
110
|
-
* @param props.link - Link color appearance
|
|
111
|
-
*
|
|
112
|
-
|
|
113
|
-
* BORDER PROPS:
|
|
114
|
-
* @param props.border - Enable border on all sides
|
|
115
|
-
* @param props.borderT - Enable border on top
|
|
116
|
-
* @param props.borderB - Enable border on bottom
|
|
117
|
-
* @param props.borderL - Enable border on left
|
|
118
|
-
* @param props.borderR - Enable border on right
|
|
119
|
-
* @param props.borderX - Enable border on left and right
|
|
120
|
-
* @param props.borderY - Enable border on top and bottom
|
|
121
|
-
* @param props.noBorder - Disable all borders
|
|
122
|
-
*
|
|
123
|
-
|
|
124
|
-
* VISUAL DECORATION PROPS:
|
|
125
|
-
* @param props.shadow - Enable drop shadow
|
|
126
|
-
* @param props.noShadow - Disable drop shadow
|
|
127
|
-
* @param props.ring - Enable focus ring
|
|
128
|
-
* @param props.noRing - Disable focus ring
|
|
129
|
-
* @param props.focusVisible - Enable focus-visible outline
|
|
130
|
-
* @param props.noFocusVisible - Disable focus-visible outline
|
|
131
|
-
*
|
|
132
|
-
|
|
133
|
-
* SHAPE PROPS:
|
|
134
|
-
* @param props.rounded - Medium rounded corners (default)
|
|
135
|
-
* @param props.pill - Fully rounded corners (circular)
|
|
136
|
-
* @param props.sharp - No rounded corners (square)
|
|
137
|
-
*
|
|
138
|
-
|
|
139
|
-
* FONT WEIGHT PROPS:
|
|
140
|
-
* @param props.thin - Thin font weight (100)
|
|
141
|
-
* @param props.extralight - Extra light font weight (200)
|
|
142
|
-
* @param props.light - Light font weight (300)
|
|
143
|
-
* @param props.normal - Normal font weight (400)
|
|
144
|
-
* @param props.medium - Medium font weight (500)
|
|
145
|
-
* @param props.semibold - Semibold font weight (600)
|
|
146
|
-
* @param props.bold - Bold font weight (700)
|
|
147
|
-
* @param props.extrabold - Extra bold font weight (800)
|
|
148
|
-
* @param props.black - Black font weight (900)
|
|
149
|
-
*
|
|
150
|
-
|
|
151
|
-
* FONT STYLE PROPS:
|
|
152
|
-
* @param props.italic - Italic font style
|
|
153
|
-
* @param props.notItalic - Not italic (normal) font style
|
|
154
|
-
*
|
|
155
|
-
|
|
156
|
-
* TEXT DECORATION PROPS:
|
|
157
|
-
* @param props.underline - Underline text decoration
|
|
158
|
-
* @param props.lineThrough - Line-through text decoration
|
|
159
|
-
* @param props.noUnderline - No text decoration
|
|
160
|
-
*
|
|
161
|
-
|
|
162
|
-
* TEXT TRANSFORM PROPS:
|
|
163
|
-
* @param props.uppercase - Transform text to uppercase
|
|
164
|
-
* @param props.lowercase - Transform text to lowercase
|
|
165
|
-
* @param props.capitalize - Capitalize first letter of each word
|
|
166
|
-
* @param props.normalCase - Normal text case (no transformation)
|
|
167
|
-
*
|
|
168
|
-
|
|
169
|
-
* FONT FAMILY PROPS:
|
|
170
|
-
* @param props.sans - Sans-serif font family (default)
|
|
171
|
-
* @param props.serif - Serif font family
|
|
172
|
-
* @param props.mono - Monospace font family
|
|
173
|
-
*
|
|
174
|
-
|
|
175
|
-
* TEXT ALIGNMENT PROPS:
|
|
176
|
-
* @param props.textLeft - Align text to left
|
|
177
|
-
* @param props.textCenter - Align text to center
|
|
178
|
-
* @param props.textRight - Align text to right
|
|
179
|
-
* @param props.textJustify - Justify text
|
|
180
|
-
*
|
|
181
|
-
|
|
182
|
-
* VARIANT PROPS:
|
|
183
|
-
* @param props.filled - Filled variant with solid background
|
|
184
|
-
* @param props.outlined - Outlined variant with border only
|
|
185
|
-
* @param props.ghost - Ghost variant with minimal styling
|
|
186
|
-
*
|
|
187
|
-
* @see {@link BadgeProps} for the complete type definition
|
|
188
|
-
*/
|
|
189
|
-
export declare const Badge: import("react").ForwardRefExoticComponent<BadgeProps & import("react").RefAttributes<HTMLSpanElement>>;
|
|
1
|
+
import type { BaseProps, SizeProps, HideProps, ItemsProps, JustifyProps, PositionProps, DisplayProps, OverflowProps, WrapProps, GapProps, FlexDirectionProps, ReverseProps, AppearanceProps, TransparentProps, BorderProps, ShadowProps, RingProps, FocusVisibleProps, ShapeProps, FontWeightProps, FontStyleProps, TextDecorationProps, TextTransformProps, FontFamilyProps, TextAlignProps, PaddingProps, VariantProps } from './props';
|
|
2
|
+
/** Badge component props */
|
|
3
|
+
export type BadgeProps = BaseProps & SizeProps & HideProps & ItemsProps & JustifyProps & PositionProps & DisplayProps & OverflowProps & WrapProps & GapProps & FlexDirectionProps & ReverseProps & AppearanceProps & TransparentProps & BorderProps & ShadowProps & RingProps & FocusVisibleProps & ShapeProps & FontWeightProps & FontStyleProps & TextDecorationProps & TextTransformProps & FontFamilyProps & TextAlignProps & PaddingProps & VariantProps & Omit<React.HTMLAttributes<HTMLSpanElement>, 'className' | 'children'> & Partial<Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'className' | 'children'>> & {
|
|
4
|
+
/** URL to navigate to (renders component as anchor tag) */
|
|
5
|
+
href?: string;
|
|
6
|
+
/** Custom HTML tag or React component to render as */
|
|
7
|
+
tag?: React.ElementType;
|
|
8
|
+
};
|
|
9
|
+
export declare const Badge: import("react").ForwardRefExoticComponent<BaseProps & SizeProps & HideProps & ItemsProps & JustifyProps & PositionProps & DisplayProps & OverflowProps & WrapProps & GapProps & FlexDirectionProps & ReverseProps & AppearanceProps & TransparentProps & BorderProps & ShadowProps & RingProps & FocusVisibleProps & ShapeProps & FontWeightProps & FontStyleProps & TextDecorationProps & TextTransformProps & FontFamilyProps & TextAlignProps & PaddingProps & VariantProps & Omit<import("react").HTMLAttributes<HTMLSpanElement>, "className" | "children"> & Partial<Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, "className" | "children">> & {
|
|
10
|
+
/** URL to navigate to (renders component as anchor tag) */
|
|
11
|
+
href?: string;
|
|
12
|
+
/** Custom HTML tag or React component to render as */
|
|
13
|
+
tag?: React.ElementType;
|
|
14
|
+
} & import("react").RefAttributes<HTMLSpanElement>>;
|
|
190
15
|
//# sourceMappingURL=badge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../src/components/ui/badge.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../src/components/ui/badge.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,SAAS,EACT,SAAS,EACT,SAAS,EACT,UAAU,EACV,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,aAAa,EACb,SAAS,EACT,QAAQ,EACR,kBAAkB,EAClB,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,eAAe,EACf,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,YAAY,EACZ,YAAY,EACb,MAAM,SAAS,CAAC;AAIjB,4BAA4B;AAC5B,MAAM,MAAM,UAAU,GAAG,SAAS,GAChC,SAAS,GACT,SAAS,GACT,UAAU,GACV,YAAY,GACZ,aAAa,GACb,YAAY,GACZ,aAAa,GACb,SAAS,GACT,QAAQ,GACR,kBAAkB,GAClB,YAAY,GACZ,eAAe,GACf,gBAAgB,GAChB,WAAW,GACX,WAAW,GACX,SAAS,GACT,iBAAiB,GACjB,UAAU,GACV,eAAe,GACf,cAAc,GACd,mBAAmB,GACnB,kBAAkB,GAClB,eAAe,GACf,cAAc,GACd,YAAY,GACZ,YAAY,GACZ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,EAAE,WAAW,GAAG,UAAU,CAAC,GACrE,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,WAAW,GAAG,UAAU,CAAC,CAAC,GAAG;IACzF,2DAA2D;IAC3D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,sDAAsD;IACtD,GAAG,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,KAAK;IANhB,2DAA2D;WACpD,MAAM;IACb,sDAAsD;UAChD,KAAK,CAAC,WAAW;mDAQxB,CAAA"}
|
|
@@ -1,190 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
/**
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
*
|
|
16
|
-
* // As a link
|
|
17
|
-
* <Button href="/about">Learn More</Button>
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @param props - Button props
|
|
21
|
-
* @param props.children - Button content
|
|
22
|
-
* @param props.className - Additional CSS classes to merge with theme classes
|
|
23
|
-
*
|
|
24
|
-
|
|
25
|
-
* SIZE PROPS:
|
|
26
|
-
* @param props.xs - Extra small size
|
|
27
|
-
* @param props.sm - Small size
|
|
28
|
-
* @param props.md - Medium size (default)
|
|
29
|
-
* @param props.lg - Large size
|
|
30
|
-
* @param props.xl - Extra large size
|
|
31
|
-
*
|
|
32
|
-
|
|
33
|
-
* ALIGNMENT PROPS (Cross-axis):
|
|
34
|
-
* @param props.itemsStart - Align items to start (top/left)
|
|
35
|
-
* @param props.itemsEnd - Align items to end (bottom/right)
|
|
36
|
-
* @param props.itemsCenter - Align items to center
|
|
37
|
-
* @param props.itemsBaseline - Align items to baseline
|
|
38
|
-
* @param props.itemsStretch - Stretch items to fill container
|
|
39
|
-
*
|
|
40
|
-
|
|
41
|
-
* ALIGNMENT PROPS (Main-axis):
|
|
42
|
-
* @param props.justifyStart - Justify content to start
|
|
43
|
-
* @param props.justifyEnd - Justify content to end
|
|
44
|
-
* @param props.justifyCenter - Justify content to center
|
|
45
|
-
* @param props.justifyBetween - Space between items
|
|
46
|
-
* @param props.justifyAround - Space around items
|
|
47
|
-
* @param props.justifyEvenly - Space evenly between items
|
|
48
|
-
*
|
|
49
|
-
|
|
50
|
-
* POSITION PROPS:
|
|
51
|
-
* @param props.relative - Relative positioning
|
|
52
|
-
* @param props.absolute - Absolute positioning
|
|
53
|
-
* @param props.fixed - Fixed positioning
|
|
54
|
-
* @param props.sticky - Sticky positioning
|
|
55
|
-
* @param props.static - Static positioning
|
|
56
|
-
*
|
|
57
|
-
|
|
58
|
-
* DISPLAY PROPS:
|
|
59
|
-
* @param props.flex - Display as flex container
|
|
60
|
-
* @param props.block - Display as block
|
|
61
|
-
* @param props.inline - Display as inline
|
|
62
|
-
* @param props.inlineBlock - Display as inline-block
|
|
63
|
-
* @param props.inlineFlex - Display as inline-flex
|
|
64
|
-
* @param props.grid - Display as grid
|
|
65
|
-
* @param props.inlineGrid - Display as inline-grid
|
|
66
|
-
* @param props.contents - Display as contents
|
|
67
|
-
* @param props.hidden - Hide element (display: none)
|
|
68
|
-
*
|
|
69
|
-
|
|
70
|
-
* OVERFLOW PROPS:
|
|
71
|
-
* @param props.overflowAuto - Auto overflow on both axes
|
|
72
|
-
* @param props.overflowHidden - Hidden overflow on both axes
|
|
73
|
-
* @param props.overflowVisible - Visible overflow on both axes
|
|
74
|
-
* @param props.overflowScroll - Scrollable overflow on both axes
|
|
75
|
-
* @param props.overflowXAuto - Auto overflow on X axis
|
|
76
|
-
* @param props.overflowYAuto - Auto overflow on Y axis
|
|
77
|
-
* @param props.overflowXHidden - Hidden overflow on X axis
|
|
78
|
-
* @param props.overflowYHidden - Hidden overflow on Y axis
|
|
79
|
-
*
|
|
80
|
-
|
|
81
|
-
* FLEXBOX PROPS:
|
|
82
|
-
* @param props.wrap - Enable flex wrap
|
|
83
|
-
* @param props.reverse - Reverse the order of children
|
|
84
|
-
*
|
|
85
|
-
|
|
86
|
-
* LAYOUT PROPS:
|
|
87
|
-
* @param props.gap - Enable gap spacing between children
|
|
88
|
-
* @param props.noGap - Disable gap spacing
|
|
89
|
-
* @param props.padding - Enable internal padding
|
|
90
|
-
* @param props.noPadding - Disable internal padding
|
|
91
|
-
*
|
|
92
|
-
|
|
93
|
-
* FLEXBOX DIRECTION PROPS:
|
|
94
|
-
* @param props.row - Flex direction row (horizontal)
|
|
95
|
-
* @param props.column - Flex direction column (vertical)
|
|
96
|
-
* @param props.rowReverse - Flex direction row-reverse
|
|
97
|
-
* @param props.columnReverse - Flex direction column-reverse
|
|
98
|
-
*
|
|
99
|
-
|
|
100
|
-
* APPEARANCE PROPS:
|
|
101
|
-
* @param props.default - Default color appearance
|
|
102
|
-
* @param props.primary - Primary color appearance (blue)
|
|
103
|
-
* @param props.secondary - Secondary color appearance (gray)
|
|
104
|
-
* @param props.tertiary - Tertiary color appearance
|
|
105
|
-
* @param props.accent - Accent color appearance (rose)
|
|
106
|
-
* @param props.success - Success color appearance (green)
|
|
107
|
-
* @param props.danger - Danger color appearance (red)
|
|
108
|
-
* @param props.warning - Warning color appearance (amber)
|
|
109
|
-
* @param props.info - Info color appearance (cyan)
|
|
110
|
-
* @param props.link - Link color appearance
|
|
111
|
-
*
|
|
112
|
-
|
|
113
|
-
* BORDER PROPS:
|
|
114
|
-
* @param props.border - Enable border on all sides
|
|
115
|
-
* @param props.borderT - Enable border on top
|
|
116
|
-
* @param props.borderB - Enable border on bottom
|
|
117
|
-
* @param props.borderL - Enable border on left
|
|
118
|
-
* @param props.borderR - Enable border on right
|
|
119
|
-
* @param props.borderX - Enable border on left and right
|
|
120
|
-
* @param props.borderY - Enable border on top and bottom
|
|
121
|
-
* @param props.noBorder - Disable all borders
|
|
122
|
-
*
|
|
123
|
-
|
|
124
|
-
* VISUAL DECORATION PROPS:
|
|
125
|
-
* @param props.shadow - Enable drop shadow
|
|
126
|
-
* @param props.noShadow - Disable drop shadow
|
|
127
|
-
* @param props.ring - Enable focus ring
|
|
128
|
-
* @param props.noRing - Disable focus ring
|
|
129
|
-
* @param props.focusVisible - Enable focus-visible outline
|
|
130
|
-
* @param props.noFocusVisible - Disable focus-visible outline
|
|
131
|
-
*
|
|
132
|
-
|
|
133
|
-
* SHAPE PROPS:
|
|
134
|
-
* @param props.rounded - Medium rounded corners (default)
|
|
135
|
-
* @param props.pill - Fully rounded corners (circular)
|
|
136
|
-
* @param props.sharp - No rounded corners (square)
|
|
137
|
-
*
|
|
138
|
-
|
|
139
|
-
* FONT WEIGHT PROPS:
|
|
140
|
-
* @param props.thin - Thin font weight (100)
|
|
141
|
-
* @param props.extralight - Extra light font weight (200)
|
|
142
|
-
* @param props.light - Light font weight (300)
|
|
143
|
-
* @param props.normal - Normal font weight (400)
|
|
144
|
-
* @param props.medium - Medium font weight (500)
|
|
145
|
-
* @param props.semibold - Semibold font weight (600)
|
|
146
|
-
* @param props.bold - Bold font weight (700)
|
|
147
|
-
* @param props.extrabold - Extra bold font weight (800)
|
|
148
|
-
* @param props.black - Black font weight (900)
|
|
149
|
-
*
|
|
150
|
-
|
|
151
|
-
* FONT STYLE PROPS:
|
|
152
|
-
* @param props.italic - Italic font style
|
|
153
|
-
* @param props.notItalic - Not italic (normal) font style
|
|
154
|
-
*
|
|
155
|
-
|
|
156
|
-
* TEXT DECORATION PROPS:
|
|
157
|
-
* @param props.underline - Underline text decoration
|
|
158
|
-
* @param props.lineThrough - Line-through text decoration
|
|
159
|
-
* @param props.noUnderline - No text decoration
|
|
160
|
-
*
|
|
161
|
-
|
|
162
|
-
* TEXT TRANSFORM PROPS:
|
|
163
|
-
* @param props.uppercase - Transform text to uppercase
|
|
164
|
-
* @param props.lowercase - Transform text to lowercase
|
|
165
|
-
* @param props.capitalize - Capitalize first letter of each word
|
|
166
|
-
* @param props.normalCase - Normal text case (no transformation)
|
|
167
|
-
*
|
|
168
|
-
|
|
169
|
-
* FONT FAMILY PROPS:
|
|
170
|
-
* @param props.sans - Sans-serif font family (default)
|
|
171
|
-
* @param props.serif - Serif font family
|
|
172
|
-
* @param props.mono - Monospace font family
|
|
173
|
-
*
|
|
174
|
-
|
|
175
|
-
* TEXT ALIGNMENT PROPS:
|
|
176
|
-
* @param props.textLeft - Align text to left
|
|
177
|
-
* @param props.textCenter - Align text to center
|
|
178
|
-
* @param props.textRight - Align text to right
|
|
179
|
-
* @param props.textJustify - Justify text
|
|
180
|
-
*
|
|
181
|
-
|
|
182
|
-
* VARIANT PROPS:
|
|
183
|
-
* @param props.filled - Filled variant with solid background
|
|
184
|
-
* @param props.outlined - Outlined variant with border only
|
|
185
|
-
* @param props.ghost - Ghost variant with minimal styling
|
|
186
|
-
*
|
|
187
|
-
* @see {@link ButtonProps} for the complete type definition
|
|
188
|
-
*/
|
|
189
|
-
export declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
1
|
+
import type { BaseProps, SizeProps, HideProps, ItemsProps, JustifyProps, PositionProps, DisplayProps, OverflowProps, WrapProps, GapProps, FlexDirectionProps, ReverseProps, AppearanceProps, TransparentProps, BorderProps, ShadowProps, RingProps, FocusVisibleProps, ShapeProps, FontWeightProps, FontStyleProps, TextDecorationProps, TextTransformProps, FontFamilyProps, TextAlignProps, PaddingProps, VariantProps } from './props';
|
|
2
|
+
/** Button component props */
|
|
3
|
+
export type ButtonProps = BaseProps & SizeProps & HideProps & ItemsProps & JustifyProps & PositionProps & DisplayProps & OverflowProps & WrapProps & GapProps & FlexDirectionProps & ReverseProps & AppearanceProps & TransparentProps & BorderProps & ShadowProps & RingProps & FocusVisibleProps & ShapeProps & FontWeightProps & FontStyleProps & TextDecorationProps & TextTransformProps & FontFamilyProps & TextAlignProps & PaddingProps & VariantProps & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'className' | 'children'> & Partial<Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'className' | 'children'>> & {
|
|
4
|
+
/** URL to navigate to (renders component as anchor tag) */
|
|
5
|
+
href?: string;
|
|
6
|
+
/** Custom HTML tag or React component to render as */
|
|
7
|
+
tag?: React.ElementType;
|
|
8
|
+
};
|
|
9
|
+
export declare const Button: import("react").ForwardRefExoticComponent<BaseProps & SizeProps & HideProps & ItemsProps & JustifyProps & PositionProps & DisplayProps & OverflowProps & WrapProps & GapProps & FlexDirectionProps & ReverseProps & AppearanceProps & TransparentProps & BorderProps & ShadowProps & RingProps & FocusVisibleProps & ShapeProps & FontWeightProps & FontStyleProps & TextDecorationProps & TextTransformProps & FontFamilyProps & TextAlignProps & PaddingProps & VariantProps & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "className" | "children"> & Partial<Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, "className" | "children">> & {
|
|
10
|
+
/** URL to navigate to (renders component as anchor tag) */
|
|
11
|
+
href?: string;
|
|
12
|
+
/** Custom HTML tag or React component to render as */
|
|
13
|
+
tag?: React.ElementType;
|
|
14
|
+
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
190
15
|
//# sourceMappingURL=button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,SAAS,EACT,SAAS,EACT,SAAS,EACT,UAAU,EACV,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,aAAa,EACb,SAAS,EACT,QAAQ,EACR,kBAAkB,EAClB,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,eAAe,EACf,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,YAAY,EACZ,YAAY,EACb,MAAM,SAAS,CAAC;AAIjB,6BAA6B;AAC7B,MAAM,MAAM,WAAW,GAAG,SAAS,GACjC,SAAS,GACT,SAAS,GACT,UAAU,GACV,YAAY,GACZ,aAAa,GACb,YAAY,GACZ,aAAa,GACb,SAAS,GACT,QAAQ,GACR,kBAAkB,GAClB,YAAY,GACZ,eAAe,GACf,gBAAgB,GAChB,WAAW,GACX,WAAW,GACX,SAAS,GACT,iBAAiB,GACjB,UAAU,GACV,eAAe,GACf,cAAc,GACd,mBAAmB,GACnB,kBAAkB,GAClB,eAAe,GACf,cAAc,GACd,YAAY,GACZ,YAAY,GACZ,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,WAAW,GAAG,UAAU,CAAC,GAC7E,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,WAAW,GAAG,UAAU,CAAC,CAAC,GAAG;IACzF,2DAA2D;IAC3D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,sDAAsD;IACtD,GAAG,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,MAAM;IANjB,2DAA2D;WACpD,MAAM;IACb,sDAAsD;UAChD,KAAK,CAAC,WAAW;qDAQxB,CAAC"}
|
|
@@ -1,131 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
tertiary?: boolean | undefined;
|
|
10
|
-
success?: boolean | undefined;
|
|
11
|
-
danger?: boolean | undefined;
|
|
12
|
-
warning?: boolean | undefined;
|
|
13
|
-
info?: boolean | undefined;
|
|
14
|
-
link?: boolean | undefined;
|
|
15
|
-
border?: boolean | undefined;
|
|
16
|
-
borderT?: boolean | undefined;
|
|
17
|
-
borderB?: boolean | undefined;
|
|
18
|
-
borderL?: boolean | undefined;
|
|
19
|
-
borderR?: boolean | undefined;
|
|
20
|
-
borderX?: boolean | undefined;
|
|
21
|
-
borderY?: boolean | undefined;
|
|
22
|
-
noBorder?: boolean | undefined;
|
|
23
|
-
mobileCol?: boolean | undefined;
|
|
24
|
-
tabletCol?: boolean | undefined;
|
|
25
|
-
laptopCol?: boolean | undefined;
|
|
26
|
-
desktopCol?: boolean | undefined;
|
|
27
|
-
inline?: boolean | undefined;
|
|
28
|
-
block?: boolean | undefined;
|
|
29
|
-
inlineBlock?: boolean | undefined;
|
|
30
|
-
flex?: boolean | undefined;
|
|
31
|
-
inlineFlex?: boolean | undefined;
|
|
32
|
-
grid?: boolean | undefined;
|
|
33
|
-
inlineGrid?: boolean | undefined;
|
|
34
|
-
contents?: boolean | undefined;
|
|
35
|
-
table?: boolean | undefined;
|
|
36
|
-
tableCell?: boolean | undefined;
|
|
37
|
-
hidden?: boolean | undefined;
|
|
38
|
-
row?: boolean | undefined;
|
|
39
|
-
column?: boolean | undefined;
|
|
40
|
-
rowReverse?: boolean | undefined;
|
|
41
|
-
columnReverse?: boolean | undefined;
|
|
42
|
-
sans?: boolean | undefined;
|
|
43
|
-
serif?: boolean | undefined;
|
|
44
|
-
mono?: boolean | undefined;
|
|
45
|
-
italic?: boolean | undefined;
|
|
46
|
-
notItalic?: boolean | undefined;
|
|
47
|
-
thin?: boolean | undefined;
|
|
48
|
-
extralight?: boolean | undefined;
|
|
49
|
-
light?: boolean | undefined;
|
|
50
|
-
normal?: boolean | undefined;
|
|
51
|
-
medium?: boolean | undefined;
|
|
52
|
-
semibold?: boolean | undefined;
|
|
53
|
-
bold?: boolean | undefined;
|
|
54
|
-
extrabold?: boolean | undefined;
|
|
55
|
-
black?: boolean | undefined;
|
|
56
|
-
gap?: boolean | undefined;
|
|
57
|
-
noGap?: boolean | undefined;
|
|
58
|
-
mobileHide?: boolean | undefined;
|
|
59
|
-
tabletHide?: boolean | undefined;
|
|
60
|
-
laptopHide?: boolean | undefined;
|
|
61
|
-
desktopHide?: boolean | undefined;
|
|
62
|
-
itemsStart?: boolean | undefined;
|
|
63
|
-
itemsEnd?: boolean | undefined;
|
|
64
|
-
itemsCenter?: boolean | undefined;
|
|
65
|
-
itemsBaseline?: boolean | undefined;
|
|
66
|
-
itemsStretch?: boolean | undefined;
|
|
67
|
-
justifyStart?: boolean | undefined;
|
|
68
|
-
justifyEnd?: boolean | undefined;
|
|
69
|
-
justifyCenter?: boolean | undefined;
|
|
70
|
-
justifyBetween?: boolean | undefined;
|
|
71
|
-
justifyAround?: boolean | undefined;
|
|
72
|
-
justifyEvenly?: boolean | undefined;
|
|
73
|
-
justifyStretch?: boolean | undefined;
|
|
74
|
-
justifyBaseline?: boolean | undefined;
|
|
75
|
-
overflowAuto?: boolean | undefined;
|
|
76
|
-
overflowHidden?: boolean | undefined;
|
|
77
|
-
overflowClip?: boolean | undefined;
|
|
78
|
-
overflowVisible?: boolean | undefined;
|
|
79
|
-
overflowScroll?: boolean | undefined;
|
|
80
|
-
overflowXAuto?: boolean | undefined;
|
|
81
|
-
overflowYAuto?: boolean | undefined;
|
|
82
|
-
overflowXHidden?: boolean | undefined;
|
|
83
|
-
overflowYHidden?: boolean | undefined;
|
|
84
|
-
overflowXClip?: boolean | undefined;
|
|
85
|
-
overflowYClip?: boolean | undefined;
|
|
86
|
-
overflowXVisible?: boolean | undefined;
|
|
87
|
-
overflowYVisible?: boolean | undefined;
|
|
88
|
-
overflowXScroll?: boolean | undefined;
|
|
89
|
-
overflowYScroll?: boolean | undefined;
|
|
90
|
-
padding?: boolean | undefined;
|
|
91
|
-
noPadding?: boolean | undefined;
|
|
92
|
-
relative?: boolean | undefined;
|
|
93
|
-
absolute?: boolean | undefined;
|
|
94
|
-
fixed?: boolean | undefined;
|
|
95
|
-
sticky?: boolean | undefined;
|
|
96
|
-
static?: boolean | undefined;
|
|
97
|
-
reverse?: boolean | undefined;
|
|
98
|
-
ring?: boolean | undefined;
|
|
99
|
-
noRing?: boolean | undefined;
|
|
100
|
-
shadow?: boolean | undefined;
|
|
101
|
-
noShadow?: boolean | undefined;
|
|
102
|
-
pill?: boolean | undefined;
|
|
103
|
-
sharp?: boolean | undefined;
|
|
104
|
-
rounded?: boolean | undefined;
|
|
105
|
-
xs?: boolean | undefined;
|
|
106
|
-
sm?: boolean | undefined;
|
|
107
|
-
md?: boolean | undefined;
|
|
108
|
-
lg?: boolean | undefined;
|
|
109
|
-
xl?: boolean | undefined;
|
|
110
|
-
textLeft?: boolean | undefined;
|
|
111
|
-
textCenter?: boolean | undefined;
|
|
112
|
-
textRight?: boolean | undefined;
|
|
113
|
-
textJustify?: boolean | undefined;
|
|
114
|
-
underline?: boolean | undefined;
|
|
115
|
-
lineThrough?: boolean | undefined;
|
|
116
|
-
noUnderline?: boolean | undefined;
|
|
117
|
-
overline?: boolean | undefined;
|
|
118
|
-
uppercase?: boolean | undefined;
|
|
119
|
-
lowercase?: boolean | undefined;
|
|
120
|
-
capitalize?: boolean | undefined;
|
|
121
|
-
normalCase?: boolean | undefined;
|
|
122
|
-
transparent?: boolean | undefined;
|
|
123
|
-
filled?: boolean | undefined;
|
|
124
|
-
outline?: boolean | undefined;
|
|
125
|
-
flexWrap?: boolean | undefined;
|
|
126
|
-
flexNoWrap?: boolean | undefined;
|
|
127
|
-
flexWrapReverse?: boolean | undefined;
|
|
128
|
-
} & {
|
|
1
|
+
import type { BaseProps, FontWeightProps, FontStyleProps, TextDecorationProps, TextTransformProps, FontFamilyProps, TextAlignProps, SizeProps, HideProps, ItemsProps, JustifyProps, PositionProps, DisplayProps, OverflowProps, WrapProps, GapProps, FlexDirectionProps, ReverseProps, BreakpointProps, AppearanceProps, TransparentProps, BorderProps, ShadowProps, RingProps, ShapeProps, PaddingProps, VariantProps } from "./props";
|
|
2
|
+
/** Card component props */
|
|
3
|
+
export type CardProps = BaseProps & FontWeightProps & FontStyleProps & TextDecorationProps & TextTransformProps & FontFamilyProps & TextAlignProps & SizeProps & HideProps & ItemsProps & JustifyProps & PositionProps & DisplayProps & OverflowProps & WrapProps & GapProps & FlexDirectionProps & ReverseProps & BreakpointProps & AppearanceProps & TransparentProps & BorderProps & ShadowProps & RingProps & ShapeProps & PaddingProps & VariantProps & Omit<React.HTMLAttributes<HTMLDivElement>, 'className' | 'children'> & {
|
|
4
|
+
/** Custom HTML tag or React component to render as */
|
|
5
|
+
tag?: React.ElementType;
|
|
6
|
+
};
|
|
7
|
+
export declare const Card: import("react").ForwardRefExoticComponent<BaseProps & FontWeightProps & FontStyleProps & TextDecorationProps & TextTransformProps & FontFamilyProps & TextAlignProps & SizeProps & HideProps & ItemsProps & JustifyProps & PositionProps & DisplayProps & OverflowProps & WrapProps & GapProps & FlexDirectionProps & ReverseProps & BreakpointProps & AppearanceProps & TransparentProps & BorderProps & ShadowProps & RingProps & ShapeProps & PaddingProps & VariantProps & Omit<import("react").HTMLAttributes<HTMLDivElement>, "className" | "children"> & {
|
|
8
|
+
/** Custom HTML tag or React component to render as */
|
|
129
9
|
tag?: React.ElementType;
|
|
130
10
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
131
11
|
//# sourceMappingURL=card.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../src/components/ui/card.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../src/components/ui/card.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,SAAS,EACT,eAAe,EACf,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,SAAS,EACT,SAAS,EACT,UAAU,EACV,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,aAAa,EACb,SAAS,EACT,QAAQ,EACR,kBAAkB,EAClB,YAAY,EACZ,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,SAAS,EACT,UAAU,EACV,YAAY,EACZ,YAAY,EACb,MAAM,SAAS,CAAC;AAIjB,2BAA2B;AAC3B,MAAM,MAAM,SAAS,GAAG,SAAS,GAC/B,eAAe,GACf,cAAc,GACd,mBAAmB,GACnB,kBAAkB,GAClB,eAAe,GACf,cAAc,GACd,SAAS,GACT,SAAS,GACT,UAAU,GACV,YAAY,GACZ,aAAa,GACb,YAAY,GACZ,aAAa,GACb,SAAS,GACT,QAAQ,GACR,kBAAkB,GAClB,YAAY,GACZ,eAAe,GACf,eAAe,GACf,gBAAgB,GAChB,WAAW,GACX,WAAW,GACX,SAAS,GACT,UAAU,GACV,YAAY,GACZ,YAAY,GACZ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,WAAW,GAAG,UAAU,CAAC,GAAG;IACvE,sDAAsD;IACtD,GAAG,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,IAAI;IAJf,sDAAsD;UAChD,KAAK,CAAC,WAAW;kDAQxB,CAAC"}
|