@progress/kendo-themes-html 14.0.0-dev.4 → 14.0.0-dev.6
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/dist/cjs/chat/chat-message.js +1 -1
- package/dist/cjs/chat/chat.spec.js +1 -1
- package/dist/cjs/chat/demos/chat.js +1 -1
- package/dist/cjs/chat/templates/chat-empty.js +1 -1
- package/dist/cjs/chat/templates/chat-expandable.js +1 -1
- package/dist/cjs/chat/templates/chat-failed.js +1 -1
- package/dist/cjs/chat/templates/chat-message-skeleton.js +1 -1
- package/dist/cjs/chat/templates/chat-message-toolbar.js +1 -1
- package/dist/cjs/chat/templates/chat-normal.js +1 -1
- package/dist/cjs/chat/templates/chat-pinned.js +1 -1
- package/dist/cjs/chat/templates/chat-stop-response.js +1 -1
- package/dist/cjs/chat/templates/chat-textarea-file.js +1 -1
- package/dist/cjs/chat/templates/chat-typing.js +1 -1
- package/dist/cjs/chat/templates/chat-upload.js +1 -1
- package/dist/cjs/editor/demos/editor.js +1 -1
- package/dist/cjs/editor/templates/editor-normal.js +1 -1
- package/dist/cjs/editor/templates/editor-resizable.js +1 -1
- package/dist/cjs/editor/templates/editor-responsive-toolbar.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-crop.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-resize.js +1 -1
- package/dist/cjs/index.js +8 -8
- package/dist/cjs/prompt/demos/prompt.js +1 -1
- package/dist/cjs/prompt/templates/prompt-inline-input-only.js +1 -1
- package/dist/cjs/prompt/templates/prompt-inline.js +1 -1
- package/dist/cjs/prompt/templates/prompt-more-actions.js +1 -1
- package/dist/cjs/prompt/templates/prompt-normal.js +1 -1
- package/dist/cjs/prompt/templates/prompt-output.js +1 -1
- package/dist/cjs/prompt/templates/prompt-popup.js +1 -1
- package/dist/cjs/prompt/templates/prompt-settings.js +1 -1
- package/dist/cjs/prompt/templates/prompt-suggestions.js +1 -1
- package/dist/cjs/prompt-box/prompt-box.spec.js +1 -1
- package/dist/cjs/prompt-box/templates/prompt-box-auto-expanded.js +1 -1
- package/dist/cjs/prompt-box/templates/prompt-box-auto.js +1 -1
- package/dist/cjs/prompt-box/templates/prompt-box-multi.js +1 -1
- package/dist/cjs/prompt-box/templates/prompt-box-single.js +1 -1
- package/dist/cjs/prompt-box/templates/prompt-box-stop-response.js +1 -1
- package/dist/cjs/rating/demos/rating.js +1 -1
- package/dist/cjs/rating/rating-item.js +1 -1
- package/dist/cjs/rating/rating.spec.js +1 -1
- package/dist/cjs/rating/templates/rating-disabled.js +1 -1
- package/dist/cjs/rating/templates/rating-normal.js +1 -1
- package/dist/cjs/rating/templates/rating-readonly.js +1 -1
- package/dist/cjs/rating/templates/rating-with-label.js +1 -1
- package/dist/cjs/smart-box/smart-box-send-button.js +1 -1
- package/dist/cjs/smart-box/templates/smart-box-disabled-send.js +1 -1
- package/dist/cjs/smart-box/templates/smart-box-normal.js +1 -1
- package/dist/cjs/smart-box/templates/smart-box-opened-focused.js +1 -1
- package/dist/cjs/smart-box/templates/smart-box-processing.js +1 -1
- package/dist/cjs/speech-to-text-button/demos/speech-to-text-button.js +1 -1
- package/dist/cjs/speech-to-text-button/speech-to-text-button.spec.js +1 -1
- package/dist/cjs/speech-to-text-button/templates/speech-to-text-button-listening.js +1 -1
- package/dist/cjs/speech-to-text-button/templates/speech-to-text-button-normal.js +1 -1
- package/dist/cjs/spreadsheet/demos/spreadsheet.js +1 -1
- package/dist/cjs/spreadsheet/spreadsheet-header.js +1 -1
- package/dist/cjs/spreadsheet/spreadsheet-sheets-bar.js +1 -1
- package/dist/cjs/spreadsheet/spreadsheet-view.js +1 -1
- package/dist/cjs/spreadsheet/templates/spreadsheet-formula-open.js +1 -1
- package/dist/cjs/spreadsheet/templates/spreadsheet-normal.js +1 -1
- package/dist/esm/chat/chat-message.mjs +1 -1
- package/dist/esm/chat/chat.spec.mjs +1 -1
- package/dist/esm/chat/demos/chat.mjs +1 -1
- package/dist/esm/chat/templates/chat-empty.mjs +1 -1
- package/dist/esm/chat/templates/chat-expandable.mjs +1 -1
- package/dist/esm/chat/templates/chat-failed.mjs +1 -1
- package/dist/esm/chat/templates/chat-message-skeleton.mjs +1 -1
- package/dist/esm/chat/templates/chat-message-toolbar.mjs +1 -1
- package/dist/esm/chat/templates/chat-normal.mjs +1 -1
- package/dist/esm/chat/templates/chat-pinned.mjs +1 -1
- package/dist/esm/chat/templates/chat-stop-response.mjs +1 -1
- package/dist/esm/chat/templates/chat-textarea-file.mjs +1 -1
- package/dist/esm/chat/templates/chat-typing.mjs +1 -1
- package/dist/esm/chat/templates/chat-upload.mjs +1 -1
- package/dist/esm/editor/demos/editor.mjs +1 -1
- package/dist/esm/editor/templates/editor-normal.mjs +1 -1
- package/dist/esm/editor/templates/editor-resizable.mjs +1 -1
- package/dist/esm/editor/templates/editor-responsive-toolbar.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-crop.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-resize.mjs +1 -1
- package/dist/esm/index.mjs +8 -8
- package/dist/esm/prompt/demos/prompt.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-inline-input-only.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-inline.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-more-actions.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-normal.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-output.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-popup.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-settings.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-suggestions.mjs +1 -1
- package/dist/esm/prompt-box/prompt-box.spec.mjs +1 -1
- package/dist/esm/prompt-box/templates/prompt-box-auto-expanded.mjs +1 -1
- package/dist/esm/prompt-box/templates/prompt-box-auto.mjs +1 -1
- package/dist/esm/prompt-box/templates/prompt-box-multi.mjs +1 -1
- package/dist/esm/prompt-box/templates/prompt-box-single.mjs +1 -1
- package/dist/esm/prompt-box/templates/prompt-box-stop-response.mjs +1 -1
- package/dist/esm/rating/demos/rating.mjs +1 -1
- package/dist/esm/rating/rating-item.mjs +1 -1
- package/dist/esm/rating/rating.spec.mjs +1 -1
- package/dist/esm/rating/templates/rating-disabled.mjs +1 -1
- package/dist/esm/rating/templates/rating-normal.mjs +1 -1
- package/dist/esm/rating/templates/rating-readonly.mjs +1 -1
- package/dist/esm/rating/templates/rating-with-label.mjs +1 -1
- package/dist/esm/smart-box/smart-box-send-button.mjs +1 -1
- package/dist/esm/smart-box/templates/smart-box-disabled-send.mjs +1 -1
- package/dist/esm/smart-box/templates/smart-box-normal.mjs +1 -1
- package/dist/esm/smart-box/templates/smart-box-opened-focused.mjs +1 -1
- package/dist/esm/smart-box/templates/smart-box-processing.mjs +1 -1
- package/dist/esm/speech-to-text-button/demos/speech-to-text-button.mjs +1 -1
- package/dist/esm/speech-to-text-button/speech-to-text-button.spec.mjs +1 -1
- package/dist/esm/speech-to-text-button/templates/speech-to-text-button-listening.mjs +1 -1
- package/dist/esm/speech-to-text-button/templates/speech-to-text-button-normal.mjs +1 -1
- package/dist/esm/spreadsheet/demos/spreadsheet.mjs +1 -1
- package/dist/esm/spreadsheet/spreadsheet-header.mjs +1 -1
- package/dist/esm/spreadsheet/spreadsheet-sheets-bar.mjs +1 -1
- package/dist/esm/spreadsheet/spreadsheet-view.mjs +1 -1
- package/dist/esm/spreadsheet/templates/spreadsheet-formula-open.mjs +1 -1
- package/dist/esm/spreadsheet/templates/spreadsheet-normal.mjs +1 -1
- package/package.json +3 -3
- package/src/_preview/tests/preview-components.tsx +2 -2
- package/src/chat/chat-message.tsx +3 -3
- package/src/chat/chat.spec.tsx +2 -2
- package/src/chat/tests/chat-files-layout.tsx +8 -8
- package/src/chat/tests/chat-files-pin.tsx +2 -2
- package/src/chat/tests/chat-files.tsx +6 -6
- package/src/chat/tests/chat-message-toolbar.tsx +2 -2
- package/src/colorpicker/tests/colorpicker-size-rounded.tsx +34 -0
- package/src/drawer/tests/drawer-item-states.tsx +3 -3
- package/src/editor/demos/editor.tsx +1 -1
- package/src/editor/templates/editor-normal.tsx +1 -1
- package/src/editor/templates/editor-resizable.tsx +1 -1
- package/src/editor/templates/editor-responsive-toolbar.tsx +1 -1
- package/src/editor/tests/editor-table-wizard.tsx +1 -1
- package/src/editor/tests/editor.tsx +2 -2
- package/src/grid/tests/grid-assistant-window.tsx +4 -4
- package/src/grid/tests/grid-row-pinning-adaptive.tsx +1 -1
- package/src/grid/tests/grid-semantic-search-popup.tsx +10 -10
- package/src/grid/tests/grid-toolbar.tsx +2 -2
- package/src/imageeditor/templates/imageeditor-crop.tsx +1 -1
- package/src/imageeditor/templates/imageeditor-resize.tsx +1 -1
- package/src/prompt/demos/prompt.tsx +4 -4
- package/src/prompt/templates/prompt-inline.tsx +1 -1
- package/src/prompt/templates/prompt-output.tsx +4 -4
- package/src/prompt/tests/prompt-inline-response-generation.tsx +2 -2
- package/src/prompt-box/prompt-box.spec.tsx +1 -1
- package/src/prompt-box/tests/prompt-box-affixes.tsx +8 -8
- package/src/prompt-box/tests/prompt-box-files.tsx +2 -2
- package/src/rating/rating-item.tsx +20 -5
- package/src/smart-box/smart-box-send-button.tsx +1 -1
- package/src/smart-box/templates/smart-box-disabled-send.tsx +1 -1
- package/src/smart-box/templates/smart-box-normal.tsx +1 -1
- package/src/smart-box/templates/smart-box-opened-focused.tsx +1 -1
- package/src/smart-box/templates/smart-box-processing.tsx +1 -1
- package/src/speech-to-text-button/speech-to-text-button.spec.tsx +2 -2
- package/src/spreadsheet/spreadsheet-header.tsx +1 -1
- package/src/spreadsheet/spreadsheet-sheets-bar.tsx +8 -8
- package/src/spreadsheet/tests/spreadsheet-tools.tsx +1 -1
- package/src/toolbar/tests/toolbar-fill-modes.tsx +2 -2
- package/dist/types/loader/tests/loader-container-overlay.d.ts +0 -2
- package/src/colorpicker/tests/colorpicker-size.tsx +0 -28
- package/src/loader/tests/loader-container-overlay.tsx +0 -30
- /package/dist/types/colorpicker/tests/{colorpicker-size.d.ts → colorpicker-size-rounded.d.ts} +0 -0
|
@@ -23,7 +23,7 @@ export default () =>(
|
|
|
23
23
|
<Icon icon="plus"/>
|
|
24
24
|
</>}
|
|
25
25
|
endAffix={<>
|
|
26
|
-
<IconButton icon="paperclip
|
|
26
|
+
<IconButton icon="paperclip" size="small" fillMode="flat" rounded="full" />
|
|
27
27
|
</>}
|
|
28
28
|
/>
|
|
29
29
|
</div>
|
|
@@ -33,7 +33,7 @@ export default () =>(
|
|
|
33
33
|
endAffix={<>
|
|
34
34
|
<Icon icon="plus"/>
|
|
35
35
|
<div className="k-spacer"></div>
|
|
36
|
-
<IconButton icon="paperclip
|
|
36
|
+
<IconButton icon="paperclip" size="small" fillMode="flat" rounded="full" />
|
|
37
37
|
</>}
|
|
38
38
|
/>
|
|
39
39
|
</div>
|
|
@@ -44,7 +44,7 @@ export default () =>(
|
|
|
44
44
|
<Icon icon="plus"/>
|
|
45
45
|
</>}
|
|
46
46
|
endAffix={<>
|
|
47
|
-
<IconButton icon="paperclip
|
|
47
|
+
<IconButton icon="paperclip" size="small" fillMode="flat" rounded="full" />
|
|
48
48
|
</>}
|
|
49
49
|
/>
|
|
50
50
|
</div>
|
|
@@ -57,7 +57,7 @@ export default () =>(
|
|
|
57
57
|
endAffix={<>
|
|
58
58
|
<Icon icon="plus"/>
|
|
59
59
|
<div className="k-spacer"></div>
|
|
60
|
-
<IconButton icon="paperclip
|
|
60
|
+
<IconButton icon="paperclip" size="small" fillMode="flat" rounded="full" />
|
|
61
61
|
</>}
|
|
62
62
|
/>
|
|
63
63
|
</div>
|
|
@@ -78,7 +78,7 @@ export default () =>(
|
|
|
78
78
|
<Icon icon="plus"/>
|
|
79
79
|
</>}
|
|
80
80
|
endAffix={<>
|
|
81
|
-
<IconButton icon="paperclip
|
|
81
|
+
<IconButton icon="paperclip" size="small" fillMode="flat" rounded="full" />
|
|
82
82
|
</>}
|
|
83
83
|
/>
|
|
84
84
|
</div>
|
|
@@ -91,7 +91,7 @@ export default () =>(
|
|
|
91
91
|
endAffix={<>
|
|
92
92
|
<Icon icon="plus"/>
|
|
93
93
|
<div className="k-spacer"></div>
|
|
94
|
-
<IconButton icon="paperclip
|
|
94
|
+
<IconButton icon="paperclip" size="small" fillMode="flat" rounded="full" />
|
|
95
95
|
</>}
|
|
96
96
|
/>
|
|
97
97
|
</div>
|
|
@@ -105,7 +105,7 @@ export default () =>(
|
|
|
105
105
|
<Icon icon="plus"/>
|
|
106
106
|
</>}
|
|
107
107
|
endAffix={<>
|
|
108
|
-
<IconButton icon="paperclip
|
|
108
|
+
<IconButton icon="paperclip" size="small" fillMode="flat" rounded="full" />
|
|
109
109
|
</>}
|
|
110
110
|
/>
|
|
111
111
|
</div>
|
|
@@ -121,7 +121,7 @@ export default () =>(
|
|
|
121
121
|
endAffix={<>
|
|
122
122
|
<Icon icon="plus"/>
|
|
123
123
|
<span className="k-spacer"></span>
|
|
124
|
-
<IconButton icon="paperclip
|
|
124
|
+
<IconButton icon="paperclip" size="small" fillMode="flat" rounded="full" />
|
|
125
125
|
</>}
|
|
126
126
|
/>
|
|
127
127
|
</div>
|
|
@@ -19,7 +19,7 @@ export default () =>(
|
|
|
19
19
|
<PromptBoxLineModeMulti
|
|
20
20
|
placeholder="Type a message"
|
|
21
21
|
endAffix={<>
|
|
22
|
-
<IconButton icon="paperclip
|
|
22
|
+
<IconButton icon="paperclip" size="small" fillMode="flat" rounded="full" />
|
|
23
23
|
<div className="k-spacer"></div>
|
|
24
24
|
</>}
|
|
25
25
|
/>
|
|
@@ -38,7 +38,7 @@ export default () =>(
|
|
|
38
38
|
</FileBoxWrapper>
|
|
39
39
|
</>}
|
|
40
40
|
endAffix={<>
|
|
41
|
-
<IconButton icon="paperclip
|
|
41
|
+
<IconButton icon="paperclip" size="small" fillMode="flat" />
|
|
42
42
|
<div className="k-spacer"></div>
|
|
43
43
|
</>}
|
|
44
44
|
/>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SvgIcon } from '../icon';
|
|
2
2
|
import { classNames, stateClassNames, States } from '../misc';
|
|
3
3
|
|
|
4
4
|
export const RATINGITEM_CLASSNAME = `k-rating-item`;
|
|
@@ -23,6 +23,21 @@ const defaultOptions = {
|
|
|
23
23
|
iconType: "solid",
|
|
24
24
|
};
|
|
25
25
|
|
|
26
|
+
// Remove after adoption of v5 of the kendo-icons
|
|
27
|
+
// Those icons should NOT be hardcoded and should come from the
|
|
28
|
+
// kendo-icons package and be changed to "star" (solid) and "star" (outline).
|
|
29
|
+
const SolidStarIcon = {
|
|
30
|
+
name: 'star',
|
|
31
|
+
content: '<path d="M256 391.5 117.2 480 154 314.1 32 202.4 192.9 188 256 32l63.1 156L480 202.4 358 314.1 394.8 480z"></path>',
|
|
32
|
+
viewBox: '0 0 512 512'
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
const OutlineStarIcon = {
|
|
36
|
+
name: 'star-outline',
|
|
37
|
+
content: '<path d="M480 202.4 319.1 188 256 32l-63.1 156L32 202.4l122 111.7L117.2 480 256 391.5 394.8 480 358 314.1zM256 353.6l-90.8 57.9 24-108.5-82.1-75.2 108.1-9.7L256 117.3l40.8 100.8 108.1 9.7-82.1 75.2 24.1 108.5z"></path>',
|
|
38
|
+
viewBox: '0 0 512 512'
|
|
39
|
+
};
|
|
40
|
+
|
|
26
41
|
|
|
27
42
|
export const RatingItem = (
|
|
28
43
|
props: RatingItemState & RatingItemProps & React.HTMLAttributes<HTMLSpanElement>
|
|
@@ -44,20 +59,20 @@ export const RatingItem = (
|
|
|
44
59
|
itemContent =
|
|
45
60
|
<>
|
|
46
61
|
<span className="k-rating-precision-complement">
|
|
47
|
-
<
|
|
62
|
+
<SvgIcon className='k-icon' icon={OutlineStarIcon} size="xlarge" />
|
|
48
63
|
</span>
|
|
49
64
|
<span className="k-rating-precision-part" style={{ clipPath: `inset(${dir === "rtl" ? "0px 0px 0px 50%" : "0px 50% 0px 0px"})` }}>
|
|
50
|
-
<
|
|
65
|
+
<SvgIcon className='k-icon' icon={SolidStarIcon} size="xlarge" />
|
|
51
66
|
</span>
|
|
52
67
|
<span style={{ width: "24px", height: "24px", display: "block" }}></span>
|
|
53
68
|
</>
|
|
54
69
|
;
|
|
55
70
|
break;
|
|
56
71
|
case "outline":
|
|
57
|
-
itemContent = <
|
|
72
|
+
itemContent = <SvgIcon className='k-icon' icon={OutlineStarIcon} size="xlarge" />;
|
|
58
73
|
break;
|
|
59
74
|
case "solid":
|
|
60
|
-
itemContent = <
|
|
75
|
+
itemContent = <SvgIcon className='k-icon' icon={SolidStarIcon} size="xlarge" />;
|
|
61
76
|
break;
|
|
62
77
|
default:
|
|
63
78
|
return undefined;
|
|
@@ -30,7 +30,7 @@ export const SmartBoxSendButton = (
|
|
|
30
30
|
{...other}
|
|
31
31
|
rounded="full"
|
|
32
32
|
size="small"
|
|
33
|
-
icon={processing ? "stop
|
|
33
|
+
icon={processing ? "stop" : "arrow-up"}
|
|
34
34
|
active={processing}
|
|
35
35
|
aria-pressed={processing ? 'true' : undefined}
|
|
36
36
|
aria-label={processing ? "Stop processing" : "Send"}
|
|
@@ -13,7 +13,7 @@ export const SmartBoxDisabledSend = (props) =>
|
|
|
13
13
|
}
|
|
14
14
|
suffix={
|
|
15
15
|
<>
|
|
16
|
-
<IconButton icon="microphone
|
|
16
|
+
<IconButton icon="microphone" fillMode="clear" rounded="full" size="small" aria-label="Start voice input" />
|
|
17
17
|
<SmartBoxSendButton disabled />
|
|
18
18
|
</>
|
|
19
19
|
}
|
|
@@ -14,7 +14,7 @@ export const SmartBoxNormal = (props) =>
|
|
|
14
14
|
}
|
|
15
15
|
suffix={
|
|
16
16
|
<>
|
|
17
|
-
<IconButton icon="microphone
|
|
17
|
+
<IconButton icon="microphone" fillMode="clear" rounded="full" size="small" aria-label="Start voice input" />
|
|
18
18
|
<SmartBoxSendButton />
|
|
19
19
|
</>
|
|
20
20
|
}
|
|
@@ -25,7 +25,7 @@ export const SmartBoxOpenedFocused = (props) => {
|
|
|
25
25
|
}
|
|
26
26
|
suffix={
|
|
27
27
|
<>
|
|
28
|
-
<IconButton icon="microphone
|
|
28
|
+
<IconButton icon="microphone" fillMode="clear" rounded="full" size="small" aria-label="Start voice input" />
|
|
29
29
|
<SmartBoxSendButton />
|
|
30
30
|
</>
|
|
31
31
|
}
|
|
@@ -14,7 +14,7 @@ export const SmartBoxProcessing = (props) =>
|
|
|
14
14
|
}
|
|
15
15
|
suffix={
|
|
16
16
|
<>
|
|
17
|
-
<IconButton icon="microphone
|
|
17
|
+
<IconButton icon="microphone" fillMode="clear" rounded="full" size="small" aria-label="Start voice input" />
|
|
18
18
|
<SmartBoxSendButton processing />
|
|
19
19
|
</>
|
|
20
20
|
}
|
|
@@ -10,7 +10,7 @@ export type KendoSpeechToTextButtonOptions = KendoButtonOptions;
|
|
|
10
10
|
export type KendoSpeechToTextButtonState = KendoButtonState;
|
|
11
11
|
|
|
12
12
|
const defaultOptions = {
|
|
13
|
-
icon: "microphone
|
|
13
|
+
icon: "microphone",
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
export type KendoSpeechToTextButtonProps = KendoButtonProps & KendoSpeechToTextButtonOptions & {
|
|
@@ -31,7 +31,7 @@ export const SpeechToTextButton: KendoComponent<KendoSpeechToTextButtonProps & K
|
|
|
31
31
|
return (
|
|
32
32
|
<Button
|
|
33
33
|
{...other}
|
|
34
|
-
icon={listening ? "stop
|
|
34
|
+
icon={listening ? "stop" : icon}
|
|
35
35
|
className={classNames(
|
|
36
36
|
props.className,
|
|
37
37
|
SPEECH_TO_TEXT_BUTTON_CLASSNAME,
|
|
@@ -56,7 +56,7 @@ const defaultToolbarItems = ([
|
|
|
56
56
|
<MenuButton key="halign" fillMode="flat" icon="align-left" showArrow aria-label="Horizontal alignment"></MenuButton>,
|
|
57
57
|
<MenuButton key="valign" fillMode="flat" icon="align-middle" showArrow aria-label="Vertical alignment"></MenuButton>,
|
|
58
58
|
<ToolbarSeparator key="sep8"></ToolbarSeparator>,
|
|
59
|
-
<Button key="wrap" fillMode="flat" icon="text-wrap" aria-label="Wrap text"></Button>
|
|
59
|
+
<Button key="wrap" fillMode="flat" icon="text-wrap-arrow" aria-label="Wrap text"></Button>
|
|
60
60
|
]);
|
|
61
61
|
|
|
62
62
|
const defaultMenuItems = ([
|
|
@@ -17,22 +17,22 @@ export type KendoSpreadsheetSheetsBarProps = {
|
|
|
17
17
|
const defaultTabStripItems = (
|
|
18
18
|
<>
|
|
19
19
|
<TabStripItem key="sheet1" first active value="Sheet 1" actions={
|
|
20
|
-
<MenuButton showArrow={false} size="
|
|
20
|
+
<MenuButton showArrow={false} size="small" icon="chevron-down" fillMode="flat" aria-label="Sheet options" />
|
|
21
21
|
}></TabStripItem>
|
|
22
22
|
<TabStripItem key="sheet2" value="Sheet 2" actions={
|
|
23
|
-
<MenuButton showArrow={false} size="
|
|
23
|
+
<MenuButton showArrow={false} size="small" icon="chevron-down" fillMode="flat" aria-label="Sheet options" />
|
|
24
24
|
}></TabStripItem>
|
|
25
25
|
<TabStripItem key="sheet3" value="Sheet 3" actions={
|
|
26
|
-
<MenuButton showArrow={false} size="
|
|
26
|
+
<MenuButton showArrow={false} size="small" icon="chevron-down" fillMode="flat" aria-label="Sheet options" />
|
|
27
27
|
}></TabStripItem>
|
|
28
28
|
<TabStripItem key="sheet4" value="Sheet 4" actions={
|
|
29
|
-
<MenuButton showArrow={false} size="
|
|
29
|
+
<MenuButton showArrow={false} size="small" icon="chevron-down" fillMode="flat" aria-label="Sheet options" />
|
|
30
30
|
}></TabStripItem>
|
|
31
31
|
<TabStripItem key="sheet5" value="Sheet 5" actions={
|
|
32
|
-
<MenuButton showArrow={false} size="
|
|
32
|
+
<MenuButton showArrow={false} size="small" icon="chevron-down" fillMode="flat" aria-label="Sheet options" />
|
|
33
33
|
}></TabStripItem>
|
|
34
34
|
<TabStripItem key="sheet6" last value="Sheet 6" actions={
|
|
35
|
-
<MenuButton showArrow={false} size="
|
|
35
|
+
<MenuButton showArrow={false} size="small" icon="chevron-down" fillMode="flat" aria-label="Sheet options" />
|
|
36
36
|
}></TabStripItem>
|
|
37
37
|
</>
|
|
38
38
|
);
|
|
@@ -59,8 +59,8 @@ export const SpreadsheetSheetsBar = (
|
|
|
59
59
|
SPREADSHEETSHEETSBAR_CLASSNAME,
|
|
60
60
|
props.className
|
|
61
61
|
)}>
|
|
62
|
-
<Button className="k-spreadsheet-sheet-add" fillMode="flat" size="
|
|
63
|
-
<Button className="k-spreadsheet-sheets-menu" fillMode="flat" size="
|
|
62
|
+
<Button className="k-spreadsheet-sheet-add" fillMode="flat" size="small" icon="plus" aria-label="Add new sheet" aria-controls={tabStripItemsId} />
|
|
63
|
+
<Button className="k-spreadsheet-sheets-menu" fillMode="flat" size="small" icon="menu" aria-label="Sheets menu" aria-controls={tabStripItemsId} />
|
|
64
64
|
<TabStrip
|
|
65
65
|
className="k-spreadsheet-sheets"
|
|
66
66
|
tabStripItems={tabStripItems}
|
|
@@ -93,7 +93,7 @@ export default () => (
|
|
|
93
93
|
<MenuButton fillMode="flat" icon="align-left" showArrow></MenuButton>,
|
|
94
94
|
<MenuButton fillMode="flat" icon="align-middle" showArrow></MenuButton>,
|
|
95
95
|
<ToolbarSeparator></ToolbarSeparator>,
|
|
96
|
-
<Button fillMode="flat" icon="text-wrap"></Button>]}
|
|
96
|
+
<Button fillMode="flat" icon="text-wrap-arrow"></Button>]}
|
|
97
97
|
/>
|
|
98
98
|
</Spreadsheet>
|
|
99
99
|
|
|
@@ -48,7 +48,7 @@ export default () =>(
|
|
|
48
48
|
<MenuButton fillMode={fillMode} icon="align-left" showArrow></MenuButton>
|
|
49
49
|
<MenuButton fillMode={fillMode} icon="align-middle" showArrow></MenuButton>
|
|
50
50
|
<ToolbarSeparator></ToolbarSeparator>
|
|
51
|
-
<Button fillMode={fillMode} icon="text-wrap"></Button>
|
|
51
|
+
<Button fillMode={fillMode} icon="text-wrap-arrow"></Button>
|
|
52
52
|
</ToolbarResizable>
|
|
53
53
|
</section>
|
|
54
54
|
<span className="k-colspan-all k-col-span-full">{`${fillMode}`} with overlay</span>
|
|
@@ -88,7 +88,7 @@ export default () =>(
|
|
|
88
88
|
<MenuButton fillMode={fillMode} icon="align-left" showArrow></MenuButton>
|
|
89
89
|
<MenuButton fillMode={fillMode} icon="align-middle" showArrow></MenuButton>
|
|
90
90
|
<ToolbarSeparator></ToolbarSeparator>
|
|
91
|
-
<Button fillMode={fillMode} icon="text-wrap"></Button>
|
|
91
|
+
<Button fillMode={fillMode} icon="text-wrap-arrow"></Button>
|
|
92
92
|
</ToolbarScrollableButtonsHidden>
|
|
93
93
|
</section>
|
|
94
94
|
</>
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ColorPickerNormal, ColorPicker } from '../../colorpicker';
|
|
2
|
-
|
|
3
|
-
const styles = `
|
|
4
|
-
#test-area {
|
|
5
|
-
justify-items: start;
|
|
6
|
-
}
|
|
7
|
-
`;
|
|
8
|
-
|
|
9
|
-
export default () => (
|
|
10
|
-
<>
|
|
11
|
-
<style>{styles}</style>
|
|
12
|
-
<div id="test-area" className="k-d-grid k-grid-cols-4">
|
|
13
|
-
|
|
14
|
-
<span>undefined</span>
|
|
15
|
-
<span>Small</span>
|
|
16
|
-
<span>Medium</span>
|
|
17
|
-
<span>Large</span>
|
|
18
|
-
|
|
19
|
-
{ ColorPicker.options.size.map((size) => (
|
|
20
|
-
<>
|
|
21
|
-
<section>
|
|
22
|
-
<ColorPickerNormal size={size} />
|
|
23
|
-
</section>
|
|
24
|
-
</>
|
|
25
|
-
))}
|
|
26
|
-
</div>
|
|
27
|
-
</>
|
|
28
|
-
);
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { LoaderContainerNormal } from '../../loader';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const styles = `
|
|
5
|
-
.example {
|
|
6
|
-
width: 100%;
|
|
7
|
-
min-height: 200px;
|
|
8
|
-
position: relative;
|
|
9
|
-
}
|
|
10
|
-
`;
|
|
11
|
-
|
|
12
|
-
export default () =>(
|
|
13
|
-
<>
|
|
14
|
-
<style>{styles}</style>
|
|
15
|
-
<div id="test-area" className="k-d-grid k-grid-cols-2">
|
|
16
|
-
|
|
17
|
-
<span>Panel</span>
|
|
18
|
-
<span>No Panel</span>
|
|
19
|
-
|
|
20
|
-
<span className="example">
|
|
21
|
-
<LoaderContainerNormal size={'large'} panel={true} />
|
|
22
|
-
</span>
|
|
23
|
-
|
|
24
|
-
<span className="example">
|
|
25
|
-
<LoaderContainerNormal size={'large'} />
|
|
26
|
-
</span>
|
|
27
|
-
|
|
28
|
-
</div>
|
|
29
|
-
</>
|
|
30
|
-
);
|
/package/dist/types/colorpicker/tests/{colorpicker-size.d.ts → colorpicker-size-rounded.d.ts}
RENAMED
|
File without changes
|