@codeandfunction/callaloo 1.13.4 → 1.14.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/README.md +11 -3
- package/dist/assets/index.css +1 -1
- package/dist/components/Buttons/CLButton.vue.d.ts +13 -10
- package/dist/components/Buttons/utils.d.ts +7 -0
- package/dist/components/Containers/CLCard.vue.d.ts +1 -0
- package/dist/components/Containers/utils.d.ts +7 -0
- package/dist/components/Form/CLCheckbox.vue.d.ts +2 -2
- package/dist/components/Form/CLInput.vue.d.ts +8 -8
- package/dist/components/Form/CLInputMessages.vue.d.ts +5 -3
- package/dist/components/Form/CLRadioButton.vue.d.ts +2 -2
- package/dist/components/Form/CLSelect.vue.d.ts +3 -3
- package/dist/components/Form/CLTextArea.vue.d.ts +8 -8
- package/dist/components/Form/utils.d.ts +12 -0
- package/dist/components/Indicators/utils.d.ts +8 -0
- package/dist/components/Loading/utils.d.ts +6 -0
- package/dist/components/Modals/CLModal.vue.d.ts +3 -1
- package/dist/components/Modals/utils.d.ts +1 -0
- package/dist/components/Navigation/CLNavSection.vue.d.ts +1 -0
- package/dist/components/Navigation/utils.d.ts +7 -0
- package/dist/components/Popups/CLDropdownMenu.vue.d.ts +16 -10
- package/dist/components/Popups/{Toast.vue.d.ts → CLToast.vue.d.ts} +1 -0
- package/dist/components/Popups/utils.d.ts +4 -0
- package/dist/components/Table/utils.d.ts +1 -0
- package/dist/components/Theme/CLThemeProvider.vue.d.ts +21 -0
- package/dist/components/Theme/base-theme.d.ts +188 -0
- package/dist/components/Theme/utils.d.ts +20 -0
- package/dist/components/Typography/CLHeading.vue.d.ts +5 -5
- package/dist/components/Typography/CLText.vue.d.ts +4 -6
- package/dist/components/Typography/utils.d.ts +7 -0
- package/dist/composables/useDropdown.d.ts +1 -0
- package/dist/composables/useEsc.d.ts +3 -1
- package/dist/index.d.ts +5 -3
- package/dist/index.js +7202 -4436
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +32 -1
- package/dist/utils/helper.d.ts +1 -0
- package/package.json +37 -29
- package/dist/utils/tests.d.ts +0 -9
- /package/dist/components/Indicators/{Pill.vue.d.ts → CLPill.vue.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# [Callaloo](https://callaloo.
|
|
1
|
+
# [Callaloo](https://callaloo.dev/)
|
|
2
2
|
|
|
3
3
|
Callaloo is a Vue UI library. It is easy to integrate into any Vue3+ project, has a small footprint, can be easily themed, and provides commonly used components.
|
|
4
4
|
|
|
@@ -29,7 +29,7 @@ The following example demonstrates how to use a Callaloo component in your Vue p
|
|
|
29
29
|
|
|
30
30
|
```tsx
|
|
31
31
|
<script setup lang="ts">
|
|
32
|
-
import { CLButton } from '@codeandfunction/callaloo';
|
|
32
|
+
import { CLButton, CLThemeProvider } from '@codeandfunction/callaloo';
|
|
33
33
|
|
|
34
34
|
const onClickHandler = (evt?: Event) => {
|
|
35
35
|
alert('Hello World!');
|
|
@@ -37,10 +37,18 @@ const onClickHandler = (evt?: Event) => {
|
|
|
37
37
|
</script>
|
|
38
38
|
|
|
39
39
|
<template>
|
|
40
|
-
<
|
|
40
|
+
<div class="my-awesome-app">
|
|
41
|
+
<CLThemeProvider>
|
|
42
|
+
<CLButton :on-click="onClickHandler">Hello world</CLButton>
|
|
43
|
+
</CLThemeProvider>
|
|
44
|
+
</div>
|
|
41
45
|
</template>
|
|
42
46
|
```
|
|
43
47
|
|
|
48
|
+
## Themes
|
|
49
|
+
|
|
50
|
+
To learn more about how to theme components, have a look at the [docs](https://callaloo.dev/).
|
|
51
|
+
|
|
44
52
|
## License
|
|
45
53
|
|
|
46
54
|
[MIT](https://opensource.org/license/MIT)
|