@davincihealthcare/elty-design-system-vue 1.18.0 → 1.18.1

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/README.md CHANGED
@@ -20,6 +20,8 @@ yarn add @davincihealthcare/elty-design-system-vue
20
20
 
21
21
  ## Usage
22
22
 
23
+ ### Using the standard foundations
24
+
23
25
  in tailwind.config file
24
26
 
25
27
  ```ts
@@ -28,7 +30,6 @@ import {EltyTailwindPlugin, EltyTailwindPreset} from '@davincihealthcare/elty-de
28
30
  module.exports = {
29
31
  ...
30
32
  content: [..., './node_modules/@davincihealthcare/elty-design-system-vue/**/*.{tsx,js}'],
31
- presets: [EltyTailwindPreset],
32
33
  plugins: [
33
34
  require('@tailwindcss/forms'),
34
35
  require('@tailwindcss/typography'),
@@ -38,7 +39,27 @@ module.exports = {
38
39
  }
39
40
  ```
40
41
 
41
- Note: The Preset way of loading the css was introduced from version 1.18.0
42
+ ### Overriding the standard foundations
43
+
44
+ in tailwind.config file
45
+
46
+ ```ts
47
+ import {EltyTailwindPluginWithoutStyle, EltyTailwindPreset} from '@davincihealthcare/elty-design-system-vue'
48
+
49
+ module.exports = {
50
+ ...
51
+ content: [..., './node_modules/@davincihealthcare/elty-design-system-vue/**/*.{tsx,js}'],
52
+ presets: [EltyTailwindPreset],
53
+ plugins: [
54
+ require('@tailwindcss/forms'),
55
+ require('@tailwindcss/typography'),
56
+ EltyTailwindPluginWithoutStyle
57
+ ]
58
+ ...
59
+ }
60
+ ```
61
+
62
+ The Preset way of loading the css was introduced from version 1.18.0
42
63
 
43
64
  Note: content needs a new entry in the array, alongside other you may already have.
44
65
  You may also change the require with a neater
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
 
2
2
  export { default as EltyVuePlugin } from './vue.plugin';
3
- export { default as EltyTailwindPlugin } from './tailwind.plugin';
3
+ export { defaultPlugin as EltyTailwindPlugin } from './tailwind.plugin';
4
+ export { pluginWithoutStyles as EltyTailwindPluginWithoutStyle } from './tailwind.plugin';
4
5
  export { default as EltyTailwindPreset } from './preset';
5
6
  export * from './types';
6
7
  export * from './ElAccordion.vue';