@touchtech/baselayer-ui 1.4.6 → 1.5.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 (2) hide show
  1. package/dist/styles.css +4 -1
  2. package/package.json +3 -3
package/dist/styles.css CHANGED
@@ -193,7 +193,7 @@
193
193
  align-items: center;
194
194
  background-color: var(--theme-button-background-color, #fff);
195
195
  border: none;
196
- border-radius: var(--button-size);
196
+ border-radius: calc(var(--button-size) / 2);
197
197
  box-shadow: var(--theme-button-shadow, 0 0 12px 0 rgba(0, 0, 0, 0.1));
198
198
  color: var(--theme-button-foreground-color, #0e0e0f);
199
199
  cursor: pointer;
@@ -249,11 +249,13 @@
249
249
 
250
250
  .U71Snkfwutt-9SCX3QpCD._3gnff_6Mk8KtBbrYr5RU4p {
251
251
  background-color: transparent;
252
+ border-radius: calc(var(--button-size) / 2 + 2px);
252
253
  border: 2px solid var(--theme-button-foreground-color, #0e0e0f);
253
254
  box-shadow: none;
254
255
  }
255
256
 
256
257
  .U71Snkfwutt-9SCX3QpCD._3gnff_6Mk8KtBbrYr5RU4p.zKZkVeeTcXKkUmyab6FKh {
258
+ border-radius: calc(var(--button-size) / 2 + 2px);
257
259
  border: 2px solid var(--theme-button-background-color, #fff);
258
260
  }
259
261
 
@@ -397,6 +399,7 @@
397
399
  position: absolute;
398
400
  background-color: var(--theme-floating-panel-background-color, #fff);
399
401
  box-shadow: var(--theme-floating-panel-shadow, 0 0 5px 0 rgba(0, 0, 0, 0.15));
402
+ will-change: transform;
400
403
  z-index: 3;
401
404
  }
402
405
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@touchtech/baselayer-ui",
3
- "version": "1.4.6",
3
+ "version": "1.5.0",
4
4
  "description": "React UI component library",
5
5
  "main": "dist/bundle.js",
6
6
  "scripts": {
@@ -34,8 +34,8 @@
34
34
  "@storybook/addon-centered": "^5.3.19",
35
35
  "@storybook/addon-storysource": "^5.3.19",
36
36
  "@storybook/react": "^5.3.19",
37
- "@testing-library/jest-dom": "^5.11.0",
38
- "@testing-library/react": "^10.4.6",
37
+ "@testing-library/jest-dom": "^5.11.1",
38
+ "@testing-library/react": "^10.4.7",
39
39
  "@testing-library/react-hooks": "^3.3.0",
40
40
  "babel-jest": "^26.1.0",
41
41
  "babel-loader": "^8.1.0",