@inntechcorp/it-design 2.2.68 → 2.2.70
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/enums/enum.d.ts +20 -0
- package/dist/index.cjs.js +269 -269
- package/dist/index.d.mts +14 -2
- package/dist/index.d.ts +40 -9
- package/dist/index.esm.js +352 -352
- package/dist/locales/en/itd.json +6 -0
- package/dist/locales/itd.json +6 -0
- package/dist/locales/tr/itd.json +6 -0
- package/dist/select/toggle/label/floating/FloatingLabel.d.ts +2 -1
- package/dist/types/AlertProps.d.ts +2 -1
- package/dist/types/ButtonProps.d.ts +2 -3
- package/dist/types/ITDProps.d.ts +4 -3
- package/dist/utils/GetSizeBySizeSlug.d.ts +2 -1
- package/dist/utils/GetSizeSlugBySize.d.ts +2 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -13,6 +13,7 @@ export declare const resources: {
|
|
|
13
13
|
confirmPassword: string;
|
|
14
14
|
typeYourNoteHere: string;
|
|
15
15
|
selectGender: string;
|
|
16
|
+
selectCurrency: string;
|
|
16
17
|
selectLanguage: string;
|
|
17
18
|
selectCountry: string;
|
|
18
19
|
birthday: string;
|
|
@@ -26,6 +27,11 @@ export declare const resources: {
|
|
|
26
27
|
turkish: string;
|
|
27
28
|
english: string;
|
|
28
29
|
};
|
|
30
|
+
currencies: {
|
|
31
|
+
TRY: string;
|
|
32
|
+
EUR: string;
|
|
33
|
+
USD: string;
|
|
34
|
+
};
|
|
29
35
|
};
|
|
30
36
|
buttons: {
|
|
31
37
|
submit: string;
|
|
@@ -306,6 +312,7 @@ export declare const resources: {
|
|
|
306
312
|
confirmPassword: string;
|
|
307
313
|
typeYourNoteHere: string;
|
|
308
314
|
selectGender: string;
|
|
315
|
+
selectCurrency: string;
|
|
309
316
|
selectLanguage: string;
|
|
310
317
|
selectCountry: string;
|
|
311
318
|
birthday: string;
|
|
@@ -319,6 +326,11 @@ export declare const resources: {
|
|
|
319
326
|
turkish: string;
|
|
320
327
|
english: string;
|
|
321
328
|
};
|
|
329
|
+
currencies: {
|
|
330
|
+
TRY: string;
|
|
331
|
+
EUR: string;
|
|
332
|
+
USD: string;
|
|
333
|
+
};
|
|
322
334
|
};
|
|
323
335
|
buttons: {
|
|
324
336
|
submit: string;
|
|
@@ -668,7 +680,7 @@ export type { SelectProps, SelectToggleProps, SelectOptionProps, SelectValue, Se
|
|
|
668
680
|
export type { CheckboxProps, CheckboxGroupProps, GroupCheckboxOptionType, CheckboxEvent } from './types/CheckboxProps';
|
|
669
681
|
export type { ITDImperativeFuncProps } from './types/ITDImperativeFuncProps';
|
|
670
682
|
export type { SingleQueryProps } from './types/SingleQueryProps';
|
|
671
|
-
export type { ButtonProps, ButtonType, ButtonVariant, ButtonState
|
|
683
|
+
export type { ButtonProps, ButtonType, ButtonVariant, ButtonState } from './types/ButtonProps';
|
|
672
684
|
export type { FormProps, FormRuleProps, FormValueProps, FormItemProps, FormSubComponentProps, FieldUpdateProps } from './types/FormProps';
|
|
673
685
|
export type { NotificationsProps } from './types/NotificationsProps';
|
|
674
686
|
export type { AlertProps, AlertType, AlertSize } from './types/AlertProps';
|
|
@@ -683,4 +695,4 @@ export type { ProgressProps, ProgressStatus } from './types/ProgressProps';
|
|
|
683
695
|
export type { StatusProps, StatusVariant } from './types/StatusProps';
|
|
684
696
|
export type { ITDSize, ITDSizeSlug } from './types/ITDProps';
|
|
685
697
|
export type { FlexProps, FlexAlignProps, FlexGapProps, FlexJustifyProps } from './types/FlexProps';
|
|
686
|
-
export { ModalState, FileExtensions, FileTypes, FormValidationTypes, ConnectionStatus } from './enums/enum';
|
|
698
|
+
export { ModalState, FileExtensions, FileTypes, FormValidationTypes, ConnectionStatus, ComponentSizes, ComponentPositions, ComponentSizesSlug } from './enums/enum';
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as react from 'react';
|
|
|
3
3
|
import react__default, { RefObject, Context, ReactNode, ForwardRefExoticComponent, PropsWithoutRef, RefAttributes, FunctionComponent, Ref, MutableRefObject, FocusEvent, KeyboardEvent, MouseEvent, ReactElement, CSSProperties } from 'react';
|
|
4
4
|
import { ChildrenProps as ChildrenProps$1 } from 'types/ChildrenProps';
|
|
5
5
|
import dayjs from 'dayjs';
|
|
6
|
-
import { ConnectionStatus as ConnectionStatus$1, ModalState as ModalState$1, FormValidationTypes as FormValidationTypes$1 } from 'enums/enum';
|
|
6
|
+
import { ConnectionStatus as ConnectionStatus$1, ModalState as ModalState$1, ComponentSizes as ComponentSizes$1, ComponentPositions as ComponentPositions$1, ComponentSizesSlug as ComponentSizesSlug$1, FormValidationTypes as FormValidationTypes$1 } from 'enums/enum';
|
|
7
7
|
import { Cancel, AxiosProgressEvent } from 'axios';
|
|
8
8
|
import { SelectValue as SelectValue$1 } from 'types/SelectProps';
|
|
9
9
|
import { ModalProps as ModalProps$1 } from 'types/ModalProps';
|
|
@@ -818,9 +818,9 @@ type InputProps = {
|
|
|
818
818
|
children?: ChildrenProps;
|
|
819
819
|
};
|
|
820
820
|
|
|
821
|
-
type ITDSize = "x-small" | "small" | "medium" | "default" | "large" | "x-large";
|
|
822
|
-
type ITDSizeSlug = "xs" | "sm" | "md" | "df" | "lg" | "xlg";
|
|
823
|
-
type ITDPosition = "left" | "right";
|
|
821
|
+
type ITDSize = ComponentSizes$1 | "x-small" | "small" | "medium" | "default" | "large" | "x-large";
|
|
822
|
+
type ITDSizeSlug = ComponentSizesSlug$1 | "xs" | "sm" | "md" | "df" | "lg" | "xlg";
|
|
823
|
+
type ITDPosition = ComponentPositions$1 | "left" | "right";
|
|
824
824
|
|
|
825
825
|
type CalendarProps = {
|
|
826
826
|
id?: string;
|
|
@@ -902,7 +902,7 @@ type ButtonProps = {
|
|
|
902
902
|
strecth?: boolean;
|
|
903
903
|
circle?: boolean;
|
|
904
904
|
justify?: string;
|
|
905
|
-
contentPosition?:
|
|
905
|
+
contentPosition?: ITDPosition;
|
|
906
906
|
type?: ButtonType;
|
|
907
907
|
variant?: ButtonVariant;
|
|
908
908
|
state?: ButtonState;
|
|
@@ -917,7 +917,6 @@ type ButtonProps = {
|
|
|
917
917
|
type ButtonType = "button" | "submit" | "reset";
|
|
918
918
|
type ButtonVariant = "default" | "solid" | "filled" | "outline" | "ghost" | "link" | "statable" | "custom";
|
|
919
919
|
type ButtonState = "primary" | "secondary" | "request" | "approve" | "reject" | "pending" | "requested" | string | null;
|
|
920
|
-
type ButtonContentPosition = "left" | "right";
|
|
921
920
|
|
|
922
921
|
type RadioType = "default" | "primary";
|
|
923
922
|
type Direction = "column" | "row";
|
|
@@ -1137,7 +1136,7 @@ type AlertProps = {
|
|
|
1137
1136
|
children?: ChildrenProps;
|
|
1138
1137
|
};
|
|
1139
1138
|
type AlertType = "success" | "info" | "warning" | "error";
|
|
1140
|
-
type AlertSize =
|
|
1139
|
+
type AlertSize = ComponentSizes$1.X_SMALL | ComponentSizes$1.SMALL | ComponentSizes$1.MEDIUM | ComponentSizes$1.DEFAULT | ComponentSizes$1.LARGE | ComponentSizes$1.X_LARGE;
|
|
1141
1140
|
|
|
1142
1141
|
type SwitchProps = {
|
|
1143
1142
|
id?: string;
|
|
@@ -1581,6 +1580,26 @@ declare enum ConnectionStatus {
|
|
|
1581
1580
|
ONLINE = "online",
|
|
1582
1581
|
OFFLINE = "offline"
|
|
1583
1582
|
}
|
|
1583
|
+
declare enum ComponentSizes {
|
|
1584
|
+
X_SMALL = "x-small",
|
|
1585
|
+
SMALL = "small",
|
|
1586
|
+
MEDIUM = "medium",
|
|
1587
|
+
DEFAULT = "default",
|
|
1588
|
+
LARGE = "large",
|
|
1589
|
+
X_LARGE = "x-large"
|
|
1590
|
+
}
|
|
1591
|
+
declare enum ComponentSizesSlug {
|
|
1592
|
+
X_SMALL = "xs",
|
|
1593
|
+
SMALL = "sm",
|
|
1594
|
+
MEDIUM = "md",
|
|
1595
|
+
DEFAULT = "df",
|
|
1596
|
+
LARGE = "lg",
|
|
1597
|
+
X_LARGE = "xlg"
|
|
1598
|
+
}
|
|
1599
|
+
declare enum ComponentPositions {
|
|
1600
|
+
LEFT = "left",
|
|
1601
|
+
RIGHT = "right"
|
|
1602
|
+
}
|
|
1584
1603
|
|
|
1585
1604
|
declare const resources: {
|
|
1586
1605
|
tr: {
|
|
@@ -1597,6 +1616,7 @@ declare const resources: {
|
|
|
1597
1616
|
confirmPassword: string;
|
|
1598
1617
|
typeYourNoteHere: string;
|
|
1599
1618
|
selectGender: string;
|
|
1619
|
+
selectCurrency: string;
|
|
1600
1620
|
selectLanguage: string;
|
|
1601
1621
|
selectCountry: string;
|
|
1602
1622
|
birthday: string;
|
|
@@ -1610,6 +1630,11 @@ declare const resources: {
|
|
|
1610
1630
|
turkish: string;
|
|
1611
1631
|
english: string;
|
|
1612
1632
|
};
|
|
1633
|
+
currencies: {
|
|
1634
|
+
TRY: string;
|
|
1635
|
+
EUR: string;
|
|
1636
|
+
USD: string;
|
|
1637
|
+
};
|
|
1613
1638
|
};
|
|
1614
1639
|
buttons: {
|
|
1615
1640
|
submit: string;
|
|
@@ -1890,6 +1915,7 @@ declare const resources: {
|
|
|
1890
1915
|
confirmPassword: string;
|
|
1891
1916
|
typeYourNoteHere: string;
|
|
1892
1917
|
selectGender: string;
|
|
1918
|
+
selectCurrency: string;
|
|
1893
1919
|
selectLanguage: string;
|
|
1894
1920
|
selectCountry: string;
|
|
1895
1921
|
birthday: string;
|
|
@@ -1903,6 +1929,11 @@ declare const resources: {
|
|
|
1903
1929
|
turkish: string;
|
|
1904
1930
|
english: string;
|
|
1905
1931
|
};
|
|
1932
|
+
currencies: {
|
|
1933
|
+
TRY: string;
|
|
1934
|
+
EUR: string;
|
|
1935
|
+
USD: string;
|
|
1936
|
+
};
|
|
1906
1937
|
};
|
|
1907
1938
|
buttons: {
|
|
1908
1939
|
submit: string;
|
|
@@ -2170,5 +2201,5 @@ declare const resources: {
|
|
|
2170
2201
|
};
|
|
2171
2202
|
};
|
|
2172
2203
|
|
|
2173
|
-
export { _default as ALink, Accordion, AddDefaultThemeStyle, AddDefaultUnit, AddZero, Alert, Arrow as ArrowIcon, BackToTop, BackTop, Base64Decode, Base64Encode, Button, Calendar, Card, CheckFileURL, Checkbox, Checkmark, ChunkArray, Collapse, ConnectionStatus, ConsoleLog, ConvertCurrency, DatePicker, DetermineNewHeight, DetermineNewWidth, FileChecker, FileExtensions, FileTypes, FindSelector, Flex, Form, FormValidationTypes, FormatBytes, FormatDate, FormatDateTime, FormatSimpleDate, FormatSimpleDateTime, FormatTime, GetByCurrency, GetCountryCodeByCurrencyCode, GetCountryCodeByLanguage, GetCurrencyFormat, GetCurrencySymbol, GetDecimalByCurrency, GetTypeByFileType, H1, H2, H3, H4, ITDContext, ITDProvider, _default$1 as Image, _default$5 as InlineSVGCached, InlineSelect, InlineSelectArrow, Input, IsValidJSON, Lock as LockIcon, ModalManager, ModalState, NoData, Notification, Picture, Progress, Radio, RemoveUnits, Result, SVGLoader, Select, Spin, Status, Switch, Table, Tabs, TextArea, TinyScrollbar, Trash, UniUpperCase, UpdateThemeStyle, Upload, Upload$1 as UploadIcon, Wait, ZoomIn, ZoomOut, resources, toKebabCase, useAddExternalCSS, useComponentSize, useConnectionStatus, useConstructor, useContextBridge, useCoreFetch, useKeyboardShortcut, useMultiQuery, useOnClickOutside, useOnESCKeyDown, useOnResize, useOrientation, useReCaptcha, useSingleQuery };
|
|
2174
|
-
export type { AccordionItemProps, AccordionProps, AccordionSubMenuProps, AlertProps, AlertSize, AlertType,
|
|
2204
|
+
export { _default as ALink, Accordion, AddDefaultThemeStyle, AddDefaultUnit, AddZero, Alert, Arrow as ArrowIcon, BackToTop, BackTop, Base64Decode, Base64Encode, Button, Calendar, Card, CheckFileURL, Checkbox, Checkmark, ChunkArray, Collapse, ComponentPositions, ComponentSizes, ComponentSizesSlug, ConnectionStatus, ConsoleLog, ConvertCurrency, DatePicker, DetermineNewHeight, DetermineNewWidth, FileChecker, FileExtensions, FileTypes, FindSelector, Flex, Form, FormValidationTypes, FormatBytes, FormatDate, FormatDateTime, FormatSimpleDate, FormatSimpleDateTime, FormatTime, GetByCurrency, GetCountryCodeByCurrencyCode, GetCountryCodeByLanguage, GetCurrencyFormat, GetCurrencySymbol, GetDecimalByCurrency, GetTypeByFileType, H1, H2, H3, H4, ITDContext, ITDProvider, _default$1 as Image, _default$5 as InlineSVGCached, InlineSelect, InlineSelectArrow, Input, IsValidJSON, Lock as LockIcon, ModalManager, ModalState, NoData, Notification, Picture, Progress, Radio, RemoveUnits, Result, SVGLoader, Select, Spin, Status, Switch, Table, Tabs, TextArea, TinyScrollbar, Trash, UniUpperCase, UpdateThemeStyle, Upload, Upload$1 as UploadIcon, Wait, ZoomIn, ZoomOut, resources, toKebabCase, useAddExternalCSS, useComponentSize, useConnectionStatus, useConstructor, useContextBridge, useCoreFetch, useKeyboardShortcut, useMultiQuery, useOnClickOutside, useOnESCKeyDown, useOnResize, useOrientation, useReCaptcha, useSingleQuery };
|
|
2205
|
+
export type { AccordionItemProps, AccordionProps, AccordionSubMenuProps, AlertProps, AlertSize, AlertType, ButtonProps, ButtonState, ButtonType, ButtonVariant, CalendarDayProps, CalendarProps, CalendarValueProps, CardProps, CheckboxEvent, CheckboxGroupProps, CheckboxProps, DatePickerProps, Direction, FieldUpdateProps, FlexAlignProps, FlexGapProps, FlexJustifyProps, FlexProps, FormContextType, FormItemProps, FormProps, FormRuleProps, FormSubComponentProps, FormValueProps, GroupCheckboxOptionType, ITDContextType, ITDImperativeFuncProps, ITDProviderProps, ITDSize, ITDSizeSlug, InputProps, InputVariant, ModalContentProps, ModalProps, ModalRefProps, NotificationContextType, NotificationsProps, ProgressProps, ProgressStatus, QueryValueProps, RadioButtonProps, RadioGroupProps, RadioType, ResultProps, SelectDirection, SelectOptionProps, SelectPosition, SelectProps, SelectToggleProps, SelectValue, SelectVariant, SingleQueryProps, StatusProps, StatusVariant, SwitchProps, TableColumnType, TableProps, TableRefProps, TableRow, TableTRProps, TabsItemProps, TabsProps, TextAreaEvent, TextAreaProps, TextAreaVariant, UploadProgressProps, UploadProps, UploadResultMessageProps };
|