@multiplatform.one/config 7.78.0 → 7.79.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/README.md +2 -2
- package/design-lint.mjs +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -187,8 +187,8 @@ MPO app gets them (LC-192):
|
|
|
187
187
|
whole visible label (children, `label`, `title`, `Button.Text`, a `t()`
|
|
188
188
|
default or the last segment of its key) is a standard action word: Add,
|
|
189
189
|
Remove, Replace, Delete, Edit, Save, Cancel, Close, Done, Share, Search,
|
|
190
|
-
Filter, Sort, Upload, Download, Copy, Refresh, Settings, More,
|
|
191
|
-
Send, Export or Import. Draw the icon and put the word in the accessibility
|
|
190
|
+
Filter or Filters, Sort, Upload, Download, Copy, Refresh, Settings, More,
|
|
191
|
+
Back, Next, Send, Export or Import. Draw the icon and put the word in the accessibility
|
|
192
192
|
label. Only a form's submit (`type="submit"` or inside `Form.Trigger`) and a
|
|
193
193
|
destructive confirm (Delete or Remove in a Danger section, confirm alert or
|
|
194
194
|
destructive action, or carrying a destructive `intent`) stay words.
|
package/design-lint.mjs
CHANGED
|
@@ -239,7 +239,7 @@ const webPaintKey =
|
|
|
239
239
|
// confirm stay words (HIG). A label that leads with the word ("Add Todo",
|
|
240
240
|
// "Export CSV") is the same action with its object named.
|
|
241
241
|
const actionWord =
|
|
242
|
-
/^(?:add|new|remove|replace|delete|edit|save|cancel|close|done|share|search|
|
|
242
|
+
/^(?:add|new|remove|replace|delete|edit|save|cancel|close|done|share|search|filters?|sort|upload|download|copy|refresh|settings|more|back|next|send|export|import)(?=$|\s)/i;
|
|
243
243
|
const wordControl =
|
|
244
244
|
/^(?:Button|TamaguiButton|Pressable|TouchableOpacity|TouchableHighlight|button|(?!Icon|Action)[A-Z]\w*Button)$|\.Button$/;
|
|
245
245
|
const destructiveWord = /^(?:delete|remove)$/i;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@multiplatform.one/config",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.79.0",
|
|
4
4
|
"description": "Shared build and test configuration presets for multiplatform.one",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"config",
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"access": "public"
|
|
115
115
|
},
|
|
116
116
|
"dependencies": {
|
|
117
|
-
"@multiplatform.one/utils": "^7.
|
|
117
|
+
"@multiplatform.one/utils": "^7.79.0",
|
|
118
118
|
"@tamagui/vite-plugin": "2.7.6",
|
|
119
119
|
"@vitejs/plugin-react": "^6.1.2",
|
|
120
120
|
"dotenv": "^17.4.2",
|