@webority/mobile-ui 0.11.0 → 0.12.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.
Files changed (63) hide show
  1. package/lib/commonjs/components/Avatar/Avatar.js +1 -1
  2. package/lib/commonjs/components/Chip/Chip.js +1 -1
  3. package/lib/commonjs/components/Descriptions/Descriptions.js +1 -1
  4. package/lib/commonjs/components/EmptyState/EmptyState.js +1 -1
  5. package/lib/commonjs/components/FileViewer/FileViewer.js +1 -1
  6. package/lib/commonjs/components/FileViewer/FileViewerPage.js +1 -0
  7. package/lib/commonjs/components/FileViewer/useFileViewerZoom.js +1 -0
  8. package/lib/commonjs/components/FilterChipRow/FilterChipRow.js +1 -0
  9. package/lib/commonjs/components/FilterChipRow/index.js +1 -0
  10. package/lib/commonjs/components/FloatingActionButton/FloatingActionButton.js +1 -1
  11. package/lib/commonjs/components/KeyboardAwareScrollView/KeyboardAwareScrollView.js +1 -1
  12. package/lib/commonjs/components/ProgressBar/ProgressBar.js +1 -1
  13. package/lib/commonjs/components/SignaturePad/SignaturePad.js +1 -1
  14. package/lib/commonjs/components/SquircleView/SquircleView.js +1 -0
  15. package/lib/commonjs/components/SquircleView/index.js +1 -0
  16. package/lib/commonjs/components/index.js +1 -1
  17. package/lib/commonjs/theme/tokens.js +1 -1
  18. package/lib/module/components/Avatar/Avatar.js +1 -1
  19. package/lib/module/components/Chip/Chip.js +1 -1
  20. package/lib/module/components/Descriptions/Descriptions.js +1 -1
  21. package/lib/module/components/EmptyState/EmptyState.js +1 -1
  22. package/lib/module/components/FileViewer/FileViewer.js +1 -1
  23. package/lib/module/components/FileViewer/FileViewerPage.js +1 -0
  24. package/lib/module/components/FileViewer/useFileViewerZoom.js +1 -0
  25. package/lib/module/components/FilterChipRow/FilterChipRow.js +1 -0
  26. package/lib/module/components/FilterChipRow/index.js +1 -0
  27. package/lib/module/components/FloatingActionButton/FloatingActionButton.js +1 -1
  28. package/lib/module/components/KeyboardAwareScrollView/KeyboardAwareScrollView.js +1 -1
  29. package/lib/module/components/ProgressBar/ProgressBar.js +1 -1
  30. package/lib/module/components/SignaturePad/SignaturePad.js +1 -1
  31. package/lib/module/components/SquircleView/SquircleView.js +1 -0
  32. package/lib/module/components/SquircleView/index.js +1 -0
  33. package/lib/module/components/index.js +1 -1
  34. package/lib/module/theme/tokens.js +1 -1
  35. package/lib/typescript/commonjs/components/Avatar/Avatar.d.ts +25 -1
  36. package/lib/typescript/commonjs/components/Chip/Chip.d.ts +15 -2
  37. package/lib/typescript/commonjs/components/Descriptions/Descriptions.d.ts +9 -2
  38. package/lib/typescript/commonjs/components/FileViewer/FileViewer.d.ts +21 -10
  39. package/lib/typescript/commonjs/components/FileViewer/FileViewerPage.d.ts +12 -0
  40. package/lib/typescript/commonjs/components/FileViewer/useFileViewerZoom.d.ts +41 -0
  41. package/lib/typescript/commonjs/components/FilterChipRow/FilterChipRow.d.ts +55 -0
  42. package/lib/typescript/commonjs/components/FilterChipRow/index.d.ts +3 -0
  43. package/lib/typescript/commonjs/components/FloatingActionButton/FloatingActionButton.d.ts +8 -0
  44. package/lib/typescript/commonjs/components/SignaturePad/SignaturePad.d.ts +8 -2
  45. package/lib/typescript/commonjs/components/SquircleView/SquircleView.d.ts +22 -0
  46. package/lib/typescript/commonjs/components/SquircleView/index.d.ts +3 -0
  47. package/lib/typescript/commonjs/components/index.d.ts +4 -0
  48. package/lib/typescript/commonjs/theme/types.d.ts +4 -0
  49. package/lib/typescript/module/components/Avatar/Avatar.d.ts +25 -1
  50. package/lib/typescript/module/components/Chip/Chip.d.ts +15 -2
  51. package/lib/typescript/module/components/Descriptions/Descriptions.d.ts +9 -2
  52. package/lib/typescript/module/components/FileViewer/FileViewer.d.ts +21 -10
  53. package/lib/typescript/module/components/FileViewer/FileViewerPage.d.ts +12 -0
  54. package/lib/typescript/module/components/FileViewer/useFileViewerZoom.d.ts +41 -0
  55. package/lib/typescript/module/components/FilterChipRow/FilterChipRow.d.ts +55 -0
  56. package/lib/typescript/module/components/FilterChipRow/index.d.ts +3 -0
  57. package/lib/typescript/module/components/FloatingActionButton/FloatingActionButton.d.ts +8 -0
  58. package/lib/typescript/module/components/SignaturePad/SignaturePad.d.ts +8 -2
  59. package/lib/typescript/module/components/SquircleView/SquircleView.d.ts +22 -0
  60. package/lib/typescript/module/components/SquircleView/index.d.ts +3 -0
  61. package/lib/typescript/module/components/index.d.ts +4 -0
  62. package/lib/typescript/module/theme/types.d.ts +4 -0
  63. package/package.json +3 -3
@@ -0,0 +1,3 @@
1
+ export type { SquircleViewProps } from './SquircleView.js';
2
+ export { SquircleView } from './SquircleView.js';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -68,6 +68,8 @@ export type { FilePickerFile, FilePickerFileState, FilePickerFileStatus, FilePic
68
68
  export { FilePicker, formatFileSize } from './FilePicker/index.js';
69
69
  export type { FileViewerProps, FileViewerSource } from './FileViewer/index.js';
70
70
  export { FileViewer } from './FileViewer/index.js';
71
+ export type { FilterChipItem, FilterChipRowProps } from './FilterChipRow/index.js';
72
+ export { FilterChipRow } from './FilterChipRow/index.js';
71
73
  export type { FloatingActionButtonGroupAction, FloatingActionButtonGroupProps, FloatingActionButtonPosition, FloatingActionButtonProps, FloatingActionButtonSize, FloatingActionButtonTone } from './FloatingActionButton/index.js';
72
74
  export { FloatingActionButton, FloatingActionButtonGroup } from './FloatingActionButton/index.js';
73
75
  export type { ForceUpdateDialogProps } from './ForceUpdateDialog/index.js';
@@ -160,6 +162,8 @@ export type { SparklineProps, SparklineTone } from './Sparkline/index.js';
160
162
  export { Sparkline } from './Sparkline/index.js';
161
163
  export type { SpinnerProps, SpinnerSize, SpinnerVariant } from './Spinner/index.js';
162
164
  export { Spinner } from './Spinner/index.js';
165
+ export type { SquircleViewProps } from './SquircleView/index.js';
166
+ export { SquircleView } from './SquircleView/index.js';
163
167
  export type { StatTileProps, StatTileTrend } from './StatTile/index.js';
164
168
  export { StatTile } from './StatTile/index.js';
165
169
  export type { StatusBadgeProps, StatusBadgeSize, StatusBadgeTone, StatusBadgeVariant } from './StatusBadge/index.js';
@@ -359,6 +359,10 @@ export interface EmptyStateSizeTokens {
359
359
  descriptionFontSize: keyof TypographyScale['fontSize'];
360
360
  /** Resolves against the active theme's spacing scale. */
361
361
  paddingVertical: keyof SpacingScale;
362
+ /** Space between the icon and the title; a spacing scale key. Library default: "md". */
363
+ titleGap?: keyof SpacingScale;
364
+ /** Space between the title and the description; a spacing scale key. Library default: "xs". */
365
+ descriptionGap?: keyof SpacingScale;
362
366
  }
363
367
  export interface ListItemSizeTokens {
364
368
  /** Resolves against the active theme's spacing scale. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webority/mobile-ui",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "description": "Beautiful, animated, accessible React Native components, theme and form engine for Webority projects.",
5
5
  "keywords": [
6
6
  "react-native",
@@ -60,7 +60,7 @@
60
60
  }
61
61
  },
62
62
  "peerDependencies": {
63
- "@webority/mobile-core": ">=0.11.0 <0.12.0",
63
+ "@webority/mobile-core": ">=0.12.0 <0.13.0",
64
64
  "expo": ">=57.0.0",
65
65
  "expo-file-system": ">=57.0.0",
66
66
  "expo-haptics": ">=57.0.0",
@@ -107,7 +107,7 @@
107
107
  ]
108
108
  },
109
109
  "devDependencies": {
110
- "@webority/mobile-core": "0.11.0"
110
+ "@webority/mobile-core": "0.12.0"
111
111
  },
112
112
  "scripts": {
113
113
  "build": "bob build && node ../../scripts/minify-lib.mjs",