@dcs-tech/ui-native 0.17.0 → 0.18.0
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 +8 -0
- package/README.md +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -117,7 +117,7 @@ A prop marked **same** takes the same values and does the same thing as on `@dcs
|
|
|
117
117
|
|---|---|
|
|
118
118
|
| Same | `name`, `options`, `value`, `onChange` (`{ target: { name, value, type: 'select' } }`), `label`, `hint`, `error`, `required`, `defaultText`, `disabled`, `readOnly`, `size`, `variant`, `layout`, `width`, `clearable`, `multiSelect` (`maxSelection`, `minSelection`, `alwaysDisabled`, `defaultSelected`, `showSelectAll`, `maxDisplayItems`), `search` (on by default), `sort` (on by default), `group`, `emptyState`, `loading`, `renderOption`, `renderSelectedValue`, `open` / `defaultOpen` / `onOpenChange`, `onOpen`, `onClose`, `onSearch`, `onSelect`, `onDeselect`, `onClear`, `aria-label` |
|
|
119
119
|
| Adapted | The list is a sheet from the bottom of the screen, with a title, a close button (single) or OK (several). `autoFocusSearch` is off by default: the phone's keyboard would come up over the list. `defaultValue` and `placeholder` as well. The count text ("3 items selected") is `labels.select.itemsSelected`. |
|
|
120
|
-
| Not yet | `reorder`, `renderTrigger`, `renderChip`, `multiSelect.displayFormat` (declared on the web, not drawn there either) |
|
|
120
|
+
| Not yet | `reorder`, `renderTrigger`, `renderChip`, `prefix`, `suffix`, `multiSelect.displayFormat` (declared on the web, not drawn there either) |
|
|
121
121
|
| Web only | `position`, `listWidth`, `virtualScroll` (a phone list scrolls by itself), `keyboard`, the class names, `parentDivStyle`, the grid-cell props |
|
|
122
122
|
|
|
123
123
|
**DatePicker**
|
|
@@ -134,7 +134,7 @@ A prop marked **same** takes the same values and does the same thing as on `@dcs
|
|
|
134
134
|
|---|---|
|
|
135
135
|
| Same | `name`, `data`, `config` (`searchKeys`, `renderKeys` with `p` / `s` / `t` lines, labels, formatters and `hideWhenEmpty`, `maxResults`, `highlightMatches`, `groupBy`, `sortBy`, `searchEngine`, `searchMode`, `fuseThreshold`, `uniqueKey`), `value`, `onChange`, `onSelect` (item, name), `label`, `placeholder`, `hint`, `error`, `required`, `disabled`, `readOnly`, `size`, `variant`, `layout`, `width`, `minSearchLength`, `debounceMs`, `showAllOnFocus`, `openOnFocus`, `clearOnSelect`, `closeOnSelect`, `renderItem` (item, isHighlighted, searchValue), `renderGroup` |
|
|
136
136
|
| Adapted | The list sits under the field, in the layout, up to 300 points or 40% of the screen. `defaultValue` and `onChangeText` as well. A formatter's tags: `strong` is bold, `em` italic, the rest plain text; its class names and styles are web only. Inside a ScrollView, set `keyboardShouldPersistTaps="handled"` on it, or the first tap on a suggestion only puts the keyboard away. |
|
|
137
|
-
| Not yet | `renderEmptyState`, `selectFirstOnEnter` |
|
|
137
|
+
| Not yet | `renderEmptyState`, `selectFirstOnEnter`, `prefix`, `suffix` |
|
|
138
138
|
| Web only | the arrow keys and Enter, `portal`, `position`, `listWidth`, `renderInput`, `type`, the class names, the grid-cell props |
|
|
139
139
|
|
|
140
140
|
**Dialog, useDialog**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcs-tech/ui-native",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "React Native components of the DCS Tech UI library, on the same logic, icons and design tokens as @dcs-tech/ui.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"clean": "rm -rf dist"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@dcs-tech/core": "0.
|
|
42
|
-
"@dcs-tech/tokens": "0.
|
|
41
|
+
"@dcs-tech/core": "0.18.0",
|
|
42
|
+
"@dcs-tech/tokens": "0.18.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"react": ">=19.3",
|