@nativedesktop/react 0.4.11 → 0.4.13

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/dist/index.js CHANGED
@@ -933,7 +933,7 @@ var styleKeySpec = {
933
933
  minHeight: null,
934
934
  border: ["borderWidth", "borderColor", "borderRadius"]
935
935
  };
936
- var cssClassSpec = ["suggested-action", "destructive-action", "flat", "raised", "circular", "pill", "linked", "toolbar", "spacer", "title-1", "title-2", "title-3", "title-4", "heading", "document", "body", "caption-heading", "caption", "monospace", "numeric", "accent", "success", "warning", "error", "boxed-list", "boxed-list-separate", "card", "activatable", "navigation-sidebar", "nd-native-sidebar", "selection-mode", "osd", "dimmed", "background", "view", "frame", "compact", "menu", "inline", "large-title", "property", "round", "opaque", "devel", "icon-dropshadow", "lowres-icon"];
936
+ var cssClassSpec = ["suggested-action", "destructive-action", "flat", "raised", "circular", "pill", "linked", "toolbar", "spacer", "title-1", "title-2", "title-3", "title-4", "heading", "document", "body", "caption-heading", "caption", "monospace", "numeric", "accent", "success", "warning", "error", "boxed-list", "boxed-list-separate", "card", "activatable", "navigation-sidebar", "nd-native-sidebar", "selection-mode", "osd", "dimmed", "dim-label", "background", "view", "frame", "compact", "menu", "inline", "large-title", "property", "round", "opaque", "devel", "icon-dropshadow", "lowres-icon"];
937
937
 
938
938
  // src/style-validate.ts
939
939
  class StyleError extends Error {
@@ -14,7 +14,7 @@ var styleKeySpec = {
14
14
  minHeight: null,
15
15
  border: ["borderWidth", "borderColor", "borderRadius"]
16
16
  };
17
- var cssClassSpec = ["suggested-action", "destructive-action", "flat", "raised", "circular", "pill", "linked", "toolbar", "spacer", "title-1", "title-2", "title-3", "title-4", "heading", "document", "body", "caption-heading", "caption", "monospace", "numeric", "accent", "success", "warning", "error", "boxed-list", "boxed-list-separate", "card", "activatable", "navigation-sidebar", "nd-native-sidebar", "selection-mode", "osd", "dimmed", "background", "view", "frame", "compact", "menu", "inline", "large-title", "property", "round", "opaque", "devel", "icon-dropshadow", "lowres-icon"];
17
+ var cssClassSpec = ["suggested-action", "destructive-action", "flat", "raised", "circular", "pill", "linked", "toolbar", "spacer", "title-1", "title-2", "title-3", "title-4", "heading", "document", "body", "caption-heading", "caption", "monospace", "numeric", "accent", "success", "warning", "error", "boxed-list", "boxed-list-separate", "card", "activatable", "navigation-sidebar", "nd-native-sidebar", "selection-mode", "osd", "dimmed", "dim-label", "background", "view", "frame", "compact", "menu", "inline", "large-title", "property", "round", "opaque", "devel", "icon-dropshadow", "lowres-icon"];
18
18
  export {
19
19
  jsxs,
20
20
  jsx,
@@ -235,6 +235,7 @@ export declare namespace JSX {
235
235
  label: {
236
236
  text?: string;
237
237
  ellipsize?: boolean;
238
+ variant?: "body" | "title1" | "title2" | "title3" | "title4" | "heading" | "caption" | "captionHeading" | "monospace";
238
239
  enabled?: boolean;
239
240
  tooltip?: string;
240
241
  draggable?: boolean;
@@ -285,6 +286,7 @@ export declare namespace JSX {
285
286
  dragPayload?: string;
286
287
  dropTarget?: boolean;
287
288
  prominent?: boolean;
289
+ destructive?: boolean;
288
290
  badge?: string;
289
291
  size?: "small" | "regular" | "large";
290
292
  onClick?: () => void;
@@ -1497,6 +1499,7 @@ export declare namespace JSX {
1497
1499
  settingsgroup: {
1498
1500
  title?: string;
1499
1501
  description?: string;
1502
+ separateRows?: boolean;
1500
1503
  enabled?: boolean;
1501
1504
  tooltip?: string;
1502
1505
  draggable?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nativedesktop/react",
3
- "version": "0.4.11",
3
+ "version": "0.4.13",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/FormalSnake/NativeDesktop#readme",