@progress/kendo-themes-html 7.0.1-dev.1 → 7.0.2-dev.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/dist/cjs/appbar/templates/appbar-normal.js +4367 -0
- package/dist/cjs/appbar/tests/appbar-rtl.js +5011 -0
- package/dist/cjs/appbar/tests/appbar.js +123 -310
- package/dist/cjs/bottom-nav/bottom-nav.spec.js +41 -3
- package/dist/cjs/bottom-nav/templates/bottom-nav-icons.js +4436 -0
- package/dist/cjs/bottom-nav/templates/bottom-nav-links.js +4436 -0
- package/dist/cjs/bottom-nav/templates/bottom-nav-normal.js +4436 -0
- package/dist/cjs/bottom-nav/tests/{bottom-nav-colors.js → bottom-nav-flat.js} +51 -182
- package/dist/cjs/bottom-nav/tests/bottom-nav-items.js +70 -44
- package/dist/cjs/bottom-nav/tests/bottom-nav-rtl.js +47 -21
- package/dist/cjs/bottom-nav/tests/bottom-nav-solid.js +4461 -0
- package/dist/cjs/bottom-nav/tests/bottom-nav.js +83 -35
- package/dist/cjs/daterangepicker/daterangepicker.spec.js +410 -289
- package/dist/cjs/daterangepicker/templates/daterangepicker-adaptive.js +412 -291
- package/dist/cjs/daterangepicker/templates/daterangepicker-normal.js +412 -291
- package/dist/cjs/daterangepicker/templates/daterangepicker-popup.js +412 -291
- package/dist/cjs/daterangepicker/tests/daterangepicker-adaptive.js +422 -301
- package/dist/cjs/daterangepicker/tests/daterangepicker-flat.js +431 -310
- package/dist/cjs/daterangepicker/tests/daterangepicker-opened.js +422 -301
- package/dist/cjs/daterangepicker/tests/daterangepicker-outline.js +431 -310
- package/dist/cjs/daterangepicker/tests/daterangepicker-size-rounded.js +425 -304
- package/dist/cjs/daterangepicker/tests/daterangepicker-solid.js +431 -310
- package/dist/cjs/dialog/templates/dialog-normal.js +5 -3
- package/dist/cjs/dialog/tests/dialog-action-buttons.js +5 -3
- package/dist/cjs/dialog/tests/dialog-theme-colors.js +5 -3
- package/dist/cjs/dialog/tests/dialog.js +5 -3
- package/dist/cjs/dock-manager/tests/dock-manager-unpinned-pane.js +72 -60
- package/dist/cjs/dock-manager/tests/dock-manager.js +74 -62
- package/dist/cjs/editor/editor-toolbar.js +18 -6
- package/dist/cjs/editor/templates/editor-normal.js +7678 -3
- package/dist/cjs/editor/tests/editor-find-replace.js +119 -91
- package/dist/cjs/editor/tests/editor-states.js +51 -23
- package/dist/cjs/editor/tests/editor.js +232 -213
- package/dist/cjs/expansion-panel/expansion-panel.spec.js +3 -1
- package/dist/cjs/expansion-panel/templates/expansion-panel-expanded.js +4386 -0
- package/dist/cjs/expansion-panel/templates/expansion-panel-normal.js +4385 -0
- package/dist/cjs/expansion-panel/tests/expansion-panel-rtl.js +37 -11
- package/dist/cjs/expansion-panel/tests/expansion-panel.js +37 -11
- package/dist/cjs/filemanager/tests/filemanager-contextmenu.js +65 -53
- package/dist/cjs/filemanager/tests/filemanager-dialogs.js +5 -3
- package/dist/cjs/filemanager/tests/filemanager-drag-hint.js +65 -53
- package/dist/cjs/filemanager/tests/filemanager-gridview.js +130 -118
- package/dist/cjs/filemanager/tests/filemanager-listview.js +84 -72
- package/dist/cjs/filemanager/tests/filemanager-preview.js +183 -171
- package/dist/cjs/filter/templates/filter-normal.js +8429 -0
- package/dist/cjs/filter/tests/filter.js +139 -67
- package/dist/cjs/floating-label/templates/floating-label-normal.js +4793 -2
- package/dist/cjs/floating-label/tests/floating-label-flat.js +76 -67
- package/dist/cjs/floating-label/tests/floating-label-outline.js +76 -67
- package/dist/cjs/floating-label/tests/floating-label-solid.js +76 -67
- package/dist/cjs/form/tests/form-field-dateinputs.js +318 -211
- package/dist/cjs/gantt/tests/gantt-editing-popup-predecessors.js +52 -40
- package/dist/cjs/gantt/tests/gantt-editing-popup-resources.js +95 -83
- package/dist/cjs/gantt/tests/gantt-editing-popup-successors.js +52 -40
- package/dist/cjs/gantt/tests/gantt-react.js +384 -372
- package/dist/cjs/gantt/tests/gantt-row-reordering.js +689 -677
- package/dist/cjs/gantt/tests/gantt.js +664 -652
- package/dist/cjs/grid/tests/grid-adaptive-search.js +25 -13
- package/dist/cjs/grid/tests/grid-column-reordering-actions.js +125 -113
- package/dist/cjs/grid/tests/grid-column-reordering.js +130 -118
- package/dist/cjs/grid/tests/grid-column-resizing-actions.js +150 -138
- package/dist/cjs/grid/tests/grid-editing-inline-angular.js +90 -78
- package/dist/cjs/grid/tests/grid-editing-inline-blazor.js +88 -76
- package/dist/cjs/grid/tests/grid-editing.js +108 -96
- package/dist/cjs/grid/tests/grid-filter-row-angular.js +116 -104
- package/dist/cjs/grid/tests/grid-filter-row-blazor.js +111 -99
- package/dist/cjs/grid/tests/grid-grouping-actions.js +91 -79
- package/dist/cjs/grid/tests/grid-grouping.js +207 -195
- package/dist/cjs/grid/tests/grid-row-reordering.js +114 -102
- package/dist/cjs/grid/tests/grid-rows-resizing.js +112 -100
- package/dist/cjs/grid/tests/grid-size-sm-comp-sm.js +216 -204
- package/dist/cjs/grid/tests/grid-size-sm.js +216 -204
- package/dist/cjs/grid/tests/grid-toolbar.js +85 -73
- package/dist/cjs/imageeditor/tests/imageeditor-crop-pane.js +80 -68
- package/dist/cjs/imageeditor/tests/imageeditor-resize-pane.js +68 -56
- package/dist/cjs/imageeditor/tests/imageeditor.js +35 -23
- package/dist/cjs/index.js +1996 -1429
- package/dist/cjs/listview/templates/listview-normal.js +13 -1
- package/dist/cjs/listview/tests/listview-layout.js +13 -1
- package/dist/cjs/listview/tests/listview-states.js +13 -1
- package/dist/cjs/listview/tests/listview.js +13 -1
- package/dist/cjs/mediaplayer/tests/mediaplayer.js +38 -26
- package/dist/cjs/pdf-viewer/tests/pdf-viewer-blank-page.js +64 -52
- package/dist/cjs/pdf-viewer/tests/pdf-viewer-search-panel.js +69 -57
- package/dist/cjs/pdf-viewer/tests/pdf-viewer.js +58 -46
- package/dist/cjs/pivotgrid/tests/pivotgrid-jquery.js +98 -86
- package/dist/cjs/popover/templates/popover-normal.js +92 -0
- package/dist/cjs/popover/tests/popover.js +53 -48
- package/dist/cjs/scheduler/tests/scheduler-adaptive-agenda.js +58 -46
- package/dist/cjs/scheduler/tests/scheduler-adaptive-day-resource-group.js +236 -224
- package/dist/cjs/scheduler/tests/scheduler-adaptive-day.js +159 -147
- package/dist/cjs/scheduler/tests/scheduler-adaptive-month.js +104 -92
- package/dist/cjs/scheduler/tests/scheduler-angular-agenda-rtl.js +140 -128
- package/dist/cjs/scheduler/tests/scheduler-angular-agenda.js +140 -128
- package/dist/cjs/scheduler/tests/scheduler-angular-day-rtl.js +196 -184
- package/dist/cjs/scheduler/tests/scheduler-angular-month-rtl.js +157 -145
- package/dist/cjs/scheduler/tests/scheduler-angular-month.js +157 -145
- package/dist/cjs/scheduler/tests/scheduler-angular-rtl.js +312 -300
- package/dist/cjs/scheduler/tests/scheduler-angular.js +312 -300
- package/dist/cjs/scheduler/tests/scheduler-flex-layout.js +170 -158
- package/dist/cjs/scheduler/tests/scheduler-jquery-agenda.js +80 -68
- package/dist/cjs/scheduler/tests/scheduler-jquery-month.js +149 -137
- package/dist/cjs/scheduler/tests/scheduler-react-agenda.js +227 -215
- package/dist/cjs/scheduler/tests/scheduler-react-day.js +712 -700
- package/dist/cjs/scheduler/tests/scheduler-react-month.js +1647 -1635
- package/dist/cjs/scheduler/tests/scheduler-react-timeline-multi.js +619 -607
- package/dist/cjs/scheduler/tests/scheduler-react-timeline.js +533 -521
- package/dist/cjs/scheduler/tests/scheduler-react-week.js +1448 -1436
- package/dist/cjs/scheduler/tests/scheduler-year.js +762 -750
- package/dist/cjs/scheduler/tests/scheduler.js +412 -400
- package/dist/cjs/scrollview/templates/scrollview-normal.js +4382 -0
- package/dist/cjs/scrollview/tests/scrollview-rtl.js +4412 -0
- package/dist/cjs/scrollview/tests/scrollview.js +21 -14
- package/dist/cjs/spreadsheet/tests/spreadsheet-cell-contextmenu.js +263 -251
- package/dist/cjs/spreadsheet/tests/spreadsheet-filtering.js +256 -244
- package/dist/cjs/spreadsheet/tests/spreadsheet-format-dialogs.js +47 -35
- package/dist/cjs/spreadsheet/tests/spreadsheet-formula.js +235 -223
- package/dist/cjs/spreadsheet/tests/spreadsheet-jquery.js +291 -279
- package/dist/cjs/spreadsheet/tests/spreadsheet-row-contextmenu.js +263 -251
- package/dist/cjs/spreadsheet/tests/spreadsheet-tools.js +160 -148
- package/dist/cjs/spreadsheet/tests/spreadsheet.js +254 -242
- package/dist/cjs/taskboard/tests/taskboard-card.js +90 -78
- package/dist/cjs/taskboard/tests/taskboard-pane.js +162 -150
- package/dist/cjs/taskboard/tests/taskboard-rtl.js +87 -75
- package/dist/cjs/taskboard/tests/taskboard.js +81 -69
- package/dist/cjs/tilelayout/templates/tilelayout-normal.js +4797 -0
- package/dist/cjs/tilelayout/tests/tilelayout-resizing.js +36 -6
- package/dist/cjs/tilelayout/tests/tilelayout.js +29 -14
- package/dist/cjs/toolbar/templates/toolbar-normal.js +31 -2
- package/dist/cjs/toolbar/tests/toolbar-adaptive.js +42 -30
- package/dist/cjs/toolbar/tests/toolbar-components.js +18 -1
- package/dist/cjs/toolbar/tests/toolbar-popup-size.js +29 -17
- package/dist/cjs/toolbar/tests/toolbar-popup.js +52 -40
- package/dist/cjs/toolbar/tests/toolbar-sizes.js +37 -25
- package/dist/cjs/toolbar/tests/toolbar.js +20 -23
- package/dist/esm/appbar/templates/appbar-normal.js +4351 -0
- package/dist/esm/appbar/tests/appbar-rtl.js +4995 -0
- package/dist/esm/appbar/tests/appbar.js +123 -310
- package/dist/esm/bottom-nav/bottom-nav.spec.js +41 -3
- package/dist/esm/bottom-nav/templates/bottom-nav-icons.js +4420 -0
- package/dist/esm/bottom-nav/templates/bottom-nav-links.js +4420 -0
- package/dist/esm/bottom-nav/templates/bottom-nav-normal.js +4420 -0
- package/dist/esm/bottom-nav/tests/{bottom-nav-colors.js → bottom-nav-flat.js} +48 -179
- package/dist/esm/bottom-nav/tests/bottom-nav-items.js +57 -31
- package/dist/esm/bottom-nav/tests/bottom-nav-rtl.js +43 -17
- package/dist/esm/bottom-nav/tests/bottom-nav-solid.js +4445 -0
- package/dist/esm/bottom-nav/tests/bottom-nav.js +82 -34
- package/dist/esm/daterangepicker/daterangepicker.spec.js +410 -289
- package/dist/esm/daterangepicker/templates/daterangepicker-adaptive.js +412 -291
- package/dist/esm/daterangepicker/templates/daterangepicker-normal.js +412 -291
- package/dist/esm/daterangepicker/templates/daterangepicker-popup.js +412 -291
- package/dist/esm/daterangepicker/tests/daterangepicker-adaptive.js +422 -301
- package/dist/esm/daterangepicker/tests/daterangepicker-flat.js +431 -310
- package/dist/esm/daterangepicker/tests/daterangepicker-opened.js +422 -301
- package/dist/esm/daterangepicker/tests/daterangepicker-outline.js +431 -310
- package/dist/esm/daterangepicker/tests/daterangepicker-size-rounded.js +425 -304
- package/dist/esm/daterangepicker/tests/daterangepicker-solid.js +431 -310
- package/dist/esm/dialog/templates/dialog-normal.js +6 -4
- package/dist/esm/dialog/tests/dialog-action-buttons.js +13 -11
- package/dist/esm/dialog/tests/dialog-in-window.js +5 -5
- package/dist/esm/dialog/tests/dialog-modal.js +6 -6
- package/dist/esm/dialog/tests/dialog-theme-colors.js +13 -11
- package/dist/esm/dialog/tests/dialog.js +14 -12
- package/dist/esm/dock-manager/tests/dock-manager-unpinned-pane.js +72 -60
- package/dist/esm/dock-manager/tests/dock-manager.js +74 -62
- package/dist/esm/editor/editor-toolbar.js +18 -6
- package/dist/esm/editor/templates/editor-normal.js +7684 -3
- package/dist/esm/editor/tests/editor-find-replace.js +119 -91
- package/dist/esm/editor/tests/editor-states.js +51 -23
- package/dist/esm/editor/tests/editor.js +232 -213
- package/dist/esm/expansion-panel/expansion-panel.spec.js +3 -1
- package/dist/esm/expansion-panel/templates/expansion-panel-expanded.js +4370 -0
- package/dist/esm/expansion-panel/templates/expansion-panel-normal.js +4369 -0
- package/dist/esm/expansion-panel/tests/expansion-panel-rtl.js +37 -11
- package/dist/esm/expansion-panel/tests/expansion-panel.js +37 -11
- package/dist/esm/filemanager/tests/filemanager-contextmenu.js +65 -53
- package/dist/esm/filemanager/tests/filemanager-dialogs.js +20 -18
- package/dist/esm/filemanager/tests/filemanager-drag-hint.js +65 -53
- package/dist/esm/filemanager/tests/filemanager-gridview.js +130 -118
- package/dist/esm/filemanager/tests/filemanager-listview.js +84 -72
- package/dist/esm/filemanager/tests/filemanager-preview.js +183 -171
- package/dist/esm/filemanager/tests/filemanager-toolbar.js +7 -7
- package/dist/esm/filter/templates/filter-normal.js +8413 -0
- package/dist/esm/filter/tests/filter.js +139 -67
- package/dist/esm/floating-label/templates/floating-label-normal.js +4799 -2
- package/dist/esm/floating-label/tests/floating-label-flat.js +73 -64
- package/dist/esm/floating-label/tests/floating-label-outline.js +73 -64
- package/dist/esm/floating-label/tests/floating-label-solid.js +73 -64
- package/dist/esm/form/tests/form-field-dateinputs.js +318 -211
- package/dist/esm/gantt/tests/gantt-editing-popup-predecessors.js +52 -40
- package/dist/esm/gantt/tests/gantt-editing-popup-resources.js +95 -83
- package/dist/esm/gantt/tests/gantt-editing-popup-successors.js +52 -40
- package/dist/esm/gantt/tests/gantt-react.js +384 -372
- package/dist/esm/gantt/tests/gantt-row-reordering.js +689 -677
- package/dist/esm/gantt/tests/gantt.js +664 -652
- package/dist/esm/grid/tests/grid-adaptive-search.js +25 -13
- package/dist/esm/grid/tests/grid-column-reordering-actions.js +125 -113
- package/dist/esm/grid/tests/grid-column-reordering.js +130 -118
- package/dist/esm/grid/tests/grid-column-resizing-actions.js +150 -138
- package/dist/esm/grid/tests/grid-editing-inline-angular.js +90 -78
- package/dist/esm/grid/tests/grid-editing-inline-blazor.js +88 -76
- package/dist/esm/grid/tests/grid-editing.js +108 -96
- package/dist/esm/grid/tests/grid-filter-row-angular.js +116 -104
- package/dist/esm/grid/tests/grid-filter-row-blazor.js +111 -99
- package/dist/esm/grid/tests/grid-grouping-actions.js +91 -79
- package/dist/esm/grid/tests/grid-grouping.js +207 -195
- package/dist/esm/grid/tests/grid-row-reordering.js +114 -102
- package/dist/esm/grid/tests/grid-rows-resizing.js +112 -100
- package/dist/esm/grid/tests/grid-size-sm-comp-sm.js +216 -204
- package/dist/esm/grid/tests/grid-size-sm.js +216 -204
- package/dist/esm/grid/tests/grid-toolbar.js +85 -73
- package/dist/esm/imageeditor/tests/imageeditor-crop-pane.js +80 -68
- package/dist/esm/imageeditor/tests/imageeditor-resize-pane.js +68 -56
- package/dist/esm/imageeditor/tests/imageeditor.js +35 -23
- package/dist/esm/index.js +1972 -1415
- package/dist/esm/listview/templates/listview-normal.js +14 -2
- package/dist/esm/listview/tests/listview-layout.js +27 -15
- package/dist/esm/listview/tests/listview-states.js +18 -6
- package/dist/esm/listview/tests/listview.js +21 -9
- package/dist/esm/mediaplayer/tests/mediaplayer.js +38 -26
- package/dist/esm/pdf-viewer/tests/pdf-viewer-blank-page.js +64 -52
- package/dist/esm/pdf-viewer/tests/pdf-viewer-search-panel.js +69 -57
- package/dist/esm/pdf-viewer/tests/pdf-viewer.js +58 -46
- package/dist/esm/pivotgrid/tests/pivotgrid-jquery.js +98 -86
- package/dist/esm/popover/templates/popover-normal.js +70 -0
- package/dist/esm/popover/tests/popover.js +49 -44
- package/dist/esm/scheduler/tests/scheduler-adaptive-agenda.js +58 -46
- package/dist/esm/scheduler/tests/scheduler-adaptive-day-resource-group.js +236 -224
- package/dist/esm/scheduler/tests/scheduler-adaptive-day.js +159 -147
- package/dist/esm/scheduler/tests/scheduler-adaptive-month.js +104 -92
- package/dist/esm/scheduler/tests/scheduler-angular-agenda-rtl.js +140 -128
- package/dist/esm/scheduler/tests/scheduler-angular-agenda.js +140 -128
- package/dist/esm/scheduler/tests/scheduler-angular-day-rtl.js +196 -184
- package/dist/esm/scheduler/tests/scheduler-angular-month-rtl.js +157 -145
- package/dist/esm/scheduler/tests/scheduler-angular-month.js +157 -145
- package/dist/esm/scheduler/tests/scheduler-angular-rtl.js +312 -300
- package/dist/esm/scheduler/tests/scheduler-angular.js +312 -300
- package/dist/esm/scheduler/tests/scheduler-flex-layout.js +170 -158
- package/dist/esm/scheduler/tests/scheduler-jquery-agenda.js +80 -68
- package/dist/esm/scheduler/tests/scheduler-jquery-month.js +149 -137
- package/dist/esm/scheduler/tests/scheduler-react-agenda.js +227 -215
- package/dist/esm/scheduler/tests/scheduler-react-day.js +712 -700
- package/dist/esm/scheduler/tests/scheduler-react-month.js +1647 -1635
- package/dist/esm/scheduler/tests/scheduler-react-timeline-multi.js +619 -607
- package/dist/esm/scheduler/tests/scheduler-react-timeline.js +533 -521
- package/dist/esm/scheduler/tests/scheduler-react-week.js +1448 -1436
- package/dist/esm/scheduler/tests/scheduler-year.js +762 -750
- package/dist/esm/scheduler/tests/scheduler.js +412 -400
- package/dist/esm/scrollview/templates/scrollview-normal.js +4366 -0
- package/dist/esm/scrollview/tests/scrollview-rtl.js +4396 -0
- package/dist/esm/scrollview/tests/scrollview.js +19 -12
- package/dist/esm/spreadsheet/tests/spreadsheet-cell-contextmenu.js +263 -251
- package/dist/esm/spreadsheet/tests/spreadsheet-filtering.js +256 -244
- package/dist/esm/spreadsheet/tests/spreadsheet-format-dialogs.js +47 -35
- package/dist/esm/spreadsheet/tests/spreadsheet-formula.js +235 -223
- package/dist/esm/spreadsheet/tests/spreadsheet-jquery.js +291 -279
- package/dist/esm/spreadsheet/tests/spreadsheet-row-contextmenu.js +263 -251
- package/dist/esm/spreadsheet/tests/spreadsheet-tools.js +160 -148
- package/dist/esm/spreadsheet/tests/spreadsheet.js +254 -242
- package/dist/esm/taskboard/tests/taskboard-card.js +90 -78
- package/dist/esm/taskboard/tests/taskboard-pane.js +162 -150
- package/dist/esm/taskboard/tests/taskboard-rtl.js +87 -75
- package/dist/esm/taskboard/tests/taskboard.js +81 -69
- package/dist/esm/tilelayout/templates/tilelayout-normal.js +4771 -0
- package/dist/esm/tilelayout/tests/tilelayout-resizing.js +36 -6
- package/dist/esm/tilelayout/tests/tilelayout.js +30 -15
- package/dist/esm/toolbar/templates/toolbar-normal.js +31 -2
- package/dist/esm/toolbar/tests/toolbar-adaptive.js +42 -30
- package/dist/esm/toolbar/tests/toolbar-angular.js +9 -9
- package/dist/esm/toolbar/tests/toolbar-components.js +28 -11
- package/dist/esm/toolbar/tests/toolbar-popup-size.js +29 -17
- package/dist/esm/toolbar/tests/toolbar-popup.js +52 -40
- package/dist/esm/toolbar/tests/toolbar-sizes.js +37 -25
- package/dist/esm/toolbar/tests/toolbar.js +34 -37
- package/dist/types/appbar/index.d.ts +1 -0
- package/dist/types/appbar/templates/appbar-normal.d.ts +1 -0
- package/dist/types/bottom-nav/bottom-nav.spec.d.ts +7 -3
- package/dist/types/bottom-nav/index.d.ts +3 -0
- package/dist/types/bottom-nav/templates/bottom-nav-icons.d.ts +1 -0
- package/dist/types/bottom-nav/templates/bottom-nav-links.d.ts +1 -0
- package/dist/types/bottom-nav/templates/bottom-nav-normal.d.ts +1 -0
- package/dist/types/bottom-nav/tests/bottom-nav-flat.d.ts +2 -0
- package/dist/types/bottom-nav/tests/bottom-nav-solid.d.ts +2 -0
- package/dist/types/dialog/templates/dialog-normal.d.ts +1 -1
- package/dist/types/expansion-panel/expansion-panel.spec.d.ts +1 -1
- package/dist/types/expansion-panel/index.d.ts +2 -0
- package/dist/types/expansion-panel/templates/expansion-panel-expanded.d.ts +1 -0
- package/dist/types/expansion-panel/templates/expansion-panel-normal.d.ts +1 -0
- package/dist/types/filter/index.d.ts +1 -0
- package/dist/types/filter/templates/filter-normal.d.ts +1 -0
- package/dist/types/floating-label/templates/floating-label-normal.d.ts +1 -4
- package/dist/types/index.d.ts +3 -0
- package/dist/types/popover/index.d.ts +1 -0
- package/dist/types/popover/templates/popover-normal.d.ts +4 -0
- package/dist/types/scrollview/index.d.ts +1 -0
- package/dist/types/scrollview/templates/scrollview-normal.d.ts +1 -0
- package/dist/types/scrollview/tests/scrollview-rtl.d.ts +2 -0
- package/dist/types/tilelayout/index.d.ts +1 -0
- package/dist/types/tilelayout/templates/tilelayout-normal.d.ts +1 -0
- package/dist/types/toolbar/templates/toolbar-normal.d.ts +1 -4
- package/package.json +2 -2
- package/src/appbar/index.ts +1 -0
- package/src/appbar/templates/appbar-normal.tsx +31 -0
- package/src/appbar/tests/appbar-rtl.tsx +110 -0
- package/src/appbar/tests/appbar.tsx +41 -412
- package/src/bottom-nav/bottom-nav.spec.tsx +13 -4
- package/src/bottom-nav/index.ts +3 -0
- package/src/bottom-nav/templates/bottom-nav-icons.tsx +13 -0
- package/src/bottom-nav/templates/bottom-nav-links.tsx +13 -0
- package/src/bottom-nav/templates/bottom-nav-normal.tsx +13 -0
- package/src/bottom-nav/tests/bottom-nav-flat.tsx +35 -0
- package/src/bottom-nav/tests/bottom-nav-items.tsx +7 -7
- package/src/bottom-nav/tests/bottom-nav-rtl.tsx +5 -5
- package/src/bottom-nav/tests/bottom-nav-solid.tsx +32 -0
- package/src/bottom-nav/tests/bottom-nav.tsx +11 -11
- package/src/dialog/templates/dialog-normal.tsx +10 -5
- package/src/editor/templates/editor-normal.tsx +21 -2
- package/src/editor/tests/editor.tsx +1 -12
- package/src/expansion-panel/expansion-panel.spec.tsx +2 -0
- package/src/expansion-panel/index.ts +2 -0
- package/src/expansion-panel/templates/expansion-panel-expanded.tsx +14 -0
- package/src/expansion-panel/templates/expansion-panel-normal.tsx +13 -0
- package/src/expansion-panel/tests/expansion-panel-rtl.tsx +23 -53
- package/src/expansion-panel/tests/expansion-panel.tsx +23 -52
- package/src/filter/index.ts +1 -0
- package/src/filter/templates/filter-normal.tsx +95 -0
- package/src/filter/tests/filter.tsx +3 -3
- package/src/floating-label/templates/floating-label-normal.tsx +9 -3
- package/src/index.ts +11 -2
- package/src/listview/templates/listview-normal.tsx +12 -2
- package/src/popover/index.ts +1 -0
- package/src/popover/templates/popover-normal.tsx +7 -0
- package/src/popover/tests/popover.tsx +11 -11
- package/src/scrollview/index.ts +1 -0
- package/src/scrollview/templates/scrollview-normal.tsx +3 -0
- package/src/scrollview/tests/scrollview-rtl.tsx +36 -0
- package/src/scrollview/tests/scrollview.tsx +8 -7
- package/src/tilelayout/index.ts +1 -0
- package/src/tilelayout/templates/tilelayout-normal.tsx +14 -0
- package/src/tilelayout/tests/tilelayout-resizing.tsx +3 -3
- package/src/tilelayout/tests/tilelayout.tsx +3 -3
- package/src/toolbar/templates/toolbar-normal.tsx +18 -3
- package/src/toolbar/tests/toolbar.tsx +2 -22
- package/src/bottom-nav/tests/bottom-nav-colors.tsx +0 -205
- /package/dist/types/{bottom-nav/tests/bottom-nav-colors.d.ts → appbar/tests/appbar-rtl.d.ts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Appbar, AppbarSection } from '../../appbar';
|
|
1
|
+
import { Appbar, AppbarNormal, AppbarSection } from '../../appbar';
|
|
2
2
|
import { Icon } from '../../icon';
|
|
3
3
|
import { Textbox } from '../../textbox';
|
|
4
4
|
|
|
@@ -32,10 +32,10 @@ export default () =>(
|
|
|
32
32
|
<>
|
|
33
33
|
<style>{styles}</style>
|
|
34
34
|
<div id="test-area" className="k-d-grid k-grid-cols-1">
|
|
35
|
-
<span>Appbar
|
|
35
|
+
<span>Appbar sticky and inherit color</span>
|
|
36
36
|
<section>
|
|
37
37
|
<div style={{ background: "#1976d2", color: "#fff" }}>
|
|
38
|
-
<
|
|
38
|
+
<AppbarNormal positionMode={'sticky'}>
|
|
39
39
|
<AppbarSection>
|
|
40
40
|
<Icon icon="menu" />
|
|
41
41
|
</AppbarSection>
|
|
@@ -64,418 +64,47 @@ export default () =>(
|
|
|
64
64
|
<span className="k-appbar-separator"></span>
|
|
65
65
|
<Icon icon="user" />
|
|
66
66
|
</AppbarSection>
|
|
67
|
-
</
|
|
67
|
+
</AppbarNormal>
|
|
68
68
|
</div>
|
|
69
69
|
</section>
|
|
70
70
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
<
|
|
75
|
-
<
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
<
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
<AppbarSection>
|
|
109
|
-
<Icon icon="menu" />
|
|
110
|
-
</AppbarSection>
|
|
111
|
-
<span className="k-spacer k-spacer-sized" style={{ width: "8px" }}></span>
|
|
112
|
-
<AppbarSection>
|
|
113
|
-
<h1 className="title">Page Title</h1>
|
|
114
|
-
</AppbarSection>
|
|
115
|
-
<span className="k-spacer k-spacer-sized" style={{ width: "32px" }}></span>
|
|
116
|
-
<AppbarSection>
|
|
117
|
-
<ul>
|
|
118
|
-
<li>Menu Item</li>
|
|
119
|
-
<li>Menu Item</li>
|
|
120
|
-
<li>Menu Item</li>
|
|
121
|
-
</ul>
|
|
122
|
-
</AppbarSection>
|
|
123
|
-
|
|
124
|
-
<span className="k-spacer"></span>
|
|
125
|
-
|
|
126
|
-
<AppbarSection>
|
|
127
|
-
<Textbox placeholder="Search..." />
|
|
128
|
-
</AppbarSection>
|
|
129
|
-
|
|
130
|
-
<AppbarSection>
|
|
131
|
-
<Icon icon="sliders" />
|
|
132
|
-
<Icon icon="bell" />
|
|
133
|
-
<span className="k-appbar-separator"></span>
|
|
134
|
-
<Icon icon="user" />
|
|
135
|
-
</AppbarSection>
|
|
136
|
-
</Appbar>
|
|
137
|
-
</section>
|
|
138
|
-
|
|
139
|
-
<span>Appbar Primary ThemeColor</span>
|
|
140
|
-
<section>
|
|
141
|
-
<Appbar themeColor={'primary'}>
|
|
142
|
-
<AppbarSection>
|
|
143
|
-
<Icon icon="menu" />
|
|
144
|
-
</AppbarSection>
|
|
145
|
-
<span className="k-spacer k-spacer-sized" style={{ width: "8px" }}></span>
|
|
146
|
-
<AppbarSection>
|
|
147
|
-
<h1 className="title">Page Title</h1>
|
|
148
|
-
</AppbarSection>
|
|
149
|
-
<span className="k-spacer k-spacer-sized" style={{ width: "32px" }}></span>
|
|
150
|
-
<AppbarSection>
|
|
151
|
-
<ul>
|
|
152
|
-
<li>Menu Item</li>
|
|
153
|
-
<li>Menu Item</li>
|
|
154
|
-
<li>Menu Item</li>
|
|
155
|
-
</ul>
|
|
156
|
-
</AppbarSection>
|
|
157
|
-
|
|
158
|
-
<span className="k-spacer"></span>
|
|
159
|
-
|
|
160
|
-
<AppbarSection>
|
|
161
|
-
<Textbox placeholder="Search..." />
|
|
162
|
-
</AppbarSection>
|
|
163
|
-
|
|
164
|
-
<AppbarSection>
|
|
165
|
-
<Icon icon="sliders" />
|
|
166
|
-
<Icon icon="bell" />
|
|
167
|
-
<span className="k-appbar-separator"></span>
|
|
168
|
-
<Icon icon="user" />
|
|
169
|
-
</AppbarSection>
|
|
170
|
-
</Appbar>
|
|
171
|
-
</section>
|
|
172
|
-
|
|
173
|
-
<span>Appbar Secondary ThemeColor</span>
|
|
174
|
-
<section>
|
|
175
|
-
<Appbar themeColor={'secondary'}>
|
|
176
|
-
<AppbarSection>
|
|
177
|
-
<Icon icon="menu" />
|
|
178
|
-
</AppbarSection>
|
|
179
|
-
<span className="k-spacer k-spacer-sized" style={{ width: "8px" }}></span>
|
|
180
|
-
<AppbarSection>
|
|
181
|
-
<h1 className="title">Page Title</h1>
|
|
182
|
-
</AppbarSection>
|
|
183
|
-
<span className="k-spacer k-spacer-sized" style={{ width: "32px" }}></span>
|
|
184
|
-
<AppbarSection>
|
|
185
|
-
<ul>
|
|
186
|
-
<li>Menu Item</li>
|
|
187
|
-
<li>Menu Item</li>
|
|
188
|
-
<li>Menu Item</li>
|
|
189
|
-
</ul>
|
|
190
|
-
</AppbarSection>
|
|
191
|
-
|
|
192
|
-
<span className="k-spacer"></span>
|
|
193
|
-
|
|
194
|
-
<AppbarSection>
|
|
195
|
-
<Textbox placeholder="Search..." />
|
|
196
|
-
</AppbarSection>
|
|
197
|
-
|
|
198
|
-
<AppbarSection>
|
|
199
|
-
<Icon icon="sliders" />
|
|
200
|
-
<Icon icon="bell" />
|
|
201
|
-
<span className="k-appbar-separator"></span>
|
|
202
|
-
<Icon icon="user" />
|
|
203
|
-
</AppbarSection>
|
|
204
|
-
</Appbar>
|
|
205
|
-
</section>
|
|
206
|
-
|
|
207
|
-
<span>Appbar Tertiary ThemeColor</span>
|
|
208
|
-
<section>
|
|
209
|
-
<Appbar themeColor={'tertiary'}>
|
|
210
|
-
<AppbarSection>
|
|
211
|
-
<Icon icon="menu" />
|
|
212
|
-
</AppbarSection>
|
|
213
|
-
<span className="k-spacer k-spacer-sized" style={{ width: "8px" }}></span>
|
|
214
|
-
<AppbarSection>
|
|
215
|
-
<h1 className="title">Page Title</h1>
|
|
216
|
-
</AppbarSection>
|
|
217
|
-
<span className="k-spacer k-spacer-sized" style={{ width: "32px" }}></span>
|
|
218
|
-
<AppbarSection>
|
|
219
|
-
<ul>
|
|
220
|
-
<li>Menu Item</li>
|
|
221
|
-
<li>Menu Item</li>
|
|
222
|
-
<li>Menu Item</li>
|
|
223
|
-
</ul>
|
|
224
|
-
</AppbarSection>
|
|
225
|
-
|
|
226
|
-
<span className="k-spacer"></span>
|
|
227
|
-
|
|
228
|
-
<AppbarSection>
|
|
229
|
-
<Textbox placeholder="Search..." />
|
|
230
|
-
</AppbarSection>
|
|
231
|
-
|
|
232
|
-
<AppbarSection>
|
|
233
|
-
<Icon icon="sliders" />
|
|
234
|
-
<Icon icon="bell" />
|
|
235
|
-
<span className="k-appbar-separator"></span>
|
|
236
|
-
<Icon icon="user" />
|
|
237
|
-
</AppbarSection>
|
|
238
|
-
</Appbar>
|
|
239
|
-
</section>
|
|
240
|
-
|
|
241
|
-
<span>Appbar Info ThemeColor</span>
|
|
242
|
-
<section>
|
|
243
|
-
<Appbar themeColor={'info'}>
|
|
244
|
-
<AppbarSection>
|
|
245
|
-
<Icon icon="menu" />
|
|
246
|
-
</AppbarSection>
|
|
247
|
-
<span className="k-spacer k-spacer-sized" style={{ width: "8px" }}></span>
|
|
248
|
-
<AppbarSection>
|
|
249
|
-
<h1 className="title">Page Title</h1>
|
|
250
|
-
</AppbarSection>
|
|
251
|
-
<span className="k-spacer k-spacer-sized" style={{ width: "32px" }}></span>
|
|
252
|
-
<AppbarSection>
|
|
253
|
-
<ul>
|
|
254
|
-
<li>Menu Item</li>
|
|
255
|
-
<li>Menu Item</li>
|
|
256
|
-
<li>Menu Item</li>
|
|
257
|
-
</ul>
|
|
258
|
-
</AppbarSection>
|
|
259
|
-
|
|
260
|
-
<span className="k-spacer"></span>
|
|
261
|
-
|
|
262
|
-
<AppbarSection>
|
|
263
|
-
<Textbox placeholder="Search..." />
|
|
264
|
-
</AppbarSection>
|
|
265
|
-
|
|
266
|
-
<AppbarSection>
|
|
267
|
-
<Icon icon="sliders" />
|
|
268
|
-
<Icon icon="bell" />
|
|
269
|
-
<span className="k-appbar-separator"></span>
|
|
270
|
-
<Icon icon="user" />
|
|
271
|
-
</AppbarSection>
|
|
272
|
-
</Appbar>
|
|
273
|
-
</section>
|
|
274
|
-
|
|
275
|
-
<span>Appbar Success ThemeColor</span>
|
|
276
|
-
<section>
|
|
277
|
-
<Appbar themeColor={'success'}>
|
|
278
|
-
<AppbarSection>
|
|
279
|
-
<Icon icon="menu" />
|
|
280
|
-
</AppbarSection>
|
|
281
|
-
<span className="k-spacer k-spacer-sized" style={{ width: "8px" }}></span>
|
|
282
|
-
<AppbarSection>
|
|
283
|
-
<h1 className="title">Page Title</h1>
|
|
284
|
-
</AppbarSection>
|
|
285
|
-
<span className="k-spacer k-spacer-sized" style={{ width: "32px" }}></span>
|
|
286
|
-
<AppbarSection>
|
|
287
|
-
<ul>
|
|
288
|
-
<li>Menu Item</li>
|
|
289
|
-
<li>Menu Item</li>
|
|
290
|
-
<li>Menu Item</li>
|
|
291
|
-
</ul>
|
|
292
|
-
</AppbarSection>
|
|
293
|
-
|
|
294
|
-
<span className="k-spacer"></span>
|
|
295
|
-
|
|
296
|
-
<AppbarSection>
|
|
297
|
-
<Textbox placeholder="Search..." />
|
|
298
|
-
</AppbarSection>
|
|
299
|
-
|
|
300
|
-
<AppbarSection>
|
|
301
|
-
<Icon icon="sliders" />
|
|
302
|
-
<Icon icon="bell" />
|
|
303
|
-
<span className="k-appbar-separator"></span>
|
|
304
|
-
<Icon icon="user" />
|
|
305
|
-
</AppbarSection>
|
|
306
|
-
</Appbar>
|
|
307
|
-
</section>
|
|
308
|
-
|
|
309
|
-
<span>Appbar Warning ThemeColor</span>
|
|
310
|
-
<section>
|
|
311
|
-
<Appbar themeColor={'warning'}>
|
|
312
|
-
<AppbarSection>
|
|
313
|
-
<Icon icon="menu" />
|
|
314
|
-
</AppbarSection>
|
|
315
|
-
<span className="k-spacer k-spacer-sized" style={{ width: "8px" }}></span>
|
|
316
|
-
<AppbarSection>
|
|
317
|
-
<h1 className="title">Page Title</h1>
|
|
318
|
-
</AppbarSection>
|
|
319
|
-
<span className="k-spacer k-spacer-sized" style={{ width: "32px" }}></span>
|
|
320
|
-
<AppbarSection>
|
|
321
|
-
<ul>
|
|
322
|
-
<li>Menu Item</li>
|
|
323
|
-
<li>Menu Item</li>
|
|
324
|
-
<li>Menu Item</li>
|
|
325
|
-
</ul>
|
|
326
|
-
</AppbarSection>
|
|
327
|
-
|
|
328
|
-
<span className="k-spacer"></span>
|
|
329
|
-
|
|
330
|
-
<AppbarSection>
|
|
331
|
-
<Textbox placeholder="Search..." />
|
|
332
|
-
</AppbarSection>
|
|
333
|
-
|
|
334
|
-
<AppbarSection>
|
|
335
|
-
<Icon icon="sliders" />
|
|
336
|
-
<Icon icon="bell" />
|
|
337
|
-
<span className="k-appbar-separator"></span>
|
|
338
|
-
<Icon icon="user" />
|
|
339
|
-
</AppbarSection>
|
|
340
|
-
</Appbar>
|
|
341
|
-
</section>
|
|
342
|
-
|
|
343
|
-
<span>Appbar Error ThemeColor</span>
|
|
344
|
-
<section>
|
|
345
|
-
<Appbar themeColor={'error'}>
|
|
346
|
-
<AppbarSection>
|
|
347
|
-
<Icon icon="menu" />
|
|
348
|
-
</AppbarSection>
|
|
349
|
-
<span className="k-spacer k-spacer-sized" style={{ width: "8px" }}></span>
|
|
350
|
-
<AppbarSection>
|
|
351
|
-
<h1 className="title">Page Title</h1>
|
|
352
|
-
</AppbarSection>
|
|
353
|
-
<span className="k-spacer k-spacer-sized" style={{ width: "32px" }}></span>
|
|
354
|
-
<AppbarSection>
|
|
355
|
-
<ul>
|
|
356
|
-
<li>Menu Item</li>
|
|
357
|
-
<li>Menu Item</li>
|
|
358
|
-
<li>Menu Item</li>
|
|
359
|
-
</ul>
|
|
360
|
-
</AppbarSection>
|
|
361
|
-
|
|
362
|
-
<span className="k-spacer"></span>
|
|
363
|
-
|
|
364
|
-
<AppbarSection>
|
|
365
|
-
<Textbox placeholder="Search..." />
|
|
366
|
-
</AppbarSection>
|
|
367
|
-
|
|
368
|
-
<AppbarSection>
|
|
369
|
-
<Icon icon="sliders" />
|
|
370
|
-
<Icon icon="bell" />
|
|
371
|
-
<span className="k-appbar-separator"></span>
|
|
372
|
-
<Icon icon="user" />
|
|
373
|
-
</AppbarSection>
|
|
374
|
-
</Appbar>
|
|
375
|
-
</section>
|
|
376
|
-
|
|
377
|
-
<span>Appbar Inverse ThemeColor</span>
|
|
378
|
-
<section>
|
|
379
|
-
<Appbar themeColor={'inverse'}>
|
|
380
|
-
<AppbarSection>
|
|
381
|
-
<Icon icon="menu" />
|
|
382
|
-
</AppbarSection>
|
|
383
|
-
<span className="k-spacer k-spacer-sized" style={{ width: "8px" }}></span>
|
|
384
|
-
<AppbarSection>
|
|
385
|
-
<h1 className="title">Page Title</h1>
|
|
386
|
-
</AppbarSection>
|
|
387
|
-
<span className="k-spacer k-spacer-sized" style={{ width: "32px" }}></span>
|
|
388
|
-
<AppbarSection>
|
|
389
|
-
<ul>
|
|
390
|
-
<li>Menu Item</li>
|
|
391
|
-
<li>Menu Item</li>
|
|
392
|
-
<li>Menu Item</li>
|
|
393
|
-
</ul>
|
|
394
|
-
</AppbarSection>
|
|
395
|
-
|
|
396
|
-
<span className="k-spacer"></span>
|
|
397
|
-
|
|
398
|
-
<AppbarSection>
|
|
399
|
-
<Textbox placeholder="Search..." />
|
|
400
|
-
</AppbarSection>
|
|
401
|
-
|
|
402
|
-
<AppbarSection>
|
|
403
|
-
<Icon icon="sliders" />
|
|
404
|
-
<Icon icon="bell" />
|
|
405
|
-
<span className="k-appbar-separator"></span>
|
|
406
|
-
<Icon icon="user" />
|
|
407
|
-
</AppbarSection>
|
|
408
|
-
</Appbar>
|
|
409
|
-
</section>
|
|
410
|
-
|
|
411
|
-
<span>Sticky AppBar</span>
|
|
412
|
-
<section>
|
|
413
|
-
<Appbar themeColor={'light'} positionMode={'sticky'}>
|
|
414
|
-
<AppbarSection>
|
|
415
|
-
<Icon icon="menu" />
|
|
416
|
-
</AppbarSection>
|
|
417
|
-
<span className="k-spacer k-spacer-sized" style={{ width: "8px" }}></span>
|
|
418
|
-
<AppbarSection>
|
|
419
|
-
<h1 className="title">Page Title</h1>
|
|
420
|
-
</AppbarSection>
|
|
421
|
-
<span className="k-spacer k-spacer-sized" style={{ width: "32px" }}></span>
|
|
422
|
-
<AppbarSection>
|
|
423
|
-
<ul>
|
|
424
|
-
<li>Menu Item</li>
|
|
425
|
-
<li>Menu Item</li>
|
|
426
|
-
<li>Menu Item</li>
|
|
427
|
-
</ul>
|
|
428
|
-
</AppbarSection>
|
|
429
|
-
|
|
430
|
-
<span className="k-spacer"></span>
|
|
431
|
-
|
|
432
|
-
<AppbarSection>
|
|
433
|
-
<Textbox placeholder="Search..." />
|
|
434
|
-
</AppbarSection>
|
|
435
|
-
|
|
436
|
-
<AppbarSection>
|
|
437
|
-
<Icon icon="sliders" />
|
|
438
|
-
<Icon icon="bell" />
|
|
439
|
-
<span className="k-appbar-separator"></span>
|
|
440
|
-
<Icon icon="user" />
|
|
441
|
-
</AppbarSection>
|
|
442
|
-
</Appbar>
|
|
443
|
-
</section>
|
|
444
|
-
|
|
445
|
-
<span>RTL AppBar</span>
|
|
446
|
-
<section>
|
|
447
|
-
<Appbar themeColor={'light'} dir="rtl">
|
|
448
|
-
<AppbarSection>
|
|
449
|
-
<Icon icon="menu" />
|
|
450
|
-
</AppbarSection>
|
|
451
|
-
<span className="k-spacer k-spacer-sized" style={{ width: "8px" }}></span>
|
|
452
|
-
<AppbarSection>
|
|
453
|
-
<h1 className="title">Page Title</h1>
|
|
454
|
-
</AppbarSection>
|
|
455
|
-
<span className="k-spacer k-spacer-sized" style={{ width: "32px" }}></span>
|
|
456
|
-
<AppbarSection>
|
|
457
|
-
<ul>
|
|
458
|
-
<li>Menu Item</li>
|
|
459
|
-
<li>Menu Item</li>
|
|
460
|
-
<li>Menu Item</li>
|
|
461
|
-
</ul>
|
|
462
|
-
</AppbarSection>
|
|
463
|
-
|
|
464
|
-
<span className="k-spacer"></span>
|
|
465
|
-
|
|
466
|
-
<AppbarSection>
|
|
467
|
-
<Textbox placeholder="Search..." />
|
|
468
|
-
</AppbarSection>
|
|
469
|
-
|
|
470
|
-
<AppbarSection>
|
|
471
|
-
<Icon icon="sliders" />
|
|
472
|
-
<Icon icon="bell" />
|
|
473
|
-
<span className="k-appbar-separator"></span>
|
|
474
|
-
<Icon icon="user" />
|
|
475
|
-
</AppbarSection>
|
|
476
|
-
</Appbar>
|
|
477
|
-
</section>
|
|
478
|
-
|
|
71
|
+
{[ ...Appbar.options.themeColor ].map((themeColor) => (
|
|
72
|
+
<>
|
|
73
|
+
<span>Appbar {themeColor} theme color</span>
|
|
74
|
+
<section>
|
|
75
|
+
<AppbarNormal fillMode="solid" themeColor={themeColor}>
|
|
76
|
+
<AppbarSection>
|
|
77
|
+
<Icon icon="menu" />
|
|
78
|
+
</AppbarSection>
|
|
79
|
+
<span className="k-spacer k-spacer-sized" style={{ width: "8px" }}></span>
|
|
80
|
+
<AppbarSection>
|
|
81
|
+
<h1 className="title">Page Title</h1>
|
|
82
|
+
</AppbarSection>
|
|
83
|
+
<span className="k-spacer k-spacer-sized" style={{ width: "32px" }}></span>
|
|
84
|
+
<AppbarSection>
|
|
85
|
+
<ul>
|
|
86
|
+
<li>Menu Item</li>
|
|
87
|
+
<li>Menu Item</li>
|
|
88
|
+
<li>Menu Item</li>
|
|
89
|
+
</ul>
|
|
90
|
+
</AppbarSection>
|
|
91
|
+
|
|
92
|
+
<span className="k-spacer"></span>
|
|
93
|
+
|
|
94
|
+
<AppbarSection>
|
|
95
|
+
<Textbox placeholder="Search..." />
|
|
96
|
+
</AppbarSection>
|
|
97
|
+
|
|
98
|
+
<AppbarSection>
|
|
99
|
+
<Icon icon="sliders" />
|
|
100
|
+
<Icon icon="bell" />
|
|
101
|
+
<span className="k-appbar-separator"></span>
|
|
102
|
+
<Icon icon="user" />
|
|
103
|
+
</AppbarSection>
|
|
104
|
+
</AppbarNormal>
|
|
105
|
+
</section>
|
|
106
|
+
</>
|
|
107
|
+
))}
|
|
479
108
|
</div>
|
|
480
109
|
</>
|
|
481
110
|
);
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { classNames, optionClassNames, FillMode, ThemeColor } from '../misc';
|
|
1
|
+
import { classNames, stateClassNames, optionClassNames, FillMode, ThemeColor, States } from '../misc';
|
|
2
2
|
|
|
3
3
|
export const BOTTOM_NAV_CLASSNAME = 'k-bottom-nav';
|
|
4
4
|
|
|
5
|
-
const states = [
|
|
5
|
+
const states = [
|
|
6
|
+
States.disabled,
|
|
7
|
+
];
|
|
6
8
|
|
|
7
9
|
const options = {
|
|
8
10
|
fillMode: [ FillMode.solid, FillMode.flat ],
|
|
@@ -31,8 +33,10 @@ export type KendoBottomNavProps = KendoBottomNavOptions & {
|
|
|
31
33
|
dir?: 'ltr' | 'rtl';
|
|
32
34
|
};
|
|
33
35
|
|
|
36
|
+
export type KendoBottomNavState = { [K in (typeof states)[number]]?: boolean };
|
|
37
|
+
|
|
34
38
|
const defaultProps = {
|
|
35
|
-
fillMode: FillMode.
|
|
39
|
+
fillMode: FillMode.flat,
|
|
36
40
|
themeColor: ThemeColor.primary,
|
|
37
41
|
flow: 'horizontal',
|
|
38
42
|
border: false
|
|
@@ -40,9 +44,11 @@ const defaultProps = {
|
|
|
40
44
|
|
|
41
45
|
export const BottomNav = (
|
|
42
46
|
props: KendoBottomNavProps &
|
|
47
|
+
KendoBottomNavState &
|
|
43
48
|
React.HTMLAttributes<HTMLElement>
|
|
44
49
|
) => {
|
|
45
50
|
const {
|
|
51
|
+
disabled,
|
|
46
52
|
fillMode = defaultProps.fillMode,
|
|
47
53
|
themeColor = defaultProps.themeColor,
|
|
48
54
|
flow = defaultProps.flow,
|
|
@@ -61,7 +67,10 @@ export const BottomNav = (
|
|
|
61
67
|
{
|
|
62
68
|
[`k-bottom-nav-item-flow-${flow}`]: flow,
|
|
63
69
|
'k-bottom-nav-border': border,
|
|
64
|
-
}
|
|
70
|
+
},
|
|
71
|
+
stateClassNames(BOTTOM_NAV_CLASSNAME, {
|
|
72
|
+
disabled,
|
|
73
|
+
}),
|
|
65
74
|
)} dir={dir}>
|
|
66
75
|
{props.children}
|
|
67
76
|
</nav>
|
package/src/bottom-nav/index.ts
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BottomNav, BottomNavItem } from "../../bottom-nav";
|
|
2
|
+
|
|
3
|
+
export const BottomNavIcons = (props) => (
|
|
4
|
+
<BottomNav
|
|
5
|
+
children={[
|
|
6
|
+
<BottomNavItem icon="envelope" />,
|
|
7
|
+
<BottomNavItem icon="envelope" />,
|
|
8
|
+
<BottomNavItem icon="envelope" />
|
|
9
|
+
]}
|
|
10
|
+
{...props}
|
|
11
|
+
>
|
|
12
|
+
</BottomNav>
|
|
13
|
+
);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BottomNav, BottomNavItem } from "../../bottom-nav";
|
|
2
|
+
|
|
3
|
+
export const BottomNavLinks = (props) => (
|
|
4
|
+
<BottomNav
|
|
5
|
+
children={[
|
|
6
|
+
<BottomNavItem link="LinkItem"/>,
|
|
7
|
+
<BottomNavItem link="LinkItem"/>,
|
|
8
|
+
<BottomNavItem link="LinkItem"/>
|
|
9
|
+
]}
|
|
10
|
+
{...props}
|
|
11
|
+
>
|
|
12
|
+
</BottomNav>
|
|
13
|
+
);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BottomNav, BottomNavItem } from "../../bottom-nav";
|
|
2
|
+
|
|
3
|
+
export const BottomNavNormal = (props) => (
|
|
4
|
+
<BottomNav
|
|
5
|
+
children={[
|
|
6
|
+
<BottomNavItem icon="envelope" text="BottomNavItem" />,
|
|
7
|
+
<BottomNavItem icon="envelope" text="BottomNavItem" />,
|
|
8
|
+
<BottomNavItem icon="envelope" text="BottomNavItem" />
|
|
9
|
+
]}
|
|
10
|
+
{...props}
|
|
11
|
+
>
|
|
12
|
+
</BottomNav>
|
|
13
|
+
);
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { BottomNav, BottomNavNormal, BottomNavItem } from '../../bottom-nav';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
const styles = `
|
|
5
|
+
#test-area .colors {
|
|
6
|
+
padding: 10px;
|
|
7
|
+
gap: 10px;
|
|
8
|
+
}
|
|
9
|
+
#test-area .colors-flat {
|
|
10
|
+
background-color: rgb(234, 234, 234);
|
|
11
|
+
}
|
|
12
|
+
`;
|
|
13
|
+
|
|
14
|
+
export default () =>(
|
|
15
|
+
<>
|
|
16
|
+
<style>{styles}</style>
|
|
17
|
+
<div id="test-area" className="k-d-grid">
|
|
18
|
+
<div className="colors colors-flat k-d-grid">
|
|
19
|
+
{[ ...BottomNav.options.themeColor ].map((themeColor) => (
|
|
20
|
+
<>
|
|
21
|
+
<span>BottomNav {themeColor} theme color</span>
|
|
22
|
+
<section>
|
|
23
|
+
<BottomNavNormal themeColor={themeColor} border flow="vertical">
|
|
24
|
+
<BottomNavItem icon="envelope" text="Normal" />
|
|
25
|
+
<BottomNavItem icon="envelope" text="Focused" focus />
|
|
26
|
+
<BottomNavItem icon="envelope" text="Selected" selected />
|
|
27
|
+
<BottomNavItem icon="envelope" text="Disabled" disabled />
|
|
28
|
+
</BottomNavNormal>
|
|
29
|
+
</section>
|
|
30
|
+
</>
|
|
31
|
+
))}
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</>
|
|
35
|
+
);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Icon } from '../../icon';
|
|
2
|
-
import {
|
|
2
|
+
import { BottomNavNormal, BottomNavItem } from '../../bottom-nav';
|
|
3
3
|
|
|
4
4
|
const styles = `
|
|
5
5
|
#test-area {
|
|
@@ -14,17 +14,17 @@ export default () =>(
|
|
|
14
14
|
|
|
15
15
|
<section>
|
|
16
16
|
<h4>Bottom Navigation with SPAN</h4>
|
|
17
|
-
<
|
|
17
|
+
<BottomNavNormal themeColor="primary" border flow="vertical">
|
|
18
18
|
<BottomNavItem icon="envelope" text="Normal" />
|
|
19
19
|
<BottomNavItem icon="envelope" text="Focused" focus />
|
|
20
20
|
<BottomNavItem icon="envelope" text="Selected" selected />
|
|
21
21
|
<BottomNavItem icon="envelope" text="Disabled" disabled />
|
|
22
|
-
</
|
|
22
|
+
</BottomNavNormal>
|
|
23
23
|
</section>
|
|
24
24
|
|
|
25
25
|
<section>
|
|
26
26
|
<h4>Bottom Navigation with BUTTON</h4>
|
|
27
|
-
<
|
|
27
|
+
<BottomNavNormal themeColor="primary" border flow="vertical">
|
|
28
28
|
<button className="k-bottom-nav-item">
|
|
29
29
|
<Icon className="k-bottom-nav-item-icon" icon="envelope" size="xlarge" />
|
|
30
30
|
<span className="k-bottom-nav-item-text">Normal</span>
|
|
@@ -41,12 +41,12 @@ export default () =>(
|
|
|
41
41
|
<Icon className="k-bottom-nav-item-icon" icon="envelope" size="xlarge" />
|
|
42
42
|
<span className="k-bottom-nav-item-text">Disabled</span>
|
|
43
43
|
</button>
|
|
44
|
-
</
|
|
44
|
+
</BottomNavNormal>
|
|
45
45
|
</section>
|
|
46
46
|
|
|
47
47
|
<section>
|
|
48
48
|
<h4>Bottom Navigation with A</h4>
|
|
49
|
-
<
|
|
49
|
+
<BottomNavNormal themeColor="primary" border flow="vertical">
|
|
50
50
|
<a className="k-bottom-nav-item">
|
|
51
51
|
<Icon className="k-bottom-nav-item-icon" icon="envelope" size="xlarge" />
|
|
52
52
|
<span className="k-bottom-nav-item-text">Normal</span>
|
|
@@ -63,7 +63,7 @@ export default () =>(
|
|
|
63
63
|
<Icon className="k-bottom-nav-item-icon" icon="envelope" size="xlarge" />
|
|
64
64
|
<span className="k-bottom-nav-item-text">Disabled</span>
|
|
65
65
|
</a>
|
|
66
|
-
</
|
|
66
|
+
</BottomNavNormal>
|
|
67
67
|
</section>
|
|
68
68
|
</div>
|
|
69
69
|
</>
|