@expcat/tigercat-react 0.0.65 → 0.0.67

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.
Files changed (196) hide show
  1. package/dist/styles/index.css +4 -0
  2. package/dist/styles/index.d.mts +2 -0
  3. package/package.json +12 -9
  4. package/dist/chunk-2DOPHSZP.js +0 -32
  5. package/dist/chunk-2TS6X5RA.js +0 -73
  6. package/dist/chunk-2Y327ZU4.js +0 -493
  7. package/dist/chunk-3OF7XPIQ.js +0 -90
  8. package/dist/chunk-3WPKVV4N.js +0 -140
  9. package/dist/chunk-5FRENLDC.js +0 -194
  10. package/dist/chunk-5QKMQRCW.js +0 -89
  11. package/dist/chunk-5ZVSFIZD.js +0 -50
  12. package/dist/chunk-6MGEGOYJ.js +0 -108
  13. package/dist/chunk-6PUSRC6S.js +0 -68
  14. package/dist/chunk-72ZRDBXN.js +0 -25
  15. package/dist/chunk-77D7VQMG.js +0 -43
  16. package/dist/chunk-7P6PHSFM.js +0 -548
  17. package/dist/chunk-AG6GVQ5O.js +0 -271
  18. package/dist/chunk-AQ6DHCP6.js +0 -53
  19. package/dist/chunk-AQQRWISY.js +0 -184
  20. package/dist/chunk-C5EFBJBR.js +0 -540
  21. package/dist/chunk-D3I2SY7X.js +0 -301
  22. package/dist/chunk-DZJUFU55.js +0 -300
  23. package/dist/chunk-EI2GHMQS.js +0 -37
  24. package/dist/chunk-ENR3RIMM.js +0 -205
  25. package/dist/chunk-EQWQXURG.js +0 -18
  26. package/dist/chunk-EUHWE7MN.js +0 -267
  27. package/dist/chunk-FAKTU64M.js +0 -67
  28. package/dist/chunk-FQ6UHRAO.js +0 -499
  29. package/dist/chunk-GX74TC62.js +0 -54
  30. package/dist/chunk-HDDBBZQH.js +0 -321
  31. package/dist/chunk-IFY46RWU.js +0 -25
  32. package/dist/chunk-IQINYCU6.js +0 -99
  33. package/dist/chunk-IY4LEJYF.js +0 -78
  34. package/dist/chunk-JW64IJP2.js +0 -210
  35. package/dist/chunk-KUCFT2OA.js +0 -43
  36. package/dist/chunk-LNKI6HQ3.js +0 -152
  37. package/dist/chunk-LXA2YBAO.js +0 -38
  38. package/dist/chunk-MKWXJZ3T.js +0 -74
  39. package/dist/chunk-NEULKOYJ.js +0 -48
  40. package/dist/chunk-NI2WNZRT.js +0 -38
  41. package/dist/chunk-OFCKGWTS.js +0 -12
  42. package/dist/chunk-OTRGVENC.js +0 -305
  43. package/dist/chunk-P273E6XE.js +0 -219
  44. package/dist/chunk-Q3DPJHNM.js +0 -407
  45. package/dist/chunk-QFVE7GKD.js +0 -109
  46. package/dist/chunk-QL6OBKEN.js +0 -84
  47. package/dist/chunk-QL6UEG3U.js +0 -27
  48. package/dist/chunk-QORSSZX4.js +0 -144
  49. package/dist/chunk-R4JSBXGG.js +0 -12
  50. package/dist/chunk-R5BQHZWB.js +0 -698
  51. package/dist/chunk-R7MS42PL.js +0 -90
  52. package/dist/chunk-TB2UHDOZ.js +0 -19
  53. package/dist/chunk-TBIEWDY5.js +0 -175
  54. package/dist/chunk-TJFS44SH.js +0 -48
  55. package/dist/chunk-TZ26HQAW.js +0 -85
  56. package/dist/chunk-U4ZVEPYD.js +0 -71
  57. package/dist/chunk-UFAXJVMD.js +0 -120
  58. package/dist/chunk-VJJ76I7U.js +0 -19
  59. package/dist/chunk-VO4WDK4K.js +0 -37
  60. package/dist/chunk-VSF4DF7N.js +0 -84
  61. package/dist/chunk-VVO4V4IK.js +0 -56
  62. package/dist/chunk-WK5HN4OH.js +0 -113
  63. package/dist/chunk-XZDJ5FRB.js +0 -333
  64. package/dist/chunk-YE2M2HNM.js +0 -168
  65. package/dist/chunk-YYGTJKP5.js +0 -39
  66. package/dist/chunk-ZREFCRX3.js +0 -52
  67. package/dist/components/Alert.d.ts +0 -24
  68. package/dist/components/Alert.js +0 -10
  69. package/dist/components/Avatar.d.ts +0 -12
  70. package/dist/components/Avatar.js +0 -10
  71. package/dist/components/Badge.d.ts +0 -12
  72. package/dist/components/Badge.js +0 -10
  73. package/dist/components/Breadcrumb.d.ts +0 -13
  74. package/dist/components/Breadcrumb.js +0 -14
  75. package/dist/components/BreadcrumbItem.d.ts +0 -21
  76. package/dist/components/BreadcrumbItem.js +0 -11
  77. package/dist/components/Button.d.ts +0 -8
  78. package/dist/components/Button.js +0 -10
  79. package/dist/components/Card.d.ts +0 -33
  80. package/dist/components/Card.js +0 -10
  81. package/dist/components/Checkbox.d.ts +0 -48
  82. package/dist/components/Checkbox.js +0 -11
  83. package/dist/components/CheckboxGroup.d.ts +0 -39
  84. package/dist/components/CheckboxGroup.js +0 -14
  85. package/dist/components/Code.d.ts +0 -9
  86. package/dist/components/Code.js +0 -16
  87. package/dist/components/Col.d.ts +0 -7
  88. package/dist/components/Col.js +0 -11
  89. package/dist/components/ConfigProvider.d.ts +0 -14
  90. package/dist/components/ConfigProvider.js +0 -14
  91. package/dist/components/Container.d.ts +0 -13
  92. package/dist/components/Container.js +0 -10
  93. package/dist/components/Content.d.ts +0 -9
  94. package/dist/components/Content.js +0 -10
  95. package/dist/components/DatePicker.d.ts +0 -24
  96. package/dist/components/DatePicker.js +0 -10
  97. package/dist/components/Descriptions.d.ts +0 -53
  98. package/dist/components/Descriptions.js +0 -16
  99. package/dist/components/Divider.d.ts +0 -12
  100. package/dist/components/Divider.js +0 -10
  101. package/dist/components/Drawer.d.ts +0 -19
  102. package/dist/components/Drawer.js +0 -11
  103. package/dist/components/Dropdown.d.ts +0 -22
  104. package/dist/components/Dropdown.js +0 -16
  105. package/dist/components/DropdownItem.d.ts +0 -17
  106. package/dist/components/DropdownItem.js +0 -13
  107. package/dist/components/DropdownMenu.d.ts +0 -13
  108. package/dist/components/DropdownMenu.js +0 -10
  109. package/dist/components/Footer.d.ts +0 -9
  110. package/dist/components/Footer.js +0 -10
  111. package/dist/components/Form.d.ts +0 -56
  112. package/dist/components/Form.js +0 -14
  113. package/dist/components/FormItem.d.ts +0 -16
  114. package/dist/components/FormItem.js +0 -11
  115. package/dist/components/Header.d.ts +0 -9
  116. package/dist/components/Header.js +0 -10
  117. package/dist/components/Icon.d.ts +0 -9
  118. package/dist/components/Icon.js +0 -10
  119. package/dist/components/Input.d.ts +0 -28
  120. package/dist/components/Input.js +0 -10
  121. package/dist/components/Layout.d.ts +0 -9
  122. package/dist/components/Layout.js +0 -10
  123. package/dist/components/Link.d.ts +0 -10
  124. package/dist/components/Link.js +0 -10
  125. package/dist/components/List.d.ts +0 -94
  126. package/dist/components/List.js +0 -12
  127. package/dist/components/Loading.d.ts +0 -8
  128. package/dist/components/Loading.js +0 -10
  129. package/dist/components/Menu.d.ts +0 -35
  130. package/dist/components/Menu.js +0 -14
  131. package/dist/components/MenuItem.d.ts +0 -20
  132. package/dist/components/MenuItem.js +0 -11
  133. package/dist/components/MenuItemGroup.d.ts +0 -16
  134. package/dist/components/MenuItemGroup.js +0 -12
  135. package/dist/components/Message.d.ts +0 -44
  136. package/dist/components/Message.js +0 -20
  137. package/dist/components/Modal.d.ts +0 -41
  138. package/dist/components/Modal.js +0 -11
  139. package/dist/components/Notification.d.ts +0 -40
  140. package/dist/components/Notification.js +0 -20
  141. package/dist/components/Pagination.d.ts +0 -11
  142. package/dist/components/Pagination.js +0 -16
  143. package/dist/components/Popconfirm.d.ts +0 -34
  144. package/dist/components/Popconfirm.js +0 -10
  145. package/dist/components/Popover.d.ts +0 -14
  146. package/dist/components/Popover.js +0 -10
  147. package/dist/components/Progress.d.ts +0 -8
  148. package/dist/components/Progress.js +0 -10
  149. package/dist/components/Radio.d.ts +0 -20
  150. package/dist/components/Radio.js +0 -11
  151. package/dist/components/RadioGroup.d.ts +0 -28
  152. package/dist/components/RadioGroup.js +0 -14
  153. package/dist/components/Row.d.ts +0 -11
  154. package/dist/components/Row.js +0 -14
  155. package/dist/components/Select.d.ts +0 -23
  156. package/dist/components/Select.js +0 -10
  157. package/dist/components/Sidebar.d.ts +0 -9
  158. package/dist/components/Sidebar.js +0 -10
  159. package/dist/components/Skeleton.d.ts +0 -7
  160. package/dist/components/Skeleton.js +0 -10
  161. package/dist/components/Slider.d.ts +0 -12
  162. package/dist/components/Slider.js +0 -10
  163. package/dist/components/Space.d.ts +0 -11
  164. package/dist/components/Space.js +0 -10
  165. package/dist/components/Steps.d.ts +0 -31
  166. package/dist/components/Steps.js +0 -14
  167. package/dist/components/StepsItem.d.ts +0 -36
  168. package/dist/components/StepsItem.js +0 -10
  169. package/dist/components/SubMenu.d.ts +0 -20
  170. package/dist/components/SubMenu.js +0 -13
  171. package/dist/components/Switch.d.ts +0 -12
  172. package/dist/components/Switch.js +0 -10
  173. package/dist/components/TabPane.d.ts +0 -42
  174. package/dist/components/TabPane.js +0 -10
  175. package/dist/components/Table.d.ts +0 -46
  176. package/dist/components/Table.js +0 -10
  177. package/dist/components/Tabs.d.ts +0 -43
  178. package/dist/components/Tabs.js +0 -14
  179. package/dist/components/Tag.d.ts +0 -16
  180. package/dist/components/Tag.js +0 -10
  181. package/dist/components/Text.d.ts +0 -9
  182. package/dist/components/Text.js +0 -10
  183. package/dist/components/Textarea.d.ts +0 -13
  184. package/dist/components/Textarea.js +0 -10
  185. package/dist/components/TimePicker.d.ts +0 -28
  186. package/dist/components/TimePicker.js +0 -10
  187. package/dist/components/Timeline.d.ts +0 -47
  188. package/dist/components/Timeline.js +0 -10
  189. package/dist/components/Tooltip.d.ts +0 -15
  190. package/dist/components/Tooltip.js +0 -10
  191. package/dist/components/Tree.d.ts +0 -154
  192. package/dist/components/Tree.js +0 -16
  193. package/dist/components/Upload.d.ts +0 -16
  194. package/dist/components/Upload.js +0 -11
  195. package/dist/index.d.ts +0 -77
  196. package/dist/index.js +0 -364
