react-language-combobox 1.0.14 → 1.0.15

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 (2) hide show
  1. package/README.md +5 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -32,7 +32,7 @@ function App(){
32
32
  showFlags={true}
33
33
  showEnglishNames={true}
34
34
  languageChanged={(lng) => i18n.changeLanguage(lng)}
35
- searchBoxPlaceholder={i18n.t("SearchPlaceHolder")}/>
35
+ searchBoxPlaceholder={i18n.t("SearchPlaceHolder")}/>
36
36
 
37
37
  <h1>{t('WelcomeToReact')}</h1>
38
38
  )
@@ -51,6 +51,7 @@ Available exports
51
51
 
52
52
  - `LanguagePicker` — main component
53
53
  - `defaultTheme` — default theme class names (Tailwind-friendly)
54
+ - `darkTheme` - dark theme (Tailwind-friendly)
54
55
  - Types: `LanguagePickerProperties`, `LanguagePickerTheme`
55
56
 
56
57
  Props / Options
@@ -66,7 +67,7 @@ The component accepts a `LanguagePickerProperties` object with these fields:
66
67
  - `showFlags?: boolean` — when true, shows flag icons next to languages (default: `true`).
67
68
  - `showEnglishNames?: boolean` — when true, display language names in English rather than the selected locale.
68
69
  - `theme?: LanguagePickerTheme` — override default classes for styling. See below.
69
-
70
+ - `searchBoxPlaceholder : string` - placeholder of the search box.
70
71
  Theme
71
72
  -----
72
73
 
@@ -77,6 +78,8 @@ Theme
77
78
  - `list` — classes for the dropdown list (default includes absolute positioning, border, max-height and scrolling behavior).
78
79
  - `item` — classes for each list item (hover/focus state classes recommended).
79
80
  - `selectedItem` — classes applied to the selected list item.
81
+ - `searchBox` - classes applied to the searchbox.
82
+ - `searchBoxContainer` - classes applied to the searchbox container.
80
83
 
81
84
  Accessibility
82
85
  -------------
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-language-combobox",
3
3
  "private": false,
4
- "version": "1.0.14",
4
+ "version": "1.0.15",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",