design-zystem 1.0.202 → 1.0.204

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/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
- import { ReactNode, CSSProperties, MouseEventHandler, MouseEvent, ChangeEvent, FocusEvent, KeyboardEvent } from 'react';
3
+ import { ReactNode, CSSProperties, MouseEventHandler, HTMLAttributes, MouseEvent, ChangeEvent, FocusEvent, KeyboardEvent } from 'react';
4
4
 
5
5
  interface PageContainerProps {
6
6
  justifyContent?: string;
@@ -198,6 +198,31 @@ interface BubbleProps {
198
198
  }
199
199
  declare const Bubble: ({ children, ...otherProps }: BubbleProps) => react_jsx_runtime.JSX.Element;
200
200
 
201
+ type SizeKey = 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl';
202
+ interface TagBubbleProps extends HTMLAttributes<HTMLDivElement> {
203
+ label: string;
204
+ hideCircle?: boolean;
205
+ isActive?: boolean;
206
+ circleSize?: number;
207
+ circleColorActive?: string;
208
+ circleColorInactive?: string;
209
+ count?: number | string | null;
210
+ hideCount?: boolean;
211
+ countBg?: string;
212
+ countText?: string;
213
+ countSize?: SizeKey | string;
214
+ labelSize?: SizeKey | string;
215
+ labelWeight?: number;
216
+ labelColor?: string;
217
+ gap?: number;
218
+ padding?: string;
219
+ radius?: string;
220
+ background?: string;
221
+ borderColor?: string;
222
+ hasShadow?: boolean;
223
+ }
224
+ declare const TagBubble: ({ label, hideCircle, isActive, circleSize, circleColorActive, circleColorInactive, count, hideCount, countBg, countText, countSize, labelSize, labelWeight, labelColor, gap, padding, radius, background, borderColor, hasShadow, onClick, ...rest }: TagBubbleProps) => react_jsx_runtime.JSX.Element;
225
+
201
226
  interface IconProps {
202
227
  name?: string;
203
228
  family?: string;
@@ -715,4 +740,4 @@ declare const colors: {
715
740
  readonly light_blue: "#F1F5F9";
716
741
  };
717
742
 
718
- export { Box, Bubble, Bulk, Button, CardSkeleton, Checkbox, Col, DatePicker, Divider, Drawer, Grid, Icon, IconTabs, Image, Input, Link, List, ListItem, Modal, ModalConfirmation, MultiSelect, NewModal, Options, PageContainer, Popover, Radio, Row, Select, SkeletonRow, Stepper, Switch, Table, TableBody, TableCell, TableFooter, TableFooterCell, TableFooterRow, TableHeader, TableHeaderCell, TableHeaderRow, TableRow, Tabs, Text, colors, formatDate, formatDistance, formatDuration, truncateFileName, truncateText };
743
+ export { Box, Bubble, Bulk, Button, CardSkeleton, Checkbox, Col, DatePicker, Divider, Drawer, Grid, Icon, IconTabs, Image, Input, Link, List, ListItem, Modal, ModalConfirmation, MultiSelect, NewModal, Options, PageContainer, Popover, Radio, Row, Select, SkeletonRow, Stepper, Switch, Table, TableBody, TableCell, TableFooter, TableFooterCell, TableFooterRow, TableHeader, TableHeaderCell, TableHeaderRow, TableRow, Tabs, TagBubble, Text, colors, formatDate, formatDistance, formatDuration, truncateFileName, truncateText };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
- import { ReactNode, CSSProperties, MouseEventHandler, MouseEvent, ChangeEvent, FocusEvent, KeyboardEvent } from 'react';
3
+ import { ReactNode, CSSProperties, MouseEventHandler, HTMLAttributes, MouseEvent, ChangeEvent, FocusEvent, KeyboardEvent } from 'react';
4
4
 
5
5
  interface PageContainerProps {
6
6
  justifyContent?: string;
@@ -198,6 +198,31 @@ interface BubbleProps {
198
198
  }
199
199
  declare const Bubble: ({ children, ...otherProps }: BubbleProps) => react_jsx_runtime.JSX.Element;
200
200
 
201
+ type SizeKey = 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl';
202
+ interface TagBubbleProps extends HTMLAttributes<HTMLDivElement> {
203
+ label: string;
204
+ hideCircle?: boolean;
205
+ isActive?: boolean;
206
+ circleSize?: number;
207
+ circleColorActive?: string;
208
+ circleColorInactive?: string;
209
+ count?: number | string | null;
210
+ hideCount?: boolean;
211
+ countBg?: string;
212
+ countText?: string;
213
+ countSize?: SizeKey | string;
214
+ labelSize?: SizeKey | string;
215
+ labelWeight?: number;
216
+ labelColor?: string;
217
+ gap?: number;
218
+ padding?: string;
219
+ radius?: string;
220
+ background?: string;
221
+ borderColor?: string;
222
+ hasShadow?: boolean;
223
+ }
224
+ declare const TagBubble: ({ label, hideCircle, isActive, circleSize, circleColorActive, circleColorInactive, count, hideCount, countBg, countText, countSize, labelSize, labelWeight, labelColor, gap, padding, radius, background, borderColor, hasShadow, onClick, ...rest }: TagBubbleProps) => react_jsx_runtime.JSX.Element;
225
+
201
226
  interface IconProps {
202
227
  name?: string;
203
228
  family?: string;
@@ -715,4 +740,4 @@ declare const colors: {
715
740
  readonly light_blue: "#F1F5F9";
716
741
  };
717
742
 
718
- export { Box, Bubble, Bulk, Button, CardSkeleton, Checkbox, Col, DatePicker, Divider, Drawer, Grid, Icon, IconTabs, Image, Input, Link, List, ListItem, Modal, ModalConfirmation, MultiSelect, NewModal, Options, PageContainer, Popover, Radio, Row, Select, SkeletonRow, Stepper, Switch, Table, TableBody, TableCell, TableFooter, TableFooterCell, TableFooterRow, TableHeader, TableHeaderCell, TableHeaderRow, TableRow, Tabs, Text, colors, formatDate, formatDistance, formatDuration, truncateFileName, truncateText };
743
+ export { Box, Bubble, Bulk, Button, CardSkeleton, Checkbox, Col, DatePicker, Divider, Drawer, Grid, Icon, IconTabs, Image, Input, Link, List, ListItem, Modal, ModalConfirmation, MultiSelect, NewModal, Options, PageContainer, Popover, Radio, Row, Select, SkeletonRow, Stepper, Switch, Table, TableBody, TableCell, TableFooter, TableFooterCell, TableFooterRow, TableHeader, TableHeaderCell, TableHeaderRow, TableRow, Tabs, TagBubble, Text, colors, formatDate, formatDistance, formatDuration, truncateFileName, truncateText };