cortex-react-ui 0.2.21 → 0.2.22

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 (219) hide show
  1. package/package.json +2 -2
  2. package/lib/cjs/BarLoader/BarLoader.d.ts +0 -9
  3. package/lib/cjs/BarLoader/index.d.ts +0 -1
  4. package/lib/cjs/Button/Button.d.ts +0 -11
  5. package/lib/cjs/Button/index.d.ts +0 -1
  6. package/lib/cjs/Camera/Camera.d.ts +0 -20
  7. package/lib/cjs/Camera/FileStorageDb.d.ts +0 -9
  8. package/lib/cjs/Camera/index.d.ts +0 -1
  9. package/lib/cjs/Camera/useTimer.d.ts +0 -6
  10. package/lib/cjs/DatePicker/DatePicker.d.ts +0 -7
  11. package/lib/cjs/DatePicker/index.d.ts +0 -1
  12. package/lib/cjs/Dialog/ConfirmDialog.d.ts +0 -11
  13. package/lib/cjs/Dialog/Dialog.d.ts +0 -12
  14. package/lib/cjs/Dialog/DialogActions.d.ts +0 -7
  15. package/lib/cjs/Dialog/DialogContent.d.ts +0 -7
  16. package/lib/cjs/Dialog/DialogFooter.d.ts +0 -7
  17. package/lib/cjs/Dialog/DialogHeader.d.ts +0 -7
  18. package/lib/cjs/Dialog/DialogTitle.d.ts +0 -9
  19. package/lib/cjs/Dialog/ErrorDialog.d.ts +0 -10
  20. package/lib/cjs/Dialog/WarningDialog.d.ts +0 -10
  21. package/lib/cjs/Dialog/index.d.ts +0 -9
  22. package/lib/cjs/DomContainer/DomContainer.d.ts +0 -7
  23. package/lib/cjs/DomContainer/index.d.ts +0 -1
  24. package/lib/cjs/Icons/ChevronDownIcon.d.ts +0 -6
  25. package/lib/cjs/Icons/ChevronLeftIcon.d.ts +0 -6
  26. package/lib/cjs/Icons/ChevronRightIcon.d.ts +0 -6
  27. package/lib/cjs/Icons/CrossIcon.d.ts +0 -6
  28. package/lib/cjs/Icons/index.d.ts +0 -4
  29. package/lib/cjs/Input/Input.d.ts +0 -7
  30. package/lib/cjs/Input/index.d.ts +0 -1
  31. package/lib/cjs/Map/Map.d.ts +0 -16
  32. package/lib/cjs/Map/components/CenterActiveAreaControl.d.ts +0 -5
  33. package/lib/cjs/Map/components/DrawTools.d.ts +0 -18
  34. package/lib/cjs/Map/components/LocationContext.d.ts +0 -6
  35. package/lib/cjs/Map/components/MapFullscreenControl.d.ts +0 -22
  36. package/lib/cjs/Map/components/Maps.d.ts +0 -22
  37. package/lib/cjs/Map/config/appConfig.d.ts +0 -4
  38. package/lib/cjs/Map/config/config.d.ts +0 -6
  39. package/lib/cjs/Map/hooks/getGeoJSONTest.d.ts +0 -16
  40. package/lib/cjs/Map/hooks/useLocationContext.d.ts +0 -1
  41. package/lib/cjs/Map/index.d.ts +0 -1
  42. package/lib/cjs/Map/models/index.d.ts +0 -2
  43. package/lib/cjs/Map/models/location.d.ts +0 -6
  44. package/lib/cjs/Map/models/locationSearch.d.ts +0 -4
  45. package/lib/cjs/Map/models/point.d.ts +0 -6
  46. package/lib/cjs/Map/utils/logger.d.ts +0 -17
  47. package/lib/cjs/Map/utils/toolkit.d.ts +0 -129
  48. package/lib/cjs/Menu/AuthDownloadLink.d.ts +0 -14
  49. package/lib/cjs/Menu/ContextMenu.d.ts +0 -13
  50. package/lib/cjs/Menu/Divider.d.ts +0 -6
  51. package/lib/cjs/Menu/Menu.d.ts +0 -10
  52. package/lib/cjs/Menu/MenuGroup.d.ts +0 -8
  53. package/lib/cjs/Menu/MenuItem.d.ts +0 -14
  54. package/lib/cjs/Menu/PopupMenu.d.ts +0 -16
  55. package/lib/cjs/Menu/index.d.ts +0 -7
  56. package/lib/cjs/Popper/Popper.d.ts +0 -38
  57. package/lib/cjs/Popper/index.d.ts +0 -1
  58. package/lib/cjs/Scanner/Dialog.d.ts +0 -8
  59. package/lib/cjs/Scanner/DialogBody.d.ts +0 -3
  60. package/lib/cjs/Scanner/DialogMask.d.ts +0 -3
  61. package/lib/cjs/Scanner/ScanConfirmationDialog.d.ts +0 -18
  62. package/lib/cjs/Scanner/Scanner.d.ts +0 -11
  63. package/lib/cjs/Scanner/index.d.ts +0 -1
  64. package/lib/cjs/Select/Select.d.ts +0 -6
  65. package/lib/cjs/Select/index.d.ts +0 -1
  66. package/lib/cjs/Selected/Selected.d.ts +0 -8
  67. package/lib/cjs/Selected/index.d.ts +0 -1
  68. package/lib/cjs/Spinner/Spinner.d.ts +0 -7
  69. package/lib/cjs/Spinner/index.d.ts +0 -1
  70. package/lib/cjs/TagInput/TagInput.d.ts +0 -12
  71. package/lib/cjs/TagInput/TagItem.d.ts +0 -9
  72. package/lib/cjs/TagInput/TagSearchInput.d.ts +0 -9
  73. package/lib/cjs/TagInput/TagSuggestion.d.ts +0 -13
  74. package/lib/cjs/TagInput/TagSuggestionGroup.d.ts +0 -8
  75. package/lib/cjs/TagInput/TagSuggestionItem.d.ts +0 -8
  76. package/lib/cjs/TagInput/index.d.ts +0 -1
  77. package/lib/cjs/TagInput/types.d.ts +0 -14
  78. package/lib/cjs/TextField/TextField.d.ts +0 -6
  79. package/lib/cjs/TextField/TextFieldInput.d.ts +0 -10
  80. package/lib/cjs/TextField/index.d.ts +0 -1
  81. package/lib/cjs/ToggleButton/ToggleButton.d.ts +0 -11
  82. package/lib/cjs/ToggleButton/index.d.ts +0 -1
  83. package/lib/cjs/Tooltip/Tooltip.d.ts +0 -12
  84. package/lib/cjs/Tooltip/index.d.ts +0 -1
  85. package/lib/cjs/Transition/CSSTransition.d.ts +0 -17
  86. package/lib/cjs/Transition/Fade.d.ts +0 -13
  87. package/lib/cjs/index.d.ts +0 -23
  88. package/lib/cjs/index.js +0 -10
  89. package/lib/cjs/index.js.map +0 -1
  90. package/lib/cjs/utils/classNames.d.ts +0 -1
  91. package/lib/cjs/utils/forwardRef.d.ts +0 -35
  92. package/lib/cjs/utils/setRef.d.ts +0 -9
  93. package/lib/cjs/utils/useClickOutside.d.ts +0 -2
  94. package/lib/cjs/utils/useElement.d.ts +0 -2
  95. package/lib/cjs/utils/useForkRef.d.ts +0 -10
  96. package/lib/esm/BarLoader/BarLoader.d.ts +0 -9
  97. package/lib/esm/BarLoader/index.d.ts +0 -1
  98. package/lib/esm/Button/Button.d.ts +0 -11
  99. package/lib/esm/Button/index.d.ts +0 -1
  100. package/lib/esm/Camera/Camera.d.ts +0 -20
  101. package/lib/esm/Camera/FileStorageDb.d.ts +0 -9
  102. package/lib/esm/Camera/index.d.ts +0 -1
  103. package/lib/esm/Camera/useTimer.d.ts +0 -6
  104. package/lib/esm/DatePicker/DatePicker.d.ts +0 -7
  105. package/lib/esm/DatePicker/index.d.ts +0 -1
  106. package/lib/esm/Dialog/ConfirmDialog.d.ts +0 -11
  107. package/lib/esm/Dialog/Dialog.d.ts +0 -12
  108. package/lib/esm/Dialog/DialogActions.d.ts +0 -7
  109. package/lib/esm/Dialog/DialogContent.d.ts +0 -7
  110. package/lib/esm/Dialog/DialogFooter.d.ts +0 -7
  111. package/lib/esm/Dialog/DialogHeader.d.ts +0 -7
  112. package/lib/esm/Dialog/DialogTitle.d.ts +0 -9
  113. package/lib/esm/Dialog/ErrorDialog.d.ts +0 -10
  114. package/lib/esm/Dialog/WarningDialog.d.ts +0 -10
  115. package/lib/esm/Dialog/index.d.ts +0 -9
  116. package/lib/esm/DomContainer/DomContainer.d.ts +0 -7
  117. package/lib/esm/DomContainer/index.d.ts +0 -1
  118. package/lib/esm/Icons/ChevronDownIcon.d.ts +0 -6
  119. package/lib/esm/Icons/ChevronLeftIcon.d.ts +0 -6
  120. package/lib/esm/Icons/ChevronRightIcon.d.ts +0 -6
  121. package/lib/esm/Icons/CrossIcon.d.ts +0 -6
  122. package/lib/esm/Icons/index.d.ts +0 -4
  123. package/lib/esm/Input/Input.d.ts +0 -7
  124. package/lib/esm/Input/index.d.ts +0 -1
  125. package/lib/esm/Map/Map.d.ts +0 -16
  126. package/lib/esm/Map/components/CenterActiveAreaControl.d.ts +0 -5
  127. package/lib/esm/Map/components/DrawTools.d.ts +0 -18
  128. package/lib/esm/Map/components/LocationContext.d.ts +0 -6
  129. package/lib/esm/Map/components/MapFullscreenControl.d.ts +0 -22
  130. package/lib/esm/Map/components/Maps.d.ts +0 -22
  131. package/lib/esm/Map/config/appConfig.d.ts +0 -4
  132. package/lib/esm/Map/config/config.d.ts +0 -6
  133. package/lib/esm/Map/hooks/getGeoJSONTest.d.ts +0 -16
  134. package/lib/esm/Map/hooks/useLocationContext.d.ts +0 -1
  135. package/lib/esm/Map/index.d.ts +0 -1
  136. package/lib/esm/Map/models/index.d.ts +0 -2
  137. package/lib/esm/Map/models/location.d.ts +0 -6
  138. package/lib/esm/Map/models/locationSearch.d.ts +0 -4
  139. package/lib/esm/Map/models/point.d.ts +0 -6
  140. package/lib/esm/Map/utils/logger.d.ts +0 -17
  141. package/lib/esm/Map/utils/toolkit.d.ts +0 -129
  142. package/lib/esm/Menu/AuthDownloadLink.d.ts +0 -14
  143. package/lib/esm/Menu/ContextMenu.d.ts +0 -13
  144. package/lib/esm/Menu/Divider.d.ts +0 -6
  145. package/lib/esm/Menu/Menu.d.ts +0 -10
  146. package/lib/esm/Menu/MenuGroup.d.ts +0 -8
  147. package/lib/esm/Menu/MenuItem.d.ts +0 -14
  148. package/lib/esm/Menu/PopupMenu.d.ts +0 -16
  149. package/lib/esm/Menu/index.d.ts +0 -7
  150. package/lib/esm/Popper/Popper.d.ts +0 -38
  151. package/lib/esm/Popper/index.d.ts +0 -1
  152. package/lib/esm/Scanner/Dialog.d.ts +0 -8
  153. package/lib/esm/Scanner/DialogBody.d.ts +0 -3
  154. package/lib/esm/Scanner/DialogMask.d.ts +0 -3
  155. package/lib/esm/Scanner/ScanConfirmationDialog.d.ts +0 -18
  156. package/lib/esm/Scanner/Scanner.d.ts +0 -11
  157. package/lib/esm/Scanner/index.d.ts +0 -1
  158. package/lib/esm/Select/Select.d.ts +0 -6
  159. package/lib/esm/Select/index.d.ts +0 -1
  160. package/lib/esm/Selected/Selected.d.ts +0 -8
  161. package/lib/esm/Selected/index.d.ts +0 -1
  162. package/lib/esm/Spinner/Spinner.d.ts +0 -7
  163. package/lib/esm/Spinner/index.d.ts +0 -1
  164. package/lib/esm/TagInput/TagInput.d.ts +0 -12
  165. package/lib/esm/TagInput/TagItem.d.ts +0 -9
  166. package/lib/esm/TagInput/TagSearchInput.d.ts +0 -9
  167. package/lib/esm/TagInput/TagSuggestion.d.ts +0 -13
  168. package/lib/esm/TagInput/TagSuggestionGroup.d.ts +0 -8
  169. package/lib/esm/TagInput/TagSuggestionItem.d.ts +0 -8
  170. package/lib/esm/TagInput/index.d.ts +0 -1
  171. package/lib/esm/TagInput/types.d.ts +0 -14
  172. package/lib/esm/TextField/TextField.d.ts +0 -6
  173. package/lib/esm/TextField/TextFieldInput.d.ts +0 -10
  174. package/lib/esm/TextField/index.d.ts +0 -1
  175. package/lib/esm/ToggleButton/ToggleButton.d.ts +0 -11
  176. package/lib/esm/ToggleButton/index.d.ts +0 -1
  177. package/lib/esm/Tooltip/Tooltip.d.ts +0 -12
  178. package/lib/esm/Tooltip/index.d.ts +0 -1
  179. package/lib/esm/Transition/CSSTransition.d.ts +0 -17
  180. package/lib/esm/Transition/Fade.d.ts +0 -13
  181. package/lib/esm/index.d.ts +0 -23
  182. package/lib/esm/index.js +0 -10
  183. package/lib/esm/index.js.map +0 -1
  184. package/lib/esm/utils/classNames.d.ts +0 -1
  185. package/lib/esm/utils/forwardRef.d.ts +0 -35
  186. package/lib/esm/utils/setRef.d.ts +0 -9
  187. package/lib/esm/utils/useClickOutside.d.ts +0 -2
  188. package/lib/esm/utils/useElement.d.ts +0 -2
  189. package/lib/esm/utils/useForkRef.d.ts +0 -10
  190. package/lib/images/layers-2x.png +0 -0
  191. package/lib/images/layers.png +0 -0
  192. package/lib/images/marker-icon-2x.png +0 -0
  193. package/lib/images/marker-icon.png +0 -0
  194. package/lib/images/marker-shadow.png +0 -0
  195. package/lib/index.d.ts +0 -447
  196. package/lib/styles/BarLoader/index.scss +0 -132
  197. package/lib/styles/Button/index.scss +0 -147
  198. package/lib/styles/Camera/index.css +0 -196
  199. package/lib/styles/Camera/index.scss +0 -241
  200. package/lib/styles/Dialog/index.scss +0 -265
  201. package/lib/styles/Icons/index.scss +0 -9
  202. package/lib/styles/Input/index.scss +0 -69
  203. package/lib/styles/Map/index.scss +0 -50
  204. package/lib/styles/Menu/index.scss +0 -131
  205. package/lib/styles/Popper/index.scss +0 -24
  206. package/lib/styles/Scanner/index.scss +0 -110
  207. package/lib/styles/Select/index.scss +0 -13
  208. package/lib/styles/Selected/index.scss +0 -78
  209. package/lib/styles/Spinner/index.scss +0 -43
  210. package/lib/styles/TagInput/index.scss +0 -141
  211. package/lib/styles/TextField/index.scss +0 -22
  212. package/lib/styles/ToggleButton/index.scss +0 -60
  213. package/lib/styles/Tooltip/index.scss +0 -25
  214. package/lib/styles/Transition/index.scss +0 -15
  215. package/lib/styles/global.scss +0 -162
  216. package/lib/styles/index.scss +0 -50
  217. package/lib/typings/typings/css.d.ts +0 -12
  218. package/lib/typings/typings/index.d.ts +0 -31
  219. package/lib/typings/typings/tagInput.d.ts +0 -13
