@kiva/kv-components 1.4.4 → 1.4.5
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/CHANGELOG.md +8 -0
- package/README.md +1 -1
- package/package.json +14 -13
- package/tailwind.config.js +7 -10
- package/vue/.storybook/main.js +13 -24
- package/vue/stories/StyleguidePrimitives.stories.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.4.5](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@1.4.4...@kiva/kv-components@1.4.5) (2022-02-03)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @kiva/kv-components
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [1.4.4](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@1.4.3...@kiva/kv-components@1.4.4) (2022-01-11)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @kiva/kv-components
|
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiva/kv-components",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.5",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -9,18 +9,18 @@
|
|
|
9
9
|
"@babel/core": "^7.14.8",
|
|
10
10
|
"@babel/eslint-parser": "^7.13.14",
|
|
11
11
|
"@babel/preset-env": "^7.14.8",
|
|
12
|
-
"@storybook/addon-a11y": "^6.
|
|
13
|
-
"@storybook/addon-actions": "^6.
|
|
14
|
-
"@storybook/addon-essentials": "^6.
|
|
15
|
-
"@storybook/addon-links": "^6.
|
|
12
|
+
"@storybook/addon-a11y": "^6.4.17",
|
|
13
|
+
"@storybook/addon-actions": "^6.4.17",
|
|
14
|
+
"@storybook/addon-essentials": "^6.4.17",
|
|
15
|
+
"@storybook/addon-links": "^6.4.17",
|
|
16
16
|
"@storybook/addon-postcss": "^2.0.0",
|
|
17
|
-
"@storybook/addon-storysource": "^6.
|
|
18
|
-
"@storybook/addons": "^6.
|
|
19
|
-
"@storybook/vue": "^6.
|
|
17
|
+
"@storybook/addon-storysource": "^6.4.17",
|
|
18
|
+
"@storybook/addons": "^6.4.17",
|
|
19
|
+
"@storybook/vue": "^6.4.17",
|
|
20
20
|
"@testing-library/dom": "^8.1.0",
|
|
21
21
|
"@testing-library/user-event": "^13.2.1",
|
|
22
22
|
"@testing-library/vue": "^5.8.1",
|
|
23
|
-
"autoprefixer": "^
|
|
23
|
+
"autoprefixer": "^10.4.2",
|
|
24
24
|
"babel-core": "^7.0.0-bridge.0",
|
|
25
25
|
"babel-jest": "^27.0.6",
|
|
26
26
|
"babel-loader": "^8.2.2",
|
|
@@ -28,12 +28,13 @@
|
|
|
28
28
|
"eslint": "^7.26.0",
|
|
29
29
|
"eslint-config-airbnb-base": "^14.1.0",
|
|
30
30
|
"eslint-plugin-import": "^2.20.2",
|
|
31
|
+
"eslint-plugin-storybook": "^0.5.6",
|
|
31
32
|
"eslint-plugin-vue": "^7.9.0",
|
|
32
33
|
"jest": "^27.0.6",
|
|
33
34
|
"jest-axe": "^5.0.1",
|
|
34
|
-
"postcss": "^8.
|
|
35
|
+
"postcss": "^8.4.5",
|
|
35
36
|
"storybook-dark-mode": "^1.0.8",
|
|
36
|
-
"tailwindcss": "
|
|
37
|
+
"tailwindcss": "^3.0.18",
|
|
37
38
|
"vue-jest": "^3.0.7",
|
|
38
39
|
"vue-loader": "^15.9.6",
|
|
39
40
|
"vue-router": "^3.5.2",
|
|
@@ -46,7 +47,7 @@
|
|
|
46
47
|
"test": "jest"
|
|
47
48
|
},
|
|
48
49
|
"dependencies": {
|
|
49
|
-
"@kiva/kv-tokens": "^1.3.
|
|
50
|
+
"@kiva/kv-tokens": "^1.3.2",
|
|
50
51
|
"@mdi/js": "^5.9.55",
|
|
51
52
|
"aria-hidden": "^1.1.3",
|
|
52
53
|
"embla-carousel": "^4.5.3",
|
|
@@ -54,5 +55,5 @@
|
|
|
54
55
|
"vue": "^2.6.12",
|
|
55
56
|
"vue-focus-lock": "^1.4.1"
|
|
56
57
|
},
|
|
57
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "12bb59eb8dbffd590a8624347a8a3f98bf5ffba3"
|
|
58
59
|
}
|
package/tailwind.config.js
CHANGED
|
@@ -26,7 +26,7 @@ function buildValuesFromThemeObj(initialObj) {
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
// Safelist classes used on our Styleguide Primitives story since it gets
|
|
29
|
-
// generated dynamically and
|
|
29
|
+
// generated dynamically and Tailwind won't see those class names in any files otherwise.
|
|
30
30
|
const backgroundColor = buildValuesFromThemeObj(theme.backgroundColor);
|
|
31
31
|
const borderColor = buildValuesFromThemeObj(theme.borderColor);
|
|
32
32
|
const ringColor = buildValuesFromThemeObj(theme.ringColor);
|
|
@@ -52,14 +52,11 @@ const safelist = [
|
|
|
52
52
|
];
|
|
53
53
|
|
|
54
54
|
module.exports = {
|
|
55
|
-
mode: 'jit',
|
|
56
55
|
presets: [sharedConfig],
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
safelist,
|
|
64
|
-
},
|
|
56
|
+
content: [
|
|
57
|
+
'./vue/**/*.vue',
|
|
58
|
+
'./vue/stories/**/*.stories.js',
|
|
59
|
+
'./utils/**/*.js',
|
|
60
|
+
],
|
|
61
|
+
safelist,
|
|
65
62
|
};
|
package/vue/.storybook/main.js
CHANGED
|
@@ -9,28 +9,17 @@ module.exports = {
|
|
|
9
9
|
addons: [
|
|
10
10
|
'@storybook/addon-links',
|
|
11
11
|
'@storybook/addon-essentials',
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
plugins: [
|
|
26
|
-
require('tailwindcss'),
|
|
27
|
-
require('autoprefixer')
|
|
28
|
-
]
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
],
|
|
32
|
-
include: path.resolve(__dirname, '../'),
|
|
33
|
-
})
|
|
34
|
-
return config
|
|
35
|
-
}
|
|
12
|
+
'@storybook/addon-a11y',
|
|
13
|
+
'@storybook/addon-storysource',
|
|
14
|
+
'storybook-dark-mode',
|
|
15
|
+
{
|
|
16
|
+
name: '@storybook/addon-postcss',
|
|
17
|
+
options: {
|
|
18
|
+
postcssLoaderOptions: {
|
|
19
|
+
implementation: require('postcss'),
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
],
|
|
24
|
+
"framework": "@storybook/vue"
|
|
36
25
|
}
|
|
@@ -381,7 +381,7 @@ export const Primitives = (args, { argTypes }) => ({
|
|
|
381
381
|
:style="{left: 'calc(' + index/zIndices.length * 100 + '% - ' + (index/zIndices.length * 250) + 'px)', top: index * 50 + 'px'}"
|
|
382
382
|
>
|
|
383
383
|
<button
|
|
384
|
-
class="tw-flex tw-text-left tw-content-start tw-align-top tw-p-2 tw-font-book hover:tw-text-action-highlight tw-h-12 tw-bg-tertiary tw-outline-
|
|
384
|
+
class="tw-flex tw-text-left tw-content-start tw-align-top tw-p-2 tw-font-book hover:tw-text-action-highlight tw-h-12 tw-bg-tertiary tw-outline-2 tw-outline-dotted tw-outline-offset-2"
|
|
385
385
|
style="width: 250px;"
|
|
386
386
|
@click="copy(buildClassName('tw-z', zIndex[0]))"
|
|
387
387
|
>
|