@minimalstuff/ui 0.0.19 → 0.0.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.
package/dist/style.css ADDED
@@ -0,0 +1 @@
1
+ .react-toggle{touch-action:pan-x;display:inline-block;position:relative;cursor:pointer;background-color:transparent;border:0;padding:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-tap-highlight-color:transparent}.react-toggle-screenreader-only{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.react-toggle--disabled{cursor:not-allowed;opacity:.5;-webkit-transition:opacity .25s;transition:opacity .25s}.react-toggle-track{width:50px;height:24px;padding:0;border-radius:30px;background-color:#4d4d4d;-webkit-transition:all .2s ease;-moz-transition:all .2s ease;transition:all .2s ease}.react-toggle:hover:not(.react-toggle--disabled) .react-toggle-track{background-color:#000}.react-toggle--checked .react-toggle-track{background-color:#19ab27}.react-toggle--checked:hover:not(.react-toggle--disabled) .react-toggle-track{background-color:#128d15}.react-toggle-track-check{position:absolute;width:14px;height:10px;top:0;bottom:0;margin-top:auto;margin-bottom:auto;line-height:0;left:8px;opacity:0;-webkit-transition:opacity .25s ease;-moz-transition:opacity .25s ease;transition:opacity .25s ease}.react-toggle--checked .react-toggle-track-check{opacity:1;-webkit-transition:opacity .25s ease;-moz-transition:opacity .25s ease;transition:opacity .25s ease}.react-toggle-track-x{position:absolute;width:10px;height:10px;top:0;bottom:0;margin-top:auto;margin-bottom:auto;line-height:0;right:10px;opacity:1;-webkit-transition:opacity .25s ease;-moz-transition:opacity .25s ease;transition:opacity .25s ease}.react-toggle--checked .react-toggle-track-x{opacity:0}.react-toggle-thumb{transition:all .5s cubic-bezier(.23,1,.32,1) 0ms;position:absolute;top:1px;left:1px;width:22px;height:22px;border:1px solid #4D4D4D;border-radius:50%;background-color:#fafafa;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all .25s ease;-moz-transition:all .25s ease;transition:all .25s ease}.react-toggle--checked .react-toggle-thumb{left:27px;border-color:#19ab27}.react-toggle--focus .react-toggle-thumb{-webkit-box-shadow:0px 0px 3px 2px #0099E0;-moz-box-shadow:0px 0px 3px 2px #0099E0;box-shadow:0 0 2px 3px #0099e0}.react-toggle:active:not(.react-toggle--disabled) .react-toggle-thumb{-webkit-box-shadow:0px 0px 5px 5px #0099E0;-moz-box-shadow:0px 0px 5px 5px #0099E0;box-shadow:0 0 5px 5px #0099e0}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minimalstuff/ui",
3
- "version": "0.0.19",
3
+ "version": "0.0.21",
4
4
  "description": "Minimal UI lib for React built on top of Emotion",
5
5
  "type": "module",
6
6
  "main": "./dist/index.umd.js",
@@ -40,12 +40,12 @@
40
40
  "license": "ISC",
41
41
  "devDependencies": {
42
42
  "@emotion/babel-plugin": "^11.11.0",
43
- "@storybook/addon-essentials": "^8.1.10",
44
- "@storybook/addon-themes": "^8.1.10",
45
- "@storybook/blocks": "^8.1.10",
46
- "@storybook/react": "^8.1.10",
47
- "@storybook/react-vite": "^8.1.10",
48
- "@storybook/test": "^8.1.10",
43
+ "@storybook/addon-essentials": "^8.1.11",
44
+ "@storybook/addon-themes": "^8.1.11",
45
+ "@storybook/blocks": "^8.1.11",
46
+ "@storybook/react": "^8.1.11",
47
+ "@storybook/react-vite": "^8.1.11",
48
+ "@storybook/test": "^8.1.11",
49
49
  "@testing-library/jest-dom": "^6.4.6",
50
50
  "@testing-library/react": "^16.0.0",
51
51
  "@types/react": "^18.3.3",
@@ -53,32 +53,32 @@
53
53
  "@types/react-select": "^5.0.1",
54
54
  "@types/react-toggle": "^4.0.5",
55
55
  "@types/tinycolor2": "^1.4.6",
56
- "@typescript-eslint/eslint-plugin": "^7.13.0",
57
- "@typescript-eslint/parser": "^7.13.0",
56
+ "@typescript-eslint/eslint-plugin": "^7.14.1",
57
+ "@typescript-eslint/parser": "^7.14.1",
58
58
  "@vitejs/plugin-react-swc": "^3.7.0",
59
59
  "eslint": "^8.57.0",
60
60
  "eslint-config-prettier": "^9.1.0",
61
61
  "eslint-import-resolver-typescript": "^3.6.1",
62
62
  "eslint-plugin-import": "^2.29.1",
63
63
  "eslint-plugin-prettier": "^5.1.3",
64
- "eslint-plugin-react": "^7.34.2",
64
+ "eslint-plugin-react": "^7.34.3",
65
65
  "eslint-plugin-react-hooks": "^4.6.2",
66
66
  "eslint-plugin-storybook": "^0.8.0",
67
67
  "husky": "^9.0.11",
68
68
  "jsdom": "^24.1.0",
69
69
  "lint-staged": "^15.2.7",
70
70
  "prettier": "^3.3.2",
71
- "release-it": "^17.3.0",
72
- "storybook": "^8.1.10",
71
+ "release-it": "^17.4.0",
72
+ "storybook": "^8.1.11",
73
73
  "typescript": "^5.4.5",
74
- "vite": "^5.3.0",
74
+ "vite": "^5.3.2",
75
75
  "vite-plugin-dts": "^3.9.1",
76
76
  "vitest": "^1.6.0"
77
77
  },
78
78
  "dependencies": {
79
79
  "@emotion/react": "^11.11.4",
80
80
  "@emotion/styled": "^11.11.5",
81
- "@types/node": "^20.14.2",
81
+ "@types/node": "^20.14.9",
82
82
  "hex-rgb": "^5.0.0",
83
83
  "react": "^18.3.1",
84
84
  "react-dom": "^18.3.1",