@autobusal/providers 1.37.3 → 1.37.5
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/CHANGELOG.md +12 -0
- package/Styles/GlobalStyles.ts +11 -1
- package/package.json +1 -1
- package/types/articles.ts +7 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.37.5
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- **`input[type="search"]` now gets the same theme styling as every other text-like input.** `GlobalStyles`'s selector list named `text`/`number`/`email`/`password` but not `search` - any search box on the site (the Help Center's new one) rendered with the browser's bare default appearance instead of the theme's background/border/radius/font.
|
|
8
|
+
|
|
9
|
+
## 1.37.4
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- **`CategoryData.name` dropped its dead `name_en`/`name_sq` fields** - `articles_categories.name` is JSON keyed by locale now (obtapi's categories_name_to_json migration); `CategoryData` is the resolved-string shape an article's own `category` and the admin browse list use, the admin Manage form works with the raw per-locale shape directly (see magus Admin/Categories/services.ts).
|
|
14
|
+
|
|
3
15
|
## 1.37.3
|
|
4
16
|
|
|
5
17
|
### Added
|
package/Styles/GlobalStyles.ts
CHANGED
|
@@ -64,7 +64,17 @@ const GlobalStyles = createGlobalStyle`
|
|
|
64
64
|
font-size: ${ props => props.theme.size.l };
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
/*
|
|
68
|
+
* Edited: Ferjolt Ozuni - Date: 2026-08-11
|
|
69
|
+
* 'search' added - it was the one text-like input type missing here, so
|
|
70
|
+
* an <input type="search"> (the Help Center's search box) got NONE of
|
|
71
|
+
* the theme's styling and rendered with the browser's own bare default
|
|
72
|
+
* appearance instead - the exact "not respecting our design" symptom.
|
|
73
|
+
* -webkit-appearance: none also strips Safari/Chrome's native rounded
|
|
74
|
+
* search-field chrome and cancel-button styling, which is what actually
|
|
75
|
+
* let a plain background/border/radius apply to this type at all.
|
|
76
|
+
*/
|
|
77
|
+
input[type='text'], input[type='number'], input[type='email'], input[type='password'], input[type='search'], textarea, select {
|
|
68
78
|
display: block;
|
|
69
79
|
width: 100%;
|
|
70
80
|
height: 38px;
|
package/package.json
CHANGED
package/types/articles.ts
CHANGED
|
@@ -15,11 +15,16 @@ export interface ArticleData {
|
|
|
15
15
|
created_at: string
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
+
/**
|
|
19
|
+
* A category resolved to one language - what an article's own `category`
|
|
20
|
+
* carries, and what the admin browse list shows. `name` is JSON keyed by
|
|
21
|
+
* locale in the database (see the categories_name_to_json migration) -
|
|
22
|
+
* the admin's own Manage form works with that raw shape directly instead
|
|
23
|
+
* of this resolved-string one, see Admin/Categories/services.ts.
|
|
24
|
+
*/
|
|
18
25
|
export interface CategoryData {
|
|
19
26
|
id: number
|
|
20
27
|
name: string
|
|
21
|
-
name_en?: string
|
|
22
|
-
name_sq?: string
|
|
23
28
|
}
|
|
24
29
|
|
|
25
30
|
export interface MoreData {
|