@inntechcorp/it-design 2.1.49 → 2.1.50

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 (70) hide show
  1. package/dist/index.cjs.js +381 -381
  2. package/dist/index.d.ts +567 -1
  3. package/dist/index.esm.js +381 -381
  4. package/dist/lib/index.d.ts +661 -0
  5. package/dist/lib/utils/GetSizeBySizeSlug.d.ts +2 -0
  6. package/dist/locales/calendar.json +30 -0
  7. package/dist/locales/countries.json +197 -0
  8. package/dist/locales/currencies.json +6 -0
  9. package/dist/locales/en/calendar.json +30 -0
  10. package/dist/locales/en/countries.json +197 -0
  11. package/dist/locales/en/currencies.json +6 -0
  12. package/dist/locales/en/itd.json +70 -0
  13. package/dist/locales/itd.json +71 -0
  14. package/dist/locales/tr/calendar.json +30 -0
  15. package/dist/locales/tr/countries.json +197 -0
  16. package/dist/locales/tr/currencies.json +6 -0
  17. package/dist/locales/tr/itd.json +71 -0
  18. package/package.json +3 -2
  19. package/dist/index.d.mts +0 -96
  20. package/dist/utils/GetSizeBySizeSlug.d.ts +0 -2
  21. /package/dist/{stories → lib/stories}/Accordion.d.ts +0 -0
  22. /package/dist/{stories → lib/stories}/Accordion.stories.d.ts +0 -0
  23. /package/dist/{stories → lib/stories}/Alert.d.ts +0 -0
  24. /package/dist/{stories → lib/stories}/Alert.stories.d.ts +0 -0
  25. /package/dist/{stories → lib/stories}/Button.d.ts +0 -0
  26. /package/dist/{stories → lib/stories}/Button.stories.d.ts +0 -0
  27. /package/dist/{stories → lib/stories}/ButtonIcon.d.ts +0 -0
  28. /package/dist/{stories → lib/stories}/Card.d.ts +0 -0
  29. /package/dist/{stories → lib/stories}/Card.stories.d.ts +0 -0
  30. /package/dist/{stories → lib/stories}/Checkbox.d.ts +0 -0
  31. /package/dist/{stories → lib/stories}/Checkbox.stories.d.ts +0 -0
  32. /package/dist/{stories → lib/stories}/CheckboxGroup.d.ts +0 -0
  33. /package/dist/{stories → lib/stories}/CheckboxGroup.stories.d.ts +0 -0
  34. /package/dist/{stories → lib/stories}/CheckboxGroupControl.d.ts +0 -0
  35. /package/dist/{stories → lib/stories}/CheckboxGroupControl.stories.d.ts +0 -0
  36. /package/dist/{stories → lib/stories}/DatePicker.d.ts +0 -0
  37. /package/dist/{stories → lib/stories}/DatePicker.stories.d.ts +0 -0
  38. /package/dist/{stories → lib/stories}/Form.d.ts +0 -0
  39. /package/dist/{stories → lib/stories}/Form.stories.d.ts +0 -0
  40. /package/dist/{stories → lib/stories}/Header.d.ts +0 -0
  41. /package/dist/{stories → lib/stories}/Header.stories.d.ts +0 -0
  42. /package/dist/{stories → lib/stories}/Input.d.ts +0 -0
  43. /package/dist/{stories → lib/stories}/Input.stories.d.ts +0 -0
  44. /package/dist/{stories → lib/stories}/ModalManager.d.ts +0 -0
  45. /package/dist/{stories → lib/stories}/ModalManager.stories.d.ts +0 -0
  46. /package/dist/{stories → lib/stories}/NoDataIcon.d.ts +0 -0
  47. /package/dist/{stories → lib/stories}/Page.d.ts +0 -0
  48. /package/dist/{stories → lib/stories}/Page.stories.d.ts +0 -0
  49. /package/dist/{stories → lib/stories}/Progress.d.ts +0 -0
  50. /package/dist/{stories → lib/stories}/Progress.stories.d.ts +0 -0
  51. /package/dist/{stories → lib/stories}/RadioGroup.d.ts +0 -0
  52. /package/dist/{stories → lib/stories}/RadioGroup.stories.d.ts +0 -0
  53. /package/dist/{stories → lib/stories}/Result.d.ts +0 -0
  54. /package/dist/{stories → lib/stories}/Result.stories.d.ts +0 -0
  55. /package/dist/{stories → lib/stories}/Select.d.ts +0 -0
  56. /package/dist/{stories → lib/stories}/Select.stories.d.ts +0 -0
  57. /package/dist/{stories → lib/stories}/Status.d.ts +0 -0
  58. /package/dist/{stories → lib/stories}/Status.stories.d.ts +0 -0
  59. /package/dist/{stories → lib/stories}/Table.d.ts +0 -0
  60. /package/dist/{stories → lib/stories}/Table.stories.d.ts +0 -0
  61. /package/dist/{stories → lib/stories}/Tabs.d.ts +0 -0
  62. /package/dist/{stories → lib/stories}/Tabs.stories.d.ts +0 -0
  63. /package/dist/{stories → lib/stories}/TextArea.d.ts +0 -0
  64. /package/dist/{stories → lib/stories}/TextArea.stories.d.ts +0 -0
  65. /package/dist/{stories → lib/stories}/Upload.d.ts +0 -0
  66. /package/dist/{stories → lib/stories}/Upload.stories.d.ts +0 -0
  67. /package/dist/{stories → lib/stories}/root/index.d.ts +0 -0
  68. /package/dist/{stories → lib/stories}/select.styled.d.ts +0 -0
  69. /package/dist/{tinyscrollbar → lib/tinyscrollbar}/styled.d.ts +0 -0
  70. /package/dist/{utils → lib/utils}/index.d.ts +0 -0
@@ -0,0 +1,197 @@
1
+ {
2
+ "af": "Afganistan",
3
+ "al": "Arnavutluk",
4
+ "dz": "Cezayir",
5
+ "ad": "Andorra",
6
+ "ao": "Angola",
7
+ "ag": "Antigua ve Barbuda",
8
+ "ar": "Arjantin",
9
+ "am": "Ermenistan",
10
+ "au": "Avustralya",
11
+ "at": "Avusturya",
12
+ "az": "Azerbaycan",
13
+ "bs": "Bahamalar",
14
+ "bh": "Bahreyn",
15
+ "bd": "Bangladeş",
16
+ "bb": "Barbados",
17
+ "by": "Beyaz Rusya",
18
+ "be": "Belçika",
19
+ "bz": "Belize",
20
+ "bj": "Benin",
21
+ "bt": "Bhutan",
22
+ "bo": "Bolivya",
23
+ "ba": "Bosna-Hersek",
24
+ "bw": "Botsvana",
25
+ "br": "Brezilya",
26
+ "bn": "Brunei",
27
+ "bg": "Bulgaristan",
28
+ "bf": "Burkina Faso",
29
+ "bi": "Burundi",
30
+ "cv": "Yeşil Burun Adaları",
31
+ "kh": "Kamboçya",
32
+ "cm": "Kamerun",
33
+ "ca": "Kanada",
34
+ "cf": "Orta Afrika Cumhuriyeti",
35
+ "td": "Çad",
36
+ "cl": "Şili",
37
+ "cn": "Çin Halk Cumhuriyeti",
38
+ "co": "Kolombiya",
39
+ "km": "Komorlar",
40
+ "cg": "Kongo Cumhuriyeti",
41
+ "cd": "Demokratik Kongo",
42
+ "cr": "Kosta Rika",
43
+ "ci": "Fildişi Sahili",
44
+ "hr": "Hırvatistan",
45
+ "cu": "Küba",
46
+ "cw": "Curaçao",
47
+ "cy": "Güney Kıbrıs",
48
+ "cz": "Çek Cumhuriyeti",
49
+ "dk": "Danimarka",
50
+ "dj": "Cibuti",
51
+ "dm": "Dominika",
52
+ "do": "Dominik Cumhuriyeti",
53
+ "ec": "Ekvador",
54
+ "eg": "Mısır",
55
+ "sv": "El Salvador",
56
+ "gq": "Ekvator Ginesi",
57
+ "er": "Eritre",
58
+ "ee": "Estonya",
59
+ "sz": "Esvati̇ni̇",
60
+ "et": "Etiyopya",
61
+ "fj": "Fiji",
62
+ "fi": "Finlandiya",
63
+ "fr": "Fransa",
64
+ "ga": "Gabon",
65
+ "gm": "Gambia",
66
+ "ge": "Gürcistan",
67
+ "de": "Almanya",
68
+ "gh": "Gana",
69
+ "gr": "Yunanistan",
70
+ "gd": "Grenada",
71
+ "gt": "Guatemala",
72
+ "gn": "Gine",
73
+ "gw": "Guinea-Bissau",
74
+ "gy": "Guyana",
75
+ "ht": "Haiti",
76
+ "hn": "Honduras",
77
+ "hu": "Macaristan",
78
+ "is": "İzlanda",
79
+ "in": "Hindistan",
80
+ "id": "Endonezya",
81
+ "ir": "İran",
82
+ "iq": "Irak",
83
+ "ie": "Ireland",
84
+ "il": "İrlanda",
85
+ "it": "İtalya",
86
+ "jm": "Jamaika",
87
+ "jp": "Japonya",
88
+ "jo": "Ürdün",
89
+ "kz": "Kazakistan",
90
+ "ke": "Kenya",
91
+ "ki": "Kiribati",
92
+ "kp": "Kuzey Kore",
93
+ "kr": "Güney Kore",
94
+ "kw": "Kuveyt",
95
+ "kg": "Kırgızistan",
96
+ "la": "Laos",
97
+ "lv": "Letonya",
98
+ "lb": "Lübnan",
99
+ "ls": "Lesotho",
100
+ "lr": "Liberya",
101
+ "ly": "Libya",
102
+ "li": "Lihtenştayn",
103
+ "lt": "Litvanya",
104
+ "lu": "Lüksemburg",
105
+ "mg": "Madagaskar",
106
+ "mw": "Malavi",
107
+ "my": "Malezya",
108
+ "mv": "Maldivler",
109
+ "ml": "Mali",
110
+ "mt": "Malta",
111
+ "mh": "Marshall Adaları",
112
+ "mr": "Moritanya",
113
+ "mu": "Mauritius",
114
+ "mx": "Meksika",
115
+ "fm": "Mikronezya",
116
+ "md": "Moldova",
117
+ "mc": "Monako",
118
+ "mn": "Moğolistan",
119
+ "me": "Karadağ",
120
+ "ma": "Fas",
121
+ "mz": "Mozambik",
122
+ "mm": "Myanmar",
123
+ "na": "Namibya",
124
+ "nr": "Nauru",
125
+ "np": "Nepal",
126
+ "nl": "Hollanda",
127
+ "nz": "Yeni Zelanda",
128
+ "ni": "Nikaragua",
129
+ "ne": "Nijer",
130
+ "ng": "Nijerya",
131
+ "mk": "Makedonya",
132
+ "no": "Norveç",
133
+ "om": "Umman",
134
+ "pk": "Pakistan",
135
+ "pw": "Palau",
136
+ "pa": "Panama",
137
+ "pg": "Papua Yeni Gine",
138
+ "py": "Paraguay",
139
+ "pe": "Peru",
140
+ "ph": "Filipinler",
141
+ "pl": "Polonya",
142
+ "pt": "Portekiz",
143
+ "qa": "Katar",
144
+ "ro": "Romanya",
145
+ "ru": "Rusya",
146
+ "rw": "Ruanda",
147
+ "kn": "Saint Kitts ve Nevis",
148
+ "lc": "Saint Lucia",
149
+ "vc": "Saint Vincent",
150
+ "ws": "Samoa",
151
+ "sm": "San Marino",
152
+ "st": "Sao Tome and Principe",
153
+ "sa": "Suudi Arabistan",
154
+ "sn": "Senegal",
155
+ "rs": "Sırbistan",
156
+ "sc": "Seyşeller",
157
+ "sl": "Sierra Leone",
158
+ "sg": "Singapur",
159
+ "sk": "Slovakya",
160
+ "si": "Slovenya",
161
+ "sb": "Solomon Adaları",
162
+ "so": "Somali",
163
+ "za": "Güney Afrika",
164
+ "ss": "Güney Sudan",
165
+ "es": "İspanya",
166
+ "lk": "Sri Lanka",
167
+ "sd": "Sudan",
168
+ "sr": "Surinam",
169
+ "se": "İsveç",
170
+ "ch": "İsviçre",
171
+ "sy": "Suriye",
172
+ "tj": "Tacikistan",
173
+ "tw": "Tayvan",
174
+ "tz": "Tanzanya",
175
+ "th": "Tayland",
176
+ "tl": "Doğu Timor",
177
+ "tg": "Togo",
178
+ "to": "Tonga",
179
+ "tt": "Trinidad ve Tobago",
180
+ "tn": "Tunus",
181
+ "tr": "Türkiye",
182
+ "tm": "Türkmenistan",
183
+ "tv": "Tuvalu",
184
+ "ug": "Uganda",
185
+ "ua": "Ukrayna",
186
+ "ae": "Birleşik Arap Emirlikleri",
187
+ "gb": "Birleşik Krallık",
188
+ "us": "Amerika Birleşik Devletleri",
189
+ "uy": "Uruguay",
190
+ "uz": "Özbekistan",
191
+ "vu": "Vanuatu",
192
+ "ve": "Venezuela",
193
+ "vn": "Vietnam",
194
+ "ye": "Yemen",
195
+ "zm": "Zambiya",
196
+ "zw": "Zimbabve"
197
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "TRY": "Türk Lirası",
3
+ "EUR": "Euro",
4
+ "USD": "Dolar"
5
+
6
+ }
@@ -0,0 +1,71 @@
1
+ {
2
+ "success": "Başarılı",
3
+ "error": "Hata",
4
+ "table": {
5
+ "noData": "Veri Yok"
6
+ },
7
+ "placeholders": {
8
+ "username": "Kullanıcı adı",
9
+ "email": "E-Posta",
10
+ "password": "Şifre",
11
+ "confirmPassword": "Şifre tekrar",
12
+ "typeYourNoteHere": "Notunuzu buraya yazınız",
13
+ "selectGender": "Cinsiyet Seçin",
14
+ "selectLanguage": "Dil Seçin",
15
+ "selectCountry": "Ülke Seçin",
16
+ "birthday": "Doğum Tarihi",
17
+ "multipleSelection": "Seçili ({{- count}})"
18
+ },
19
+ "options": {
20
+ "all": "Hepsi",
21
+ "male": "Erkek",
22
+ "female": "Kadın",
23
+ "languages": {
24
+ "turkish": "Türkçe",
25
+ "english": "İngilizce"
26
+ }
27
+ },
28
+ "buttons": {
29
+ "submit": "Gönder",
30
+ "reset": "Temizle"
31
+ },
32
+ "errors": {
33
+ "required": "Bu alan zorunludur!",
34
+ "minLength": "En az {{- length}} karakter olmalıdır",
35
+ "maxLength": "Çok uzun. Maks uzunluk {{- length}} karakter olmalıdır.",
36
+ "exactLength": "This field must be {{- length}} characters long.",
37
+ "passwordRule": "Şifreniz en az 8 harf olmalı, bir rakam, bir büyük ve bir küçük harf, bir özel karakter içermeli ve boşluk kullanılmamalıdır.",
38
+ "invalidEmailAddress": "Geçersiz e-posta adresi",
39
+ "passwordsDontMatch": "Girdiğiniz şifreler birbirleriyle uyuşmuyor!",
40
+ "usernameRule": "Şifreniz en az 6 karakter uzunluğunda olmalıdır. Sadece İngilizce harfler, rakamlar ve semboller (-_.) kullanılabilir. Boşluk karakterine izin verilmez.",
41
+ "wrongTCIdentity": "TC Kimlik Numarası Yanlış",
42
+ "fieldMustBeTheSame": "Bu alan şunlarla aynı olmalıdır: {{- fields}}"
43
+ },
44
+ "uploader": {
45
+ "header": "Bir resmi sürükleyip bırakın",
46
+ "hint": "ya da bir dosya seçmek için tıklayın.",
47
+ "fileUploading": "Dosya yükleniyor...",
48
+ "info": "Toplam: {{- total}} - {{- estimated}} sn kaldı.",
49
+ "delete": "Sil",
50
+ "preview": "Önizleme",
51
+ "error": "Hata",
52
+ "fileFormatError": "Yalnızca {{fileFormat}} dosyası yükleyebilirsiniz.",
53
+ "fileSizeError": "Dosya boyutu {{fileSize}}'den küçük olmalıdır.",
54
+ "fileUploadSuccess": "Dosya başarıyla yüklendi.",
55
+ "fileUploadFailed": "Dosya yüklenemedi!",
56
+ "removeFileSuccess": "Dosya başarıyla silindi!",
57
+ "browserDoesntSupportDND": "Tarayıcı taşı&bırak özelliğini desteklemiyor!",
58
+ "calculating": "Hesaplanıyor...",
59
+ "removeFile": "Dosya Silme",
60
+ "areYouSureToDeleteThisFile": "Bu dosyayı silmek istediğinize emin misiniz?",
61
+ "yes": "Evet",
62
+ "no": "Hayır"
63
+ },
64
+ "results": {
65
+ "authentication": {
66
+ "title": "Üye Girişi Gerekiyor",
67
+ "subtitle": "Bu bölüme ulaşmanız için üye girişi yapmanız gerekiyor. Aşağıdaki tuşa tıklayarak lütfen üye girişi yapınız.",
68
+ "button": "GİRİŞ YAP"
69
+ }
70
+ }
71
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inntechcorp/it-design",
3
- "version": "2.1.49",
3
+ "version": "2.1.50",
4
4
  "description": "All in one Design library for web applications.",
5
5
  "author": "Inn.Tech",
6
6
  "license": "ISC",
@@ -175,7 +175,8 @@
175
175
  "default": "./dist/index.cjs.js"
176
176
  }
