baseui 11.0.3 → 11.1.2

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 (240) hide show
  1. package/a11y/index.d.ts +1 -1
  2. package/accordion/index.d.ts +25 -28
  3. package/app-nav-bar/app-nav-bar.js +33 -40
  4. package/app-nav-bar/app-nav-bar.js.flow +46 -62
  5. package/app-nav-bar/index.d.ts +9 -8
  6. package/app-nav-bar/styled-components.js +83 -29
  7. package/app-nav-bar/styled-components.js.flow +59 -9
  8. package/app-nav-bar/types.js.flow +2 -0
  9. package/aspect-ratio-box/index.d.ts +2 -4
  10. package/avatar/index.d.ts +6 -12
  11. package/badge/badge.js +109 -0
  12. package/badge/badge.js.flow +91 -0
  13. package/badge/constants.js +54 -0
  14. package/badge/constants.js.flow +52 -0
  15. package/badge/hint-dot.js +96 -0
  16. package/badge/hint-dot.js.flow +68 -0
  17. package/badge/index.d.ts +97 -0
  18. package/badge/index.js +80 -0
  19. package/badge/index.js.flow +20 -0
  20. package/badge/notification-circle.js +103 -0
  21. package/badge/notification-circle.js.flow +81 -0
  22. package/badge/package.json +4 -0
  23. package/badge/styled-components.js +242 -0
  24. package/badge/styled-components.js.flow +325 -0
  25. package/badge/types.js +11 -0
  26. package/badge/types.js.flow +59 -0
  27. package/badge/utils.js +33 -0
  28. package/badge/utils.js.flow +23 -0
  29. package/banner/banner.js +283 -0
  30. package/banner/banner.js.flow +253 -0
  31. package/banner/constants.js +35 -0
  32. package/banner/constants.js.flow +33 -0
  33. package/banner/index.d.ts +75 -0
  34. package/banner/index.js +44 -0
  35. package/banner/index.js.flow +16 -0
  36. package/banner/package.json +4 -0
  37. package/banner/styled-components.js +131 -0
  38. package/banner/styled-components.js.flow +119 -0
  39. package/banner/types.js +11 -0
  40. package/banner/types.js.flow +66 -0
  41. package/block/index.d.ts +4 -4
  42. package/breadcrumbs/breadcrumbs.js +5 -1
  43. package/breadcrumbs/breadcrumbs.js.flow +2 -2
  44. package/breadcrumbs/index.d.ts +5 -5
  45. package/button/button.js +2 -1
  46. package/button/button.js.flow +1 -0
  47. package/button/index.d.ts +19 -29
  48. package/button-group/index.d.ts +18 -24
  49. package/card/index.d.ts +16 -14
  50. package/checkbox/index.d.ts +17 -21
  51. package/combobox/index.d.ts +7 -11
  52. package/data-table/index.d.ts +7 -10
  53. package/datepicker/index.d.ts +42 -63
  54. package/datepicker/utils/date-helpers.js +1 -1
  55. package/datepicker/utils/date-helpers.js.flow +1 -1
  56. package/dnd-list/index.d.ts +22 -35
  57. package/drawer/index.d.ts +22 -27
  58. package/es/app-nav-bar/app-nav-bar.js +9 -19
  59. package/es/app-nav-bar/styled-components.js +64 -13
  60. package/es/badge/badge.js +70 -0
  61. package/es/badge/constants.js +42 -0
  62. package/es/badge/hint-dot.js +55 -0
  63. package/es/badge/index.js +11 -0
  64. package/es/badge/notification-circle.js +65 -0
  65. package/es/badge/styled-components.js +296 -0
  66. package/es/badge/types.js +8 -0
  67. package/es/badge/utils.js +17 -0
  68. package/es/banner/banner.js +213 -0
  69. package/es/banner/constants.js +24 -0
  70. package/es/banner/index.js +9 -0
  71. package/es/banner/styled-components.js +122 -0
  72. package/es/banner/types.js +8 -0
  73. package/es/breadcrumbs/breadcrumbs.js +5 -1
  74. package/es/button/button.js +1 -0
  75. package/es/datepicker/utils/date-helpers.js +1 -1
  76. package/es/file-uploader/file-uploader.js +8 -5
  77. package/es/helper/helper-steps.js +3 -1
  78. package/es/input/base-input.js +18 -11
  79. package/es/input/input.js +15 -10
  80. package/es/input/masked-input.js +5 -2
  81. package/es/input/utils.js +4 -2
  82. package/es/locale/tr_TR.js +115 -0
  83. package/es/notification/notification.js +16 -1
  84. package/es/payment-card/custom-cards.config.js +22 -0
  85. package/es/payment-card/icons/uatp.js +52 -0
  86. package/es/payment-card/payment-card.js +8 -3
  87. package/es/popover/popover.js +2 -1
  88. package/es/popover/stateful-container.js +2 -0
  89. package/es/popover/styled-components.js +2 -1
  90. package/es/progress-steps/numbered-step.js +2 -2
  91. package/es/select/select-component.js +38 -21
  92. package/es/table-semantic/styled-components.js +14 -0
  93. package/es/table-semantic/table-builder.js +12 -5
  94. package/es/textarea/textarea.js +15 -9
  95. package/es/themes/dark-theme/color-component-tokens.js +8 -0
  96. package/es/themes/light-theme/color-component-tokens.js +8 -0
  97. package/es/tree-view/tree-label.js +9 -1
  98. package/esm/app-nav-bar/app-nav-bar.js +32 -38
  99. package/esm/app-nav-bar/styled-components.js +79 -28
  100. package/esm/badge/badge.js +97 -0
  101. package/esm/badge/constants.js +42 -0
  102. package/esm/badge/hint-dot.js +83 -0
  103. package/esm/badge/index.js +11 -0
  104. package/esm/badge/notification-circle.js +91 -0
  105. package/esm/badge/styled-components.js +235 -0
  106. package/esm/badge/types.js +8 -0
  107. package/esm/badge/utils.js +17 -0
  108. package/esm/banner/banner.js +271 -0
  109. package/esm/banner/constants.js +24 -0
  110. package/esm/banner/index.js +9 -0
  111. package/esm/banner/styled-components.js +113 -0
  112. package/esm/banner/types.js +8 -0
  113. package/esm/breadcrumbs/breadcrumbs.js +5 -1
  114. package/esm/button/button.js +2 -1
  115. package/esm/datepicker/utils/date-helpers.js +1 -1
  116. package/esm/file-uploader/file-uploader.js +23 -8
  117. package/esm/helper/helper-steps.js +3 -1
  118. package/esm/input/base-input.js +18 -11
  119. package/esm/input/input.js +15 -10
  120. package/esm/input/masked-input.js +6 -3
  121. package/esm/input/utils.js +4 -2
  122. package/esm/locale/tr_TR.js +115 -0
  123. package/esm/notification/notification.js +17 -1
  124. package/esm/payment-card/custom-cards.config.js +22 -0
  125. package/esm/payment-card/icons/uatp.js +53 -0
  126. package/esm/payment-card/payment-card.js +9 -7
  127. package/esm/popover/popover.js +2 -1
  128. package/esm/popover/stateful-container.js +2 -0
  129. package/esm/popover/styled-components.js +3 -2
  130. package/esm/progress-steps/numbered-step.js +2 -2
  131. package/esm/select/select-component.js +75 -57
  132. package/esm/table-semantic/styled-components.js +31 -18
  133. package/esm/table-semantic/table-builder.js +34 -23
  134. package/esm/textarea/textarea.js +15 -9
  135. package/esm/themes/dark-theme/color-component-tokens.js +8 -0
  136. package/esm/themes/light-theme/color-component-tokens.js +8 -0
  137. package/esm/tree-view/tree-label.js +10 -2
  138. package/file-uploader/file-uploader.js +23 -8
  139. package/file-uploader/file-uploader.js.flow +18 -5
  140. package/file-uploader/index.d.ts +11 -11
  141. package/file-uploader/types.js.flow +3 -0
  142. package/flex-grid/index.d.ts +3 -3
  143. package/form-control/index.d.ts +7 -19
  144. package/header-navigation/index.d.ts +8 -9
  145. package/heading/index.d.ts +3 -4
  146. package/helper/helper-steps.js +19 -13
  147. package/helper/helper-steps.js.flow +3 -1
  148. package/helper/index.d.ts +7 -7
  149. package/helpers/base-provider.d.ts +16 -0
  150. package/helpers/overrides.d.ts +23 -0
  151. package/icon/index.d.ts +32 -32
  152. package/index.d.ts +34 -99
  153. package/input/base-input.js +18 -11
  154. package/input/base-input.js.flow +18 -6
  155. package/input/index.d.ts +29 -32
  156. package/input/input.js +15 -10
  157. package/input/input.js.flow +10 -5
  158. package/input/masked-input.js +6 -3
  159. package/input/masked-input.js.flow +3 -0
  160. package/input/types.js.flow +4 -0
  161. package/input/utils.js +4 -2
  162. package/input/utils.js.flow +2 -1
  163. package/layer/index.d.ts +6 -11
  164. package/layout-grid/index.d.ts +25 -7
  165. package/link/index.d.ts +2 -2
  166. package/list/index.d.ts +26 -31
  167. package/{locale.ts → locale/index.d.ts} +8 -0
  168. package/locale/tr_TR.js +123 -0
  169. package/locale/tr_TR.js.flow +124 -0
  170. package/map-marker/index.d.ts +41 -47
  171. package/menu/index.d.ts +27 -37
  172. package/modal/index.d.ts +28 -38
  173. package/notification/index.d.ts +2 -3
  174. package/notification/notification.js +18 -1
  175. package/notification/notification.js.flow +15 -1
  176. package/overrides.ts +2 -22
  177. package/package.json +26 -17
  178. package/pagination/index.d.ts +22 -26
  179. package/payment-card/custom-cards.config.js +30 -0
  180. package/payment-card/custom-cards.config.js.flow +29 -0
  181. package/payment-card/icons/uatp.js +67 -0
  182. package/payment-card/icons/uatp.js.flow +62 -0
  183. package/payment-card/index.d.ts +8 -8
  184. package/payment-card/payment-card.js +12 -7
  185. package/payment-card/payment-card.js.flow +12 -0
  186. package/phone-input/index.d.ts +261 -269
  187. package/pin-code/index.d.ts +11 -18
  188. package/popover/index.d.ts +39 -55
  189. package/popover/popover.js +2 -1
  190. package/popover/popover.js.flow +2 -1
  191. package/popover/stateful-container.js +2 -0
  192. package/popover/stateful-container.js.flow +2 -0
  193. package/popover/styled-components.js +3 -2
  194. package/popover/styled-components.js.flow +2 -1
  195. package/popover/types.js.flow +1 -0
  196. package/progress-bar/index.d.ts +11 -12
  197. package/progress-steps/index.d.ts +16 -16
  198. package/progress-steps/numbered-step.js.flow +2 -2
  199. package/radio/index.d.ts +12 -15
  200. package/rating/index.d.ts +9 -12
  201. package/select/index.d.ts +33 -36
  202. package/select/select-component.js +72 -54
  203. package/select/select-component.js.flow +35 -30
  204. package/side-navigation/index.d.ts +11 -13
  205. package/skeleton/index.d.ts +1 -1
  206. package/slider/index.d.ts +17 -26
  207. package/snackbar/index.d.ts +8 -8
  208. package/spinner/index.d.ts +2 -2
  209. package/styles/index.d.ts +82 -2
  210. package/table/index.d.ts +16 -16
  211. package/table-grid/index.d.ts +6 -8
  212. package/table-semantic/index.d.ts +26 -32
  213. package/table-semantic/styled-components.js +33 -19
  214. package/table-semantic/styled-components.js.flow +12 -0
  215. package/table-semantic/table-builder.js +38 -22
  216. package/table-semantic/table-builder.js.flow +32 -17
  217. package/table-semantic/types.js.flow +1 -0
  218. package/tabs/index.d.ts +20 -23
  219. package/tabs-motion/index.d.ts +23 -23
  220. package/tag/index.d.ts +14 -18
  221. package/textarea/index.d.ts +11 -14
  222. package/textarea/textarea.js +15 -9
  223. package/textarea/textarea.js.flow +11 -5
  224. package/textarea/types.js.flow +1 -0
  225. package/theme.ts +36 -777
  226. package/themes/dark-theme/color-component-tokens.js +8 -0
  227. package/themes/dark-theme/color-component-tokens.js.flow +9 -0
  228. package/themes/index.d.ts +765 -0
  229. package/themes/light-theme/color-component-tokens.js +8 -0
  230. package/themes/light-theme/color-component-tokens.js.flow +9 -0
  231. package/themes/types.js.flow +9 -0
  232. package/timepicker/index.d.ts +5 -8
  233. package/timezonepicker/index.d.ts +5 -8
  234. package/toast/index.d.ts +26 -40
  235. package/tokens/index.d.ts +1 -1
  236. package/tooltip/index.d.ts +7 -9
  237. package/tree-view/index.d.ts +15 -19
  238. package/tree-view/tree-label.js +10 -2
  239. package/tree-view/tree-label.js.flow +4 -4
  240. package/typography/index.d.ts +37 -37
package/link/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import {StyletronComponent} from 'styletron-react';
2
+ import { StyletronComponent } from 'styletron-react';
3
3
 
4
4
  export interface LinkProps
5
5
  extends React.DetailedHTMLProps<
@@ -10,4 +10,4 @@ export interface LinkProps
10
10
  target?: '_self' | '_blank' | '_parent' | '_top';
11
11
  }
12
12
 
13
- export const StyledLink: StyletronComponent<LinkProps>;
13
+ export declare const StyledLink: StyletronComponent<LinkProps>;
package/list/index.d.ts CHANGED
@@ -1,25 +1,20 @@
1
- import {HeaderNavigationOverrides} from 'baseui/header-navigation';
1
+ import { HeaderNavigationOverrides } from '../header-navigation';
2
2
  import * as React from 'react';
3
- import {StyletronComponent} from 'styletron-react';
4
- import {Override} from '../overrides';
3
+ import { StyletronComponent } from 'styletron-react';
4
+ import { Override } from '../overrides';
5
5
 
6
- export interface ARTWORK_SIZES {
6
+ export declare const ARTWORK_SIZES: {
7
7
  SMALL: 'SMALL';
8
8
  MEDIUM: 'MEDIUM';
9
9
  LARGE: 'LARGE';
10
- }
11
- export const ARTWORK_SIZES: ARTWORK_SIZES;
12
- export type ArtworkSizesT =
13
- | ARTWORK_SIZES['SMALL']
14
- | ARTWORK_SIZES['MEDIUM']
15
- | ARTWORK_SIZES['LARGE'];
10
+ };
11
+ export type ArtworkSizesT = typeof ARTWORK_SIZES[keyof typeof ARTWORK_SIZES];
16
12
 