@@ -1,78 +0,0 @@
1
- @use "../global.scss";
2
-
3
- @mixin selected($props: null, $options: null) {
4
- $internal-options: global.$default-options;
5
-
6
- $internal-props: ();
7
-
8
- $internal-props: global.safe-map-merge($internal-props, $props);
9
- $internal-options: global.safe-map-merge($internal-options, $options);
10
-
11
- .ui-selected-params {
12
- float: left;
13
- color: black;
14
- margin: 15px;
15
- border: 1px solid black;
16
- width: 250px;
17
- }
18
-
19
- .ui-selected-title {
20
- color: black;
21
- font-weight: bold;
22
- font-size: 15px;
23
- margin-left: 5px;
24
- display: table;
25
- margin-top: -10px;
26
- background-color: white;
27
- padding-right: 5px;
28
- padding-left: 5px;
29
- }
30
-
31
- .ui-selected-content {
32
- color: black;
33
- margin: 10px;
34
- }
35
-
36
- .ui-selected-button {
37
- display: inline;
38
- }
39
-
40
- .ui-selected-btn {
41
- width: 28%;
42
- border-radius: 5px;
43
- height: 30px;
44
- margin: 5px;
45
- margin-left: 7px;
46
- font-weight: bold;
47
- cursor: pointer;
48
- background-color: #75c475;
49
- color: white;
50
- border: none;
51
- }
52
-
53
- .ui-not-selected {
54
- width: 28%;
55
- border-radius: 5px;
56
- height: 30px;
57
- margin: 5px;
58
- margin-left: 7px;
59
- font-weight: bold;
60
- cursor: pointer;
61
- background-color: black;
62
- color: white;
63
- border: none;
64
- }
65
-
66
- .ui-new-selected {
67
- width: 28%;
68
- border-radius: 5px;
69
- height: 30px;
70
- margin: 5px;
71
- margin-left: 7px;
72
- font-weight: bold;
73
- cursor: pointer;
74
- background-color: red;
75
- color: white;
76
- border: none;
77
- }
78
- }
@@ -1,43 +0,0 @@
1
- @use "../global.scss";
2
-
3
- @mixin spinner($props: null, $options: null) {
4
- $internal-options: global.$default-options;
5
-
6
- $internal-props: (
7
- color: blue,
8
- );
9
-
10
- $internal-props: global.safe-map-merge($internal-props, $props);
11
- $internal-options: global.safe-map-merge($internal-options, $options);
12
-
13
- @if global.get-map-deep($internal-options, "properties") == true {
14
- @keyframes ui-spinner-anim {
15
- to {
16
- transform: rotate(360deg);
17
- }
18
- }
19
- }
20
-
21
- .ui-spinner {
22
- @if global.get-map-deep($internal-options, "properties") == true {
23
- display: inline-block;
24
- width: 2rem;
25
- height: 2rem;
26
- vertical-align: text-bottom;
27
- border: 0.25em solid;
28
- border-right: 0.25em solid transparent;
29
- border-radius: 50%;
30
- text-indent: -9999em;
31
- }
32
-
33
- @if global.get-map-deep($internal-options, "colors") == true {
34
- border-left-color: global.get-map-deep($internal-props, "color");
35
- border-top-color: global.get-map-deep($internal-props, "color");
36
- border-bottom-color: global.get-map-deep($internal-props, "color");
37
- }
38
- }
39
-
40
- .ui-spinner-indeterminate {
41
- animation: ui-spinner-anim 0.75s linear infinite;
42
- }
43
- }
@@ -1,141 +0,0 @@
1
- @use "../global.scss";
2
-
3
- @mixin taginput($props: null, $options: null) {
4
- $internal-options: global.$default-options;
5
-
6
- $internal-props: (
7
- line-height: 1.5,
8
- background-color: #fff,
9
- border-bottom: 1px solid #444,
10
- item: (
11
- border: 1px solid #444,
12
- color: #000,
13
- remove: (
14
- color: #fff,
15
- background-color: #444
16
- )
17
- ),
18
- filter: (
19
- background-color: #fff,
20
- group: (
21
- color: #fff,
22
- background-color: #444
23
- ),
24
- item: (
25
- color: #000,
26
- background-color: #fff
27
- )
28
- )
29
- );
30
-
31
- $internal-props: global.safe-map-merge($internal-props, $props);
32
- $internal-options: global.safe-map-merge($internal-options, $options);
33
-
34
- .ui-taginput {
35
- @if global.showProps($internal-options) {
36
- display: block;
37
- width: 100%;
38
- padding: 0.375rem 0.75rem;
39
- font-size: 0.9375rem;
40
- line-height: global.get-map-deep($internal-props, "line-height");
41
- user-select: none;
42
- }
43
- @if global.showColors($internal-options) {
44
- background-color: global.get-map-deep($internal-props, "background-color");
45
- border-bottom: global.get-map-deep($internal-props, "border-bottom")
46
- }
47
- }
48
-
49
- .ui-taginputItem {
50
- @if global.showProps($internal-options) {
51
- display: inline-block;
52
- line-height: 1;
53
- text-align: center;
54
- white-space: nowrap;
55
- vertical-align: baseline;
56
- border-radius: 0.25rem;
57
- margin: 2px;
58
- }
59
- @if global.showColors($internal-options) {
60
- border: global.get-map-deep($internal-props, "item.border");
61
- color: global.get-map-deep($internal-props, "item.color");
62
- }
63
- }
64
-
65
- .ui-taginputItemLabel {
66
- @if global.showProps($internal-options) {
67
- padding: 2px;
68
- }
69
- }
70
-
71
- .ui-taginputItemRemove {
72
- @if global.showProps($internal-options) {
73
- appearance: none;
74
- border: 0;
75
- cursor: pointer;
76
- }
77
- @if global.showColors($internal-options) {
78
- background: global.get-map-deep($internal-props, "item.remove.background-color");
79
- color: global.get-map-deep($internal-props, "item.remove.color");
80
- }
81
- }
82
-
83
- .ui-taginputFilter {
84
- @if global.showProps($internal-options) {
85
- outline: none;
86
- border: 0;
87
- overflow: visible;
88
- padding-left: 4px;
89
- }
90
- }
91
-
92
- .ui-taginputSelect {
93
- @if global.showProps($internal-options) {
94
- box-shadow: 0 2px 4px -1px #0003, 0 4px 5px #00000024, 0 1px 10px #0000001f;
95
- min-width: 180px;
96
- user-select: none;
97
- }
98
- @if global.showColors($internal-options) {
99
- background-color: global.get-map-deep($internal-props, "filter.background-color");
100
- }
101
- }
102
-
103
- .ui-taginputSelectItem {
104
- @if global.showProps($internal-options) {
105
- display: block;
106
- white-space: nowrap;
107
- overflow: hidden;
108
- line-height: 48px;
109
- padding: 0 16px;
110
- cursor: pointer;
111
- }
112
- @if global.showColors($internal-options) {
113
- color: global.get-map-deep($internal-props, "filter.item.color");
114
- background-color: global.get-map-deep($internal-props, "filter.item.background-color");
115
- }
116
- }
117
-
118
- .ui-taginputSelectGroup {
119
-
120
- }
121
-
122
- .ui-taginputSelectGroupLabel {
123
- @if global.showProps($internal-options) {
124
- display: block;
125
- white-space: nowrap;
126
- overflow: hidden;
127
- line-height: 48px;
128
- padding: 0 16px;
129
- }
130
- @if global.showColors($internal-options) {
131
- background-color: global.get-map-deep($internal-props, "filter.group.background-color");
132
- color: global.get-map-deep($internal-props, "filter.group.color");
133
- }
134
- }
135
-
136
- .ui-taginputSelectGroupItems {
137
- @if global.showProps($internal-options) {
138
- padding-left: 10px;
139
- }
140
- }
141
- }
@@ -1,22 +0,0 @@
1
- @use "../global.scss";
2
-
3
- @mixin textfield($props: null, $options: null) {
4
- $internal-options: global.$default-options;
5
-
6
- $internal-props: (
7
- color: blue,
8
- );
9
-
10
- $internal-props: global.safe-map-merge($internal-props, $props);
11
- $internal-options: global.safe-map-merge($internal-options, $options);
12
-
13
- .ui-textfield-input {
14
- border: none;
15
- background: none;
16
- appearance: none;
17
-
18
- &:focus {
19
- outline: none;
20
- }
21
- }
22
- }
@@ -1,60 +0,0 @@
1
- @use "../global.scss";
2
-
3
- @mixin toggleButton($props: null, $options: null) {
4
- $internal-options: global.$default-options;
5
-
6
- $internal-props: ();
7
-
8
- $internal-props: global.safe-map-merge($internal-props, $props);
9
- $internal-options: global.safe-map-merge($internal-options, $options);
10
-
11
- .ui-toggleBtn {
12
- background: none;
13
- appearance: none;
14
- border: 1px solid global.$color-grey;
15
- border-radius: global.$border-radius-xs;
16
- font-family: global.$font-family;
17
- font-size: global.$font-size-md;
18
- color: global.$color-grey-darker;
19
- padding: global.$spacer-sm;
20
- cursor: pointer;
21
- transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
22
- color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
23
-
24
- &:hover {
25
- text-decoration: none;
26
- background-color: rgba($color: global.$color-blue-grey-light, $alpha: 0.2);
27
- }
28
- }
29
-
30
- .ui-toggleBtn-selected {
31
- background-color: global.$color-blue;
32
- border-color: global.$color-blue;
33
- color: global.$color-white;
34
-
35
- &:hover {
36
- text-decoration: none;
37
- background-color: rgba($color: global.$color-blue, $alpha: 0.8);
38
- }
39
- }
40
-
41
- .ui-toggleBtn-size-xs {
42
- font-size: global.$font-size-xs;
43
- }
44
-
45
- .ui-toggleBtn-size-sm {
46
- font-size: global.$font-size-sm;
47
- }
48
-
49
- .ui-toggleBtn-size-md {
50
- font-size: global.$font-size-md;
51
- }
52
-
53
- .ui-toggleBtn-size-lg {
54
- font-size: global.$font-size-lg;
55
- }
56
-
57
- .ui-toggleBtn-size-xl {
58
- font-size: global.$font-size-xl;
59
- }
60
- }
@@ -1,25 +0,0 @@
1
- @use "../global.scss";
2
-
3
- @mixin tooltip($props: null, $options: null) {
4
- $internal-options: global.$default-options;
5
-
6
- $internal-props: (
7
- bgColor: red,
8
- fgColor: #fff
9
- );
10
-
11
- $internal-props: global.safe-map-merge($internal-props, $props);
12
- $internal-options: global.safe-map-merge($internal-options, $options);
13
-
14
- .ui-tooltip-content {
15
- @if global.get-map-deep($internal-options, "properties") == true {
16
- padding: 8px;
17
- border-radius: 4px;
18
- box-shadow: 0 3px 6px rgba(#000, 0.16), 0 3px 6px rgba(#000, 0.23);
19
- }
20
- @if global.get-map-deep($internal-options, "colors") == true {
21
- background-color: global.get-map-deep($internal-props, "bgColor");
22
- color: global.get-map-deep($internal-props, "fgColor");
23
- }
24
- }
25
- }
@@ -1,15 +0,0 @@
1
- .ui-fade {
2
- opacity: 0;
3
- transition: opacity linear 160ms;
4
- }
5
-
6
- .ui-fade-entering,
7
- .ui-fade-entered {
8
- opacity: 1;
9
- }
10
-
11
-
12
- .ui-fade-exited,
13
- .ui-fade-exiting {
14
- opacity: 0;
15
- }
@@ -1,162 +0,0 @@
1
- @use "sass:list";
2
- @use "sass:meta";
3
- @use "sass:string";
4
- @use "sass:math";
5
- @use "sass:map";
6
-
7
- $default-options: (
8
- properties: true,
9
- colors: true,
10
- );
11
-
12
- // Font
13
- $font-family: Roboto, Helvetica, Arial, 'sans-serif';
14
- $font-weight-semi-bold: 500;
15
- $font-weight-bold: 600;
16
- $font-size-base: 1rem; //16px
17
-
18
- $font-size-h1: $font-size-base * 6; //Headline 1 (96px)
19
- $font-size-h2: $font-size-base * 3.75; //Headline 2 (60px)
20
- $font-size-h3: $font-size-base * 3; //Headline 3 (48px)
21
- $font-size-h4: $font-size-base * 2.125; //Headline 4 (34px)
22
- $font-size-h5: $font-size-base * 1.5; //Headline 5 (24px)
23
- $font-size-h6: $font-size-base * 1.25; //Headline 6 (20px)
24
-
25
- $font-size-xs: $font-size-base * 0.625; //10px
26
- $font-size-sm: $font-size-base * 0.75; //12px
27
- $font-size-md: $font-size-base * 0.875; //14px
28
- $font-size-lg: $font-size-base * 1.125; //18px
29
- $font-size-xl: $font-size-base * 1.25; //20px
30
-
31
- // Border
32
- $border-radius-xs: 4px;
33
- $border-radius-sm: 6px;
34
- $border-radius: 8px;
35
- $border-radius-md: 10px;
36
- $border-radius-lg: 12px;
37
-
38
- // Spacers
39
- $spacer: 1rem !default;
40
- $spacers: (
41
- 0: 0,
42
- 1: math.div($spacer, 4),
43
- 2: math.div($spacer, 2),
44
- 3: $spacer,
45
- 4: $spacer * 1.5,
46
- 5: $spacer * 3,
47
- ) !default;
48
- $spacer-xs: map.get($spacers, 1); //4px
49
- $spacer-sm: map.get($spacers, 2); //8px
50
- $spacer: map.get($spacers, 3); //16px
51
- $spacer-md: map.get($spacers, 4); //24px
52
- $spacer-lg: map.get($spacers, 5); //48px
53
-
54
- // Color
55
- $color-white: #fff;
56
- $color-black: #000;
57
-
58
- $color-red: #ef5350;
59
- $color-red-light: #ef9a9a;
60
- $color-red-lighter: #ffebee;
61
- $color-red-dark: #d32f2f;
62
- $color-red-darker: #b71c1c;
63
-
64
- $color-green: #66bb6a;
65
- $color-green-light: #a5d6a7;
66
- $color-green-lighter: #00f153;
67
- $color-green-dark: #43a047;
68
- $color-green-darker: #2e7d32;
69
-
70
- $color-grey: #9e9e9e;
71
- $color-grey-light: #e0e0e0;
72
- $color-grey-lighter: #f5f5f5;
73
- $color-grey-dark: #616161;
74
- $color-grey-darker: #212121;
75
-
76
- $color-amber: #ffc107;
77
- $color-amber-light: #ffd54f;
78
- $color-amber-lighter: #fff8e1;
79
- $color-amber-dark: #ffa000;
80
- $color-amber-darker: #ff6f00;
81
-
82
- $color-orange: #f8b123;
83
- $color-orange-light: #ffd0b3;
84
- $color-orange-lighter: #fff3e0;
85
- $color-orange-dark: #ec9f83;
86
- $color-orange-darker: #b77056;
87
-
88
- $color-blue: #29b6f6;
89
- $color-blue-light: #4fc3f7;
90
- $color-blue-lighter: #b3e5fc;
91
- $color-blue-dark: #0288d1;
92
- $color-blue-darker: #01579b;
93
-
94
- $color-cyan: #00bcd4;
95
- $color-cyan-light: #4dd0e1;
96
- $color-cyan-lighter: #b2ebf2;
97
- $color-cyan-dark: #0097a7;
98
- $color-cyan-darker: #006064;
99
-
100
- $color-blue-grey: #607d8b;
101
- $color-blue-grey-light: #90a4ae;
102
- $color-blue-grey-lighter: #cfd8dc;
103
- $color-blue-grey-dark: #455a64;
104
- $color-blue-grey-darker: #263238;
105
-
106
- $color-yellow: #fffb00;
107
- $color-yellow-light: #fffc57;
108
- $color-yellow-lighter: #fffeaf;
109
- $color-yellow-dark: #d3cf00;
110
- $color-yellow-darker: #a7a400;
111
-
112
- $color-purple: #9900ff;
113
- $color-purple-light: #ae36fd;
114
- $color-purple-lighter: #d493ff;
115
- $color-purple-dark: #7a00cc;
116
- $color-purple-darker: #54008b;
117
-
118
- @function showProps($internal-options) {
119
- @return get-map-deep($internal-options, "properties") == true;
120
- }
121
-
122
- @function showColors($internal-options) {
123
- @return get-map-deep($internal-options, "colors") == true;
124
- }
125
-
126
- @function str-split($input-string, $separator: " ") {
127
- $result: ();
128
- $index: string.index($input-string, $separator);
129
- $indent: string.length($separator);
130
-
131
- @while ($index != null) {
132
- $item: string.slice($input-string, 1, $index - 1);
133
- $input-string: string.slice($input-string, $index + $indent);
134
- $index: string.index($input-string, $separator);
135
-
136
- @if (string.length($item) != 0) {
137
- $result: list.append($result, $item);
138
- }
139
- }
140
-
141
- $result: list.append($result, $input-string);
142
-
143
- @return $result;
144
- }
145
-
146
- @function get-map-deep($map, $keys) {
147
- @each $key in str-split($keys, ".") {
148
- $map: map.get($map, $key);
149
- }
150
- @return $map;
151
- }
152
-
153
- @function is-map($map) {
154
- @return meta.type-of($map) == "map";
155
- }
156
-
157
- @function safe-map-merge($map, $map2) {
158
- @if is-map($map) == true and is-map($map2) == true {
159
- @return map.merge($map, $map2);
160
- }
161
- @return $map;
162
- }
@@ -1,50 +0,0 @@
1
- @use "Icons";
2
- @use "Transition";
3
- @use "Popper";
4
- @use "Tooltip";
5
- @use "Spinner";
6
- @use "TagInput";
7
- @use "Input";
8
- @use "TextField";
9
- @use "Menu";
10
- @use "Dialog";
11
- @use "Scanner";
12
- @use "Button";
13
- @use "ToggleButton";
14
- @use "Selected";
15
- @use "BarLoader";
16
- @use "Camera";
17
- @use "Map";
18
-
19
- @include Icons.icons();
20
- @include Popper.popper();
21
- @include Tooltip.tooltip();
22
- @include Spinner.spinner();
23
- @include TagInput.taginput();
24
- @include Input.input();
25
- @include Menu.menu();
26
- @include Scanner.scanner();
27
- @include Dialog.dialog();
28
- @include Button.button();
29
- @include ToggleButton.toggleButton();
30
- @include Selected.selected();
31
- @include BarLoader.barLoader();
32
- @include Camera.camera();
33
- @include Map.map();
34
-
35
- // @include popper();
36
- // @include popper(
37
- // (
38
- // bgColor: red,
39
- // fgColor: blue,
40
- // )
41
- // );
42
- // @include popper(
43
- // (
44
- // bgColor: red,
45
- // fgColor: blue,
46
- // ),
47
- // (
48
- // properties: false
49
- // )
50
- // );
@@ -1,12 +0,0 @@
1
- declare module '*.css' {
2
- const content: { [className: string]: string };
3
- export default content;
4
- }
5
-
6
- declare module '*.scss' {
7
- const content: { [className: string]: string };
8
- export default content;
9
- }
10
-
11
- // Add specific CSS module declarations
12
- declare module './css/center-active-control.css';
@@ -1,31 +0,0 @@
1
- declare module '*.module.scss' {
2
- const classes: { readonly [key: string]: string };
3
- export default classes;
4
- }
5
-
6
- /*
7
- ** Mapped types
8
- */
9
- type Nullable<T> = T | null;
10
- type Writeable<T> = { -readonly [P in keyof T]: T[P] };
11
- type DeepWriteable<T> = { -readonly [P in keyof T]: DeepWriteable<T[P]> };
12
- type Required<T> = { [P in keyof T]-?: T[P] };
13
- type ValuesOf<T extends readonly any[]> = T[number];
14
- type ObjectValues<T> = T[keyof T];
15
- type IndexableProperties<T> = keyof T extends string | number ? keyof T extends infer P ? P : never : never;
16
- type AssertPropDefined<T, K extends keyof T = never> = {
17
- [P in keyof T]: P extends K ? NonNullable<T[P]> : T[P];
18
- };
19
- type NonEmptyArray<T> = [T, ...T[]];
20
- type ArrayType<T extends Array<any>> = T extends (infer U)[] ? U : never;
21
- type NameOfProp<T, P> = P extends keyof T ? P : never;
22
-
23
- /*
24
- ** Common Types
25
- */
26
- type CustomRange<S = any, E = any> = { start: S, end: E };
27
-
28
- type RefLabel<T = number> = {
29
- id: T;
30
- label: string;
31
- };
@@ -1,13 +0,0 @@
1
- // namespace Cortex {
2
- // type Tag = {
3
- // id: string,
4
- // label: string
5
- // };
6
-
7
- // type TagSuggestion = {
8
- // id: string,
9
- // label: string,
10
- // group?: boolean,
11
- // suggestions?: TagSuggestion[]
12
- // };
13
- // }