@situaction/traq-ui-ste 1.1.16 → 1.1.18
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/README.md +42 -5
- package/dist/X-Bd1VjKAF.mjs +190 -0
- package/dist/components/accordion/Accordion.d.ts +3 -0
- package/dist/components/accordion/Accordion.js +6 -5
- package/dist/components/accordion/item/AccordionItem.d.ts +3 -0
- package/dist/components/accordion/item/AccordionItem.js +34 -30
- package/dist/components/button/Button.d.ts +2 -2
- package/dist/components/button/Button.js +4 -3
- package/dist/components/buttonControledScroll/ButtonControlledScroll.d.ts +11 -1
- package/dist/components/calendar/Calendar.d.ts +6 -0
- package/dist/components/calendar/Calendar.js +833 -509
- package/dist/components/card/Card.d.ts +7 -0
- package/dist/components/checkbox/Checkbox.d.ts +4 -0
- package/dist/components/icon/Icon.d.ts +18 -0
- package/dist/components/icon/Icon.js +78592 -0
- package/dist/components/icon-button/IconButton.d.ts +8 -3
- package/dist/components/input/Input.d.ts +5 -0
- package/dist/components/list/list-controls/ListControls.d.ts +19 -0
- package/dist/components/list/list-controls/ListControls.js +49 -0
- package/dist/components/list/nested-list/NestedList.d.ts +18 -0
- package/dist/components/list/nested-list/NestedList.js +19 -0
- package/dist/components/list/nested-list/item/NestedListItem.d.ts +23 -0
- package/dist/components/list/nested-list/item/NestedListItem.js +71 -0
- package/dist/components/menu/Menu.d.ts +59 -0
- package/dist/components/menu/Menu.js +121 -0
- package/dist/components/modal/Modal.d.ts +32 -0
- package/dist/components/modal/Modal.js +24 -0
- package/dist/components/panel/side-panel/SidePanel.d.ts +30 -0
- package/dist/components/panel/side-panel/SidePanel.js +47 -0
- package/dist/components/panel/side-panel-header/SidePanelHeader.d.ts +22 -0
- package/dist/components/panel/side-panel-header/SidePanelHeader.js +60 -0
- package/dist/components/select/Select.d.ts +34 -15
- package/dist/components/select/Select.js +79 -64
- package/dist/components/select-filter-input-tags/SelectFilterInputTags.d.ts +17 -0
- package/dist/components/select-filter-input-tags/SelectFilterInputTags.js +31 -0
- package/dist/components/select-multi-items/SelectMultiItems.d.ts +24 -0
- package/dist/components/select-multi-items/SelectMultiItems.js +44 -0
- package/dist/components/switch/Switch.d.ts +30 -0
- package/dist/components/switch/Switch.js +93 -0
- package/dist/components/tabs/Tabs.d.ts +4 -0
- package/dist/components/tabs/Tabs.js +14 -13
- package/dist/components/tag/Tag.d.ts +4 -0
- package/dist/components/tag-counter/TagCounter.d.ts +5 -0
- package/dist/components/theme/variables_dark.d.ts +9 -0
- package/dist/components/theme/variables_dark.js +10 -1
- package/dist/components/theme/variables_light.d.ts +9 -0
- package/dist/components/theme/variables_light.js +10 -1
- package/dist/components/title/Title.d.ts +3 -0
- package/dist/components/tooltip/Tooltip.d.ts +5 -0
- package/dist/main.d.ts +15 -4
- package/dist/main.js +58 -34
- package/dist/styles/AccordionItem.css +1 -1
- package/dist/styles/Button.css +1 -1
- package/dist/styles/ListControls.css +1 -0
- package/dist/styles/Menu.css +1 -0
- package/dist/styles/Modal.css +1 -0
- package/dist/styles/NestedList.css +1 -0
- package/dist/styles/NestedListItem.css +1 -0
- package/dist/styles/Select.css +1 -1
- package/dist/styles/SelectFilterInputTags.css +1 -0
- package/dist/styles/SelectMultiItems.css +1 -0
- package/dist/styles/SidePanel.css +1 -0
- package/dist/styles/SidePanelHeader.css +1 -0
- package/dist/styles/Size.css +1 -0
- package/dist/styles/Switch.css +1 -0
- package/dist/styles/index.css +1 -0
- package/package.json +5 -4
- package/dist/styles/main.css +0 -1
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { FC, ReactNode } from 'react';
|
|
2
2
|
|
|
3
3
|
export interface CardProps {
|
|
4
|
+
/**
|
|
5
|
+
* The content to be displayed inside the card.
|
|
6
|
+
* This can be any valid ReactNode (string, number, JSX elements, etc.).
|
|
7
|
+
*/
|
|
4
8
|
children: ReactNode;
|
|
5
9
|
}
|
|
10
|
+
/**
|
|
11
|
+
* Card component to display content inside a styled container.
|
|
12
|
+
*/
|
|
6
13
|
export declare const Card: FC<CardProps>;
|
|
@@ -13,4 +13,8 @@ export interface CheckboxProps {
|
|
|
13
13
|
/** Function to call when the checkbox state changes */
|
|
14
14
|
onChange?: (checked: boolean) => void;
|
|
15
15
|
}
|
|
16
|
+
/**
|
|
17
|
+
* Checkbox component that allows users to toggle a checked/unchecked state.
|
|
18
|
+
* Displays an icon when checked, and can be styled based on the size and disabled state.
|
|
19
|
+
*/
|
|
16
20
|
export declare const Checkbox: FC<CheckboxProps>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
|
|
3
|
+
import * as PhosphorIcons from "@phosphor-icons/react";
|
|
4
|
+
export interface IconProps {
|
|
5
|
+
/** Name of the icon from @phosphor-icons/react */
|
|
6
|
+
icon: keyof typeof PhosphorIcons;
|
|
7
|
+
/** Size of the icon in pixels (default: 16) */
|
|
8
|
+
size?: number;
|
|
9
|
+
/** Weight (thickness) of the icon line */
|
|
10
|
+
weight?: "thin" | "light" | "regular" | "bold" | "fill" | "duotone";
|
|
11
|
+
/** CSS color value to apply to the icon */
|
|
12
|
+
color?: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Icon component that renders an icon from the @phosphor-icons/react library.
|
|
16
|
+
* It allows customization of size, weight, and color for the icon.
|
|
17
|
+
*/
|
|
18
|
+
export declare const Icon: FC<IconProps>;
|