17
- export interface SHAPE {
13
+ export declare const SHAPE: {
18
14
  DEFAULT: 'DEFAULT';
19
15
  ROUND: 'ROUND';
20
- }
21
- export const SHAPE: SHAPE;
22
- export type ShapeT = SHAPE['DEFAULT'] | SHAPE['ROUND'];
16
+ };
17
+ export type ShapeT = typeof SHAPE[keyof typeof SHAPE];
23
18
 
24
19
  export interface StyledRootPropsT {
25
20
  $shape: ShapeT;
@@ -47,11 +42,11 @@ export interface LabelOverrides {
47
42
  }
48
43
 
49
44
  export interface PropsT {
50
- artwork?: React.ReactNode;
45
+ artwork?: (args: { size: number }) => React.ReactNode;
51
46
  artworkSize?: ArtworkSizesT | number;
52
47
  shape?: ShapeT;
53
48
  children: React.ReactNode;
54
- endEnhancer?: React.ReactNode;
49
+ endEnhancer?: () => React.ReactNode;
55
50
  overrides?: ListOverrides;
56
51
  sublist?: boolean;
57
52
  }
@@ -72,16 +67,16 @@ export interface MenuAdapterPropsT extends PropsT {
72
67
  $disabled: boolean;
73
68
  }
74
69
 
75
- export const ListItem: React.ForwardRefExoticComponent<
70
+ export declare const ListItem: React.ForwardRefExoticComponent<
76
71
  PropsT & React.RefAttributes<HTMLLIElement>
77
72
  >;
78
- export const ListItemLabel: React.FC<LabelPropsT>;
79
- export const MenuAdapter: React.FC<MenuAdapterPropsT>;
73
+ export declare const ListItemLabel: React.FC<LabelPropsT>;
74
+ export declare const MenuAdapter: React.FC<MenuAdapterPropsT>;
80
75
 
81
- export const StyledRoot: StyletronComponent<{}>;
82
- export const StyledContent: StyletronComponent<StyledContentPropsT>;
83
- export const StyledEndEnhancerContainer: StyletronComponent<{}>;
84
- export const StyledArtworkContainer: StyletronComponent<StyledArtworkContainerPropsT>;
76
+ export declare const StyledRoot: StyletronComponent<{}>;
77
+ export declare const StyledContent: StyletronComponent<StyledContentPropsT>;
78
+ export declare const StyledEndEnhancerContainer: StyletronComponent<{}>;
79
+ export declare const StyledArtworkContainer: StyletronComponent<StyledArtworkContainerPropsT>;
85
80
 
86
81
  export interface HeadingPropsT {
87
82
  heading: React.ReactNode;
@@ -100,14 +95,14 @@ export type StyledHeadingHeadingPropsT = {
100
95
  $maxLines: 1 | 2;
101
96
  };
102
97
 
103
- export const ListHeading: React.ForwardRefExoticComponent<
98
+ export declare const ListHeading: React.ForwardRefExoticComponent<
104
99
  HeadingPropsT & React.RefAttributes<HTMLLIElement>
105
100
  >;
106
101
 
107
- export const StyledHeadingRoot: StyletronComponent<{}>;
108
- export const StyledHeadingContent: StyletronComponent<{}>;
109
- export const StyledHeadingContentRow: StyletronComponent<{}>;
110
- export const StyledHeadingMainHeading: StyletronComponent<StyledHeadingHeadingPropsT>;
111
- export const StyledHeadingSubHeading: StyletronComponent<StyledHeadingHeadingPropsT>;
112
- export const StyledHeadingEndEnhancerContainer: StyletronComponent<StyledHeadingEndEnhancerContainerPropsT>;
113
- export const StyledHeadingEndEnhancerDescriptionContainer: StyletronComponent<{}>;
102
+ export declare const StyledHeadingRoot: StyletronComponent<{}>;
103
+ export declare const StyledHeadingContent: StyletronComponent<{}>;
104
+ export declare const StyledHeadingContentRow: StyletronComponent<{}>;
105
+ export declare const StyledHeadingMainHeading: StyletronComponent<StyledHeadingHeadingPropsT>;
106
+ export declare const StyledHeadingSubHeading: StyletronComponent<StyledHeadingHeadingPropsT>;
107
+ export declare const StyledHeadingEndEnhancerContainer: StyletronComponent<StyledHeadingEndEnhancerContainerPropsT>;
108
+ export declare const StyledHeadingEndEnhancerDescriptionContainer: StyletronComponent<{}>;
@@ -1,3 +1,5 @@
1
+ import * as React from 'react';
2
+
1
3
  interface AccordionLocale {
2
4
  collapse: string;
3
5
  expand: string;
@@ -101,3 +103,9 @@ export interface Locale {
101
103
  select: SelectLocale;
102
104
  toast: ToastLocale;
103
105
  }
106
+
107
+ export interface LocaleProviderProps {
108
+ locale: Partial<Locale>;
109
+ children?: React.ReactNode;
110
+ }
111
+ export declare const LocaleProvider: React.FC<LocaleProviderProps>;
@@ -0,0 +1,123 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+
8
+ /*
9
+ Copyright (c) Uber Technologies, Inc.
10
+
11
+ This source code is licensed under the MIT license found in the
12
+ LICENSE file in the root directory of this source tree.
13
+ */
14
+ var _default = {
15
+ accordion: {
16
+ collapse: 'Daralt',
17
+ expand: 'Genişlet'
18
+ },
19
+ breadcrumbs: {
20
+ ariaLabel: 'Navigasyon'
21
+ },
22
+ datepicker: {
23
+ ariaLabel: 'Bir tarih seçin.',
24
+ ariaLabelRange: 'Bir tarih aralığı seçin',
25
+ ariaLabelCalendar: 'Takvim',
26
+ ariaRoleDescriptionCalendarMonth: 'Aylık Takvim',
27
+ previousMonth: 'Geçtiğimiz ay.',
28
+ nextMonth: 'Gelecek ay.',
29
+ pastWeek: 'Geçen Hafta',
30
+ pastMonth: 'Geçen Ay',
31
+ pastThreeMonths: 'Son 3 Ay',
32
+ pastSixMonths: 'Son 6 Ay',
33
+ pastYear: 'Geçen Yıl',
34
+ pastTwoYears: 'Son 2 Yıl',
35
+ screenReaderMessageInput: 'Takvimle etkileşim kurmak ve bir tarih seçmek için aşağı ok tuşuna basın. Takvimi kapatmak için kaçış (ESC) düğmesine basın.',
36
+ selectedDate: 'Seçilen tarih ${date}.',
37
+ selectedDateRange: 'Seçilen tarih aralığı ${startDate} ile ${endDate} arasındadır.',
38
+ selectSecondDatePrompt: 'İkinci tarihi seçin.',
39
+ quickSelectLabel: 'Bir tarih aralığı seçin',
40
+ quickSelectAriaLabel: 'Bir tarih aralığı seçin',
41
+ quickSelectPlaceholder: 'Hiçbiri',
42
+ timeSelectEndLabel: 'Bitiş zamanı',
43
+ timeSelectStartLabel: 'Başlangıç zamanı',
44
+ timePickerAriaLabel12Hour: 'Bir zaman seçin, 12-saat formatında.',
45
+ timePickerAriaLabel24Hour: 'Bir zaman seçin, 24-saat formatında.',
46
+ timezonePickerAriaLabel: 'Bir saat dilimi seçin.',
47
+ selectedStartDateLabel: 'Seçilen başlangıç tarihi.',
48
+ selectedEndDateLabel: 'Seçilen bitiş tarihi.',
49
+ dateNotAvailableLabel: 'Kullanılabilir değil.',
50
+ dateAvailableLabel: 'Kullanılabilir.',
51
+ selectedLabel: 'Seçildi.',
52
+ chooseLabel: 'Seç'
53
+ },
54
+ datatable: {
55
+ emptyState: 'Tanımlanan filtre kriterleriyle eşleşen satır yok. Daha fazla veri görüntülemek için lütfen bir veya daha fazla filtreyi kaldırın.',
56
+ loadingState: 'Satır yükleniyor.',
57
+ searchAriaLabel: 'Metne göre ara',
58
+ filterAdd: 'Filtre Ekle',
59
+ filterExclude: 'Dahil etme',
60
+ filterApply: 'Uygula',
61
+ filterExcludeRange: 'Exclude range',
62
+ filterExcludeValue: 'Exclude value',
63
+ filterAppliedTo: 'uygulanan filtre',
64
+ optionsLabel: 'Filtrelenecek sütunu seçin',
65
+ optionsSearch: 'Filtrelemek için bir sütun arayın...',
66
+ optionsEmpty: 'Sütun yok.',
67
+ categoricalFilterSelectAll: 'Tümünü Seç',
68
+ categoricalFilterSelectClear: 'Temizle',
69
+ categoricalFilterEmpty: 'Kategori bulunamadı',
70
+ datetimeFilterRange: 'Aralık',
71
+ datetimeFilterRangeDatetime: 'Tarih, Zaman',
72
+ datetimeFilterRangeDate: 'Tarih',
73
+ datetimeFilterRangeTime: 'Zaman',
74
+ datetimeFilterCategorical: 'Kategorik',
75
+ datetimeFilterCategoricalWeekday: 'Hafta içi',
76
+ datetimeFilterCategoricalMonth: 'Ay',
77
+ datetimeFilterCategoricalQuarter: 'Çeyrek',
78
+ datetimeFilterCategoricalHalf: 'Yarım',
79
+ datetimeFilterCategoricalFirstHalf: 'H1',
80
+ datetimeFilterCategoricalSecondHalf: 'H2',
81
+ datetimeFilterCategoricalYear: 'Yıl',
82
+ numericalFilterRange: 'Aralık',
83
+ numericalFilterSingleValue: 'Single Value',
84
+ booleanFilterTrue: 'doğru',
85
+ booleanFilterFalse: 'yanlış',
86
+ booleanColumnTrueShort: 'D',
87
+ booleanColumnFalseShort: 'Y'
88
+ },
89
+ buttongroup: {
90
+ ariaLabel: 'buton grup'
91
+ },
92
+ fileuploader: {
93
+ dropFilesToUpload: 'Dosyaları yüklemek için buraya bırakın...',
94
+ or: '',
95
+ browseFiles: 'Dosyalara göz atın',
96
+ retry: 'Yüklemeyi Yeniden Dene',
97
+ cancel: 'İptal'
98
+ },
99
+ menu: {
100
+ noResultsMsg: 'Sonuç yok',
101
+ parentMenuItemAriaLabel: 'Şu anda iç içe bir liste kutusu açan bir öğedesiniz. Bu öğeye girmek için sağ ok ve geri dönmek için sol ok tuşuna basın.'
102
+ },
103
+ modal: {
104
+ close: 'Kapat'
105
+ },
106
+ drawer: {
107
+ close: 'Kapat'
108
+ },
109
+ pagination: {
110
+ prev: 'Önceki',
111
+ next: 'Sonraki',
112
+ preposition: 'nın'
113
+ },
114
+ select: {
115
+ noResultsMsg: 'Sonuç bulunamadı',
116
+ placeholder: 'Seç...',
117
+ create: 'Oluştur'
118
+ },
119
+ toast: {
120
+ close: 'Kapat'
121
+ }
122
+ };
123
+ exports.default = _default;
@@ -0,0 +1,124 @@
1
+ /*
2
+ Copyright (c) Uber Technologies, Inc.
3
+
4
+ This source code is licensed under the MIT license found in the
5
+ LICENSE file in the root directory of this source tree.
6
+ */
7
+ // @flow
8
+
9
+ export default {
10
+ accordion: {
11
+ collapse: 'Daralt',
12
+ expand: 'Genişlet',
13
+ },
14
+ breadcrumbs: {
15
+ ariaLabel: 'Navigasyon',
16
+ },
17
+ datepicker: {
18
+ ariaLabel: 'Bir tarih seçin.',
19
+ ariaLabelRange: 'Bir tarih aralığı seçin',
20
+ ariaLabelCalendar: 'Takvim',
21
+ ariaRoleDescriptionCalendarMonth: 'Aylık Takvim',
22
+ previousMonth: 'Geçtiğimiz ay.',
23
+ nextMonth: 'Gelecek ay.',
24
+ pastWeek: 'Geçen Hafta',
25
+ pastMonth: 'Geçen Ay',
26
+ pastThreeMonths: 'Son 3 Ay',
27
+ pastSixMonths: 'Son 6 Ay',
28
+ pastYear: 'Geçen Yıl',
29
+ pastTwoYears: 'Son 2 Yıl',
30
+ screenReaderMessageInput:
31
+ 'Takvimle etkileşim kurmak ve bir tarih seçmek için aşağı ok tuşuna basın. Takvimi kapatmak için kaçış (ESC) düğmesine basın.',
32
+ selectedDate: 'Seçilen tarih ${date}.',
33
+ selectedDateRange: 'Seçilen tarih aralığı ${startDate} ile ${endDate} arasındadır.',
34
+ selectSecondDatePrompt: 'İkinci tarihi seçin.',
35
+ quickSelectLabel: 'Bir tarih aralığı seçin',
36
+ quickSelectAriaLabel: 'Bir tarih aralığı seçin',
37
+ quickSelectPlaceholder: 'Hiçbiri',
38
+ timeSelectEndLabel: 'Bitiş zamanı',
39
+ timeSelectStartLabel: 'Başlangıç zamanı',
40
+ timePickerAriaLabel12Hour: 'Bir zaman seçin, 12-saat formatında.',
41
+ timePickerAriaLabel24Hour: 'Bir zaman seçin, 24-saat formatında.',
42
+ timezonePickerAriaLabel: 'Bir saat dilimi seçin.',
43
+ selectedStartDateLabel: 'Seçilen başlangıç tarihi.',
44
+ selectedEndDateLabel: 'Seçilen bitiş tarihi.',
45
+ dateNotAvailableLabel: 'Kullanılabilir değil.',
46
+ dateAvailableLabel: 'Kullanılabilir.',
47
+ selectedLabel: 'Seçildi.',
48
+ chooseLabel: 'Seç',
49
+ },
50
+ datatable: {
51
+ emptyState:
52
+ 'Tanımlanan filtre kriterleriyle eşleşen satır yok. Daha fazla veri görüntülemek için lütfen bir veya daha fazla filtreyi kaldırın.',
53
+ loadingState: 'Satır yükleniyor.',
54
+ searchAriaLabel: 'Metne göre ara',
55
+ filterAdd: 'Filtre Ekle',
56
+ filterExclude: 'Dahil etme',
57
+ filterApply: 'Uygula',
58
+ filterExcludeRange: 'Exclude range',
59
+ filterExcludeValue: 'Exclude value',
60
+ filterAppliedTo: 'uygulanan filtre',
61
+ optionsLabel: 'Filtrelenecek sütunu seçin',
62
+ optionsSearch: 'Filtrelemek için bir sütun arayın...',
63
+ optionsEmpty: 'Sütun yok.',
64
+ categoricalFilterSelectAll: 'Tümünü Seç',
65
+ categoricalFilterSelectClear: 'Temizle',
66
+ categoricalFilterEmpty: 'Kategori bulunamadı',
67
+ datetimeFilterRange: 'Aralık',
68
+ datetimeFilterRangeDatetime: 'Tarih, Zaman',
69
+ datetimeFilterRangeDate: 'Tarih',
70
+ datetimeFilterRangeTime: 'Zaman',
71
+ datetimeFilterCategorical: 'Kategorik',
72
+ datetimeFilterCategoricalWeekday: 'Hafta içi',
73
+ datetimeFilterCategoricalMonth: 'Ay',
74
+ datetimeFilterCategoricalQuarter: 'Çeyrek',
75
+ datetimeFilterCategoricalHalf: 'Yarım',
76
+ datetimeFilterCategoricalFirstHalf: 'H1',
77
+ datetimeFilterCategoricalSecondHalf: 'H2',
78
+ datetimeFilterCategoricalYear: 'Yıl',
79
+ numericalFilterRange: 'Aralık',
80
+ numericalFilterSingleValue: 'Single Value',
81
+ booleanFilterTrue: 'doğru',
82
+ booleanFilterFalse: 'yanlış',
83
+ booleanColumnTrueShort: 'D',
84
+ booleanColumnFalseShort: 'Y',
85
+ },
86
+ buttongroup: {
87
+ ariaLabel: 'buton grup',
88
+ },
89
+ fileuploader: {
90
+ dropFilesToUpload: 'Dosyaları yüklemek için buraya bırakın...',
91
+ or: '',
92
+ browseFiles: 'Dosyalara göz atın',
93
+ retry: 'Yüklemeyi Yeniden Dene',
94
+ cancel: 'İptal',
95
+ },
96
+ menu: {
97
+ noResultsMsg: 'Sonuç yok',
98
+ parentMenuItemAriaLabel:
99
+ 'Şu anda iç içe bir liste kutusu açan bir öğedesiniz. Bu öğeye girmek için sağ ok ve geri dönmek için sol ok tuşuna basın.',
100
+ },
101
+ modal: {
102
+ close: 'Kapat',
103
+ },
104
+ drawer: {
105
+ close: 'Kapat',
106
+ },
107
+ pagination: {
108
+ prev: 'Önceki',
109
+ next: 'Sonraki',
110
+ preposition: 'nın',
111
+ },
112
+ select: {
113
+ noResultsMsg: 'Sonuç bulunamadı',
114
+ placeholder: 'Seç...',
115
+ create: 'Oluştur',
116
+ },
117
+ toast: {
118
+ close: 'Kapat',
119
+ },
120
+ };
121
+
122
+ declare var __DEV__: boolean;
123
+ declare var __NODE__: boolean;
124
+ declare var __BROWSER__: boolean;
@@ -1,35 +1,35 @@
1
1
  import * as React from 'react';
2
- import {Override} from '../overrides';
2
+ import { Override } from '../overrides';
3
3
 
4
- export interface FLOATING_MARKER_ANCHOR_POSITIONS {
4
+ export declare const FLOATING_MARKER_ANCHOR_POSITIONS: {
5
5
  none: 'none';
6
6
  topLeft: 'top-left';
7
7
  topRight: 'top-right';
8
8
  bottomRight: 'bottom-right';
9
9
  bottomLeft: 'bottom-left';
10
- }
10
+ };
11
11
 
12
- export interface FLOATING_MARKER_SIZES {
12
+ export declare const FLOATING_MARKER_SIZES: {
13
13
  small: 'small';
14
14
  medium: 'medium';
15
15
  large: 'large';
16
- }
16
+ };
17
17
 
18
- export interface FLOATING_MARKER_ANCHOR_TYPES {
18
+ export declare const FLOATING_MARKER_ANCHOR_TYPES: {
19
19
  circle: 'circle';
20
20
  square: 'square';
21
21
  xxSmallCircle: 'xx-small-circle';
22
22
  xxSmallSquare: 'xx-small-square';
23
- }
23
+ };
24
24
 
25
- export interface NEEDLE_SIZES {
25
+ export declare const NEEDLE_SIZES: {
26
26
  none: 'none';
27
27
  short: 'short';
28
28
  medium: 'medium';
29
29
  tall: 'tall';
30
- }
30
+ };
31
31
 
32
- export interface PINHEAD_SIZES_SHAPES {
32
+ export declare const PINHEAD_SIZES_SHAPES: {
33
33
  xxSmallCircle: 'xx-small-circle';
34
34
  xxSmallSquare: 'xx-small-square';
35
35
  xSmallCircle: 'x-small-circle';
@@ -37,44 +37,47 @@ export interface PINHEAD_SIZES_SHAPES {
37
37
  small: 'small';
38
38
  medium: 'medium';
39
39
  large: 'large';
40
- }
40
+ };
41
41
 
42
- export interface BADGE_ENHANCER_SIZES {
42
+ export declare const BADGE_ENHANCER_SIZES: {
43
43
  none: 'none';
44
44
  xSmall: 'x-small';
45
45
  small: 'small';
46
46
  mediumText: 'medium-text';
47
47
  mediumIcon: 'medium-icon';
48
- }
48
+ };
49
49
 
50
- export interface LABEL_ENHANCER_POSITIONS {
50
+ export declare const LABEL_ENHANCER_POSITIONS: {
51
51
  none: 'none';
52
52
  top: 'top';
53
53
  left: 'left';
54
54
  right: 'right';
55
55
  bottom: 'bottom';
56
- }
56
+ };
57
57
 
58
- export interface KIND {
58
+ export declare const KIND: {
59
59
  default: 'default';
60
60
  accent: 'accent';
61
61
  negative: 'negative';
62
- }
62
+ };
63
63
 
64
- interface PINHEAD_TYPES {
64
+ declare const PINHEAD_TYPES: {
65
65
  floating: 'floating';
66
66
  fixed: 'fixed';
67
- }
68
-
69
- export type AnchorPositionsT = FLOATING_MARKER_ANCHOR_POSITIONS[keyof FLOATING_MARKER_ANCHOR_POSITIONS];
70
- export type NeedleSizeT = NEEDLE_SIZES[keyof NEEDLE_SIZES];
71
- export type PinHeadT = PINHEAD_TYPES[keyof PINHEAD_TYPES];
72
- export type PinHeadSizeT = PINHEAD_SIZES_SHAPES[keyof PINHEAD_SIZES_SHAPES];
73
- export type FloatingMarkerSizeT = FLOATING_MARKER_SIZES[keyof FLOATING_MARKER_SIZES];
74
- export type FloatingMarkerAnchorTypeT = FLOATING_MARKER_ANCHOR_TYPES[keyof FLOATING_MARKER_ANCHOR_TYPES];
75
- export type BadgeEnhancerSizeT = BADGE_ENHANCER_SIZES[keyof BADGE_ENHANCER_SIZES];
76
- export type LabelEnhancerPositionT = LABEL_ENHANCER_POSITIONS[keyof LABEL_ENHANCER_POSITIONS];
77
- export type KindT = KIND[keyof KIND];
67
+ };
68
+
69
+ export type AnchorPositionsT =
70
+ typeof FLOATING_MARKER_ANCHOR_POSITIONS[keyof typeof FLOATING_MARKER_ANCHOR_POSITIONS];
71
+ export type NeedleSizeT = typeof NEEDLE_SIZES[keyof typeof NEEDLE_SIZES];
72
+ export type PinHeadT = typeof PINHEAD_TYPES[keyof typeof PINHEAD_TYPES];
73
+ export type PinHeadSizeT = typeof PINHEAD_SIZES_SHAPES[keyof typeof PINHEAD_SIZES_SHAPES];
74
+ export type FloatingMarkerSizeT = typeof FLOATING_MARKER_SIZES[keyof typeof FLOATING_MARKER_SIZES];
75
+ export type FloatingMarkerAnchorTypeT =
76
+ typeof FLOATING_MARKER_ANCHOR_TYPES[keyof typeof FLOATING_MARKER_ANCHOR_TYPES];
77
+ export type BadgeEnhancerSizeT = typeof BADGE_ENHANCER_SIZES[keyof typeof BADGE_ENHANCER_SIZES];
78
+ export type LabelEnhancerPositionT =
79
+ typeof LABEL_ENHANCER_POSITIONS[keyof typeof LABEL_ENHANCER_POSITIONS];
80
+ export type KindT = typeof KIND[keyof typeof KIND];
78
81
 
79
82
  export type FixedMarkerOverridesT = {
80
83
  Root?: Override<any>;
@@ -117,7 +120,7 @@ export type LabelEhancerComponentT = LabelEnhancerT & {
117
120
 
118
121
  export type BadgeEnhancerT = {
119
122
  badgeEnhancerSize?: BadgeEnhancerSizeT | null;
120
- badgeEnhancerContent?: (props: {size: number}) => React.ReactNode;
123
+ badgeEnhancerContent?: (props: { size: number }) => React.ReactNode;
121
124
  };
122
125
 
123
126
  export type BadgeEnhancerComponentT = BadgeEnhancerT & {
@@ -136,8 +139,8 @@ export type FixedMarkerPropsT = BadgeEnhancerT &
136
139
  size?: PinHeadSizeT;
137
140
  needle?: NeedleSizeT;
138
141
  label?: string;
139
- startEnhancer?: (props: {size: number}) => React.ReactNode;
140
- endEnhancer?: (props: {size: number}) => React.ReactNode;
142
+ startEnhancer?: (props: { size: number }) => React.ReactNode;
143
+ endEnhancer?: (props: { size: number }) => React.ReactNode;
141
144
  kind?: KindT;
142
145
  color?: string;
143
146
  background?: string;
@@ -165,8 +168,8 @@ export type FloatingMarkerOverridesT = {
165
168
  export type FloatingMarkerPropsT = {
166
169
  label?: string;
167
170
  anchor?: AnchorPositionsT;
168
- endEnhancer?: (props: {size: number}) => React.ReactNode;
169
- startEnhancer?: (props: {size: number}) => React.ReactNode;
171
+ endEnhancer?: (props: { size: number }) => React.ReactNode;
172
+ startEnhancer?: (props: { size: number }) => React.ReactNode;
170
173
  anchorType?: FloatingMarkerAnchorTypeT;
171
174
  size?: FloatingMarkerSizeT;
172
175
  overrides?: FloatingMarkerOverridesT;
@@ -176,8 +179,8 @@ export type PinHeadPropsT = BadgeEnhancerT &
176
179
  LabelEnhancerT & {
177
180
  size?: PinHeadSizeT;
178
181
  label?: string;
179
- endEnhancer?: (props: {size: number}) => React.ReactNode;
180
- startEnhancer?: (props: {size: number}) => React.ReactNode;
182
+ endEnhancer?: (props: { size: number }) => React.ReactNode;
183
+ startEnhancer?: (props: { size: number }) => React.ReactNode;
181
184
  color?: string;
182
185
  background?: string;
183
186
  type?: PinHeadT;
@@ -193,14 +196,5 @@ export type DragShadowPropsT = {
193
196
  overrides: FixedMarkerOverridesT;
194
197
  };
195
198
 
196
- export const FLOATING_MARKER_ANCHOR_POSITIONS: FLOATING_MARKER_ANCHOR_POSITIONS;
197
- export const FLOATING_MARKER_SIZES: FLOATING_MARKER_SIZES;
198
- export const FLOATING_MARKER_ANCHOR_TYPES: FLOATING_MARKER_ANCHOR_TYPES;
199
- export const NEEDLE_SIZES: NEEDLE_SIZES;
200
- export const PINHEAD_SIZES_SHAPES: PINHEAD_SIZES_SHAPES;
201
- export const BADGE_ENHANCER_SIZES: BADGE_ENHANCER_SIZES;
202
- export const LABEL_ENHANCER_POSITIONS: LABEL_ENHANCER_POSITIONS;
203
- export const KIND: KIND;
204
-
205
- export const FixedMarker: React.FC<FixedMarkerPropsT>;
206
- export const FloatingMarker: React.FC<FloatingMarkerPropsT>;
199
+ export declare const FixedMarker: React.FC<FixedMarkerPropsT>;
200
+ export declare const FloatingMarker: React.FC<FloatingMarkerPropsT>;