pollination-react-io 0.0.3 → 0.0.6

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.
@@ -1,2 +1,2 @@
1
1
  /// <reference types="react" />
2
- export declare const Logo: () => JSX.Element;
2
+ export declare function Logo(): JSX.Element;
@@ -0,0 +1,81 @@
1
+ @import "./variables.scss";
2
+ @import "./typography.scss";
3
+
4
+ .btn-group {
5
+ @include font-defaults;
6
+
7
+ display: flex;
8
+ border-radius: 4px;
9
+ max-width: 260px;
10
+ }
11
+
12
+ .btn-group:hover {
13
+ box-shadow: 0 1px 2px 0 rgba(26, 115, 232, 0.45), 0 1px 3px 1px rgba(26, 115, 232, 0.30);
14
+ }
15
+
16
+ .btn-group-disabled:hover {
17
+ box-shadow: none;
18
+ }
19
+
20
+ .btn-group button {
21
+ display: flex;
22
+ background-color: var(--primary);
23
+ border: 1px solid var(--primary);
24
+ color: white;
25
+ padding: 6px 10px;
26
+ cursor: pointer;
27
+ float: left;
28
+ transition: background-color 0.125s ease-in-out;
29
+ z-index: 10;
30
+ align-items: center;
31
+ }
32
+
33
+ .btn-group button:disabled {
34
+ background-color: var(--grey3);
35
+ color: var(--grey5);
36
+ cursor: default;
37
+ border-color: var(--grey5);
38
+ }
39
+
40
+ .btn-group button:first-child {
41
+ border-top-left-radius: 4px;
42
+ border-bottom-left-radius: 4px;
43
+ }
44
+
45
+ .btn-group button:last-child {
46
+ border-top-right-radius: 4px;
47
+ border-bottom-right-radius: 4px;
48
+ border-left-color: #096dd9;
49
+ }
50
+
51
+ .btn-group button:last-child:disabled {
52
+ border-left-color: var(--grey5);
53
+ }
54
+
55
+ .btn-group button:not(:last-child) {
56
+ border-right: none;
57
+ }
58
+
59
+ .btn-group button:focus-visible {
60
+ outline: none;
61
+ }
62
+
63
+ /* Clear floats (clearfix hack) */
64
+ .btn-group:after {
65
+ content: "";
66
+ clear: both;
67
+ display: table;
68
+ }
69
+
70
+ .btn-group button:hover {
71
+ background-color: var(--primary2);
72
+ z-index: 11;
73
+ }
74
+
75
+ .btn-group-disabled:hover button:hover {
76
+ background-color: var(--grey3);
77
+ }
78
+
79
+ .options-content {
80
+ font-size: calc(clamp(0.65rem, 8vw - 0.75rem, 0.85rem));
81
+ }
@@ -1,9 +1,9 @@
1
- export type { Options, Message, Coordinates, SettingsOptions } from './types';
2
- export * from "./useGetHbjson";
3
- export * from "./useGetGeometry";
4
- export * from "./useSendHbjson";
5
- export * from "./useSendGeometry";
6
- export * from "./useRunCommand";
7
- export * from "./useManageSettings";
8
- export * from "./useHbjsontoVTK";
9
- export * from "./utilities";
1
+ export type { Options, Message, Coordinates, SettingsOptions, } from './types';
2
+ export * from './useGetHbjson';
3
+ export * from './useGetGeometry';
4
+ export * from './useSendHbjson';
5
+ export * from './useSendGeometry';
6
+ export * from './useRunCommand';
7
+ export * from './useManageSettings';
8
+ export * from './useHbjsontoVTK';
9
+ export * from './utilities';
@@ -7,5 +7,5 @@ declare global {
7
7
  export declare const useGetGeometry: () => {
8
8
  host: string;
9
9
  geometry: Blob;
10
- getGeometry: (key?: any, selection?: any) => void;
10
+ getGeometry: (key?: any, selection?: any, force?: any) => void;
11
11
  };
@@ -7,5 +7,5 @@ declare global {
7
7
  export declare const useGetHbjson: () => {
8
8
  host: string;
9
9
  hbjson: Blob;
10
- getHbjson: (key?: any, selection?: any) => void;
10
+ getHbjson: (key?: any, selection?: any, force?: any) => void;
11
11
  };
@@ -1,5 +1,5 @@
1
1
  /// <reference types="node" />
2
- import { Message } from "./types";
2
+ import { Message } from './types';
3
3
  export declare function checkDotNet(): boolean;
4
4
  export declare function checkRuby(): boolean;
5
5
  export declare function sendMessageDotNet(message: Message): Message;