@progress/kendo-themes-html 14.7.0-dev.11 → 14.7.0-dev.12
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/package.json
CHANGED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { BadgeNormal, BadgePositioned } from '..';
|
|
2
|
-
|
|
3
|
-
const positions = [ 'inside', 'edge', 'outside' ] as const;
|
|
4
|
-
const aligns = [ 'top-start', 'top-end', 'bottom-start', 'bottom-end' ] as const;
|
|
5
|
-
|
|
6
|
-
const styles = `
|
|
7
|
-
.k-badge-container {
|
|
8
|
-
padding: 5px;
|
|
9
|
-
width: 80px;
|
|
10
|
-
min-height: 30px;
|
|
11
|
-
border: 1px dashed black;
|
|
12
|
-
box-sizing: border-box;
|
|
13
|
-
display: flex;
|
|
14
|
-
flex-direction: row;
|
|
15
|
-
align-items: center;
|
|
16
|
-
}
|
|
17
|
-
`;
|
|
18
|
-
|
|
19
|
-
export default () =>(
|
|
20
|
-
<>
|
|
21
|
-
<style>{styles}</style>
|
|
22
|
-
<div id="test-area" className="k-d-grid k-grid-cols-7">
|
|
23
|
-
|
|
24
|
-
<span></span>
|
|
25
|
-
<span>Text</span>
|
|
26
|
-
<span>Text + Icon</span>
|
|
27
|
-
<span>Icon + Text</span>
|
|
28
|
-
<span>Icon</span>
|
|
29
|
-
<span>Number</span>
|
|
30
|
-
<span>Empty</span>
|
|
31
|
-
|
|
32
|
-
{[ false, true ].map((rtl) => (
|
|
33
|
-
<>
|
|
34
|
-
<span>{rtl ? 'Inline RTL' : 'Inline'}</span>
|
|
35
|
-
<div className={`k-badge-container${rtl ? ' k-rtl' : ''}`}><BadgeNormal fillMode="outline">Text</BadgeNormal></div>
|
|
36
|
-
<div className={`k-badge-container${rtl ? ' k-rtl' : ''}`}><BadgeNormal fillMode="outline" endIcon="plus-circle">Text</BadgeNormal></div>
|
|
37
|
-
<div className={`k-badge-container${rtl ? ' k-rtl' : ''}`}><BadgeNormal fillMode="outline" icon="plus-circle">Text</BadgeNormal></div>
|
|
38
|
-
<div className={`k-badge-container${rtl ? ' k-rtl' : ''}`}><BadgeNormal fillMode="outline" icon="plus-circle" /></div>
|
|
39
|
-
<div className={`k-badge-container${rtl ? ' k-rtl' : ''}`}><BadgeNormal fillMode="outline">1</BadgeNormal></div>
|
|
40
|
-
<div className={`k-badge-container${rtl ? ' k-rtl' : ''}`}><BadgeNormal fillMode="outline"></BadgeNormal></div>
|
|
41
|
-
</>
|
|
42
|
-
))}
|
|
43
|
-
|
|
44
|
-
<span className="k-col-span-full"></span>
|
|
45
|
-
|
|
46
|
-
<span></span>
|
|
47
|
-
<span>top start</span>
|
|
48
|
-
<span>top end</span>
|
|
49
|
-
<span>bottom start</span>
|
|
50
|
-
<span>bottom end</span>
|
|
51
|
-
<span className="k-col-span-2"></span>
|
|
52
|
-
|
|
53
|
-
{[ false, true ].map((rtl) => (
|
|
54
|
-
<>
|
|
55
|
-
{positions.map((position) => (
|
|
56
|
-
<>
|
|
57
|
-
<span>{`${position}${rtl ? ' RTL' : ''}`}</span>
|
|
58
|
-
{aligns.map((align) => (
|
|
59
|
-
<div className={`k-badge-container${rtl ? ' k-rtl' : ''}`} key={align}>
|
|
60
|
-
<BadgePositioned fillMode="outline" rounded="medium" position={position} align={align}>Rect</BadgePositioned>
|
|
61
|
-
</div>
|
|
62
|
-
))}
|
|
63
|
-
<span className="k-col-span-2"></span>
|
|
64
|
-
</>
|
|
65
|
-
))}
|
|
66
|
-
|
|
67
|
-
<span className="k-col-span-full"></span>
|
|
68
|
-
</>
|
|
69
|
-
))}
|
|
70
|
-
</div>
|
|
71
|
-
</>
|
|
72
|
-
);
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { BadgeNormal, BadgePositioned } from '..';
|
|
2
|
-
|
|
3
|
-
const positions = [ 'inside', 'edge', 'outside' ] as const;
|
|
4
|
-
const aligns = [ 'top-start', 'top-end', 'bottom-start', 'bottom-end' ] as const;
|
|
5
|
-
|
|
6
|
-
const styles = `
|
|
7
|
-
.k-badge-container {
|
|
8
|
-
padding: 5px;
|
|
9
|
-
width: 80px;
|
|
10
|
-
min-height: 30px;
|
|
11
|
-
border: 1px dashed black;
|
|
12
|
-
box-sizing: border-box;
|
|
13
|
-
display: flex;
|
|
14
|
-
flex-direction: row;
|
|
15
|
-
align-items: center;
|
|
16
|
-
}
|
|
17
|
-
`;
|
|
18
|
-
|
|
19
|
-
export default () =>(
|
|
20
|
-
<>
|
|
21
|
-
<style>{styles}</style>
|
|
22
|
-
<div id="test-area" className="k-d-grid k-grid-cols-7">
|
|
23
|
-
|
|
24
|
-
<span></span>
|
|
25
|
-
<span>Text</span>
|
|
26
|
-
<span>Text + Icon</span>
|
|
27
|
-
<span>Icon + Text</span>
|
|
28
|
-
<span>Icon</span>
|
|
29
|
-
<span>Number</span>
|
|
30
|
-
<span>Empty</span>
|
|
31
|
-
|
|
32
|
-
{[ false, true ].map((rtl) => (
|
|
33
|
-
<>
|
|
34
|
-
<span>{rtl ? 'Inline RTL' : 'Inline'}</span>
|
|
35
|
-
<div className={`k-badge-container${rtl ? ' k-rtl' : ''}`}><BadgeNormal fillMode="solid">Text</BadgeNormal></div>
|
|
36
|
-
<div className={`k-badge-container${rtl ? ' k-rtl' : ''}`}><BadgeNormal fillMode="solid" endIcon="plus-circle">Text</BadgeNormal></div>
|
|
37
|
-
<div className={`k-badge-container${rtl ? ' k-rtl' : ''}`}><BadgeNormal fillMode="solid" icon="plus-circle">Text</BadgeNormal></div>
|
|
38
|
-
<div className={`k-badge-container${rtl ? ' k-rtl' : ''}`}><BadgeNormal fillMode="solid" icon="plus-circle" /></div>
|
|
39
|
-
<div className={`k-badge-container${rtl ? ' k-rtl' : ''}`}><BadgeNormal fillMode="solid">1</BadgeNormal></div>
|
|
40
|
-
<div className={`k-badge-container${rtl ? ' k-rtl' : ''}`}><BadgeNormal fillMode="solid"></BadgeNormal></div>
|
|
41
|
-
</>
|
|
42
|
-
))}
|
|
43
|
-
|
|
44
|
-
<span className="k-col-span-full"></span>
|
|
45
|
-
|
|
46
|
-
<span></span>
|
|
47
|
-
<span>top start</span>
|
|
48
|
-
<span>top end</span>
|
|
49
|
-
<span>bottom start</span>
|
|
50
|
-
<span>bottom end</span>
|
|
51
|
-
<span className="k-col-span-2"></span>
|
|
52
|
-
|
|
53
|
-
{[ false, true ].map((rtl) => (
|
|
54
|
-
<>
|
|
55
|
-
{positions.map((position) => (
|
|
56
|
-
<>
|
|
57
|
-
<span>{`${position}${rtl ? ' RTL' : ''}`}</span>
|
|
58
|
-
{aligns.map((align) => (
|
|
59
|
-
<div className={`k-badge-container${rtl ? ' k-rtl' : ''}`} key={align}>
|
|
60
|
-
<BadgePositioned fillMode="solid" rounded="medium" position={position} align={align}>Rect</BadgePositioned>
|
|
61
|
-
</div>
|
|
62
|
-
))}
|
|
63
|
-
<span className="k-col-span-2"></span>
|
|
64
|
-
</>
|
|
65
|
-
))}
|
|
66
|
-
|
|
67
|
-
<span className="k-col-span-full"></span>
|
|
68
|
-
</>
|
|
69
|
-
))}
|
|
70
|
-
</div>
|
|
71
|
-
</>
|
|
72
|
-
);
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { BadgeNormal, BadgePositioned } from '..';
|
|
2
|
-
|
|
3
|
-
const positions = [ 'inside', 'edge', 'outside' ] as const;
|
|
4
|
-
const aligns = [ 'top-start', 'top-end', 'bottom-start', 'bottom-end' ] as const;
|
|
5
|
-
|
|
6
|
-
const styles = `
|
|
7
|
-
.k-badge-container {
|
|
8
|
-
padding: 5px;
|
|
9
|
-
width: 80px;
|
|
10
|
-
min-height: 30px;
|
|
11
|
-
border: 1px dashed black;
|
|
12
|
-
box-sizing: border-box;
|
|
13
|
-
display: flex;
|
|
14
|
-
flex-direction: row;
|
|
15
|
-
align-items: center;
|
|
16
|
-
}
|
|
17
|
-
`;
|
|
18
|
-
|
|
19
|
-
export default () =>(
|
|
20
|
-
<>
|
|
21
|
-
<style>{styles}</style>
|
|
22
|
-
<div id="test-area" className="k-d-grid k-grid-cols-7">
|
|
23
|
-
|
|
24
|
-
<span></span>
|
|
25
|
-
<span>Text</span>
|
|
26
|
-
<span>Text + Icon</span>
|
|
27
|
-
<span>Icon + Text</span>
|
|
28
|
-
<span>Icon</span>
|
|
29
|
-
<span>Number</span>
|
|
30
|
-
<span>Empty</span>
|
|
31
|
-
|
|
32
|
-
{[ false, true ].map((rtl) => (
|
|
33
|
-
<>
|
|
34
|
-
<span>{rtl ? 'Inline RTL' : 'Inline'}</span>
|
|
35
|
-
<div className={`k-badge-container${rtl ? ' k-rtl' : ''}`}><BadgeNormal fillMode="tint">Text</BadgeNormal></div>
|
|
36
|
-
<div className={`k-badge-container${rtl ? ' k-rtl' : ''}`}><BadgeNormal fillMode="tint" endIcon="plus-circle">Text</BadgeNormal></div>
|
|
37
|
-
<div className={`k-badge-container${rtl ? ' k-rtl' : ''}`}><BadgeNormal fillMode="tint" icon="plus-circle">Text</BadgeNormal></div>
|
|
38
|
-
<div className={`k-badge-container${rtl ? ' k-rtl' : ''}`}><BadgeNormal fillMode="tint" icon="plus-circle" /></div>
|
|
39
|
-
<div className={`k-badge-container${rtl ? ' k-rtl' : ''}`}><BadgeNormal fillMode="tint">1</BadgeNormal></div>
|
|
40
|
-
<div className={`k-badge-container${rtl ? ' k-rtl' : ''}`}><BadgeNormal fillMode="tint"></BadgeNormal></div>
|
|
41
|
-
</>
|
|
42
|
-
))}
|
|
43
|
-
|
|
44
|
-
<span className="k-col-span-full"></span>
|
|
45
|
-
|
|
46
|
-
<span></span>
|
|
47
|
-
<span>top start</span>
|
|
48
|
-
<span>top end</span>
|
|
49
|
-
<span>bottom start</span>
|
|
50
|
-
<span>bottom end</span>
|
|
51
|
-
<span className="k-col-span-2"></span>
|
|
52
|
-
|
|
53
|
-
{[ false, true ].map((rtl) => (
|
|
54
|
-
<>
|
|
55
|
-
{positions.map((position) => (
|
|
56
|
-
<>
|
|
57
|
-
<span>{`${position}${rtl ? ' RTL' : ''}`}</span>
|
|
58
|
-
{aligns.map((align) => (
|
|
59
|
-
<div className={`k-badge-container${rtl ? ' k-rtl' : ''}`} key={align}>
|
|
60
|
-
<BadgePositioned fillMode="tint" rounded="medium" position={position} align={align}>Rect</BadgePositioned>
|
|
61
|
-
</div>
|
|
62
|
-
))}
|
|
63
|
-
<span className="k-col-span-2"></span>
|
|
64
|
-
</>
|
|
65
|
-
))}
|
|
66
|
-
|
|
67
|
-
<span className="k-col-span-full"></span>
|
|
68
|
-
</>
|
|
69
|
-
))}
|
|
70
|
-
</div>
|
|
71
|
-
</>
|
|
72
|
-
);
|