@rolemodel/optics 1.0.0 → 1.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/.editorconfig +10 -0
- package/.gitattributes +4 -0
- package/.github/workflows/linting.yml +9 -9
- package/.github/workflows/publish-storybook.yml +3 -3
- package/.github/workflows/release-package.yml +6 -6
- package/.prettierignore +1 -0
- package/.yarn/install-state.gz +0 -0
- package/.yarn/releases/yarn-4.2.2.cjs +894 -0
- package/.yarnrc.yml +2 -0
- package/dist/css/optics.css +28 -62
- package/dist/css/optics.css.map +1 -1
- package/dist/scss/addons/panel.scss +1 -1
- package/dist/scss/components/button.scss +2 -1
- package/dist/scss/components/form.scss +1 -0
- package/dist/scss/components/icon.scss +1 -1
- package/dist/scss/components/sidebar.scss +9 -4
- package/dist/scss/core/tokens/base_tokens.scss +28 -15
- package/dist/scss/core/tokens/dark_mode_tokens.scss +3 -0
- package/dist/scss/core/utilities.scss +0 -137
- package/dist/tokens/tokens.json +2 -2
- package/package.json +22 -21
package/package.json
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rolemodel/optics",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
|
+
"packageManager": "yarn@4.2.2",
|
|
4
5
|
"description": "Optics is an scss package that provides base styles and components that can be integrated and customized in a variety of projects.",
|
|
5
6
|
"main": "dist/scss/optics.scss",
|
|
6
7
|
"scripts": {
|
|
7
8
|
"test": "exit 0",
|
|
8
|
-
"build": "
|
|
9
|
+
"build": "yarn build:css && yarn build:scss && yarn build:tokens",
|
|
9
10
|
"build:css": "sass src/optics.scss dist/css/optics.css --load-path=node_modules/",
|
|
10
11
|
"build:scss": "rsync -a src/ dist/scss --exclude stories",
|
|
11
12
|
"build:tokens": "node build_token_json --source=src/core/tokens --output=dist/tokens/tokens.json",
|
|
12
|
-
"storybook": "storybook dev -p 6006",
|
|
13
|
-
"build-storybook": "storybook build",
|
|
14
|
-
"lint": "
|
|
15
|
-
"lint-fix": "
|
|
13
|
+
"storybook": "storybook dev -p 6006 --docs",
|
|
14
|
+
"build-storybook": "storybook build --docs",
|
|
15
|
+
"lint": "yarn lint:js && yarn lint:css",
|
|
16
|
+
"lint-fix": "yarn lint:js --fix && yarn lint:css --fix",
|
|
16
17
|
"lint:js": "eslint 'src/stories/**/*.js'",
|
|
17
18
|
"lint:css": "stylelint 'src/**/*.(scss|css)'",
|
|
18
19
|
"prettier": "prettier -w .",
|
|
19
20
|
"prettier-check": "prettier -c .",
|
|
20
|
-
"sanity-check": "
|
|
21
|
+
"sanity-check": "yarn lint && yarn prettier && yarn build && yarn build-storybook && rm -rf ./dist && rm -rf ./storybook-static",
|
|
21
22
|
"generate": "node ./tools/generate.js"
|
|
22
23
|
},
|
|
23
24
|
"repository": {
|
|
@@ -46,14 +47,14 @@
|
|
|
46
47
|
},
|
|
47
48
|
"devDependencies": {
|
|
48
49
|
"@babel/preset-env": "^7.23.9",
|
|
49
|
-
"@storybook/addon-essentials": "^
|
|
50
|
-
"@storybook/
|
|
51
|
-
"@storybook/
|
|
52
|
-
"@storybook/
|
|
53
|
-
"@storybook/
|
|
54
|
-
"@storybook/
|
|
55
|
-
"@storybook/
|
|
56
|
-
"@storybook/
|
|
50
|
+
"@storybook/addon-essentials": "^8.1.3",
|
|
51
|
+
"@storybook/blocks": "^8.1.3",
|
|
52
|
+
"@storybook/html": "^8.1.3",
|
|
53
|
+
"@storybook/html-vite": "^8.1.3",
|
|
54
|
+
"@storybook/manager-api": "^8.1.3",
|
|
55
|
+
"@storybook/preview-api": "^8.1.3",
|
|
56
|
+
"@storybook/test": "^8.1.3",
|
|
57
|
+
"@storybook/theming": "^8.1.3",
|
|
57
58
|
"eslint": "^8.45.0",
|
|
58
59
|
"eslint-config-prettier": "^9.1.0",
|
|
59
60
|
"eslint-config-standard": "^17.1.0",
|
|
@@ -62,21 +63,21 @@
|
|
|
62
63
|
"eslint-plugin-promise": "^6.1.1",
|
|
63
64
|
"eslint-plugin-storybook": "^0.6.13",
|
|
64
65
|
"generate-template-files": "^3.2.1",
|
|
66
|
+
"postcss": "^8.4.38",
|
|
65
67
|
"postcss-scss": "^4.0.9",
|
|
66
68
|
"prettier": "^3.0.0",
|
|
67
|
-
"
|
|
68
|
-
"react-dom": "^18.2.0",
|
|
69
|
-
"sass": "^1.64.0",
|
|
69
|
+
"sass": "^1.77.2",
|
|
70
70
|
"sass-loader": "^14.1.0",
|
|
71
|
-
"storybook": "^
|
|
72
|
-
"storybook-design-token": "^3.
|
|
71
|
+
"storybook": "^8.1.3",
|
|
72
|
+
"storybook-design-token": "^3.1.0",
|
|
73
73
|
"style-loader": "^3.3.3",
|
|
74
74
|
"stylelint": "^16.2.1",
|
|
75
75
|
"stylelint-config-idiomatic-order": "^10.0.0",
|
|
76
76
|
"stylelint-config-prettier-scss": "^1.0.0",
|
|
77
77
|
"stylelint-config-standard-scss": "^13.0.0",
|
|
78
78
|
"stylelint-prettier": "^5.0.0",
|
|
79
|
-
"stylelint-scss": "^6.1.0"
|
|
79
|
+
"stylelint-scss": "^6.1.0",
|
|
80
|
+
"vite": "^5.2.11"
|
|
80
81
|
},
|
|
81
82
|
"peerDependencies": {
|
|
82
83
|
"tom-select": "^2.0.0"
|