177
177
  },
178
- "./dist/global.css": "./dist/global.css"
178
+ "./dist/global.css": "./dist/global.css",
179
+ "./locales/*": "./dist/locales/*"
179
180
  },
180
181
  "directories": {
181
182
  "lib": "lib"
package/dist/index.d.mts DELETED
@@ -1,96 +0,0 @@
1
- /**
2
- * CONTEXT PROVIDER
3
- */
4
- export { ITDProvider } from './context/ITDContext';
5
- /**
6
- * CONTEXT
7
- */
8
- export { default as ITDContext } from './context/ITDContext';
9
- /**
10
- * HELPERS
11
- */
12
- export * from './helpers';
13
- /**
14
- * HOOKS
15
- */
16
- export * from './hooks';
17
- /**
18
- * HTML
19
- */
20
- export * from './html/header';
21
- /**
22
- * ICONS
23
- */
24
- export * from './icons';
25
- /**
26
- * FORWARDED REF COMPONENTS
27
- */
28
- export { default as Select } from './select';
29
- export { default as Form } from './form';
30
- export { default as Checkbox } from './checkbox';
31
- export { default as Accordion } from './accordion';
32
- export { default as Calendar } from './calendar';
33
- export { default as DatePicker } from './datepicker';
34
- export { default as Input } from './input';
35
- export { default as TextArea } from './textarea';
36
- export { default as Switch } from './switch';
37
- export { default as Tooltip } from './tooltip';
38
- export { default as Upload } from './upload';
39
- /**
40
- * COMPONENTS (HAS SUB COMPONENTS)
41
- */
42
- export { default as Collapse } from './collapse';
43
- export { default as ModalManager } from './modal';
44
- export { default as Notification } from './notification';
45
- export { default as Radio } from './radio';
46
- export { default as InlineSelect } from './inlineselect';
47
- /**
48
- * COMPONENTS
49
- */
50
- export { default as Image } from './image';
51
- export { default as ConsoleLog } from './logger';
52
- export { default as Button } from './button';
53
- export { default as Alert } from './alert';
54
- export { default as Result } from './result';
55
- export { default as ALink } from './alink';
56
- export { default as Spin } from './spin';
57
- export { default as BackTop } from './back-top';
58
- export { default as Status } from './status';
59
- export { default as Progress } from './progress';
60
- export { default as TinyScrollbar } from './tinyscrollbar';
61
- export { default as Tabs } from './tabs';
62
- export { default as Card } from './card';
63
- export { default as Table } from './table';
64
- export { default as Flex } from './flex';
65
- export type { FormContextType } from './form/context/FormContext';
66
- export type { NotificationContextType } from './notification/context/NotificationsContext';
67
- export type { ITDContextType, ITDProviderProps } from './context/ITDContext';
68
- export type { QueryValueProps } from './types/QueryValueProps';
69
- export type { AccordionProps } from './types/AccordionProps';
70
- export type { AccordionSubMenuProps } from './types/AccordionSubMenuProps';
71
- export type { AccordionItemProps } from './types/AccordionItemProps';
72
- export type { InputProps, InputVariant } from './types/InputProps';
73
- export type { DatePickerProps } from './types/DatePickerProps';
74
- export type { CalendarProps, CalendarValueProps, CalendarDayProps } from './types/CalendarProps';
75
- export type { TextAreaProps, TextAreaVariant, TextAreaEvent } from './types/TextAreaProps';
76
- export type { RadioGroupProps, RadioButtonProps, RadioType, Direction } from './types/RadioProps';
77
- export type { SelectProps, SelectToggleProps, SelectOptionProps, SelectValue, SelectVariant, SelectDirection, SelectPosition } from './types/SelectProps';
78
- export type { CheckboxProps, CheckboxGroupProps, GroupCheckboxOptionType, CheckboxEvent } from './types/CheckboxProps';
79
- export type { ITDImperativeFuncProps } from './types/ITDImperativeFuncProps';
80
- export type { SingleQueryProps } from './types/SingleQueryProps';
81
- export type { ButtonProps, ButtonType, ButtonVariant, ButtonState, ButtonContentPosition } from './types/ButtonProps';
82
- export type { FormProps, FormRuleProps, FormValueProps, FormItemProps, FormSubComponentProps, FieldUpdateProps } from './types/FormProps';
83
- export type { NotificationsProps } from './types/NotificationsProps';
84
- export type { AlertProps, AlertType, AlertSize } from './types/AlertProps';
85
- export type { SwitchProps } from './types/SwitchProps';
86
- export type { ModalProps, ModalContentProps, ModalRefProps } from './types/ModalProps';
87
- export type { UploadProps, UploadProgressProps, UploadResultMessageProps } from './types/UploadProps';
88
- export type { ResultProps } from './types/ResultProps';
89
- export type { TabsItemProps, TabsProps } from './types/TabsProps';
90
- export type { TableColumnType, TableProps, TableTRProps, TableRow, TableRefProps } from './types/TableProps';
91
- export type { CardProps } from './types/CardProps';
92
- export type { ProgressProps, ProgressStatus } from './types/ProgressProps';
93
- export type { StatusProps, StatusVariant } from './types/StatusProps';
94
- export type { ITDSize, ITDSizeSlug } from './types/ITDProps';
95
- export type { FlexProps, FlexAlignProps, FlexGapProps, FlexJustifyProps } from './types/FlexProps';
96
- export { ModalState, FileExtensions, FileTypes, FormValidationTypes } from './enums/enum';
@@ -1,2 +0,0 @@
1
- import { ITDSizeSlug } from "../index";
2
- export default function GetSizeBySizeSlug(size: ITDSizeSlug): "small" | "medium" | "large" | "x-small" | "default" | "x-large" | "df";
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes