sit-onyx 1.6.0-dev-20251217124042 → 1.6.0-dev-20251219140026
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/index.esm-bundler.js +1 -1
- package/dist/index.esm-bundler.js.map +1 -1
- package/dist/index.js +2 -11
- package/dist/style.css +1 -1
- package/package.json +5 -5
- package/src/styles/mixins/text.scss +7 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sit-onyx",
|
|
3
3
|
"description": "A design system and Vue.js component library created by Schwarz IT",
|
|
4
|
-
"version": "1.6.0-dev-
|
|
4
|
+
"version": "1.6.0-dev-20251219140026",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "Schwarz IT KG",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -46,22 +46,22 @@
|
|
|
46
46
|
"@axe-core/playwright": "^4.11.0",
|
|
47
47
|
"@playwright/experimental-ct-vue": "1.57.0",
|
|
48
48
|
"@playwright/test": "1.57.0",
|
|
49
|
-
"@storybook/addon-a11y": "^10.1.
|
|
50
|
-
"@vue/compiler-dom": "3.5.
|
|
49
|
+
"@storybook/addon-a11y": "^10.1.10",
|
|
50
|
+
"@vue/compiler-dom": "3.5.26",
|
|
51
51
|
"@vue/test-utils": "^2.4.6",
|
|
52
52
|
"axe-core": "^4.11.0",
|
|
53
53
|
"eslint-plugin-vue-scoped-css": "^2.12.0",
|
|
54
54
|
"sass-embedded": "1.97.0",
|
|
55
55
|
"storybook-addon-tag-badges": "^3.0.4",
|
|
56
56
|
"tsx": "^4.21.0",
|
|
57
|
-
"vue": "3.5.
|
|
57
|
+
"vue": "3.5.26",
|
|
58
58
|
"vue-component-type-helpers": "^3.1.8",
|
|
59
59
|
"vue-i18n": "^11.2.2",
|
|
60
60
|
"vue-router": "^4.6.4",
|
|
61
61
|
"@sit-onyx/flags": "^1.0.0",
|
|
62
62
|
"@sit-onyx/headless": "^0.4.0",
|
|
63
|
-
"@sit-onyx/playwright-utils": "^1.0.0",
|
|
64
63
|
"@sit-onyx/shared": "^0.1.0",
|
|
64
|
+
"@sit-onyx/playwright-utils": "^1.0.0",
|
|
65
65
|
"@sit-onyx/storybook-utils": "^1.1.0"
|
|
66
66
|
},
|
|
67
67
|
"scripts": {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Function for getting a approximated CSS "ch" length value that can be used to e.g. set the width of an element based on the text length.
|
|
3
|
+
* Adds 1px of additional space to ensure no overflow for low character counts.
|
|
4
|
+
*/
|
|
5
|
+
@function ch($length) {
|
|
6
|
+
@return calc($length * 1ch + var(--onyx-1px-in-rem));
|
|
7
|
+
}
|