@@ -1,168 +0,0 @@
1
- 'use strict';
2
-
3
- var tigercatCore = require('@expcat/tigercat-core');
4
- var jsxRuntime = require('react/jsx-runtime');
5
-
6
- // src/components/Progress.tsx
7
- var Progress = ({
8
- variant = "primary",
9
- size = "md",
10
- type = "line",
11
- percentage = 0,
12
- status = "normal",
13
- showText,
14
- text,
15
- format,
16
- striped = false,
17
- stripedAnimation = false,
18
- strokeWidth = 6,
19
- width = "auto",
20
- height,
21
- className,
22
- style,
23
- "aria-label": ariaLabel,
24
- "aria-labelledby": ariaLabelledby,
25
- "aria-describedby": ariaDescribedby,
26
- ...props
27
- }) => {
28
- const clampedPercentage = tigercatCore.clampPercentage(percentage);
29
- const effectiveVariant = tigercatCore.getStatusVariant(status) || variant;
30
- const shouldShowText = showText ?? type === "line";
31
- const displayText = shouldShowText ? tigercatCore.formatProgressText(clampedPercentage, text, format) : "";
32
- const resolvedAriaLabel = ariaLabel ?? (ariaLabelledby ? void 0 : `Progress: ${clampedPercentage}%`);
33
- const lineTrackClasses = tigercatCore.classNames(
34
- tigercatCore.progressLineBaseClasses,
35
- tigercatCore.progressTrackBgClasses,
36
- !height && tigercatCore.progressLineSizeClasses[size]
37
- );
38
- const lineBarClasses = tigercatCore.classNames(
39
- tigercatCore.progressLineInnerClasses,
40
- tigercatCore.getProgressVariantClasses(effectiveVariant),
41
- striped && tigercatCore.progressStripedClasses,
42
- striped && stripedAnimation && tigercatCore.progressStripedAnimationClasses
43
- );
44
- const textClasses = tigercatCore.classNames(
45
- tigercatCore.progressTextBaseClasses,
46
- tigercatCore.progressTextSizeClasses[size],
47
- tigercatCore.getProgressTextColorClasses(effectiveVariant)
48
- );
49
- const renderLineProgress = () => {
50
- const containerStyle = width !== "auto" ? { width: typeof width === "number" ? `${width}px` : width } : {};
51
- const mergedStyle = {
52
- ...style ?? {},
53
- ...containerStyle
54
- };
55
- return /* @__PURE__ */ jsxRuntime.jsxs(
56
- "div",
57
- {
58
- ...props,
59
- className: tigercatCore.classNames("flex items-center w-full", className),
60
- style: mergedStyle,
61
- children: [
62
- /* @__PURE__ */ jsxRuntime.jsx(
63
- "div",
64
- {
65
- className: lineTrackClasses,
66
- style: { flex: 1, ...height ? { height: `${height}px` } : {} },
67
- children: /* @__PURE__ */ jsxRuntime.jsx(
68
- "div",
69
- {
70
- className: lineBarClasses,
71
- style: { width: `${clampedPercentage}%` },
72
- role: "progressbar",
73
- "aria-label": resolvedAriaLabel,
74
- "aria-labelledby": ariaLabelledby,
75
- "aria-describedby": ariaDescribedby,
76
- "aria-valuenow": clampedPercentage,
77
- "aria-valuemin": 0,
78
- "aria-valuemax": 100
79
- }
80
- )
81
- }
82
- ),
83
- shouldShowText && /* @__PURE__ */ jsxRuntime.jsx("span", { className: textClasses, children: displayText })
84
- ]
85
- }
86
- );
87
- };
88
- const renderCircleProgress = () => {
89
- const { width: svgWidth, height: svgHeight, radius, cx, cy } = tigercatCore.getCircleSize(size, strokeWidth);
90
- const { strokeDasharray, strokeDashoffset } = tigercatCore.calculateCirclePath(
91
- radius,
92
- strokeWidth,
93
- clampedPercentage
94
- );
95
- const strokeColor = tigercatCore.getProgressVariantClasses(effectiveVariant).replace("bg-", "text-");
96
- return /* @__PURE__ */ jsxRuntime.jsxs(
97
- "div",
98
- {
99
- ...props,
100
- className: tigercatCore.classNames(tigercatCore.progressCircleBaseClasses, className),
101
- style: {
102
- ...style ?? {},
103
- width: `${svgWidth}px`,
104
- height: `${svgHeight}px`
105
- },
106
- children: [
107
- /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: svgWidth, height: svgHeight, viewBox: `0 0 ${svgWidth} ${svgHeight}`, children: [
108
- /* @__PURE__ */ jsxRuntime.jsx(
109
- "circle",
110
- {
111
- cx,
112
- cy,
113
- r: radius,
114
- fill: "none",
115
- stroke: "currentColor",
116
- className: tigercatCore.progressCircleTrackStrokeClasses,
117
- strokeWidth
118
- }
119
- ),
120
- /* @__PURE__ */ jsxRuntime.jsx(
121
- "circle",
122
- {
123
- cx,
124
- cy,
125
- r: radius,
126
- fill: "none",
127
- stroke: "currentColor",
128
- className: strokeColor,
129
- strokeWidth,
130
- strokeLinecap: "round",
131
- strokeDasharray,
132
- strokeDashoffset,
133
- style: {
134
- transition: "stroke-dashoffset 0.3s ease",
135
- transform: "rotate(-90deg)",
136
- transformOrigin: "center"
137
- },
138
- role: "progressbar",
139
- "aria-label": resolvedAriaLabel,
140
- "aria-labelledby": ariaLabelledby,
141
- "aria-describedby": ariaDescribedby,
142
- "aria-valuenow": clampedPercentage,
143
- "aria-valuemin": 0,
144
- "aria-valuemax": 100
145
- }
146
- )
147
- ] }),
148
- shouldShowText && /* @__PURE__ */ jsxRuntime.jsx(
149
- "div",
150
- {
151
- className: tigercatCore.classNames(
152
- tigercatCore.progressCircleTextClasses,
153
- tigercatCore.progressTextSizeClasses[size],
154
- "font-medium",
155
- tigercatCore.getProgressTextColorClasses(effectiveVariant)
156
- ),
157
- children: displayText
158
- }
159
- )
160
- ]
161
- }
162
- );
163
- };
164
- if (type === "circle") return renderCircleProgress();
165
- return renderLineProgress();
166
- };
167
-
168
- exports.Progress = Progress;
@@ -1,39 +0,0 @@
1
- 'use strict';
2
-
3
- var React = require('react');
4
- var tigercatCore = require('@expcat/tigercat-core');
5
-
6
- function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
7
-
8
- var React__default = /*#__PURE__*/_interopDefault(React);
9
-
10
- // src/components/Text.tsx
11
- var Text = ({
12
- tag = "p",
13
- size = "base",
14
- weight = "normal",
15
- align,
16
- color = "default",
17
- truncate = false,
18
- italic = false,
19
- underline = false,
20
- lineThrough = false,
21
- children,
22
- className,
23
- ...props
24
- }) => {
25
- const textClasses = tigercatCore.classNames(
26
- tigercatCore.textSizeClasses[size],
27
- tigercatCore.textWeightClasses[weight],
28
- align && tigercatCore.textAlignClasses[align],
29
- tigercatCore.textColorClasses[color],
30
- truncate && tigercatCore.textDecorationClasses.truncate,
31
- italic && tigercatCore.textDecorationClasses.italic,
32
- underline && tigercatCore.textDecorationClasses.underline,
33
- lineThrough && tigercatCore.textDecorationClasses.lineThrough,
34
- className
35
- );
36
- return React__default.default.createElement(tag, { ...props, className: textClasses }, children);
37
- };
38
-
39
- exports.Text = Text;
@@ -1,52 +0,0 @@
1
- 'use strict';
2
-
3
- var react = require('react');
4
- var tigercatCore = require('@expcat/tigercat-core');
5
- var jsxRuntime = require('react/jsx-runtime');
6
-
7
- // src/components/Divider.tsx
8
- var Divider = ({
9
- orientation = "horizontal",
10
- lineStyle = "solid",
11
- spacing = "md",
12
- color,
13
- thickness,
14
- className,
15
- ...props
16
- }) => {
17
- const dividerClasses = react.useMemo(
18
- () => tigercatCore.classNames(
19
- tigercatCore.getDividerOrientationClasses(orientation),
20
- tigercatCore.getDividerLineStyleClasses(lineStyle),
21
- tigercatCore.getDividerSpacingClasses(spacing, orientation),
22
- className
23
- ),
24
- [orientation, lineStyle, spacing, className]
25
- );
26
- const dividerStyle = react.useMemo(() => {
27
- const style = {};
28
- if (color) {
29
- style.borderColor = color;
30
- }
31
- if (thickness) {
32
- if (orientation === "horizontal") {
33
- style.borderTopWidth = thickness;
34
- } else {
35
- style.borderLeftWidth = thickness;
36
- }
37
- }
38
- return style;
39
- }, [color, thickness, orientation]);
40
- return /* @__PURE__ */ jsxRuntime.jsx(
41
- "div",
42
- {
43
- ...props,
44
- className: dividerClasses,
45
- style: dividerStyle,
46
- role: "separator",
47
- "aria-orientation": orientation
48
- }
49
- );
50
- };
51
-
52
- exports.Divider = Divider;
@@ -1,24 +0,0 @@
1
- import React from 'react';
2
- import { AlertProps as AlertProps$1 } from '@expcat/tigercat-core';
3
-
4
- interface AlertProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title'>, AlertProps$1 {
5
- /**
6
- * Alert content (React children)
7
- */
8
- children?: React.ReactNode;
9
- /**
10
- * Custom title content (overrides title prop)
11
- */
12
- titleSlot?: React.ReactNode;
13
- /**
14
- * Custom description content (overrides description prop)
15
- */
16
- descriptionSlot?: React.ReactNode;
17
- /**
18
- * Callback when alert is closed
19
- */
20
- onClose?: (event: React.MouseEvent<HTMLButtonElement>) => void;
21
- }
22
- declare const Alert: React.FC<AlertProps>;
23
-
24
- export { Alert, type AlertProps };
@@ -1,10 +0,0 @@
1
- 'use strict';
2
-
3
- var chunk3OF7XPIQ_js = require('../chunk-3OF7XPIQ.js');
4
-
5
-
6
-
7
- Object.defineProperty(exports, "Alert", {
8
- enumerable: true,
9
- get: function () { return chunk3OF7XPIQ_js.Alert; }
10
- });
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- import { AvatarProps as AvatarProps$1 } from '@expcat/tigercat-core';
3
-
4
- interface AvatarProps extends AvatarProps$1, React.HTMLAttributes<HTMLSpanElement> {
5
- /**
6
- * Icon content (children for icon mode)
7
- */
8
- children?: React.ReactNode;
9
- }
10
- declare const Avatar: React.FC<AvatarProps>;
11
-
12
- export { Avatar, type AvatarProps };
@@ -1,10 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkTZ26HQAW_js = require('../chunk-TZ26HQAW.js');
4
-
5
-
6
-
7
- Object.defineProperty(exports, "Avatar", {
8
- enumerable: true,
9
- get: function () { return chunkTZ26HQAW_js.Avatar; }
10
- });
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- import { BadgeProps as BadgeProps$1 } from '@expcat/tigercat-core';
3
-
4
- type BadgeProps = BadgeProps$1 & Omit<React.HTMLAttributes<HTMLSpanElement>, 'children' | 'content'> & {
5
- /**
6
- * Badge content (children for wrapped mode)
7
- */
8
- children?: React.ReactNode;
9
- };
10
- declare const Badge: React.FC<BadgeProps>;
11
-
12
- export { Badge, type BadgeProps };
@@ -1,10 +0,0 @@
1
- 'use strict';
2
-
3
- var chunk5ZVSFIZD_js = require('../chunk-5ZVSFIZD.js');
4
-
5
-
6
-
7
- Object.defineProperty(exports, "Badge", {
8
- enumerable: true,
9
- get: function () { return chunk5ZVSFIZD_js.Badge; }
10
- });
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- import { BreadcrumbProps as BreadcrumbProps$1, BreadcrumbSeparator } from '@expcat/tigercat-core';
3
-
4
- interface BreadcrumbContextValue {
5
- separator: BreadcrumbSeparator;
6
- }
7
- declare function useBreadcrumbContext(): BreadcrumbContextValue | null;
8
- interface BreadcrumbProps extends Omit<BreadcrumbProps$1, 'style'>, React.HTMLAttributes<HTMLElement> {
9
- separator?: BreadcrumbSeparator;
10
- }
11
- declare const Breadcrumb: React.FC<BreadcrumbProps>;
12
-
13
- export { Breadcrumb, type BreadcrumbContextValue, type BreadcrumbProps, useBreadcrumbContext };
@@ -1,14 +0,0 @@
1
- 'use strict';
2
-
3
- var chunk2DOPHSZP_js = require('../chunk-2DOPHSZP.js');
4
-
5
-
6
-
7
- Object.defineProperty(exports, "Breadcrumb", {
8
- enumerable: true,
9
- get: function () { return chunk2DOPHSZP_js.Breadcrumb; }
10
- });
11
- Object.defineProperty(exports, "useBreadcrumbContext", {
12
- enumerable: true,
13
- get: function () { return chunk2DOPHSZP_js.useBreadcrumbContext; }
14
- });
@@ -1,21 +0,0 @@
1
- import React from 'react';
2
- import { BreadcrumbItemProps as BreadcrumbItemProps$1 } from '@expcat/tigercat-core';
3
-
4
- interface BreadcrumbItemProps extends Omit<BreadcrumbItemProps$1, 'style'>, Omit<React.LiHTMLAttributes<HTMLLIElement>, 'onClick' | 'children'> {
5
- /**
6
- * Click event handler
7
- */
8
- onClick?: (event: React.MouseEvent<HTMLAnchorElement | HTMLSpanElement>) => void;
9
- style?: React.CSSProperties;
10
- /**
11
- * Item content
12
- */
13
- children?: React.ReactNode;
14
- /**
15
- * Icon to display before the item content
16
- */
17
- icon?: React.ReactNode;
18
- }
19
- declare const BreadcrumbItem: React.FC<BreadcrumbItemProps>;
20
-
21
- export { BreadcrumbItem, type BreadcrumbItemProps };
@@ -1,11 +0,0 @@
1
- 'use strict';
2
-
3
- var chunk6PUSRC6S_js = require('../chunk-6PUSRC6S.js');
4
- require('../chunk-2DOPHSZP.js');
5
-
6
-
7
-
8
- Object.defineProperty(exports, "BreadcrumbItem", {
9
- enumerable: true,
10
- get: function () { return chunk6PUSRC6S_js.BreadcrumbItem; }
11
- });
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { ButtonProps as ButtonProps$1 } from '@expcat/tigercat-core';
3
-
4
- interface ButtonProps extends ButtonProps$1, Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'disabled'> {
5
- }
6
- declare const Button: React.FC<ButtonProps>;
7
-
8
- export { Button, type ButtonProps };
@@ -1,10 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkFAKTU64M_js = require('../chunk-FAKTU64M.js');
4
-
5
-
6
-
7
- Object.defineProperty(exports, "Button", {
8
- enumerable: true,
9
- get: function () { return chunkFAKTU64M_js.Button; }
10
- });
@@ -1,33 +0,0 @@
1
- import React from 'react';
2
- import { CardProps as CardProps$1 } from '@expcat/tigercat-core';
3
-
4
- interface CardProps extends React.HTMLAttributes<HTMLDivElement>, CardProps$1 {
5
- /**
6
- * Card content (main body)
7
- */
8
- children?: React.ReactNode;
9
- /**
10
- * Card header content
11
- */
12
- header?: React.ReactNode;
13
- /**
14
- * Card footer content
15
- */
16
- footer?: React.ReactNode;
17
- /**
18
- * Card actions (buttons, links, etc.)
19
- */
20
- actions?: React.ReactNode;
21
- /**
22
- * Cover image URL
23
- */
24
- cover?: string;
25
- /**
26
- * Cover image alt text
27
- * @default 'Card cover image'
28
- */
29
- coverAlt?: string;
30
- }
31
- declare const Card: React.FC<CardProps>;
32
-
33
- export { Card, type CardProps };
@@ -1,10 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkVO4WDK4K_js = require('../chunk-VO4WDK4K.js');
4
-
5
-
6
-
7
- Object.defineProperty(exports, "Card", {
8
- enumerable: true,
9
- get: function () { return chunkVO4WDK4K_js.Card; }
10
- });
@@ -1,48 +0,0 @@
1
- import React from 'react';
2
- import { CheckboxSize } from '@expcat/tigercat-core';
3
-
4
- interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type' | 'size' | 'onChange' | 'checked' | 'defaultChecked' | 'value'> {
5
- /**
6
- * Checkbox checked state (controlled mode)
7
- */
8
- checked?: boolean;
9
- /**
10
- * Default checked state (uncontrolled mode)
11
- * @default false
12
- */
13
- defaultChecked?: boolean;
14
- /**
15
- * Checkbox value (for use in checkbox groups)
16
- */
17
- value?: string | number | boolean;
18
- /**
19
- * Checkbox size
20
- * @default 'md'
21
- */
22
- size?: CheckboxSize;
23
- /**
24
- * Whether the checkbox is disabled
25
- * @default false
26
- */
27
- disabled?: boolean;
28
- /**
29
- * Whether the checkbox is in indeterminate state
30
- * @default false
31
- */
32
- indeterminate?: boolean;
33
- /**
34
- * Change event handler
35
- */
36
- onChange?: (checked: boolean, event: React.ChangeEvent<HTMLInputElement>) => void;
37
- /**
38
- * Checkbox label content
39
- */
40
- children?: React.ReactNode;
41
- /**
42
- * Additional CSS classes
43
- */
44
- className?: string;
45
- }
46
- declare const Checkbox: React.FC<CheckboxProps>;
47
-
48
- export { Checkbox, type CheckboxProps };
@@ -1,11 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkU4ZVEPYD_js = require('../chunk-U4ZVEPYD.js');
4
- require('../chunk-TJFS44SH.js');
5
-
6
-
7
-
8
- Object.defineProperty(exports, "Checkbox", {
9
- enumerable: true,
10
- get: function () { return chunkU4ZVEPYD_js.Checkbox; }
11
- });
@@ -1,39 +0,0 @@
1
- import React from 'react';
2
- import { CheckboxGroupValue, CheckboxSize } from '@expcat/tigercat-core';
3
-
4
- interface CheckboxGroupContext {
5
- value: CheckboxGroupValue;
6
- disabled: boolean;
7
- size: CheckboxSize;
8
- updateValue: (val: CheckboxGroupValue[number], checked: boolean) => void;
9
- }
10
- declare const useCheckboxGroup: () => CheckboxGroupContext | null;
11
- interface CheckboxGroupProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange' | 'defaultValue'> {
12
- /**
13
- * Selected values (controlled mode)
14
- */
15
- value?: CheckboxGroupValue;
16
- /**
17
- * Default selected values (uncontrolled mode)
18
- * @default []
19
- */
20
- defaultValue?: CheckboxGroupValue;
21
- /**
22
- * Whether all checkboxes are disabled
23
- * @default false
24
- */
25
- disabled?: boolean;
26
- /**
27
- * Checkbox size for all checkboxes
28
- * @default 'md'
29
- */
30
- size?: CheckboxSize;
31
- /**
32
- * Change event handler
33
- */
34
- onChange?: (value: CheckboxGroupValue) => void;
35
- children?: React.ReactNode;
36
- }
37
- declare const CheckboxGroup: React.FC<CheckboxGroupProps>;
38
-
39
- export { CheckboxGroup, type CheckboxGroupContext, type CheckboxGroupProps, useCheckboxGroup };
@@ -1,14 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkTJFS44SH_js = require('../chunk-TJFS44SH.js');
4
-
5
-
6
-
7
- Object.defineProperty(exports, "CheckboxGroup", {
8
- enumerable: true,
9
- get: function () { return chunkTJFS44SH_js.CheckboxGroup; }
10
- });
11
- Object.defineProperty(exports, "useCheckboxGroup", {
12
- enumerable: true,
13
- get: function () { return chunkTJFS44SH_js.useCheckboxGroup; }
14
- });
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import { CodeProps as CodeProps$1 } from '@expcat/tigercat-core';
3
-
4
- type CodeProps = CodeProps$1 & Omit<React.HTMLAttributes<HTMLDivElement>, keyof CodeProps$1 | 'onCopy'> & {
5
- onCopy?: (code: string) => void;
6
- };
7
- declare const Code: React.FC<CodeProps>;
8
-
9
- export { Code, type CodeProps, Code as default };
@@ -1,16 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var chunkGX74TC62_js = require('../chunk-GX74TC62.js');
6
-
7
-
8
-
9
- Object.defineProperty(exports, "Code", {
10
- enumerable: true,
11
- get: function () { return chunkGX74TC62_js.Code; }
12
- });
13
- Object.defineProperty(exports, "default", {
14
- enumerable: true,
15
- get: function () { return chunkGX74TC62_js.Code_default; }
16
- });
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import { ColProps as ColProps$1 } from '@expcat/tigercat-core';
3
-
4
- type ColProps = React.HTMLAttributes<HTMLDivElement> & ColProps$1;
5
- declare const Col: React.FC<ColProps>;
6
-
7
- export { Col, type ColProps };
@@ -1,11 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkKUCFT2OA_js = require('../chunk-KUCFT2OA.js');
4
- require('../chunk-EI2GHMQS.js');
5
-
6
-
7
-
8
- Object.defineProperty(exports, "Col", {
9
- enumerable: true,
10
- get: function () { return chunkKUCFT2OA_js.Col; }
11
- });
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import { TigerLocale } from '@expcat/tigercat-core';
3
-
4
- interface TigerConfig {
5
- locale?: Partial<TigerLocale>;
6
- }
7
- interface ConfigProviderProps {
8
- locale?: Partial<TigerLocale>;
9
- children?: React.ReactNode;
10
- }
11
- declare const ConfigProvider: React.FC<ConfigProviderProps>;
12
- declare function useTigerConfig(): TigerConfig;
13
-
14
- export { ConfigProvider, type ConfigProviderProps, type TigerConfig, useTigerConfig };
@@ -1,14 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkQL6UEG3U_js = require('../chunk-QL6UEG3U.js');
4
-
5
-
6
-
7
- Object.defineProperty(exports, "ConfigProvider", {
8
- enumerable: true,
9
- get: function () { return chunkQL6UEG3U_js.ConfigProvider; }
10
- });
11
- Object.defineProperty(exports, "useTigerConfig", {
12
- enumerable: true,
13
- get: function () { return chunkQL6UEG3U_js.useTigerConfig; }
14
- });