@webority/mobile-ui 0.95.0 → 0.96.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.
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "webority-phone",
3
+ "version": "0.96.0",
4
+ "platform": "Phone",
5
+ "kitModuleVersion": 2,
6
+ "rendererProtocolVersion": 8,
7
+ "library": {
8
+ "name": "@webority/mobile-ui",
9
+ "version": "0.96.0"
10
+ },
11
+ "files": {
12
+ "manifest.json": {
13
+ "sha256": "152eb8fbd448955a837ca080e2ad7d9055c5b26153781b82fddda0ee471e1f78",
14
+ "bytes": 612565
15
+ },
16
+ "kit.js": {
17
+ "sha256": "13a99e53caf0dca91bc61658eef8f5388f587125bda584313cd9a5413cafa1cf",
18
+ "bytes": 5912244
19
+ },
20
+ "kit.css": {
21
+ "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
22
+ "bytes": 0
23
+ }
24
+ }
25
+ }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meta=void 0;var _meta=require("../../canvasKit/meta.js");const meta=exports.meta=(0,_meta.definePhoneMeta)()({name:"EmptyState",marker:null,platforms:["phone"],acceptsChildren:!1,props:{icon:{type:"node",description:"Illustration or icon drawn in a circle above the title."},title:{type:"string",required:!0,description:"Headline message."},description:{type:"string",description:"Supporting copy under the title."},size:{type:"enum",values:["sm","md","lg"],default:"md",description:"Icon size, type scale and vertical padding."},fill:{type:"boolean",default:!1,description:"Grows to fill the space it is given and centres its content; pass it as the empty component of a list."}},omit:["action","secondaryAction"],examples:[{id:"EmptyState.medium",title:"Medium",props:{title:"No messages yet",description:"Start a conversation with anyone in your contacts.",size:"md"}},{id:"EmptyState.small",title:"Small",props:{title:"No messages yet",description:"Start a conversation with anyone in your contacts.",size:"sm"}},{id:"EmptyState.large",title:"Large",props:{title:"No messages yet",description:"Start a conversation with anyone in your contacts.",size:"lg"}},{id:"EmptyState.titleOnly",title:"Title only",props:{title:"Nothing here"}}],usage:{when:["A list, search or screen has no data yet and needs a clear next step.","A load failed and the screen shows a message with a retry action."],whenNot:[{text:"Data is still loading.",instead:"Skeleton"},{text:"A short passing message about an action.",instead:"Toast"}],do:[{note:"Say what is missing and what to do about it.",example:[{component:"EmptyState",props:{title:"No orders yet",description:"When you place an order it will show up here."}}]}],dont:[{note:"Do not leave a bare title with no explanation.",example:[{component:"EmptyState",props:{title:"Empty"}}]}],a11y:["Announced as a summary region, so write the title and description as plain sentences.","Put the meaning in the title and description, not in the icon."]}});
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meta=void 0;var _meta=require("../../canvasKit/meta.js");const meta=exports.meta=(0,_meta.definePhoneMeta)()({name:"EmptyState",marker:null,platforms:["phone"],acceptsChildren:!1,props:{icon:{type:"node",description:"Illustration or icon drawn in a circle above the title."},title:{type:"string",required:!0,description:"Headline message."},description:{type:"string",description:"Supporting copy under the title."},size:{type:"enum",values:["sm","md","lg"],default:"md",description:"Icon size, type scale and vertical padding."},fill:{type:"boolean",default:!1,description:"Grows to fill the space it is given and centres its content; pass it as the empty component of a list."},action:{type:"object",description:"The main button under the message, filled in the primary colour.",fields:{label:{type:"string",required:!0,description:"The button's text."},accessibilityLabel:{type:"string",description:"The spoken label, when it differs from the text."},accessibilityHint:{type:"string",description:"What pressing the button does, spoken after the label."}}},secondaryAction:{type:"object",description:"A second, quieter button beside the main one.",fields:{label:{type:"string",required:!0,description:"The button's text."},accessibilityLabel:{type:"string",description:"The spoken label, when it differs from the text."},accessibilityHint:{type:"string",description:"What pressing the button does, spoken after the label."}}}},omit:[],examples:[{id:"EmptyState.medium",title:"Medium",props:{title:"No messages yet",description:"Start a conversation with anyone in your contacts.",size:"md"}},{id:"EmptyState.small",title:"Small",props:{title:"No messages yet",description:"Start a conversation with anyone in your contacts.",size:"sm"}},{id:"EmptyState.large",title:"Large",props:{title:"No messages yet",description:"Start a conversation with anyone in your contacts.",size:"lg"}},{id:"EmptyState.titleOnly",title:"Title only",props:{title:"Nothing here"}}],usage:{when:["A list, search or screen has no data yet and needs a clear next step.","A load failed and the screen shows a message with a retry action."],whenNot:[{text:"Data is still loading.",instead:"Skeleton"},{text:"A short passing message about an action.",instead:"Toast"}],do:[{note:"Say what is missing and what to do about it.",example:[{component:"EmptyState",props:{title:"No orders yet",description:"When you place an order it will show up here."}}]}],dont:[{note:"Do not leave a bare title with no explanation.",example:[{component:"EmptyState",props:{title:"Empty"}}]}],a11y:["Announced as a summary region, so write the title and description as plain sentences.","Put the meaning in the title and description, not in the icon."]}});
@@ -1 +1 @@
1
- "use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"EmptyState",marker:null,platforms:["phone"],acceptsChildren:!1,props:{icon:{type:"node",description:"Illustration or icon drawn in a circle above the title."},title:{type:"string",required:!0,description:"Headline message."},description:{type:"string",description:"Supporting copy under the title."},size:{type:"enum",values:["sm","md","lg"],default:"md",description:"Icon size, type scale and vertical padding."},fill:{type:"boolean",default:!1,description:"Grows to fill the space it is given and centres its content; pass it as the empty component of a list."}},omit:["action","secondaryAction"],examples:[{id:"EmptyState.medium",title:"Medium",props:{title:"No messages yet",description:"Start a conversation with anyone in your contacts.",size:"md"}},{id:"EmptyState.small",title:"Small",props:{title:"No messages yet",description:"Start a conversation with anyone in your contacts.",size:"sm"}},{id:"EmptyState.large",title:"Large",props:{title:"No messages yet",description:"Start a conversation with anyone in your contacts.",size:"lg"}},{id:"EmptyState.titleOnly",title:"Title only",props:{title:"Nothing here"}}],usage:{when:["A list, search or screen has no data yet and needs a clear next step.","A load failed and the screen shows a message with a retry action."],whenNot:[{text:"Data is still loading.",instead:"Skeleton"},{text:"A short passing message about an action.",instead:"Toast"}],do:[{note:"Say what is missing and what to do about it.",example:[{component:"EmptyState",props:{title:"No orders yet",description:"When you place an order it will show up here."}}]}],dont:[{note:"Do not leave a bare title with no explanation.",example:[{component:"EmptyState",props:{title:"Empty"}}]}],a11y:["Announced as a summary region, so write the title and description as plain sentences.","Put the meaning in the title and description, not in the icon."]}});
1
+ "use strict";import{definePhoneMeta}from"../../canvasKit/meta.js";export const meta=definePhoneMeta()({name:"EmptyState",marker:null,platforms:["phone"],acceptsChildren:!1,props:{icon:{type:"node",description:"Illustration or icon drawn in a circle above the title."},title:{type:"string",required:!0,description:"Headline message."},description:{type:"string",description:"Supporting copy under the title."},size:{type:"enum",values:["sm","md","lg"],default:"md",description:"Icon size, type scale and vertical padding."},fill:{type:"boolean",default:!1,description:"Grows to fill the space it is given and centres its content; pass it as the empty component of a list."},action:{type:"object",description:"The main button under the message, filled in the primary colour.",fields:{label:{type:"string",required:!0,description:"The button's text."},accessibilityLabel:{type:"string",description:"The spoken label, when it differs from the text."},accessibilityHint:{type:"string",description:"What pressing the button does, spoken after the label."}}},secondaryAction:{type:"object",description:"A second, quieter button beside the main one.",fields:{label:{type:"string",required:!0,description:"The button's text."},accessibilityLabel:{type:"string",description:"The spoken label, when it differs from the text."},accessibilityHint:{type:"string",description:"What pressing the button does, spoken after the label."}}}},omit:[],examples:[{id:"EmptyState.medium",title:"Medium",props:{title:"No messages yet",description:"Start a conversation with anyone in your contacts.",size:"md"}},{id:"EmptyState.small",title:"Small",props:{title:"No messages yet",description:"Start a conversation with anyone in your contacts.",size:"sm"}},{id:"EmptyState.large",title:"Large",props:{title:"No messages yet",description:"Start a conversation with anyone in your contacts.",size:"lg"}},{id:"EmptyState.titleOnly",title:"Title only",props:{title:"Nothing here"}}],usage:{when:["A list, search or screen has no data yet and needs a clear next step.","A load failed and the screen shows a message with a retry action."],whenNot:[{text:"Data is still loading.",instead:"Skeleton"},{text:"A short passing message about an action.",instead:"Toast"}],do:[{note:"Say what is missing and what to do about it.",example:[{component:"EmptyState",props:{title:"No orders yet",description:"When you place an order it will show up here."}}]}],dont:[{note:"Do not leave a bare title with no explanation.",example:[{component:"EmptyState",props:{title:"Empty"}}]}],a11y:["Announced as a summary region, so write the title and description as plain sentences.","Put the meaning in the title and description, not in the icon."]}});
@@ -1,3 +1,3 @@
1
1
  import type { EmptyStateProps } from "./EmptyState";
2
- export declare const meta: import("../../canvasKit/meta").PhoneMeta<EmptyStateProps, "action" | "secondaryAction", never>;
2
+ export declare const meta: import("../../canvasKit/meta").PhoneMeta<EmptyStateProps, never, never>;
3
3
  //# sourceMappingURL=EmptyState.meta.d.ts.map
@@ -1,3 +1,3 @@
1
1
  import type { EmptyStateProps } from "./EmptyState.js";
2
- export declare const meta: import("../../canvasKit/meta.js").PhoneMeta<EmptyStateProps, "action" | "secondaryAction", never>;
2
+ export declare const meta: import("../../canvasKit/meta.js").PhoneMeta<EmptyStateProps, never, never>;
3
3
  //# sourceMappingURL=EmptyState.meta.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webority/mobile-ui",
3
- "version": "0.95.0",
3
+ "version": "0.96.0",
4
4
  "description": "Beautiful, animated, accessible React Native components, theme and form engine for Webority projects.",
5
5
  "keywords": [
6
6
  "react-native",
@@ -40,6 +40,7 @@
40
40
  "default": "./lib/commonjs/canvasKit/index.js"
41
41
  }
42
42
  },
43
+ "./canvas-kit/*": "./dist/canvas-kit/*",
43
44
  "./package.json": "./package.json"
44
45
  },
45
46
  "main": "./lib/commonjs/index.js",
@@ -49,6 +50,7 @@
49
50
  "files": [
50
51
  "lib",
51
52
  "canvas-kit.json",
53
+ "dist/canvas-kit",
52
54
  "src/specs",
53
55
  "ios",
54
56
  "android",
@@ -84,8 +86,8 @@
84
86
  "react-native-safe-area-context": ">=5.4.0",
85
87
  "react-native-svg": ">=15.0.0",
86
88
  "react-native-worklets": ">=0.10.0",
87
- "@webority/canvas-kit": "0.95.0",
88
- "@webority/mobile-core": "0.95.0"
89
+ "@webority/canvas-kit": "0.96.0",
90
+ "@webority/mobile-core": "0.96.0"
89
91
  },
90
92
  "peerDependenciesMeta": {
91
93
  "@webority/canvas-kit": {
@@ -146,13 +148,13 @@
146
148
  "react-test-renderer": "19.2.8",
147
149
  "rimraf": "6.1.3",
148
150
  "typescript": "5.9.3",
149
- "@webority/canvas-kit": "0.95.0",
150
- "@webority/mobile-core": "0.95.0",
151
- "@webority/mobile-dev": "0.0.0",
152
- "@webority/tokens": "0.95.0"
151
+ "@webority/canvas-kit": "0.96.0",
152
+ "@webority/mobile-core": "0.96.0",
153
+ "@webority/tokens": "0.96.0",
154
+ "@webority/mobile-dev": "0.0.0"
153
155
  },
154
156
  "scripts": {
155
- "build": "bob build && node ../mobile-dev/scripts/minify-lib.mjs",
157
+ "build": "bob build && node ../mobile-dev/scripts/minify-lib.mjs && node -e \"require('node:fs').rmSync('dist/canvas-kit',{recursive:true,force:true})\" && node ../canvas-kit/dist/cli.js build --config canvas-kit.json --out dist/canvas-kit",
156
158
  "clean": "rimraf lib",
157
159
  "lint": "biome lint ./src",
158
160
  "lint:fix": "biome lint --write ./src",