@sme.up/ketchup 4.0.0 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/cjs/cell-utils-dc0884a3.js +168 -0
- package/dist/cjs/f-button-2ba74fb5.js +105 -0
- package/dist/cjs/f-cell-fe60a08d.js +731 -0
- package/dist/cjs/f-chip-90d95d22.js +141 -0
- package/dist/cjs/{f-image-5f4f29ca.js → f-image-d3bd4e08.js} +4 -5
- package/dist/cjs/{index-3c471303.js → index-0416afab.js} +73 -64
- package/dist/cjs/ketchup.cjs.js +3 -3
- package/dist/cjs/kup-accordion.cjs.entry.js +6 -8
- package/dist/cjs/{kup-autocomplete_29.cjs.entry.js → kup-autocomplete_28.cjs.entry.js} +2580 -3060
- package/dist/cjs/kup-calendar.cjs.entry.js +30 -30
- package/dist/cjs/kup-cell.cjs.entry.js +201 -0
- package/dist/cjs/kup-dash-list.cjs.entry.js +15 -7
- package/dist/cjs/kup-dash_2.cjs.entry.js +104 -62
- package/dist/cjs/kup-drawer.cjs.entry.js +4 -6
- package/dist/cjs/kup-field.cjs.entry.js +3 -5
- package/dist/cjs/kup-iframe.cjs.entry.js +3 -4
- package/dist/cjs/kup-lazy.cjs.entry.js +4 -6
- package/dist/cjs/kup-magic-box.cjs.entry.js +21 -31
- package/dist/cjs/kup-manager-1a2688ca.js +5813 -0
- package/dist/cjs/kup-nav-bar.cjs.entry.js +4 -6
- package/dist/cjs/kup-probe.cjs.entry.js +3 -4
- package/dist/cjs/kup-qlik.cjs.entry.js +2 -3
- package/dist/cjs/kup-snackbar.cjs.entry.js +152 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{utils-2af73538.js → utils-0cc466b9.js} +17 -83
- package/dist/collection/assets/cell.js +51 -0
- package/dist/collection/assets/data-table.js +518 -1
- package/dist/collection/assets/index.js +8 -0
- package/dist/collection/assets/snackbar.js +32 -0
- package/dist/collection/collection-manifest.json +6 -6
- package/dist/collection/components/kup-accordion/kup-accordion.css +0 -213
- package/dist/collection/components/kup-accordion/kup-accordion.js +15 -16
- package/dist/collection/components/kup-autocomplete/kup-autocomplete-declarations.js +2 -2
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.css +5 -2381
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +83 -111
- package/dist/collection/components/kup-badge/kup-badge.css +1 -35
- package/dist/collection/components/kup-badge/kup-badge.js +13 -14
- package/dist/collection/components/kup-box/kup-box.css +47 -780
- package/dist/collection/components/kup-box/kup-box.js +240 -366
- package/dist/collection/components/kup-button/kup-button.css +0 -333
- package/dist/collection/components/kup-button/kup-button.js +27 -28
- package/dist/collection/components/kup-button-list/kup-button-list.css +0 -332
- package/dist/collection/components/kup-button-list/kup-button-list.js +19 -20
- package/dist/collection/components/kup-calendar/kup-calendar.css +0 -517
- package/dist/collection/components/kup-calendar/kup-calendar.js +47 -45
- package/dist/collection/components/kup-card/builtin/kup-card-builtin.js +20 -0
- package/dist/collection/components/kup-card/builtin/kup-card-calendar.js +458 -0
- package/dist/collection/components/kup-card/builtin/kup-card-clock.js +321 -0
- package/dist/collection/components/kup-card/dialog/kup-card-dialog.js +18 -0
- package/dist/collection/components/kup-card/free/kup-card-free.js +13 -0
- package/dist/collection/components/kup-card/kup-card-declarations.js +19 -0
- package/dist/collection/components/kup-card/kup-card-helper.js +19 -1
- package/dist/collection/components/kup-card/kup-card.css +615 -185
- package/dist/collection/components/kup-card/kup-card.js +94 -34
- package/dist/collection/components/kup-card/standard/kup-card-standard.js +75 -0
- package/dist/collection/components/kup-cell/kup-cell-declarations.js +11 -0
- package/dist/collection/components/kup-cell/kup-cell.css +20 -0
- package/dist/collection/components/kup-cell/kup-cell.js +413 -0
- package/dist/collection/components/kup-chart/kup-chart.js +41 -42
- package/dist/collection/components/kup-checkbox/kup-checkbox.css +0 -214
- package/dist/collection/components/kup-checkbox/kup-checkbox.js +19 -20
- package/dist/collection/components/kup-chip/kup-chip.css +0 -217
- package/dist/collection/components/kup-chip/kup-chip.js +15 -16
- package/dist/collection/components/kup-color-picker/kup-color-picker.css +7 -2380
- package/dist/collection/components/kup-color-picker/kup-color-picker.js +41 -41
- package/dist/collection/components/kup-combobox/kup-combobox-declarations.js +1 -0
- package/dist/collection/components/kup-combobox/kup-combobox.css +5 -2381
- package/dist/collection/components/kup-combobox/kup-combobox.js +68 -28
- package/dist/collection/components/kup-dash-list/kup-dash-list.js +13 -4
- package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +2 -0
- package/dist/collection/components/kup-data-table/kup-data-table-helper.js +61 -102
- package/dist/collection/components/kup-data-table/kup-data-table.css +118 -3232
- package/dist/collection/components/kup-data-table/kup-data-table.js +589 -1089
- package/dist/collection/components/kup-date-picker/kup-date-picker.css +1 -85
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +92 -395
- package/dist/collection/components/kup-drawer/kup-drawer.js +9 -10
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.css +12 -340
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +56 -45
- package/dist/collection/components/kup-field/kup-field.js +21 -22
- package/dist/collection/components/kup-gauge/kup-gauge.js +17 -18
- package/dist/collection/components/kup-grid/kup-grid.css +2 -1
- package/dist/collection/components/kup-grid/kup-grid.js +13 -14
- package/dist/collection/components/kup-iframe/kup-iframe.js +4 -4
- package/dist/collection/components/kup-image/assets/svg/ketchup.svg +74 -0
- package/dist/collection/components/kup-image/assets/svg/smeup.svg +59 -0
- package/dist/collection/components/kup-image/kup-image.css +0 -32
- package/dist/collection/components/kup-image/kup-image.js +25 -26
- package/dist/collection/components/kup-lazy/kup-lazy.js +17 -18
- package/dist/collection/components/kup-list/kup-list-declarations.js +1 -1
- package/dist/collection/components/kup-list/kup-list.css +4 -260
- package/dist/collection/components/kup-list/kup-list.js +39 -49
- package/dist/collection/components/kup-magic-box/kup-magic-box.css +13 -39
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +29 -38
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +11 -12
- package/dist/collection/components/kup-paginator/kup-paginator.css +0 -332
- package/dist/collection/components/kup-paginator/kup-paginator.js +44 -12
- package/dist/collection/components/kup-probe/kup-probe.js +9 -9
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +21 -22
- package/dist/collection/components/kup-radio/kup-radio.js +17 -18
- package/dist/collection/components/kup-rating/kup-rating.js +15 -16
- package/dist/collection/components/kup-snackbar/kup-snackbar-declarations.js +13 -0
- package/dist/collection/components/kup-snackbar/kup-snackbar.css +75 -0
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +390 -0
- package/dist/collection/components/kup-spinner/kup-spinner.js +23 -24
- package/dist/collection/components/kup-switch/kup-switch.css +0 -156
- package/dist/collection/components/kup-switch/kup-switch.js +17 -18
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.css +0 -199
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +13 -14
- package/dist/collection/components/kup-text-field/kup-text-field-declarations.js +1 -0
- package/dist/collection/components/kup-text-field/kup-text-field.css +4 -2371
- package/dist/collection/components/kup-text-field/kup-text-field.js +77 -51
- package/dist/collection/components/kup-time-picker/kup-time-picker.css +7 -0
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +97 -317
- package/dist/collection/components/kup-tooltip/kup-tooltip.js +24 -14
- package/dist/collection/components/kup-tree/kup-tree.css +27 -371
- package/dist/collection/components/kup-tree/kup-tree.js +163 -383
- package/dist/collection/f-components/f-button/f-button.js +4 -2
- package/dist/collection/f-components/f-cell/f-cell-declarations.js +143 -0
- package/dist/collection/f-components/f-cell/f-cell.js +471 -0
- package/dist/collection/f-components/f-checkbox/f-checkbox.js +1 -1
- package/dist/collection/f-components/f-chip/f-chip.js +2 -2
- package/dist/collection/f-components/f-image/f-image.js +2 -3
- package/dist/collection/f-components/f-switch/f-switch.js +1 -1
- package/dist/collection/f-components/f-text-field/f-text-field-mdc.js +1 -1
- package/dist/collection/f-components/f-text-field/f-text-field.js +25 -21
- package/dist/collection/utils/cell-utils.js +18 -222
- package/dist/collection/utils/filters/filters.js +31 -37
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +15 -3
- package/dist/collection/utils/kup-dates/kup-dates.js +14 -2
- package/dist/collection/utils/kup-debug/kup-debug-browser-utils.js +3 -3
- package/dist/collection/utils/kup-debug/kup-debug.js +57 -29
- package/dist/collection/utils/kup-dynamic-position/kup-dynamic-position.js +5 -7
- package/dist/collection/utils/kup-interact/kup-interact-declarations.js +48 -0
- package/dist/collection/utils/kup-interact/kup-interact.js +379 -0
- package/dist/collection/utils/kup-language/kup-language-declarations.js +2 -0
- package/dist/collection/utils/kup-language/kup-language.js +1 -1
- package/dist/collection/utils/kup-manager/kup-manager.js +47 -10
- package/dist/collection/utils/kup-objects/kup-objects.js +9 -33
- package/dist/collection/utils/kup-scroll-on-hover/kup-scroll-on-hover.js +60 -62
- package/dist/collection/utils/kup-search/kup-search-declarations.js +1 -0
- package/dist/collection/utils/kup-search/kup-search.js +75 -0
- package/dist/collection/utils/kup-theme/kup-theme-declarations.js +1 -0
- package/dist/collection/utils/kup-theme/kup-theme.js +4 -3
- package/dist/collection/utils/kup-toolbar/kup-toolbar.js +16 -18
- package/dist/collection/utils/utils.js +15 -23
- package/dist/esm/cell-utils-8f512ea9.js +160 -0
- package/dist/esm/f-button-30dbcaa9.js +103 -0
- package/dist/esm/f-cell-95c186c6.js +727 -0
- package/dist/esm/f-chip-c0e9c0ff.js +139 -0
- package/dist/esm/{f-image-68b34fab.js → f-image-3bc8b24f.js} +4 -5
- package/dist/esm/{index-bf2824a6.js → index-e0e67c23.js} +74 -65
- package/dist/esm/ketchup.js +3 -3
- package/dist/esm/kup-accordion.entry.js +6 -8
- package/dist/esm/{kup-autocomplete_29.entry.js → kup-autocomplete_28.entry.js} +2379 -2858
- package/dist/esm/kup-calendar.entry.js +10 -10
- package/dist/esm/kup-cell.entry.js +197 -0
- package/dist/esm/kup-dash-list.entry.js +15 -7
- package/dist/esm/kup-dash_2.entry.js +104 -62
- package/dist/esm/kup-drawer.entry.js +4 -6
- package/dist/esm/kup-field.entry.js +3 -5
- package/dist/esm/kup-iframe.entry.js +3 -4
- package/dist/esm/kup-lazy.entry.js +4 -6
- package/dist/esm/kup-magic-box.entry.js +21 -31
- package/dist/esm/kup-manager-7fc234da.js +5800 -0
- package/dist/esm/kup-nav-bar.entry.js +4 -6
- package/dist/esm/kup-probe.entry.js +3 -4
- package/dist/esm/kup-qlik.entry.js +2 -3
- package/dist/esm/kup-snackbar.entry.js +148 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{utils-13dd007a.js → utils-6c73709d.js} +15 -78
- package/dist/ketchup/assets/svg/ketchup.svg +74 -0
- package/dist/ketchup/assets/svg/smeup.svg +59 -0
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/p-15321eae.js +1 -0
- package/dist/ketchup/p-1baf1205.entry.js +1 -0
- package/dist/ketchup/p-1c6178e4.entry.js +1 -0
- package/dist/ketchup/p-44375e49.js +1 -0
- package/dist/ketchup/p-4dcdbd31.entry.js +45 -0
- package/dist/ketchup/p-5a5f2a53.js +1 -0
- package/dist/ketchup/{p-c7ee1fbc.js → p-61faaa38.js} +2 -2
- package/dist/ketchup/p-62816d0b.entry.js +1 -0
- package/dist/ketchup/p-65adc15b.entry.js +1 -0
- package/dist/ketchup/p-7e23ea7c.entry.js +1 -0
- package/dist/ketchup/p-a378ba56.entry.js +1 -0
- package/dist/ketchup/p-a878016f.entry.js +1 -0
- package/dist/ketchup/p-a96e6e32.entry.js +1 -0
- package/dist/ketchup/p-ad32821e.entry.js +1 -0
- package/dist/ketchup/p-af4a6191.entry.js +1 -0
- package/dist/ketchup/p-c18c7bb0.entry.js +27 -0
- package/dist/ketchup/p-ca0ca27f.entry.js +1 -0
- package/dist/ketchup/p-cb5f4994.js +1 -0
- package/dist/ketchup/p-ccda584a.entry.js +1 -0
- package/dist/ketchup/p-d4aa4922.js +1 -0
- package/dist/ketchup/p-dbb6998b.entry.js +1 -0
- package/dist/ketchup/p-de83f2f6.js +1 -0
- package/dist/ketchup/p-ec3a3db9.js +1 -0
- package/dist/types/components/kup-autocomplete/kup-autocomplete-declarations.d.ts +2 -6
- package/dist/types/components/kup-autocomplete/kup-autocomplete.d.ts +7 -13
- package/dist/types/components/kup-box/kup-box-declarations.d.ts +13 -4
- package/dist/types/components/kup-box/kup-box.d.ts +13 -6
- package/dist/types/components/kup-card/builtin/kup-card-builtin.d.ts +14 -0
- package/dist/types/components/kup-card/builtin/kup-card-calendar.d.ts +2 -0
- package/dist/types/components/kup-card/builtin/kup-card-clock.d.ts +2 -0
- package/dist/types/components/kup-card/dialog/kup-card-dialog.d.ts +6 -0
- package/dist/types/components/kup-card/free/kup-card-free.d.ts +8 -0
- package/dist/types/components/kup-card/kup-card-declarations.d.ts +74 -0
- package/dist/types/components/kup-card/kup-card.d.ts +12 -3
- package/dist/types/components/kup-card/standard/kup-card-standard.d.ts +6 -0
- package/dist/types/components/kup-cell/kup-cell-declarations.d.ts +10 -0
- package/dist/types/components/kup-cell/kup-cell.d.ts +67 -0
- package/dist/types/components/kup-color-picker/kup-color-picker.d.ts +1 -1
- package/dist/types/components/kup-combobox/kup-combobox-declarations.d.ts +3 -2
- package/dist/types/components/kup-combobox/kup-combobox.d.ts +5 -0
- package/dist/types/components/kup-dash-list/kup-dash-list.d.ts +4 -0
- package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +20 -36
- package/dist/types/components/kup-data-table/kup-data-table-helper.d.ts +1 -15
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +33 -83
- package/dist/types/components/kup-date-picker/kup-date-picker.d.ts +11 -23
- package/dist/types/components/kup-dropdown-button/kup-dropdown-button.d.ts +1 -4
- package/dist/types/components/kup-list/kup-list-declarations.d.ts +1 -1
- package/dist/types/components/kup-list/kup-list.d.ts +2 -3
- package/dist/types/components/kup-magic-box/kup-magic-box.d.ts +1 -0
- package/dist/types/components/kup-paginator/kup-paginator.d.ts +6 -0
- package/dist/types/components/kup-snackbar/kup-snackbar-declarations.d.ts +12 -0
- package/dist/types/components/kup-snackbar/kup-snackbar.d.ts +79 -0
- package/dist/types/components/kup-text-field/kup-text-field-declarations.d.ts +2 -1
- package/dist/types/components/kup-text-field/kup-text-field.d.ts +5 -0
- package/dist/types/components/kup-time-picker/kup-time-picker.d.ts +10 -20
- package/dist/types/components/kup-tooltip/kup-tooltip.d.ts +1 -0
- package/dist/types/components/kup-tree/kup-tree-declarations.d.ts +4 -4
- package/dist/types/components/kup-tree/kup-tree.d.ts +12 -23
- package/dist/types/components.d.ts +348 -176
- package/dist/types/f-components/f-cell/f-cell-declarations.d.ts +153 -0
- package/dist/types/f-components/f-cell/f-cell.d.ts +3 -0
- package/dist/types/f-components/f-text-field/f-text-field-declarations.d.ts +1 -0
- package/dist/types/f-components/f-text-field/f-text-field-mdc.d.ts +1 -1
- package/dist/types/utils/cell-utils.d.ts +0 -19
- package/dist/types/utils/kup-column-menu/kup-column-menu.d.ts +2 -0
- package/dist/types/utils/kup-dates/kup-dates.d.ts +9 -4
- package/dist/types/utils/kup-debug/kup-debug.d.ts +1 -1
- package/dist/types/utils/kup-dynamic-position/kup-dynamic-position-declarations.d.ts +1 -1
- package/dist/types/utils/kup-dynamic-position/kup-dynamic-position.d.ts +2 -2
- package/dist/types/utils/kup-interact/kup-interact-declarations.d.ts +127 -0
- package/dist/types/utils/kup-interact/kup-interact.d.ts +93 -0
- package/dist/types/utils/kup-language/kup-language-declarations.d.ts +2 -0
- package/dist/types/utils/kup-language/kup-language.d.ts +1 -1
- package/dist/types/utils/kup-manager/kup-manager-declarations.d.ts +28 -8
- package/dist/types/utils/kup-manager/kup-manager.d.ts +18 -5
- package/dist/types/utils/kup-objects/kup-objects.d.ts +1 -7
- package/dist/types/utils/kup-search/kup-search-declarations.d.ts +7 -0
- package/dist/types/utils/kup-search/kup-search.d.ts +20 -0
- package/dist/types/utils/kup-theme/kup-theme-declarations.d.ts +2 -0
- package/dist/types/utils/kup-theme/kup-theme.d.ts +2 -2
- package/dist/types/utils/utils.d.ts +0 -1
- package/package.json +4 -6
- package/dist/cjs/cell-utils-1f89a299.js +0 -1527
- package/dist/cjs/drag-and-drop-4787ff6f.js +0 -281
- package/dist/cjs/f-chip-2d58c8f7.js +0 -239
- package/dist/cjs/kup-grid.cjs.entry.js +0 -130
- package/dist/cjs/kup-manager-59ad8bdc.js +0 -4845
- package/dist/cjs/kup-objects-59ea949c.js +0 -717
- package/dist/collection/assets/images/drag-multiple.js +0 -1
- package/dist/collection/components/kup-editor/kup-editor.css +0 -5
- package/dist/collection/components/kup-editor/kup-editor.js +0 -59
- package/dist/collection/components/kup-layout/kup-layout.css +0 -53
- package/dist/collection/components/kup-layout/kup-layout.js +0 -156
- package/dist/collection/utils/drag-and-drop.js +0 -109
- package/dist/collection/utils/kup-dialog/kup-dialog-declarations.js +0 -36
- package/dist/collection/utils/kup-dialog/kup-dialog.js +0 -310
- package/dist/esm/cell-utils-cb612463.js +0 -1510
- package/dist/esm/drag-and-drop-321cb4ca.js +0 -265
- package/dist/esm/f-chip-125d5dd6.js +0 -236
- package/dist/esm/kup-grid.entry.js +0 -126
- package/dist/esm/kup-manager-e7d7b353.js +0 -4842
- package/dist/esm/kup-objects-d38d2fa2.js +0 -711
- package/dist/ketchup/p-00fe1e3e.js +0 -1
- package/dist/ketchup/p-0320e24e.entry.js +0 -1
- package/dist/ketchup/p-08c7a092.js +0 -1
- package/dist/ketchup/p-1165f4ea.entry.js +0 -1
- package/dist/ketchup/p-170d3cba.js +0 -1
- package/dist/ketchup/p-18cb3ba3.js +0 -1
- package/dist/ketchup/p-23541a97.entry.js +0 -45
- package/dist/ketchup/p-64ea7e37.entry.js +0 -1
- package/dist/ketchup/p-7896031c.entry.js +0 -1
- package/dist/ketchup/p-876da4c2.entry.js +0 -1
- package/dist/ketchup/p-8fb9d9b2.entry.js +0 -1
- package/dist/ketchup/p-940ab57a.entry.js +0 -1
- package/dist/ketchup/p-9c858a38.entry.js +0 -1
- package/dist/ketchup/p-a12a5690.entry.js +0 -1
- package/dist/ketchup/p-a5424073.js +0 -1
- package/dist/ketchup/p-b0724035.entry.js +0 -1
- package/dist/ketchup/p-b14e77f0.js +0 -1
- package/dist/ketchup/p-d24cfdea.entry.js +0 -1
- package/dist/ketchup/p-ee89966f.entry.js +0 -27
- package/dist/ketchup/p-fcd2fd8f.js +0 -1
- package/dist/ketchup/p-fce3b9d8.entry.js +0 -1
- package/dist/types/assets/images/drag-multiple.d.ts +0 -1
- package/dist/types/components/kup-editor/kup-editor.d.ts +0 -16
- package/dist/types/components/kup-layout/kup-layout.d.ts +0 -25
- package/dist/types/utils/drag-and-drop.d.ts +0 -53
- package/dist/types/utils/kup-dialog/kup-dialog-declarations.d.ts +0 -43
- package/dist/types/utils/kup-dialog/kup-dialog.d.ts +0 -50
|
@@ -151,9 +151,8 @@ export class KupSwitch {
|
|
|
151
151
|
onChange: () => this.onKupChange(),
|
|
152
152
|
onFocus: () => this.onKupFocus(),
|
|
153
153
|
};
|
|
154
|
-
const customStyle = this.kupManager.theme.setCustomStyle(this.rootElement);
|
|
155
154
|
return (h(Host, null,
|
|
156
|
-
|
|
155
|
+
h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)),
|
|
157
156
|
h("div", { id: componentWrapperId },
|
|
158
157
|
h(FSwitch, Object.assign({}, props)))));
|
|
159
158
|
}
|
|
@@ -181,8 +180,8 @@ export class KupSwitch {
|
|
|
181
180
|
"optional": false,
|
|
182
181
|
"docs": {
|
|
183
182
|
"tags": [{
|
|
184
|
-
"
|
|
185
|
-
"
|
|
183
|
+
"name": "default",
|
|
184
|
+
"text": "false"
|
|
186
185
|
}],
|
|
187
186
|
"text": "Defaults at false. When set to true, the component will be set to 'checked'."
|
|
188
187
|
},
|
|
@@ -202,11 +201,11 @@ export class KupSwitch {
|
|
|
202
201
|
"optional": false,
|
|
203
202
|
"docs": {
|
|
204
203
|
"tags": [{
|
|
205
|
-
"
|
|
206
|
-
"
|
|
204
|
+
"name": "default",
|
|
205
|
+
"text": "\"\""
|
|
207
206
|
}, {
|
|
208
|
-
"
|
|
209
|
-
"
|
|
207
|
+
"name": "see",
|
|
208
|
+
"text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
|
|
210
209
|
}],
|
|
211
210
|
"text": "Custom style of the component."
|
|
212
211
|
},
|
|
@@ -226,8 +225,8 @@ export class KupSwitch {
|
|
|
226
225
|
"optional": false,
|
|
227
226
|
"docs": {
|
|
228
227
|
"tags": [{
|
|
229
|
-
"
|
|
230
|
-
"
|
|
228
|
+
"name": "default",
|
|
229
|
+
"text": "false"
|
|
231
230
|
}],
|
|
232
231
|
"text": "Defaults at false. When set to true, the component is disabled."
|
|
233
232
|
},
|
|
@@ -247,8 +246,8 @@ export class KupSwitch {
|
|
|
247
246
|
"optional": false,
|
|
248
247
|
"docs": {
|
|
249
248
|
"tags": [{
|
|
250
|
-
"
|
|
251
|
-
"
|
|
249
|
+
"name": "default",
|
|
250
|
+
"text": "null"
|
|
252
251
|
}],
|
|
253
252
|
"text": "Defaults at null. When specified, its content will be shown as a label."
|
|
254
253
|
},
|
|
@@ -268,8 +267,8 @@ export class KupSwitch {
|
|
|
268
267
|
"optional": false,
|
|
269
268
|
"docs": {
|
|
270
269
|
"tags": [{
|
|
271
|
-
"
|
|
272
|
-
"
|
|
270
|
+
"name": "default",
|
|
271
|
+
"text": "false"
|
|
273
272
|
}],
|
|
274
273
|
"text": "Defaults at false. When set to true, the label will be on the left of the component."
|
|
275
274
|
},
|
|
@@ -348,8 +347,8 @@ export class KupSwitch {
|
|
|
348
347
|
"signature": "(descriptions?: boolean) => Promise<GenericObject>",
|
|
349
348
|
"parameters": [{
|
|
350
349
|
"tags": [{
|
|
351
|
-
"
|
|
352
|
-
"
|
|
350
|
+
"name": "param",
|
|
351
|
+
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
353
352
|
}],
|
|
354
353
|
"text": "- When provided and true, the result will be the list of props with their description."
|
|
355
354
|
}],
|
|
@@ -396,8 +395,8 @@ export class KupSwitch {
|
|
|
396
395
|
"signature": "(props: GenericObject) => Promise<void>",
|
|
397
396
|
"parameters": [{
|
|
398
397
|
"tags": [{
|
|
399
|
-
"
|
|
400
|
-
"
|
|
398
|
+
"name": "param",
|
|
399
|
+
"text": "props - Object containing props that will be set to the component."
|
|
401
400
|
}],
|
|
402
401
|
"text": "- Object containing props that will be set to the component."
|
|
403
402
|
}],
|
|
@@ -1,202 +1,3 @@
|
|
|
1
|
-
@keyframes mdc-ripple-fg-radius-in {
|
|
2
|
-
from {
|
|
3
|
-
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
4
|
-
transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);
|
|
5
|
-
}
|
|
6
|
-
to {
|
|
7
|
-
transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
@keyframes mdc-ripple-fg-opacity-in {
|
|
11
|
-
from {
|
|
12
|
-
animation-timing-function: linear;
|
|
13
|
-
opacity: 0;
|
|
14
|
-
}
|
|
15
|
-
to {
|
|
16
|
-
opacity: var(--mdc-ripple-fg-opacity, 0);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
@keyframes mdc-ripple-fg-opacity-out {
|
|
20
|
-
from {
|
|
21
|
-
animation-timing-function: linear;
|
|
22
|
-
opacity: var(--mdc-ripple-fg-opacity, 0);
|
|
23
|
-
}
|
|
24
|
-
to {
|
|
25
|
-
opacity: 0;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
.mdc-ripple-surface {
|
|
29
|
-
--mdc-ripple-fg-size: 0;
|
|
30
|
-
--mdc-ripple-left: 0;
|
|
31
|
-
--mdc-ripple-top: 0;
|
|
32
|
-
--mdc-ripple-fg-scale: 1;
|
|
33
|
-
--mdc-ripple-fg-translate-end: 0;
|
|
34
|
-
--mdc-ripple-fg-translate-start: 0;
|
|
35
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
36
|
-
will-change: transform, opacity;
|
|
37
|
-
position: relative;
|
|
38
|
-
outline: none;
|
|
39
|
-
overflow: hidden;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.mdc-ripple-surface::before, .mdc-ripple-surface::after {
|
|
43
|
-
position: absolute;
|
|
44
|
-
border-radius: 50%;
|
|
45
|
-
opacity: 0;
|
|
46
|
-
pointer-events: none;
|
|
47
|
-
content: "";
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.mdc-ripple-surface::before {
|
|
51
|
-
transition: opacity 15ms linear, background-color 15ms linear;
|
|
52
|
-
z-index: 1;
|
|
53
|
-
/* @alternate */
|
|
54
|
-
z-index: var(--mdc-ripple-z-index, 1);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.mdc-ripple-surface::after {
|
|
58
|
-
z-index: 0;
|
|
59
|
-
/* @alternate */
|
|
60
|
-
z-index: var(--mdc-ripple-z-index, 0);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.mdc-ripple-surface.mdc-ripple-upgraded::before {
|
|
64
|
-
transform: scale(var(--mdc-ripple-fg-scale, 1));
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.mdc-ripple-surface.mdc-ripple-upgraded::after {
|
|
68
|
-
top: 0;
|
|
69
|
-
/* @noflip */
|
|
70
|
-
left: 0;
|
|
71
|
-
transform: scale(0);
|
|
72
|
-
transform-origin: center center;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after {
|
|
76
|
-
top: var(--mdc-ripple-top, 0);
|
|
77
|
-
/* @noflip */
|
|
78
|
-
left: var(--mdc-ripple-left, 0);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after {
|
|
82
|
-
animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after {
|
|
86
|
-
animation: mdc-ripple-fg-opacity-out 150ms;
|
|
87
|
-
transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.mdc-ripple-surface::before, .mdc-ripple-surface::after {
|
|
91
|
-
background-color: #000;
|
|
92
|
-
/* @alternate */
|
|
93
|
-
background-color: var(--mdc-ripple-color, #000);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.mdc-ripple-surface:hover::before, .mdc-ripple-surface.mdc-ripple-surface--hover::before {
|
|
97
|
-
opacity: 0.04;
|
|
98
|
-
/* @alternate */
|
|
99
|
-
opacity: var(--mdc-ripple-hover-opacity, 0.04);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before, .mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before {
|
|
103
|
-
transition-duration: 75ms;
|
|
104
|
-
opacity: 0.12;
|
|
105
|
-
/* @alternate */
|
|
106
|
-
opacity: var(--mdc-ripple-focus-opacity, 0.12);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after {
|
|
110
|
-
transition: opacity 150ms linear;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after {
|
|
114
|
-
transition-duration: 75ms;
|
|
115
|
-
opacity: 0.12;
|
|
116
|
-
/* @alternate */
|
|
117
|
-
opacity: var(--mdc-ripple-press-opacity, 0.12);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.mdc-ripple-surface.mdc-ripple-upgraded {
|
|
121
|
-
--mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, 0.12);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.mdc-ripple-surface::before, .mdc-ripple-surface::after {
|
|
125
|
-
top: calc(50% - 100%);
|
|
126
|
-
/* @noflip */
|
|
127
|
-
left: calc(50% - 100%);
|
|
128
|
-
width: 200%;
|
|
129
|
-
height: 200%;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.mdc-ripple-surface.mdc-ripple-upgraded::after {
|
|
133
|
-
width: var(--mdc-ripple-fg-size, 100%);
|
|
134
|
-
height: var(--mdc-ripple-fg-size, 100%);
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.mdc-ripple-surface[data-mdc-ripple-is-unbounded],
|
|
138
|
-
.mdc-ripple-upgraded--unbounded {
|
|
139
|
-
overflow: visible;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before, .mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after,
|
|
143
|
-
.mdc-ripple-upgraded--unbounded::before,
|
|
144
|
-
.mdc-ripple-upgraded--unbounded::after {
|
|
145
|
-
top: calc(50% - 50%);
|
|
146
|
-
/* @noflip */
|
|
147
|
-
left: calc(50% - 50%);
|
|
148
|
-
width: 100%;
|
|
149
|
-
height: 100%;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before, .mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,
|
|
153
|
-
.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before,
|
|
154
|
-
.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after {
|
|
155
|
-
top: var(--mdc-ripple-top, calc(50% - 50%));
|
|
156
|
-
/* @noflip */
|
|
157
|
-
left: var(--mdc-ripple-left, calc(50% - 50%));
|
|
158
|
-
width: var(--mdc-ripple-fg-size, 100%);
|
|
159
|
-
height: var(--mdc-ripple-fg-size, 100%);
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,
|
|
163
|
-
.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after {
|
|
164
|
-
width: var(--mdc-ripple-fg-size, 100%);
|
|
165
|
-
height: var(--mdc-ripple-fg-size, 100%);
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.f-image--wrapper {
|
|
169
|
-
display: block;
|
|
170
|
-
margin: auto;
|
|
171
|
-
position: relative;
|
|
172
|
-
height: var(--kup_image_height, 100%);
|
|
173
|
-
width: var(--kup_image_width, 100%);
|
|
174
|
-
}
|
|
175
|
-
.f-image--wrapper.kup-fit img {
|
|
176
|
-
max-width: max-content;
|
|
177
|
-
object-fit: contain;
|
|
178
|
-
}
|
|
179
|
-
.f-image--wrapper img {
|
|
180
|
-
display: block;
|
|
181
|
-
margin: auto;
|
|
182
|
-
height: var(--kup_image_height, 100%);
|
|
183
|
-
width: var(--kup_image_width, 100%);
|
|
184
|
-
}
|
|
185
|
-
.f-image--wrapper .f-image__css {
|
|
186
|
-
overflow: hidden;
|
|
187
|
-
height: var(--kup_image_height, 100%);
|
|
188
|
-
width: var(--kup_image_width, 100%);
|
|
189
|
-
}
|
|
190
|
-
.f-image--wrapper .f-image__icon {
|
|
191
|
-
margin: auto;
|
|
192
|
-
height: var(--kup_image_height, 100%);
|
|
193
|
-
width: var(--kup_image_width, 100%);
|
|
194
|
-
}
|
|
195
|
-
.f-image--wrapper .css-step.bottom-aligned {
|
|
196
|
-
bottom: 0;
|
|
197
|
-
position: absolute;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
1
|
/**
|
|
201
2
|
* @prop --kup-tabbar-font-family: Sets font family of the component.
|
|
202
3
|
* @prop --kup-tabbar-font-size: Sets font size of the component.
|
|
@@ -180,9 +180,8 @@ export class KupTabBar {
|
|
|
180
180
|
h("span", { class: "tab-indicator__content tab-indicator__content--underline" }))));
|
|
181
181
|
tabBar.push(tabEl);
|
|
182
182
|
}
|
|
183
|
-
const customStyle = this.kupManager.theme.setCustomStyle(this.rootElement);
|
|
184
183
|
return (h(Host, null,
|
|
185
|
-
|
|
184
|
+
h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)),
|
|
186
185
|
h("div", { id: componentWrapperId },
|
|
187
186
|
h("div", { class: "tab-bar", role: "tablist" },
|
|
188
187
|
h("div", { class: "tab-scroller" },
|
|
@@ -215,11 +214,11 @@ export class KupTabBar {
|
|
|
215
214
|
"optional": false,
|
|
216
215
|
"docs": {
|
|
217
216
|
"tags": [{
|
|
218
|
-
"
|
|
219
|
-
"
|
|
217
|
+
"name": "default",
|
|
218
|
+
"text": "\"\""
|
|
220
219
|
}, {
|
|
221
|
-
"
|
|
222
|
-
"
|
|
220
|
+
"name": "see",
|
|
221
|
+
"text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
|
|
223
222
|
}],
|
|
224
223
|
"text": "Custom style of the component."
|
|
225
224
|
},
|
|
@@ -244,8 +243,8 @@ export class KupTabBar {
|
|
|
244
243
|
"optional": false,
|
|
245
244
|
"docs": {
|
|
246
245
|
"tags": [{
|
|
247
|
-
"
|
|
248
|
-
"
|
|
246
|
+
"name": "default",
|
|
247
|
+
"text": "null"
|
|
249
248
|
}],
|
|
250
249
|
"text": "List of elements."
|
|
251
250
|
},
|
|
@@ -263,8 +262,8 @@ export class KupTabBar {
|
|
|
263
262
|
"optional": false,
|
|
264
263
|
"docs": {
|
|
265
264
|
"tags": [{
|
|
266
|
-
"
|
|
267
|
-
"
|
|
265
|
+
"name": "default",
|
|
266
|
+
"text": "true"
|
|
268
267
|
}],
|
|
269
268
|
"text": "When enabled displays Material's ripple effect on item headers."
|
|
270
269
|
},
|
|
@@ -343,8 +342,8 @@ export class KupTabBar {
|
|
|
343
342
|
"signature": "(descriptions?: boolean) => Promise<GenericObject>",
|
|
344
343
|
"parameters": [{
|
|
345
344
|
"tags": [{
|
|
346
|
-
"
|
|
347
|
-
"
|
|
345
|
+
"name": "param",
|
|
346
|
+
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
348
347
|
}],
|
|
349
348
|
"text": "- When provided and true, the result will be the list of props with their description."
|
|
350
349
|
}],
|
|
@@ -391,8 +390,8 @@ export class KupTabBar {
|
|
|
391
390
|
"signature": "(props: GenericObject) => Promise<void>",
|
|
392
391
|
"parameters": [{
|
|
393
392
|
"tags": [{
|
|
394
|
-
"
|
|
395
|
-
"
|
|
393
|
+
"name": "param",
|
|
394
|
+
"text": "props - Object containing props that will be set to the component."
|
|
396
395
|
}],
|
|
397
396
|
"text": "- Object containing props that will be set to the component."
|
|
398
397
|
}],
|
|
@@ -9,6 +9,7 @@ export var KupTextFieldProps;
|
|
|
9
9
|
KupTextFieldProps["emitSubmitEventOnEnter"] = "When the text field is part of the autocomplete component and the list is opened, enter key selects the item and doesn't submit.";
|
|
10
10
|
KupTextFieldProps["fullWidth"] = "When set to true, the component will be rendered at full width.";
|
|
11
11
|
KupTextFieldProps["helper"] = "When set, its content will be shown as a help text below the field.";
|
|
12
|
+
KupTextFieldProps["helperEnabled"] = "When true, the helper will be displayed.";
|
|
12
13
|
KupTextFieldProps["helperWhenFocused"] = "When set, the helper will be shown only when the field is focused.";
|
|
13
14
|
KupTextFieldProps["icon"] = "When set, the text-field will show this icon.";
|
|
14
15
|
KupTextFieldProps["initialValue"] = "Sets the initial value of the component";
|