@progress/kendo-vue-indicators 5.3.0-dev.202410141143 → 5.3.0-develop.2

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.
Files changed (93) hide show
  1. package/README.md +24 -28
  2. package/badge/Badge.js +8 -0
  3. package/badge/Badge.mjs +110 -0
  4. package/badge/BadgeContainer.js +8 -0
  5. package/badge/BadgeContainer.mjs +126 -0
  6. package/dist/cdn/js/kendo-vue-indicators.js +8 -1
  7. package/index.d.mts +693 -0
  8. package/index.d.ts +693 -0
  9. package/index.js +8 -0
  10. package/index.mjs +17 -0
  11. package/loader/Loader.js +8 -0
  12. package/loader/Loader.mjs +94 -0
  13. package/package-metadata.js +8 -0
  14. package/package-metadata.mjs +18 -0
  15. package/package.json +22 -43
  16. package/skeleton/Skeleton.js +8 -0
  17. package/skeleton/Skeleton.mjs +66 -0
  18. package/dist/es/additionalTypes.ts +0 -21
  19. package/dist/es/badge/Badge.d.ts +0 -50
  20. package/dist/es/badge/Badge.js +0 -124
  21. package/dist/es/badge/BadgeContainer.d.ts +0 -50
  22. package/dist/es/badge/BadgeContainer.js +0 -145
  23. package/dist/es/badge/BadgeProps.d.ts +0 -192
  24. package/dist/es/badge/BadgeProps.js +0 -1
  25. package/dist/es/loader/Loader.d.ts +0 -57
  26. package/dist/es/loader/Loader.js +0 -112
  27. package/dist/es/loader/LoaderProps.d.ts +0 -43
  28. package/dist/es/loader/LoaderProps.js +0 -1
  29. package/dist/es/loader/models/size.d.ts +0 -11
  30. package/dist/es/loader/models/size.js +0 -1
  31. package/dist/es/loader/models/theme-color.d.ts +0 -18
  32. package/dist/es/loader/models/theme-color.js +0 -1
  33. package/dist/es/loader/models/type.d.ts +0 -10
  34. package/dist/es/loader/models/type.js +0 -1
  35. package/dist/es/main.d.ts +0 -10
  36. package/dist/es/main.js +0 -10
  37. package/dist/es/package-metadata.d.ts +0 -5
  38. package/dist/es/package-metadata.js +0 -11
  39. package/dist/es/skeleton/Skeleton.d.ts +0 -57
  40. package/dist/es/skeleton/Skeleton.js +0 -81
  41. package/dist/es/skeleton/SkeletonProps.d.ts +0 -70
  42. package/dist/es/skeleton/SkeletonProps.js +0 -1
  43. package/dist/esm/additionalTypes.ts +0 -21
  44. package/dist/esm/badge/Badge.d.ts +0 -50
  45. package/dist/esm/badge/Badge.js +0 -124
  46. package/dist/esm/badge/BadgeContainer.d.ts +0 -50
  47. package/dist/esm/badge/BadgeContainer.js +0 -145
  48. package/dist/esm/badge/BadgeProps.d.ts +0 -192
  49. package/dist/esm/badge/BadgeProps.js +0 -1
  50. package/dist/esm/loader/Loader.d.ts +0 -57
  51. package/dist/esm/loader/Loader.js +0 -112
  52. package/dist/esm/loader/LoaderProps.d.ts +0 -43
  53. package/dist/esm/loader/LoaderProps.js +0 -1
  54. package/dist/esm/loader/models/size.d.ts +0 -11
  55. package/dist/esm/loader/models/size.js +0 -1
  56. package/dist/esm/loader/models/theme-color.d.ts +0 -18
  57. package/dist/esm/loader/models/theme-color.js +0 -1
  58. package/dist/esm/loader/models/type.d.ts +0 -10
  59. package/dist/esm/loader/models/type.js +0 -1
  60. package/dist/esm/main.d.ts +0 -10
  61. package/dist/esm/main.js +0 -10
  62. package/dist/esm/package-metadata.d.ts +0 -5
  63. package/dist/esm/package-metadata.js +0 -11
  64. package/dist/esm/package.json +0 -3
  65. package/dist/esm/skeleton/Skeleton.d.ts +0 -57
  66. package/dist/esm/skeleton/Skeleton.js +0 -81
  67. package/dist/esm/skeleton/SkeletonProps.d.ts +0 -70
  68. package/dist/esm/skeleton/SkeletonProps.js +0 -1
  69. package/dist/npm/additionalTypes.ts +0 -21
  70. package/dist/npm/badge/Badge.d.ts +0 -50
  71. package/dist/npm/badge/Badge.js +0 -131
  72. package/dist/npm/badge/BadgeContainer.d.ts +0 -50
  73. package/dist/npm/badge/BadgeContainer.js +0 -152
  74. package/dist/npm/badge/BadgeProps.d.ts +0 -192
  75. package/dist/npm/badge/BadgeProps.js +0 -2
  76. package/dist/npm/loader/Loader.d.ts +0 -57
  77. package/dist/npm/loader/Loader.js +0 -119
  78. package/dist/npm/loader/LoaderProps.d.ts +0 -43
  79. package/dist/npm/loader/LoaderProps.js +0 -2
  80. package/dist/npm/loader/models/size.d.ts +0 -11
  81. package/dist/npm/loader/models/size.js +0 -2
  82. package/dist/npm/loader/models/theme-color.d.ts +0 -18
  83. package/dist/npm/loader/models/theme-color.js +0 -2
  84. package/dist/npm/loader/models/type.d.ts +0 -10
  85. package/dist/npm/loader/models/type.js +0 -2
  86. package/dist/npm/main.d.ts +0 -10
  87. package/dist/npm/main.js +0 -26
  88. package/dist/npm/package-metadata.d.ts +0 -5
  89. package/dist/npm/package-metadata.js +0 -14
  90. package/dist/npm/skeleton/Skeleton.d.ts +0 -57
  91. package/dist/npm/skeleton/Skeleton.js +0 -88
  92. package/dist/npm/skeleton/SkeletonProps.d.ts +0 -70
  93. package/dist/npm/skeleton/SkeletonProps.js +0 -2
@@ -1,70 +0,0 @@
1
- /**
2
- * Represents the props of the [Kendo Ui for Vue Skeleton component]({% slug overview_skeleton %}).
3
- */
4
- export interface SkeletonProps {
5
- /**
6
- * Specifies the animation settings of the Skeleton.
7
- *
8
- * The possible keys are:
9
- * * `type`—Defines the type of the Skeleton animation.
10
- * * `wave`—Shows wave animation effect.
11
- * * `pulse`(Default)—Shows pulse animation effect.
12
- *
13
- * To disable the animation, set the property to `false`.
14
- *
15
- */
16
- animation?: boolean | SkeletonAnimation;
17
- /**
18
- * Specifies the shape of the Skeleton.
19
- *
20
- * The possible values are:
21
- * * `circle`—Renders a circular Skeleton.
22
- * * `text`(Default)—Renders a line Skeleton.
23
- * * `rectangle`—Renders a rectangular Skeleton.
24
- *
25
- */
26
- shape?: SkeletonShape | string;
27
- /**
28
- * Specifies the ariaBusy attribute of the Skeleton.
29
- *
30
- * The Skeleton component does not have accessibility on its own as it is only a visual indicator.
31
- * It should be integrated within an element that refers to the loading state.
32
- * When integrating the Skeleton on a page, you might want to define an `ariaBusy` attribute and
33
- * this property gives you this option.
34
- *
35
- * By default the `ariaBusy` attribute is not rendered.
36
- */
37
- ariaBusy?: boolean | undefined;
38
- /**
39
- * Specifies the role attribute of the Skeleton.
40
- *
41
- * The Skeleton component does not have accessibility on its own as it is only a visual indicator.
42
- * It should be integrated within an element that refers to the loading state.
43
- * When integrating the Skeleton on a page, you might want to define a `role` attribute and
44
- * this property gives you this option.
45
- *
46
- * By default the `role` attribute is not rendered.
47
- *
48
- * The recommended value of the attribute is `alert`
49
- */
50
- role?: string | undefined;
51
- }
52
- /**
53
- * Specifies the shape of the Skeleton.
54
- *
55
- * The possible values are:
56
- * * `circle`—Renders a circular Skeleton.
57
- * * `text`(Default)—Renders a line Skeleton.
58
- * * `rectangle`—Renders a rectangular Skeleton.
59
- *
60
- */
61
- export declare type SkeletonShape = 'circle' | 'text' | 'rectangle';
62
- /**
63
- * Specifies the animation settings of the Skeleton.
64
- */
65
- export interface SkeletonAnimation {
66
- /**
67
- * Specifies the type of the Skeleton animation. Defaults to `pulse`.
68
- */
69
- type?: 'wave' | 'pulse';
70
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,21 +0,0 @@
1
- // @ts-ignore
2
- import { DefineComponent } from 'vue';
3
- // @ts-ignore
4
- import * as Vue from 'vue';
5
-
6
- /**
7
- * @hidden
8
- */
9
- // @ts-ignore
10
- type Vue2type = Vue.default;
11
-
12
- /**
13
- * @hidden
14
- */
15
- // @ts-ignore
16
- import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
17
- /**
18
- * @hidden
19
- */
20
- // @ts-ignore
21
- export { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type };
@@ -1,50 +0,0 @@
1
- import { DefineComponent } from '../additionalTypes';
2
- import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
3
- declare type DefaultData<V> = object | ((this: V) => {});
4
- declare type DefaultMethods<V> = {
5
- [key: string]: (this: V, ...args: any[]) => any;
6
- };
7
- import { BadgeProps } from './BadgeProps';
8
- /**
9
- * @hidden
10
- */
11
- export interface BadgeState {
12
- }
13
- /**
14
- * @hidden
15
- */
16
- export interface BadgeComputed {
17
- [key: string]: any;
18
- badgeClasses: object;
19
- }
20
- /**
21
- * @hidden
22
- */
23
- export interface BadgeMethods {
24
- [key: string]: any;
25
- }
26
- /**
27
- * @hidden
28
- */
29
- export interface BadgeData {
30
- currentDir?: string;
31
- }
32
- /**
33
- * @hidden
34
- */
35
- export interface BadgeAll extends Vue, BadgeMethods, BadgeData, BadgeComputed, BadgeState {
36
- }
37
- /**
38
- * @hidden
39
- */
40
- declare let BadgeVue2: ComponentOptions<BadgeAll, DefaultData<BadgeData>, DefaultMethods<BadgeAll>, BadgeComputed, RecordPropsDefinition<BadgeProps>>;
41
- /**
42
- * Represents the [Kendo UI for Vue Badge component]({% slug api_indicators_badgeprops %}).
43
- *
44
- * @example
45
- * ```jsx
46
- * <Badge>99+</Badge>
47
- * ```
48
- */
49
- declare const Badge: DefineComponent<BadgeProps, any, BadgeData, BadgeComputed, BadgeMethods, {}, {}, {}, string, BadgeProps, BadgeProps, {}>;
50
- export { Badge, BadgeVue2 };
@@ -1,131 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.BadgeVue2 = exports.Badge = void 0;
7
- // @ts-ignore
8
- var Vue = require("vue");
9
- var allVue = Vue;
10
- var gh = allVue.h;
11
- var isV3 = allVue.version && allVue.version[0] === '3';
12
- var kendo_vue_common_1 = require("@progress/kendo-vue-common");
13
- var kendo_vue_common_2 = require("@progress/kendo-vue-common");
14
- var package_metadata_1 = require("../package-metadata");
15
- /**
16
- * @hidden
17
- */
18
- var BadgeVue2 = {
19
- name: 'KendoBadge',
20
- props: {
21
- dir: String,
22
- align: {
23
- type: Object,
24
- default: function _default() {
25
- return {
26
- vertical: 'top',
27
- horizontal: 'end'
28
- };
29
- }
30
- },
31
- size: {
32
- type: String,
33
- default: 'medium',
34
- validator: function validator(value) {
35
- return ['small', 'medium', 'large'].includes(value);
36
- }
37
- },
38
- fillMode: {
39
- type: String,
40
- default: 'solid',
41
- validator: function validator(value) {
42
- return ['solid', 'outline'].includes(value);
43
- }
44
- },
45
- themeColor: {
46
- type: String,
47
- default: 'primary',
48
- validator: function validator(value) {
49
- return ['primary', 'secondary', 'tertiary', 'info', 'success', 'warning', 'error', 'dark', 'light', 'inverse'].includes(value);
50
- }
51
- },
52
- rounded: {
53
- type: String,
54
- default: 'medium',
55
- validator: function validator(value) {
56
- return [null, 'small', 'medium', 'large', 'full'].includes(value);
57
- }
58
- },
59
- position: {
60
- type: String,
61
- default: 'edge',
62
- validator: function validator(value) {
63
- return ['edge', 'outside', 'inside'].includes(value);
64
- }
65
- },
66
- cutoutBorder: Boolean
67
- },
68
- created: function created() {
69
- (0, kendo_vue_common_2.validatePackage)(package_metadata_1.packageMetadata);
70
- this.currentDir = undefined;
71
- },
72
- mounted: function mounted() {
73
- this.currentDir = (0, kendo_vue_common_1.getDir)(this.$el, this.$props.dir);
74
- },
75
- computed: {
76
- badgeClasses: function badgeClasses() {
77
- var _a;
78
- var _b = this.$props,
79
- size = _b.size,
80
- fillMode = _b.fillMode,
81
- cutoutBorder = _b.cutoutBorder,
82
- position = _b.position,
83
- align = _b.align,
84
- themeColor = _b.themeColor,
85
- rounded = _b.rounded;
86
- return _a = {
87
- 'k-badge': true,
88
- 'k-badge-sm': size === 'small',
89
- 'k-badge-md': size === 'medium',
90
- 'k-badge-lg': size === 'large'
91
- }, _a["k-badge-".concat(fillMode)] = fillMode, _a["k-badge-".concat(fillMode, "-").concat(themeColor)] = Boolean(fillMode && themeColor), _a["k-rounded-".concat(kendo_vue_common_1.kendoThemeMaps.roundedMap[rounded] || rounded)] = rounded, _a['k-badge-border-cutout'] = cutoutBorder, _a["k-badge-".concat(position)] = position, _a['k-top-start'] = align.vertical === 'top' && align.horizontal === 'start', _a['k-top-end'] = align.vertical === 'top' && align.horizontal === 'end', _a['k-bottom-start'] = align.vertical === 'bottom' && align.horizontal === 'start', _a['k-bottom-end'] = align.vertical === 'bottom' && align.horizontal === 'end', _a;
92
- }
93
- },
94
- // @ts-ignore
95
- setup: !isV3 ? undefined : function () {
96
- var v3 = !!isV3;
97
- return {
98
- v3: v3
99
- };
100
- },
101
- // @ts-ignore
102
- render: function render(createElement) {
103
- var h = gh || createElement;
104
- var defaultSlot = (0, kendo_vue_common_1.getDefaultSlots)(this);
105
- return h("span", {
106
- "class": this.badgeClasses,
107
- dir: this.currentDir,
108
- attrs: this.v3 ? undefined : {
109
- dir: this.currentDir
110
- }
111
- }, [defaultSlot]);
112
- },
113
- methods: {
114
- focusElement: function focusElement() {
115
- if (this.$el) {
116
- this.$el.focus();
117
- }
118
- }
119
- }
120
- };
121
- exports.BadgeVue2 = BadgeVue2;
122
- /**
123
- * Represents the [Kendo UI for Vue Badge component]({% slug api_indicators_badgeprops %}).
124
- *
125
- * @example
126
- * ```jsx
127
- * <Badge>99+</Badge>
128
- * ```
129
- */
130
- var Badge = BadgeVue2;
131
- exports.Badge = Badge;
@@ -1,50 +0,0 @@
1
- import { DefineComponent } from '../additionalTypes';
2
- import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
3
- declare type DefaultData<V> = object | ((this: V) => {});
4
- declare type DefaultMethods<V> = {
5
- [key: string]: (this: V, ...args: any[]) => any;
6
- };
7
- import { BadgeContainerProps } from './BadgeProps';
8
- /**
9
- * @hidden
10
- */
11
- export interface BadgeContainerState {
12
- }
13
- /**
14
- * @hidden
15
- */
16
- export interface BadgeContainerComputed {
17
- [key: string]: any;
18
- badgeContainerClasses: object;
19
- }
20
- /**
21
- * @hidden
22
- */
23
- export interface BadgeContainerMethods {
24
- [key: string]: any;
25
- }
26
- /**
27
- * @hidden
28
- */
29
- export interface BadgeContainerData {
30
- currentDir?: string;
31
- }
32
- /**
33
- * @hidden
34
- */
35
- export interface BadgeContainerAll extends Vue, BadgeContainerMethods, BadgeContainerData, BadgeContainerComputed, BadgeContainerState {
36
- }
37
- /**
38
- * @hidden
39
- */
40
- declare let BadgeContainerVue2: ComponentOptions<BadgeContainerAll, DefaultData<BadgeContainerData>, DefaultMethods<BadgeContainerAll>, BadgeContainerComputed, RecordPropsDefinition<BadgeContainerProps>>;
41
- /**
42
- * Represents the [Kendo UI for Vue BadgeContainer component]({% slug api_indicators_badgeprops %}).
43
- *
44
- * @example
45
- * ```jsx
46
- * <BadgeContainer>99+</BadgeContainer>
47
- * ```
48
- */
49
- declare const BadgeContainer: DefineComponent<BadgeContainerProps, any, BadgeContainerData, BadgeContainerComputed, BadgeContainerMethods, {}, {}, {}, string, BadgeContainerProps, BadgeContainerProps, {}>;
50
- export { BadgeContainer, BadgeContainerVue2 };
@@ -1,152 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.BadgeContainerVue2 = exports.BadgeContainer = void 0;
7
- // @ts-ignore
8
- var Vue = require("vue");
9
- var allVue = Vue;
10
- var gh = allVue.h;
11
- var isV3 = allVue.version && allVue.version[0] === '3';
12
- var kendo_vue_common_1 = require("@progress/kendo-vue-common");
13
- var kendo_vue_common_2 = require("@progress/kendo-vue-common");
14
- var package_metadata_1 = require("../package-metadata");
15
- /**
16
- * @hidden
17
- */
18
- var BadgeContainerVue2 = {
19
- name: 'KendoBadgeContainer',
20
- props: {
21
- dir: String,
22
- align: {
23
- type: Object,
24
- default: function _default() {
25
- return {
26
- vertical: 'top',
27
- horizontal: 'end'
28
- };
29
- }
30
- },
31
- size: {
32
- type: String,
33
- default: 'medium',
34
- validator: function validator(value) {
35
- return ['small', 'medium', 'large'].includes(value);
36
- }
37
- },
38
- fillMode: {
39
- type: String,
40
- default: 'solid',
41
- validator: function validator(value) {
42
- return ['solid', 'outline'].includes(value);
43
- }
44
- },
45
- themeColor: {
46
- type: String,
47
- default: 'primary',
48
- validator: function validator(value) {
49
- return ['primary', 'secondary', 'tertiary', 'info', 'success', 'warning', 'error', 'dark', 'light', 'inverse'].includes(value);
50
- }
51
- },
52
- rounded: {
53
- type: String,
54
- default: 'medium',
55
- validator: function validator(value) {
56
- return [null, 'small', 'medium', 'large', 'full'].includes(value);
57
- }
58
- },
59
- position: {
60
- type: String,
61
- default: 'edge',
62
- validator: function validator(value) {
63
- return ['edge', 'outside', 'inside'].includes(value);
64
- }
65
- },
66
- cutoutBorder: Boolean,
67
- content: [String, Function, Object]
68
- },
69
- created: function created() {
70
- (0, kendo_vue_common_2.validatePackage)(package_metadata_1.packageMetadata);
71
- this.currentDir = undefined;
72
- },
73
- mounted: function mounted() {
74
- this.currentDir = (0, kendo_vue_common_1.getDir)(this.$el, this.$props.dir);
75
- },
76
- computed: {
77
- badgeContainerClasses: function badgeContainerClasses() {
78
- return {
79
- 'k-badge-container': true
80
- };
81
- },
82
- badgeClasses: function badgeClasses() {
83
- var _a;
84
- var _b = this.$props,
85
- size = _b.size,
86
- fillMode = _b.fillMode,
87
- cutoutBorder = _b.cutoutBorder,
88
- position = _b.position,
89
- align = _b.align,
90
- themeColor = _b.themeColor,
91
- rounded = _b.rounded;
92
- return _a = {
93
- 'k-badge': true,
94
- 'k-badge-sm': size === 'small',
95
- 'k-badge-md': size === 'medium',
96
- 'k-badge-lg': size === 'large'
97
- }, _a["k-badge-".concat(fillMode)] = fillMode, _a["k-badge-".concat(fillMode, "-").concat(themeColor)] = Boolean(fillMode && themeColor), _a["k-rounded-".concat(kendo_vue_common_1.kendoThemeMaps.roundedMap[rounded] || rounded)] = rounded, _a['k-badge-border-cutout'] = cutoutBorder, _a["k-badge-".concat(position)] = position, _a['k-top-start'] = align.vertical === 'top' && align.horizontal === 'start', _a['k-top-end'] = align.vertical === 'top' && align.horizontal === 'end', _a['k-bottom-start'] = align.vertical === 'bottom' && align.horizontal === 'start', _a['k-bottom-end'] = align.vertical === 'bottom' && align.horizontal === 'end', _a;
98
- }
99
- },
100
- // @ts-ignore
101
- setup: !isV3 ? undefined : function () {
102
- var v3 = !!isV3;
103
- return {
104
- v3: v3
105
- };
106
- },
107
- // @ts-ignore
108
- render: function render(createElement) {
109
- var h = gh || createElement;
110
- var defaultSlot = (0, kendo_vue_common_1.getDefaultSlots)(this);
111
- var content = kendo_vue_common_1.templateRendering.call(this, this.content, kendo_vue_common_1.getListeners.call(this));
112
- var contentElement = kendo_vue_common_1.getTemplate.call(this, {
113
- h: h,
114
- template: content,
115
- additionalProps: this.$props
116
- });
117
- return h("span", {
118
- "class": this.badgeContainerClasses,
119
- style: {
120
- display: 'inline-block'
121
- },
122
- dir: this.currentDir,
123
- attrs: this.v3 ? undefined : {
124
- dir: this.currentDir
125
- }
126
- }, [defaultSlot, h("span", {
127
- "class": this.badgeClasses,
128
- dir: this.currentDir,
129
- attrs: this.v3 ? undefined : {
130
- dir: this.currentDir
131
- }
132
- }, [contentElement])]);
133
- },
134
- methods: {
135
- focusElement: function focusElement() {
136
- if (this.$el) {
137
- this.$el.focus();
138
- }
139
- }
140
- }
141
- };
142
- exports.BadgeContainerVue2 = BadgeContainerVue2;
143
- /**
144
- * Represents the [Kendo UI for Vue BadgeContainer component]({% slug api_indicators_badgeprops %}).
145
- *
146
- * @example
147
- * ```jsx
148
- * <BadgeContainer>99+</BadgeContainer>
149
- * ```
150
- */
151
- var BadgeContainer = BadgeContainerVue2;
152
- exports.BadgeContainer = BadgeContainer;
@@ -1,192 +0,0 @@
1
- /**
2
- * Represents the props of the [Kendo UI for Vue Badge component]({% slug overview_badge %}).
3
- */
4
- export interface BadgeProps {
5
- /**
6
- * Represents the `dir` HTML attribute. This is used to switch from LTR to RTL.
7
- */
8
- dir?: string;
9
- /**
10
- * Specifies the size of the Badge.
11
- *
12
- * The possible values are:
13
- * * `small`
14
- * * `medium` (Default)
15
- * * `large`
16
- * * null&mdash;Does not set a size `className`
17
- *
18
- * @default `medium`
19
- */
20
- size?: null | 'small' | 'medium' | 'large' | string;
21
- /**
22
- * Specifies the roundness of the Badge.
23
- *
24
- * The possible values are:
25
- * - small
26
- * - medium (Default)
27
- * - large
28
- * - full
29
- * - null&mdash;Does not set a rounded `className`
30
- *
31
- * @default `medium`
32
- */
33
- rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
34
- /**
35
- * Specifies the appearance fill style of the Badge.
36
- *
37
- * The possible values are:
38
- * * `solid` (Default)
39
- * * `outline`
40
- * * null&mdash;Does not set a fillMode `className`
41
- *
42
- * @default `solid`
43
- */
44
- fillMode?: null | 'solid' | 'outline' | string;
45
- /**
46
- * Specifies the theme color of the Badge.
47
- *
48
- * The possible values are:
49
- * * `primary` (Default)&mdash;Applies coloring based on primary theme color.
50
- * * `secondary`&mdash;Applies coloring based on secondary theme color.
51
- * * `tertiary`&mdash; Applies coloring based on tertiary theme color.
52
- * * `inherit`&mdash; Applies inherited coloring value.
53
- * * `info`&mdash;Applies coloring based on info theme color.
54
- * * `success`&mdash; Applies coloring based on success theme color.
55
- * * `warning`&mdash; Applies coloring based on warning theme color.
56
- * * `error`&mdash; Applies coloring based on error theme color.
57
- * * `dark`&mdash; Applies coloring based on dark theme color.
58
- * * `light`&mdash; Applies coloring based on light theme color.
59
- * * `inverse`&mdash; Applies coloring based on inverse theme color.
60
- * * null&mdash;Does not set a themeColor `className`.
61
- *
62
- * @default `primary`
63
- */
64
- themeColor?: null | 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'error' | 'dark' | 'light' | 'inverse' | 'inherit' | string;
65
- /**
66
- * Specifies the alignment of the Badge.
67
- *
68
- * The possible keys are:
69
- * * `horizontal`&mdash; Defines the possible horizontal alignment of the Badge.
70
- * * `start`&mdash;Uses the start point of the parent element.
71
- * * `end`(Default)&mdash;Uses the end point of the parent element.
72
- * * `vertical`&mdash; Defines the possible vertical alignment of the Badge.
73
- * * `top`(Default)&mdash;Uses the top point of the parent element.
74
- * * `bottom`&mdash;Uses the bottom point of the parent element.
75
- *
76
- */
77
- align?: {
78
- /**
79
- * Defines the possible horizontal alignment of the Badge.
80
- *
81
- * The available values are:
82
- * - `start`&mdash;Uses the start point of the parent element.
83
- * - `end`(Default)&mdash;Uses the end point of the parent element.
84
- */
85
- horizontal: 'start' | 'end';
86
- /**
87
- * Defines the possible vertical alignment of the Badge.
88
- *
89
- * The available values are:
90
- * - `top`(Default)&mdash;Uses the top point of the parent element.
91
- * - `bottom`&mdash;Uses the bottom point of the parent element.
92
- */
93
- vertical: 'top' | 'bottom';
94
- };
95
- /**
96
- * Specifies the position of the Badge relative to the edge of the container element.
97
- *
98
- * The possible values are:
99
- * * `edge` (Default)&mdash;The center of the Badge is positioned on the edge of the container element.
100
- * * `outside`&mdash;The Badge is entirely positioned outside the edge of the container element.
101
- * * `inside`&mdash;The Badge is entirely positioned inside the edge of the the container element.
102
- *
103
- * @default `edge`
104
- */
105
- position?: 'edge' | 'outside' | 'inside' | string;
106
- /**
107
- * Specifies wether or not to render additional "cutout" border around the Badge.
108
- *
109
- * The possible values are:
110
- * * `true`
111
- * * `false` (Default)
112
- *
113
- */
114
- cutoutBorder?: boolean;
115
- }
116
- /**
117
- * Represents the props of the [Kendo UI for Vue Badge component]({% slug overview_badge %}).
118
- */
119
- export interface BadgeContainerProps extends BadgeProps {
120
- /**
121
- * Defines the custom rendering of the Badge content. Accepts a slot name, a `render` function, or a Vue Component.
122
- */
123
- content?: any;
124
- }
125
- /**
126
- * Specifies the theme color of the Badge.
127
- *
128
- * The possible values are:
129
- * * `primary` (Default)&mdash;Applies coloring based on primary theme color.
130
- * * `secondary`&mdash;Applies coloring based on secondary theme color.
131
- * * `tertiary`&mdash; Applies coloring based on tertiary theme color.
132
- * * `inherit`&mdash; Applies inherited coloring value.
133
- * * `info`&mdash;Applies coloring based on info theme color.
134
- * * `success`&mdash; Applies coloring based on success theme color.
135
- * * `warning`&mdash; Applies coloring based on warning theme color.
136
- * * `error`&mdash; Applies coloring based on error theme color.
137
- * * `dark`&mdash; Applies coloring based on dark theme color.
138
- * * `light`&mdash; Applies coloring based on light theme color.
139
- * * `inverse`&mdash; Applies coloring based on inverse theme color.
140
- *
141
- */
142
- export declare type BadgeThemeColor = 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'error' | 'dark' | 'light' | 'inverse' | 'inherit';
143
- /**
144
- * Specifies the size of the Badge.
145
- *
146
- * The possible values are:
147
- * * `small`
148
- * * `medium` (Default)
149
- * * `large`
150
- *
151
- */
152
- export declare type BadgeSize = 'small' | 'medium' | 'large';
153
- /**
154
- * Specifies the horizontal and vertical alignment of the Badge in a relation to the element.
155
- */
156
- export interface BadgeAlign {
157
- /**
158
- * Defines the possible horizontal alignment of the Badge.
159
- *
160
- * The available values are:
161
- * - `start`&mdash;Uses the start point of the parent element.
162
- * - `end`(Default)&mdash;Uses the end point of the parent element.
163
- */
164
- horizontal: 'start' | 'end';
165
- /**
166
- * Defines the possible vertical alignment of the Badge.
167
- *
168
- * The available values are:
169
- * - `top`(Default)&mdash;Uses the top point of the parent element.
170
- * - `bottom`&mdash;Uses the bottom point of the parent element.
171
- */
172
- vertical: 'top' | 'bottom';
173
- }
174
- /**
175
- * Specifies the appearance fill style of the Badge.
176
- *
177
- * The possible values are:
178
- * * `solid` (Default)
179
- * * `outline`
180
- *
181
- */
182
- export declare type BadgeFill = 'solid' | 'outline';
183
- /**
184
- * Specifies the position of the Badge relative to the edge of the container element.
185
- *
186
- * The possible values are:
187
- * * `edge` (Default)&mdash;The center of the Badge is positioned on the edge of the container element.
188
- * * `outside`&mdash;The Badge is entirely positioned outside the edge of the container element.
189
- * * `inside`&mdash;The Badge is entirely positioned inside the edge of the the container element.
190
- *
191
- */
192
- export declare type BadgePosition = 'edge' | 'outside' | 'inside';
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });