@rolemodel/optics 2.1.4 → 2.2.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.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rolemodel/optics",
3
- "version": "2.1.4",
3
+ "version": "2.2.0",
4
4
  "packageManager": "yarn@4.8.1",
5
5
  "description": "Optics is a css package that provides base styles and components that can be integrated and customized in a variety of projects.",
6
6
  "main": "dist/css/optics.css",
@@ -46,35 +46,27 @@
46
46
  "modern-css-reset": "^1.4.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@babel/preset-env": "^7.23.9",
50
- "@storybook/addon-essentials": "^8.5.3",
51
- "@storybook/blocks": "^8.5.3",
52
- "@storybook/html": "^8.5.3",
53
- "@storybook/html-vite": "^8.5.3",
54
- "@storybook/manager-api": "^8.5.3",
55
- "@storybook/preview-api": "^8.5.3",
56
- "@storybook/test": "^8.5.3",
57
- "@storybook/theming": "^8.5.3",
58
- "cssnano": "^7.0.6",
59
- "eslint": "^8.45.0",
60
- "eslint-config-prettier": "^9.1.0",
61
- "eslint-config-standard": "^17.1.0",
62
- "eslint-plugin-import": "^2.27.5",
63
- "eslint-plugin-n": "^16.0.1",
64
- "eslint-plugin-promise": "^6.1.1",
65
- "eslint-plugin-storybook": "^0.11.2",
49
+ "@babel/preset-env": "^7.28.3",
50
+ "@eslint/js": "^9.34.0",
51
+ "@storybook/addon-docs": "^9.1.4",
52
+ "@storybook/html-vite": "^9.1.4",
53
+ "cssnano": "^7.1.1",
54
+ "eslint": "^9.34.0",
55
+ "eslint-config-prettier": "^10.1.8",
56
+ "eslint-plugin-storybook": "^9.1.4",
66
57
  "generate-template-files": "^3.2.1",
67
- "postcss": "^8.4.38",
68
- "postcss-cli": "^11.0.0",
69
- "postcss-import": "^16.1.0",
70
- "prettier": "^3.0.0",
71
- "storybook": "^8.5.3",
72
- "storybook-design-token": "^3.1.0",
73
- "style-loader": "^3.3.3",
74
- "stylelint": "^16.2.1",
58
+ "globals": "^16.3.0",
59
+ "postcss": "^8.5.6",
60
+ "postcss-cli": "^11.0.1",
61
+ "postcss-import": "^16.1.1",
62
+ "prettier": "^3.6.2",
63
+ "storybook": "^9.1.4",
64
+ "storybook-design-token": "^4.1.0",
65
+ "style-loader": "^4.0.0",
66
+ "stylelint": "^16.23.1",
75
67
  "stylelint-config-idiomatic-order": "^10.0.0",
76
- "stylelint-prettier": "^5.0.0",
77
- "vite": "^5.4.14"
68
+ "stylelint-prettier": "^5.0.3",
69
+ "vite": "^7.1.4"
78
70
  },
79
71
  "peerDependencies": {
80
72
  "tom-select": "^2.0.0"
@@ -0,0 +1,27 @@
1
+ import js from '@eslint/js'
2
+ import globals from 'globals'
3
+ import { defineConfig } from 'eslint/config'
4
+
5
+ import eslintConfigPrettier from 'eslint-config-prettier/flat'
6
+ import storybook from 'eslint-plugin-storybook'
7
+
8
+ export default defineConfig([
9
+ {
10
+ files: ['**/*.{js,mjs,cjs}'],
11
+ plugins: { js },
12
+ extends: ['js/recommended'],
13
+ languageOptions: { globals: globals.browser },
14
+ rules: {
15
+ 'no-unused-vars': [
16
+ 'warn',
17
+ {
18
+ argsIgnorePattern: '^_', // Allow unused arguments starting with an underscore
19
+ varsIgnorePattern: '^_', // Allow unused variables starting with an underscore
20
+ ignoreRestSiblings: true,
21
+ },
22
+ ],
23
+ },
24
+ },
25
+ eslintConfigPrettier,
26
+ ...storybook.configs['flat/recommended'],
27
+ ])
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rolemodel/optics",
3
- "version": "2.1.4",
3
+ "version": "2.2.0",
4
4
  "packageManager": "yarn@4.8.1",
5
5
  "description": "Optics is a css package that provides base styles and components that can be integrated and customized in a variety of projects.",
6
6
  "main": "dist/css/optics.css",
@@ -46,35 +46,27 @@
46
46
  "modern-css-reset": "^1.4.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@babel/preset-env": "^7.23.9",
50
- "@storybook/addon-essentials": "^8.5.3",
51
- "@storybook/blocks": "^8.5.3",
52
- "@storybook/html": "^8.5.3",
53
- "@storybook/html-vite": "^8.5.3",
54
- "@storybook/manager-api": "^8.5.3",
55
- "@storybook/preview-api": "^8.5.3",
56
- "@storybook/test": "^8.5.3",
57
- "@storybook/theming": "^8.5.3",
58
- "cssnano": "^7.0.6",
59
- "eslint": "^8.45.0",
60
- "eslint-config-prettier": "^9.1.0",
61
- "eslint-config-standard": "^17.1.0",
62
- "eslint-plugin-import": "^2.27.5",
63
- "eslint-plugin-n": "^16.0.1",
64
- "eslint-plugin-promise": "^6.1.1",
65
- "eslint-plugin-storybook": "^0.11.2",
49
+ "@babel/preset-env": "^7.28.3",
50
+ "@eslint/js": "^9.34.0",
51
+ "@storybook/addon-docs": "^9.1.4",
52
+ "@storybook/html-vite": "^9.1.4",
53
+ "cssnano": "^7.1.1",
54
+ "eslint": "^9.34.0",
55
+ "eslint-config-prettier": "^10.1.8",
56
+ "eslint-plugin-storybook": "^9.1.4",
66
57
  "generate-template-files": "^3.2.1",
67
- "postcss": "^8.4.38",
68
- "postcss-cli": "^11.0.0",
69
- "postcss-import": "^16.1.0",
70
- "prettier": "^3.0.0",
71
- "storybook": "^8.5.3",
72
- "storybook-design-token": "^3.1.0",
73
- "style-loader": "^3.3.3",
74
- "stylelint": "^16.2.1",
58
+ "globals": "^16.3.0",
59
+ "postcss": "^8.5.6",
60
+ "postcss-cli": "^11.0.1",
61
+ "postcss-import": "^16.1.1",
62
+ "prettier": "^3.6.2",
63
+ "storybook": "^9.1.4",
64
+ "storybook-design-token": "^4.1.0",
65
+ "style-loader": "^4.0.0",
66
+ "stylelint": "^16.23.1",
75
67
  "stylelint-config-idiomatic-order": "^10.0.0",
76
- "stylelint-prettier": "^5.0.0",
77
- "vite": "^5.4.14"
68
+ "stylelint-prettier": "^5.0.3",
69
+ "vite": "^7.1.4"
78
70
  },
79
71
  "peerDependencies": {
80
72
  "tom-select": "^2.0.0"
package/.eslintrc.json DELETED
@@ -1,14 +0,0 @@
1
- {
2
- "root": true,
3
- "extends": ["standard", "prettier"],
4
- "rules": {
5
- "no-unused-vars": [
6
- "warn",
7
- {
8
- "argsIgnorePattern": "^_", // Allow unused arguments starting with an underscore
9
- "varsIgnorePattern": "^_", // Allow unused variables starting with an underscore
10
- "ignoreRestSiblings": true
11
- }
12
- ]
13
- }
14
- }