@itwin/imodel-components-react 4.0.0-dev.20 → 4.0.0-dev.21

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 (142) hide show
  1. package/lib/cjs/imodel-components-react/UiIModelComponents.js.map +1 -1
  2. package/lib/cjs/imodel-components-react/color/AlphaSlider.js.map +1 -1
  3. package/lib/cjs/imodel-components-react/color/AlphaSlider.scss +63 -63
  4. package/lib/cjs/imodel-components-react/color/ColorPickerButton.js.map +1 -1
  5. package/lib/cjs/imodel-components-react/color/ColorPickerButton.scss +90 -90
  6. package/lib/cjs/imodel-components-react/color/ColorPickerDialog.js.map +1 -1
  7. package/lib/cjs/imodel-components-react/color/ColorPickerPopup.js.map +1 -1
  8. package/lib/cjs/imodel-components-react/color/ColorPickerPopup.scss +62 -62
  9. package/lib/cjs/imodel-components-react/color/HueSlider.js.map +1 -1
  10. package/lib/cjs/imodel-components-react/color/HueSlider.scss +61 -61
  11. package/lib/cjs/imodel-components-react/color/SaturationPicker.js.map +1 -1
  12. package/lib/cjs/imodel-components-react/color/SaturationPicker.scss +35 -35
  13. package/lib/cjs/imodel-components-react/color/Swatch.js.map +1 -1
  14. package/lib/cjs/imodel-components-react/color/Swatch.scss +22 -22
  15. package/lib/cjs/imodel-components-react/color/getCSSColorFromDef.js.map +1 -1
  16. package/lib/cjs/imodel-components-react/editors/ColorEditor.js.map +1 -1
  17. package/lib/cjs/imodel-components-react/editors/ColorEditor.scss +18 -18
  18. package/lib/cjs/imodel-components-react/editors/WeightEditor.js.map +1 -1
  19. package/lib/cjs/imodel-components-react/editors/WeightEditor.scss +16 -16
  20. package/lib/cjs/imodel-components-react/inputs/QuantityInput.js.map +1 -1
  21. package/lib/cjs/imodel-components-react/inputs/QuantityNumberInput.js.map +1 -1
  22. package/lib/cjs/imodel-components-react/inputs/QuantityNumberInput.scss +106 -106
  23. package/lib/cjs/imodel-components-react/lineweight/Swatch.js.map +1 -1
  24. package/lib/cjs/imodel-components-react/lineweight/Swatch.scss +48 -48
  25. package/lib/cjs/imodel-components-react/lineweight/WeightPickerButton.js.map +1 -1
  26. package/lib/cjs/imodel-components-react/lineweight/WeightPickerButton.scss +51 -51
  27. package/lib/cjs/imodel-components-react/navigationaids/Cube.js.map +1 -1
  28. package/lib/cjs/imodel-components-react/navigationaids/Cube.scss +19 -19
  29. package/lib/cjs/imodel-components-react/navigationaids/CubeNavigationAid.js.map +1 -1
  30. package/lib/cjs/imodel-components-react/navigationaids/CubeNavigationAid.scss +178 -178
  31. package/lib/cjs/imodel-components-react/navigationaids/DrawingNavigationAid.js.map +1 -1
  32. package/lib/cjs/imodel-components-react/navigationaids/DrawingNavigationAid.scss +135 -135
  33. package/lib/cjs/imodel-components-react/quantityformat/FormatPanel.js.map +1 -1
  34. package/lib/cjs/imodel-components-react/quantityformat/FormatPanel.scss +59 -59
  35. package/lib/cjs/imodel-components-react/quantityformat/FormatPrecision.js.map +1 -1
  36. package/lib/cjs/imodel-components-react/quantityformat/FormatSample.js.map +1 -1
  37. package/lib/cjs/imodel-components-react/quantityformat/FormatType.js.map +1 -1
  38. package/lib/cjs/imodel-components-react/quantityformat/FormatUnitLabel.js.map +1 -1
  39. package/lib/cjs/imodel-components-react/quantityformat/FormatUnits.js.map +1 -1
  40. package/lib/cjs/imodel-components-react/quantityformat/MiscFormatOptions.js.map +1 -1
  41. package/lib/cjs/imodel-components-react/quantityformat/QuantityFormatPanel.js.map +1 -1
  42. package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalPrecision.js.map +1 -1
  43. package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalSeparator.js.map +1 -1
  44. package/lib/cjs/imodel-components-react/quantityformat/misc/FractionPrecision.js.map +1 -1
  45. package/lib/cjs/imodel-components-react/quantityformat/misc/ScientificType.js.map +1 -1
  46. package/lib/cjs/imodel-components-react/quantityformat/misc/SignOption.js.map +1 -1
  47. package/lib/cjs/imodel-components-react/quantityformat/misc/StationSeparatorSelector.js.map +1 -1
  48. package/lib/cjs/imodel-components-react/quantityformat/misc/StationSizeSelector.js.map +1 -1
  49. package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSelector.js.map +1 -1
  50. package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSeparator.js.map +1 -1
  51. package/lib/cjs/imodel-components-react/quantityformat/misc/UnitDescr.js.map +1 -1
  52. package/lib/cjs/imodel-components-react/timeline/BaseSolarDataProvider.js.map +1 -1
  53. package/lib/cjs/imodel-components-react/timeline/BaseTimelineDataProvider.js.map +1 -1
  54. package/lib/cjs/imodel-components-react/timeline/InlineEdit.js.map +1 -1
  55. package/lib/cjs/imodel-components-react/timeline/InlineEdit.scss +26 -26
  56. package/lib/cjs/imodel-components-react/timeline/PlayerButton.js.map +1 -1
  57. package/lib/cjs/imodel-components-react/timeline/PlayerButton.scss +28 -28
  58. package/lib/cjs/imodel-components-react/timeline/Scrubber.js.map +1 -1
  59. package/lib/cjs/imodel-components-react/timeline/Scrubber.scss +105 -105
  60. package/lib/cjs/imodel-components-react/timeline/SolarTimeline.js.map +1 -1
  61. package/lib/cjs/imodel-components-react/timeline/SolarTimeline.scss +359 -359
  62. package/lib/cjs/imodel-components-react/timeline/SpeedTimeline.js.map +1 -1
  63. package/lib/cjs/imodel-components-react/timeline/SpeedTimeline.scss +39 -39
  64. package/lib/cjs/imodel-components-react/timeline/Timeline.scss +164 -164
  65. package/lib/cjs/imodel-components-react/timeline/TimelineComponent.js.map +1 -1
  66. package/lib/cjs/imodel-components-react/timeline/TimelineComponent.scss +177 -177
  67. package/lib/cjs/imodel-components-react/timeline/interfaces.js.map +1 -1
  68. package/lib/cjs/imodel-components-react/viewport/ViewportComponent.js.map +1 -1
  69. package/lib/cjs/imodel-components-react/viewport/ViewportComponentEvents.js.map +1 -1
  70. package/lib/cjs/imodel-components-react.js.map +1 -1
  71. package/lib/esm/imodel-components-react/UiIModelComponents.js.map +1 -1
  72. package/lib/esm/imodel-components-react/color/AlphaSlider.js.map +1 -1
  73. package/lib/esm/imodel-components-react/color/AlphaSlider.scss +63 -63
  74. package/lib/esm/imodel-components-react/color/ColorPickerButton.js.map +1 -1
  75. package/lib/esm/imodel-components-react/color/ColorPickerButton.scss +90 -90
  76. package/lib/esm/imodel-components-react/color/ColorPickerDialog.js.map +1 -1
  77. package/lib/esm/imodel-components-react/color/ColorPickerPopup.js.map +1 -1
  78. package/lib/esm/imodel-components-react/color/ColorPickerPopup.scss +62 -62
  79. package/lib/esm/imodel-components-react/color/HueSlider.js.map +1 -1
  80. package/lib/esm/imodel-components-react/color/HueSlider.scss +61 -61
  81. package/lib/esm/imodel-components-react/color/SaturationPicker.js.map +1 -1
  82. package/lib/esm/imodel-components-react/color/SaturationPicker.scss +35 -35
  83. package/lib/esm/imodel-components-react/color/Swatch.js.map +1 -1
  84. package/lib/esm/imodel-components-react/color/Swatch.scss +22 -22
  85. package/lib/esm/imodel-components-react/color/getCSSColorFromDef.js.map +1 -1
  86. package/lib/esm/imodel-components-react/editors/ColorEditor.js.map +1 -1
  87. package/lib/esm/imodel-components-react/editors/ColorEditor.scss +18 -18
  88. package/lib/esm/imodel-components-react/editors/WeightEditor.js.map +1 -1
  89. package/lib/esm/imodel-components-react/editors/WeightEditor.scss +16 -16
  90. package/lib/esm/imodel-components-react/inputs/QuantityInput.js.map +1 -1
  91. package/lib/esm/imodel-components-react/inputs/QuantityNumberInput.js.map +1 -1
  92. package/lib/esm/imodel-components-react/inputs/QuantityNumberInput.scss +106 -106
  93. package/lib/esm/imodel-components-react/lineweight/Swatch.js.map +1 -1
  94. package/lib/esm/imodel-components-react/lineweight/Swatch.scss +48 -48
  95. package/lib/esm/imodel-components-react/lineweight/WeightPickerButton.js.map +1 -1
  96. package/lib/esm/imodel-components-react/lineweight/WeightPickerButton.scss +51 -51
  97. package/lib/esm/imodel-components-react/navigationaids/Cube.js.map +1 -1
  98. package/lib/esm/imodel-components-react/navigationaids/Cube.scss +19 -19
  99. package/lib/esm/imodel-components-react/navigationaids/CubeNavigationAid.js.map +1 -1
  100. package/lib/esm/imodel-components-react/navigationaids/CubeNavigationAid.scss +178 -178
  101. package/lib/esm/imodel-components-react/navigationaids/DrawingNavigationAid.js.map +1 -1
  102. package/lib/esm/imodel-components-react/navigationaids/DrawingNavigationAid.scss +135 -135
  103. package/lib/esm/imodel-components-react/quantityformat/FormatPanel.js.map +1 -1
  104. package/lib/esm/imodel-components-react/quantityformat/FormatPanel.scss +59 -59
  105. package/lib/esm/imodel-components-react/quantityformat/FormatPrecision.js.map +1 -1
  106. package/lib/esm/imodel-components-react/quantityformat/FormatSample.js.map +1 -1
  107. package/lib/esm/imodel-components-react/quantityformat/FormatType.js.map +1 -1
  108. package/lib/esm/imodel-components-react/quantityformat/FormatUnitLabel.js.map +1 -1
  109. package/lib/esm/imodel-components-react/quantityformat/FormatUnits.js.map +1 -1
  110. package/lib/esm/imodel-components-react/quantityformat/MiscFormatOptions.js.map +1 -1
  111. package/lib/esm/imodel-components-react/quantityformat/QuantityFormatPanel.js.map +1 -1
  112. package/lib/esm/imodel-components-react/quantityformat/misc/DecimalPrecision.js.map +1 -1
  113. package/lib/esm/imodel-components-react/quantityformat/misc/DecimalSeparator.js.map +1 -1
  114. package/lib/esm/imodel-components-react/quantityformat/misc/FractionPrecision.js.map +1 -1
  115. package/lib/esm/imodel-components-react/quantityformat/misc/ScientificType.js.map +1 -1
  116. package/lib/esm/imodel-components-react/quantityformat/misc/SignOption.js.map +1 -1
  117. package/lib/esm/imodel-components-react/quantityformat/misc/StationSeparatorSelector.js.map +1 -1
  118. package/lib/esm/imodel-components-react/quantityformat/misc/StationSizeSelector.js.map +1 -1
  119. package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSelector.js.map +1 -1
  120. package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSeparator.js.map +1 -1
  121. package/lib/esm/imodel-components-react/quantityformat/misc/UnitDescr.js.map +1 -1
  122. package/lib/esm/imodel-components-react/timeline/BaseSolarDataProvider.js.map +1 -1
  123. package/lib/esm/imodel-components-react/timeline/BaseTimelineDataProvider.js.map +1 -1
  124. package/lib/esm/imodel-components-react/timeline/InlineEdit.js.map +1 -1
  125. package/lib/esm/imodel-components-react/timeline/InlineEdit.scss +26 -26
  126. package/lib/esm/imodel-components-react/timeline/PlayerButton.js.map +1 -1
  127. package/lib/esm/imodel-components-react/timeline/PlayerButton.scss +28 -28
  128. package/lib/esm/imodel-components-react/timeline/Scrubber.js.map +1 -1
  129. package/lib/esm/imodel-components-react/timeline/Scrubber.scss +105 -105
  130. package/lib/esm/imodel-components-react/timeline/SolarTimeline.js.map +1 -1
  131. package/lib/esm/imodel-components-react/timeline/SolarTimeline.scss +359 -359
  132. package/lib/esm/imodel-components-react/timeline/SpeedTimeline.js.map +1 -1
  133. package/lib/esm/imodel-components-react/timeline/SpeedTimeline.scss +39 -39
  134. package/lib/esm/imodel-components-react/timeline/Timeline.scss +164 -164
  135. package/lib/esm/imodel-components-react/timeline/TimelineComponent.js.map +1 -1
  136. package/lib/esm/imodel-components-react/timeline/TimelineComponent.scss +177 -177
  137. package/lib/esm/imodel-components-react/timeline/interfaces.js.map +1 -1
  138. package/lib/esm/imodel-components-react/viewport/ViewportComponent.js.map +1 -1
  139. package/lib/esm/imodel-components-react/viewport/ViewportComponentEvents.js.map +1 -1
  140. package/lib/esm/imodel-components-react.js.map +1 -1
  141. package/lib/public/locales/en/UiIModelComponents.json +139 -139
  142. package/package.json +5 -5
@@ -1,178 +1,178 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
5
- @import "~@itwin/core-react/lib/cjs/core-react/style/themecolors";
6
-
7
- $cube-outer-width: 96px;
8
- $button-width: 20px;
9
- $nav-cube-width: 64px;
10
- $nav-cube-side-width: 14px;
11
-
12
- $grad-start: var(--iui-color-background);
13
- $grad-end: var(--iui-color-background-zebra);
14
-
15
- $arrow-margin: -3px;
16
-
17
- .components-cube-container {
18
- position: relative;
19
- width: $cube-outer-width;
20
- height: $cube-outer-width;
21
-
22
- .cube-element-container {
23
- position: absolute;
24
- left: 0;
25
- top: 0;
26
- width: $cube-outer-width;
27
- height: $cube-outer-width;
28
- display: flex;
29
- justify-content: center;
30
- align-items: center;
31
-
32
- .nav-cube {
33
- width: $nav-cube-width;
34
- height: $nav-cube-width;
35
-
36
- .nav-cube-face {
37
- display: flex;
38
- flex-direction: column;
39
- width: 100%;
40
- height: 100%;
41
- font-size: var(--iui-font-size-1);
42
- font-weight: var(--iui-font-weight-semibold);
43
- color: var(--iui-color-text);
44
- box-shadow: inset 0px 0px 1px 0.2px var(--iui-color-border);
45
-
46
- .face-row {
47
- display: flex;
48
- flex-direction: row;
49
- height: $nav-cube-side-width;
50
- width: 100%;
51
-
52
- &.cube-center {
53
- height: auto;
54
- flex-grow: 1;
55
- }
56
-
57
- .face-cell {
58
- cursor: pointer;
59
- user-select: none;
60
- width: $nav-cube-side-width;
61
-
62
- &.cube-center {
63
- width: auto;
64
- flex-grow: 1;
65
- }
66
-
67
- &.cube-hover {
68
- height: auto;
69
- background-color: var(--iui-color-background-accent-muted);
70
- }
71
-
72
- &.cube-active {
73
- background-color: var(--iui-color-background-accent-muted);
74
- }
75
- }
76
-
77
- &.cube-center .face-cell.cube-center {
78
- display: flex;
79
- justify-content: center;
80
- align-items: center;
81
- }
82
- }
83
- }
84
-
85
- .cube-left,
86
- .cube-right,
87
- .cube-front,
88
- .cube-back {
89
- background: linear-gradient(#{$grad-start}, #{$grad-end});
90
- }
91
-
92
- .cube-top {
93
- background: $grad-start;
94
- }
95
-
96
- .cube-bottom {
97
- background: $grad-end;
98
- }
99
-
100
- &.cube-dragging {
101
- .face-row .face-cell {
102
- &.cube-hover,
103
- &.cube-active {
104
- background: transparent;
105
- }
106
- }
107
-
108
- .cube-left,
109
- .cube-right,
110
- .cube-front,
111
- .cube-back {
112
- background: linear-gradient(
113
- var(--iui-color-background),
114
- var(--iui-color-background-backdrop)
115
- );
116
- }
117
-
118
- .cube-top {
119
- background: var(--iui-color-background);
120
- }
121
-
122
- .cube-bottom {
123
- background: var(--iui-color-background-backdrop);
124
- }
125
- }
126
- }
127
- }
128
-
129
- .cube-pointer {
130
- position: absolute;
131
- height: $button-width;
132
- width: $button-width;
133
- font-size: $button-width;
134
- color: var(--iui-color-background);
135
- text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
136
- cursor: pointer;
137
-
138
- &:not(.cube-visible) {
139
- display: none;
140
- }
141
-
142
- &:hover {
143
- color: var(--iui-color-background-hover);
144
- }
145
-
146
- &:focus {
147
- outline: none;
148
- }
149
-
150
- &.cube-up {
151
- margin: $arrow-margin auto;
152
- left: 0px;
153
- right: 0px;
154
- top: 0px;
155
- }
156
-
157
- &.cube-down {
158
- margin: $arrow-margin auto;
159
- left: 0px;
160
- right: 0px;
161
- bottom: 0px;
162
- }
163
-
164
- &.cube-left {
165
- margin: auto $arrow-margin;
166
- top: 0px;
167
- bottom: 0px;
168
- left: 0px;
169
- }
170
-
171
- &.cube-right {
172
- margin: auto $arrow-margin;
173
- top: 0px;
174
- bottom: 0px;
175
- right: 0px;
176
- }
177
- }
178
- }
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ @import "~@itwin/core-react/lib/cjs/core-react/style/themecolors";
6
+
7
+ $cube-outer-width: 96px;
8
+ $button-width: 20px;
9
+ $nav-cube-width: 64px;
10
+ $nav-cube-side-width: 14px;
11
+
12
+ $grad-start: var(--iui-color-background);
13
+ $grad-end: var(--iui-color-background-zebra);
14
+
15
+ $arrow-margin: -3px;
16
+
17
+ .components-cube-container {
18
+ position: relative;
19
+ width: $cube-outer-width;
20
+ height: $cube-outer-width;
21
+
22
+ .cube-element-container {
23
+ position: absolute;
24
+ left: 0;
25
+ top: 0;
26
+ width: $cube-outer-width;
27
+ height: $cube-outer-width;
28
+ display: flex;
29
+ justify-content: center;
30
+ align-items: center;
31
+
32
+ .nav-cube {
33
+ width: $nav-cube-width;
34
+ height: $nav-cube-width;
35
+
36
+ .nav-cube-face {
37
+ display: flex;
38
+ flex-direction: column;
39
+ width: 100%;
40
+ height: 100%;
41
+ font-size: var(--iui-font-size-1);
42
+ font-weight: var(--iui-font-weight-semibold);
43
+ color: var(--iui-color-text);
44
+ box-shadow: inset 0px 0px 1px 0.2px var(--iui-color-border);
45
+
46
+ .face-row {
47
+ display: flex;
48
+ flex-direction: row;
49
+ height: $nav-cube-side-width;
50
+ width: 100%;
51
+
52
+ &.cube-center {
53
+ height: auto;
54
+ flex-grow: 1;
55
+ }
56
+
57
+ .face-cell {
58
+ cursor: pointer;
59
+ user-select: none;
60
+ width: $nav-cube-side-width;
61
+
62
+ &.cube-center {
63
+ width: auto;
64
+ flex-grow: 1;
65
+ }
66
+
67
+ &.cube-hover {
68
+ height: auto;
69
+ background-color: var(--iui-color-background-accent-muted);
70
+ }
71
+
72
+ &.cube-active {
73
+ background-color: var(--iui-color-background-accent-muted);
74
+ }
75
+ }
76
+
77
+ &.cube-center .face-cell.cube-center {
78
+ display: flex;
79
+ justify-content: center;
80
+ align-items: center;
81
+ }
82
+ }
83
+ }
84
+
85
+ .cube-left,
86
+ .cube-right,
87
+ .cube-front,
88
+ .cube-back {
89
+ background: linear-gradient(#{$grad-start}, #{$grad-end});
90
+ }
91
+
92
+ .cube-top {
93
+ background: $grad-start;
94
+ }
95
+
96
+ .cube-bottom {
97
+ background: $grad-end;
98
+ }
99
+
100
+ &.cube-dragging {
101
+ .face-row .face-cell {
102
+ &.cube-hover,
103
+ &.cube-active {
104
+ background: transparent;
105
+ }
106
+ }
107
+
108
+ .cube-left,
109
+ .cube-right,
110
+ .cube-front,
111
+ .cube-back {
112
+ background: linear-gradient(
113
+ var(--iui-color-background),
114
+ var(--iui-color-background-backdrop)
115
+ );
116
+ }
117
+
118
+ .cube-top {
119
+ background: var(--iui-color-background);
120
+ }
121
+
122
+ .cube-bottom {
123
+ background: var(--iui-color-background-backdrop);
124
+ }
125
+ }
126
+ }
127
+ }
128
+
129
+ .cube-pointer {
130
+ position: absolute;
131
+ height: $button-width;
132
+ width: $button-width;
133
+ font-size: $button-width;
134
+ color: var(--iui-color-background);
135
+ text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
136
+ cursor: pointer;
137
+
138
+ &:not(.cube-visible) {
139
+ display: none;
140
+ }
141
+
142
+ &:hover {
143
+ color: var(--iui-color-background-hover);
144
+ }
145
+
146
+ &:focus {
147
+ outline: none;
148
+ }
149
+
150
+ &.cube-up {
151
+ margin: $arrow-margin auto;
152
+ left: 0px;
153
+ right: 0px;
154
+ top: 0px;
155
+ }
156
+
157
+ &.cube-down {
158
+ margin: $arrow-margin auto;
159
+ left: 0px;
160
+ right: 0px;
161
+ bottom: 0px;
162
+ }
163
+
164
+ &.cube-left {
165
+ margin: auto $arrow-margin;
166
+ top: 0px;
167
+ bottom: 0px;
168
+ left: 0px;
169
+ }
170
+
171
+ &.cube-right {
172
+ margin: auto $arrow-margin;
173
+ top: 0px;
174
+ bottom: 0px;
175
+ right: 0px;
176
+ }
177
+ }
178
+ }