@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
|
@@ -1,217 +1,3 @@
|
|
|
1
|
-
.f-checkbox--wrapper {
|
|
2
|
-
--kup_checkbox_font_family: var(
|
|
3
|
-
--kup-checkbox-font-family,
|
|
4
|
-
var(--kup-font-family)
|
|
5
|
-
);
|
|
6
|
-
--kup_checkbox_font_size: var(--kup-checkbox-font-size, var(--kup-font-size));
|
|
7
|
-
--kup_checkbox_font_weight: var(--kup-checkbox-font-weight, 400);
|
|
8
|
-
--kup_checkbox_disabled_checkmark_color: var(
|
|
9
|
-
--kup-checkbox-disabled-checkmark-color,
|
|
10
|
-
var(--kup-background-color)
|
|
11
|
-
);
|
|
12
|
-
--kup_checkbox_padding: var(--kup-checkbox-padding, 11px);
|
|
13
|
-
--kup_checkbox_primary_color: var(
|
|
14
|
-
--kup-checkbox-primary-color,
|
|
15
|
-
var(--kup-primary-color)
|
|
16
|
-
);
|
|
17
|
-
--kup_checkbox_primary_color_rgb: var(
|
|
18
|
-
--kup-checkbox-primary-color-rgb,
|
|
19
|
-
var(--kup-primary-color-rgb)
|
|
20
|
-
);
|
|
21
|
-
--kup_checkbox_text_color: var(
|
|
22
|
-
--kup-checkbox-text-color,
|
|
23
|
-
var(--kup-text-color)
|
|
24
|
-
);
|
|
25
|
-
--kup_checkbox_text_color_rgb: var(
|
|
26
|
-
--kup-checkbox-text-color-rgb,
|
|
27
|
-
var(--kup-text-color-rgb)
|
|
28
|
-
);
|
|
29
|
-
--kup_checkbox_text_on_primary_color: var(
|
|
30
|
-
--kup-checkbox-text-on-primary-color,
|
|
31
|
-
var(--kup-text-on-primary-color)
|
|
32
|
-
);
|
|
33
|
-
--kup_checkbox_text_on_primary_color_rgb: var(
|
|
34
|
-
--kup-checkbox-text-on-primary-color-rgb,
|
|
35
|
-
var(--kup-text-on-primary-color-rgb)
|
|
36
|
-
);
|
|
37
|
-
font-family: var(--kup_checkbox_font_family);
|
|
38
|
-
font-size: var(--kup_checkbox_font_size);
|
|
39
|
-
}
|
|
40
|
-
.f-checkbox--wrapper .form-field {
|
|
41
|
-
color: var(--kup_checkbox_text_color);
|
|
42
|
-
line-height: 1.25em;
|
|
43
|
-
-moz-osx-font-smoothing: grayscale;
|
|
44
|
-
-webkit-font-smoothing: antialiased;
|
|
45
|
-
letter-spacing: 0.0178571429em;
|
|
46
|
-
text-decoration: inherit;
|
|
47
|
-
align-items: center;
|
|
48
|
-
vertical-align: middle;
|
|
49
|
-
display: inline-flex;
|
|
50
|
-
}
|
|
51
|
-
.f-checkbox--wrapper .form-field label {
|
|
52
|
-
font-size: 0.875em;
|
|
53
|
-
margin-left: 0px;
|
|
54
|
-
margin-right: auto;
|
|
55
|
-
order: 0;
|
|
56
|
-
}
|
|
57
|
-
.f-checkbox--wrapper .form-field.form-field--align-end label {
|
|
58
|
-
margin-left: auto;
|
|
59
|
-
margin-right: 0px;
|
|
60
|
-
order: -1;
|
|
61
|
-
}
|
|
62
|
-
.f-checkbox--wrapper .checkbox {
|
|
63
|
-
border-radius: 50%;
|
|
64
|
-
display: inline-block;
|
|
65
|
-
position: relative;
|
|
66
|
-
flex: 0 0 18px;
|
|
67
|
-
box-sizing: content-box;
|
|
68
|
-
width: 18px;
|
|
69
|
-
height: 18px;
|
|
70
|
-
line-height: 0;
|
|
71
|
-
white-space: nowrap;
|
|
72
|
-
cursor: pointer;
|
|
73
|
-
vertical-align: bottom;
|
|
74
|
-
will-change: transform, opacity;
|
|
75
|
-
z-index: 0;
|
|
76
|
-
padding: var(--kup_checkbox_padding);
|
|
77
|
-
transition: background-color 125ms linear;
|
|
78
|
-
}
|
|
79
|
-
.f-checkbox--wrapper .checkbox:hover {
|
|
80
|
-
background: rgba(var(--kup_checkbox_primary_color_rgb), 0.125);
|
|
81
|
-
}
|
|
82
|
-
.f-checkbox--wrapper .checkbox .checkbox__native-control {
|
|
83
|
-
position: absolute;
|
|
84
|
-
margin: 0;
|
|
85
|
-
padding: 0;
|
|
86
|
-
opacity: 0;
|
|
87
|
-
cursor: inherit;
|
|
88
|
-
top: 0;
|
|
89
|
-
left: 0;
|
|
90
|
-
right: 0;
|
|
91
|
-
height: 40px;
|
|
92
|
-
width: 40px;
|
|
93
|
-
}
|
|
94
|
-
.f-checkbox--wrapper .checkbox .checkbox__native-control:checked ~ .checkbox__background .checkbox__checkmark {
|
|
95
|
-
transition: opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1), transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);
|
|
96
|
-
opacity: 1;
|
|
97
|
-
}
|
|
98
|
-
.f-checkbox--wrapper .checkbox .checkbox__checkmark-path {
|
|
99
|
-
stroke: var(--kup_checkbox_text_on_primary_color);
|
|
100
|
-
stroke-dasharray: 29.7833385;
|
|
101
|
-
stroke-dashoffset: 29.7833385;
|
|
102
|
-
stroke-width: 3.12px;
|
|
103
|
-
transition: stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);
|
|
104
|
-
}
|
|
105
|
-
.f-checkbox--wrapper .checkbox .checkbox__background {
|
|
106
|
-
position: absolute;
|
|
107
|
-
align-items: center;
|
|
108
|
-
justify-content: center;
|
|
109
|
-
box-sizing: border-box;
|
|
110
|
-
width: 18px;
|
|
111
|
-
height: 18px;
|
|
112
|
-
border: 2px solid rgba(var(--kup_checkbox_text_color_rgb), 0.5);
|
|
113
|
-
border-radius: 2px;
|
|
114
|
-
background-color: transparent;
|
|
115
|
-
pointer-events: none;
|
|
116
|
-
will-change: background-color, border-color;
|
|
117
|
-
transition: background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1), border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1);
|
|
118
|
-
}
|
|
119
|
-
.f-checkbox--wrapper .checkbox .checkbox__background .checkbox__checkmark {
|
|
120
|
-
color: var(--kup_checkbox_text_on_primary_color);
|
|
121
|
-
position: absolute;
|
|
122
|
-
top: 0;
|
|
123
|
-
right: 0;
|
|
124
|
-
bottom: 0;
|
|
125
|
-
left: 0;
|
|
126
|
-
width: 100%;
|
|
127
|
-
opacity: 0;
|
|
128
|
-
transition: opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);
|
|
129
|
-
}
|
|
130
|
-
.f-checkbox--wrapper .checkbox .checkbox__background .checkbox__mixedmark {
|
|
131
|
-
position: absolute;
|
|
132
|
-
top: 6px;
|
|
133
|
-
left: -1px;
|
|
134
|
-
color: var(--kup_checkbox_text_on_primary_color);
|
|
135
|
-
width: 100%;
|
|
136
|
-
height: 0;
|
|
137
|
-
border-width: 1px;
|
|
138
|
-
border-style: solid;
|
|
139
|
-
opacity: 0;
|
|
140
|
-
transition: opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1), transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1);
|
|
141
|
-
}
|
|
142
|
-
.f-checkbox--wrapper .checkbox.checkbox--checked .checkbox__background {
|
|
143
|
-
background-color: var(--kup_checkbox_primary_color);
|
|
144
|
-
border-color: var(--kup_checkbox_primary_color);
|
|
145
|
-
opacity: 1;
|
|
146
|
-
}
|
|
147
|
-
.f-checkbox--wrapper .checkbox.checkbox--checked .checkbox__checkmark-path {
|
|
148
|
-
stroke-dashoffset: 0;
|
|
149
|
-
}
|
|
150
|
-
.f-checkbox--wrapper .checkbox.checkbox--indeterminate .checkbox__background {
|
|
151
|
-
background-color: var(--kup_checkbox_primary_color);
|
|
152
|
-
border-color: var(--kup_checkbox_primary_color);
|
|
153
|
-
}
|
|
154
|
-
.f-checkbox--wrapper .checkbox.checkbox--indeterminate .checkbox__mixedmark {
|
|
155
|
-
border-color: var(--kup_checkbox_text_on_primary_color);
|
|
156
|
-
transform: scaleX(1) rotate(0deg);
|
|
157
|
-
opacity: 1;
|
|
158
|
-
}
|
|
159
|
-
.f-checkbox--wrapper .checkbox.checkbox--indeterminate .checkbox__checkmark-path {
|
|
160
|
-
stroke-dashoffset: 0;
|
|
161
|
-
}
|
|
162
|
-
.f-checkbox--wrapper .checkbox.checkbox--disabled {
|
|
163
|
-
pointer-events: none;
|
|
164
|
-
}
|
|
165
|
-
.f-checkbox--wrapper .checkbox.checkbox--disabled + label {
|
|
166
|
-
pointer-events: none;
|
|
167
|
-
}
|
|
168
|
-
.f-checkbox--wrapper .checkbox.checkbox--disabled .checkbox__background {
|
|
169
|
-
background-color: transparent;
|
|
170
|
-
border-color: rgba(var(--kup_checkbox_text_color_rgb), 0.325);
|
|
171
|
-
}
|
|
172
|
-
.f-checkbox--wrapper .checkbox.checkbox--disabled.checkbox--checked .checkbox__background {
|
|
173
|
-
background-color: rgba(var(--kup_checkbox_text_color_rgb), 0.325);
|
|
174
|
-
border-color: transparent;
|
|
175
|
-
}
|
|
176
|
-
.f-checkbox--wrapper .checkbox.checkbox--disabled.checkbox--checked .checkbox__checkmark {
|
|
177
|
-
color: var(--kup_checkbox_disabled_checkmark_color);
|
|
178
|
-
}
|
|
179
|
-
.f-checkbox--wrapper .checkbox.checkbox--disabled.checkbox--checked .checkbox__mixedmark {
|
|
180
|
-
color: var(--kup_checkbox_disabled_checkmark_color);
|
|
181
|
-
}
|
|
182
|
-
.f-checkbox--wrapper.kup-danger {
|
|
183
|
-
--kup-checkbox-primary-color: var(--kup-danger-color);
|
|
184
|
-
--kup-checkbox-primary-color-rgb: var(--kup-danger-color-rgb);
|
|
185
|
-
--kup-checkbox-text-on-primary-color: white;
|
|
186
|
-
--kup-checkbox-text-on-primary-color-rgb: 255, 255, 255;
|
|
187
|
-
}
|
|
188
|
-
.f-checkbox--wrapper.kup-info {
|
|
189
|
-
--kup-checkbox-primary-color: var(--kup-info-color);
|
|
190
|
-
--kup-checkbox-primary-color-rgb: var(--kup-info-color-rgb);
|
|
191
|
-
--kup-checkbox-text-on-primary-color: white;
|
|
192
|
-
--kup-checkbox-text-on-primary-color-rgb: 255, 255, 255;
|
|
193
|
-
}
|
|
194
|
-
.f-checkbox--wrapper.kup-secondary {
|
|
195
|
-
--kup-checkbox-primary-color: var(--kup-secondary-color);
|
|
196
|
-
--kup-checkbox-primary-color-rgb: var(--kup-secondary-color-rgb);
|
|
197
|
-
--kup-checkbox-text-on-primary-color: var(--kup-text-on-secondary-color);
|
|
198
|
-
--kup-checkbox-text-on-primary-color-rgb: var(
|
|
199
|
-
--kup-text-on-secondary-color-rgb
|
|
200
|
-
);
|
|
201
|
-
}
|
|
202
|
-
.f-checkbox--wrapper.kup-success {
|
|
203
|
-
--kup-checkbox-primary-color: var(--kup-success-color);
|
|
204
|
-
--kup-checkbox-primary-color-rgb: var(--kup-success-color-rgb);
|
|
205
|
-
--kup-checkbox-text-on-primary-color: white;
|
|
206
|
-
--kup-checkbox-text-on-primary-color-rgb: 255, 255, 255;
|
|
207
|
-
}
|
|
208
|
-
.f-checkbox--wrapper.kup-warning {
|
|
209
|
-
--kup-checkbox-primary-color: var(--kup-warning-color);
|
|
210
|
-
--kup-checkbox-primary-color-rgb: var(--kup-warning-color-rgb);
|
|
211
|
-
--kup-checkbox-text-on-primary-color: white;
|
|
212
|
-
--kup-checkbox-text-on-primary-color-rgb: 255, 255, 255;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
1
|
/**
|
|
216
2
|
* NOTE: These variables are used in the related f-component.
|
|
217
3
|
*
|
|
@@ -165,9 +165,8 @@ export class KupCheckbox {
|
|
|
165
165
|
onChange: () => this.onKupChange(),
|
|
166
166
|
onFocus: () => this.onKupFocus(),
|
|
167
167
|
};
|
|
168
|
-
const customStyle = this.kupManager.theme.setCustomStyle(this.rootElement);
|
|
169
168
|
return (h(Host, null,
|
|
170
|
-
|
|
169
|
+
h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)),
|
|
171
170
|
h("div", { id: componentWrapperId },
|
|
172
171
|
h(FCheckbox, Object.assign({}, props)))));
|
|
173
172
|
}
|
|
@@ -195,8 +194,8 @@ export class KupCheckbox {
|
|
|
195
194
|
"optional": false,
|
|
196
195
|
"docs": {
|
|
197
196
|
"tags": [{
|
|
198
|
-
"
|
|
199
|
-
"
|
|
197
|
+
"name": "default",
|
|
198
|
+
"text": "false"
|
|
200
199
|
}],
|
|
201
200
|
"text": "Defaults at false. When set to true, the component will be set to 'checked'."
|
|
202
201
|
},
|
|
@@ -216,11 +215,11 @@ export class KupCheckbox {
|
|
|
216
215
|
"optional": false,
|
|
217
216
|
"docs": {
|
|
218
217
|
"tags": [{
|
|
219
|
-
"
|
|
220
|
-
"
|
|
218
|
+
"name": "default",
|
|
219
|
+
"text": "\"\""
|
|
221
220
|
}, {
|
|
222
|
-
"
|
|
223
|
-
"
|
|
221
|
+
"name": "see",
|
|
222
|
+
"text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
|
|
224
223
|
}],
|
|
225
224
|
"text": "Custom style of the component."
|
|
226
225
|
},
|
|
@@ -240,8 +239,8 @@ export class KupCheckbox {
|
|
|
240
239
|
"optional": false,
|
|
241
240
|
"docs": {
|
|
242
241
|
"tags": [{
|
|
243
|
-
"
|
|
244
|
-
"
|
|
242
|
+
"name": "default",
|
|
243
|
+
"text": "false"
|
|
245
244
|
}],
|
|
246
245
|
"text": "When set to true, the component is disabled."
|
|
247
246
|
},
|
|
@@ -261,8 +260,8 @@ export class KupCheckbox {
|
|
|
261
260
|
"optional": false,
|
|
262
261
|
"docs": {
|
|
263
262
|
"tags": [{
|
|
264
|
-
"
|
|
265
|
-
"
|
|
263
|
+
"name": "default",
|
|
264
|
+
"text": "false"
|
|
266
265
|
}],
|
|
267
266
|
"text": "When set to true, the component will be set to 'indeterminate'."
|
|
268
267
|
},
|
|
@@ -282,8 +281,8 @@ export class KupCheckbox {
|
|
|
282
281
|
"optional": false,
|
|
283
282
|
"docs": {
|
|
284
283
|
"tags": [{
|
|
285
|
-
"
|
|
286
|
-
"
|
|
284
|
+
"name": "default",
|
|
285
|
+
"text": "null"
|
|
287
286
|
}],
|
|
288
287
|
"text": "When specified, its content will be shown as a label."
|
|
289
288
|
},
|
|
@@ -303,8 +302,8 @@ export class KupCheckbox {
|
|
|
303
302
|
"optional": false,
|
|
304
303
|
"docs": {
|
|
305
304
|
"tags": [{
|
|
306
|
-
"
|
|
307
|
-
"
|
|
305
|
+
"name": "default",
|
|
306
|
+
"text": "false"
|
|
308
307
|
}],
|
|
309
308
|
"text": "When set to true, the label will be on the left of the component."
|
|
310
309
|
},
|
|
@@ -383,8 +382,8 @@ export class KupCheckbox {
|
|
|
383
382
|
"signature": "(descriptions?: boolean) => Promise<GenericObject>",
|
|
384
383
|
"parameters": [{
|
|
385
384
|
"tags": [{
|
|
386
|
-
"
|
|
387
|
-
"
|
|
385
|
+
"name": "param",
|
|
386
|
+
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
388
387
|
}],
|
|
389
388
|
"text": "- When provided and true, the result will be the list of props with their description."
|
|
390
389
|
}],
|
|
@@ -431,8 +430,8 @@ export class KupCheckbox {
|
|
|
431
430
|
"signature": "(props: GenericObject) => Promise<void>",
|
|
432
431
|
"parameters": [{
|
|
433
432
|
"tags": [{
|
|
434
|
-
"
|
|
435
|
-
"
|
|
433
|
+
"name": "param",
|
|
434
|
+
"text": "props - Object containing props that will be set to the component."
|
|
436
435
|
}],
|
|
437
436
|
"text": "- Object containing props that will be set to the component."
|
|
438
437
|
}],
|
|
@@ -1,220 +1,3 @@
|
|
|
1
|
-
.f-image--wrapper {
|
|
2
|
-
display: block;
|
|
3
|
-
margin: auto;
|
|
4
|
-
position: relative;
|
|
5
|
-
height: var(--kup_image_height, 100%);
|
|
6
|
-
width: var(--kup_image_width, 100%);
|
|
7
|
-
}
|
|
8
|
-
.f-image--wrapper.kup-fit img {
|
|
9
|
-
max-width: max-content;
|
|
10
|
-
object-fit: contain;
|
|
11
|
-
}
|
|
12
|
-
.f-image--wrapper img {
|
|
13
|
-
display: block;
|
|
14
|
-
margin: auto;
|
|
15
|
-
height: var(--kup_image_height, 100%);
|
|
16
|
-
width: var(--kup_image_width, 100%);
|
|
17
|
-
}
|
|
18
|
-
.f-image--wrapper .f-image__css {
|
|
19
|
-
overflow: hidden;
|
|
20
|
-
height: var(--kup_image_height, 100%);
|
|
21
|
-
width: var(--kup_image_width, 100%);
|
|
22
|
-
}
|
|
23
|
-
.f-image--wrapper .f-image__icon {
|
|
24
|
-
margin: auto;
|
|
25
|
-
height: var(--kup_image_height, 100%);
|
|
26
|
-
width: var(--kup_image_width, 100%);
|
|
27
|
-
}
|
|
28
|
-
.f-image--wrapper .css-step.bottom-aligned {
|
|
29
|
-
bottom: 0;
|
|
30
|
-
position: absolute;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.f-chip--wrapper {
|
|
34
|
-
--kup_chip_background_color: var(
|
|
35
|
-
--kup-chip-background-color,
|
|
36
|
-
var(--kup-background-color)
|
|
37
|
-
);
|
|
38
|
-
--kup_chip_border_radius: var(--kup-chip-border-radius, 16px);
|
|
39
|
-
--kup_chip_font_family: var(--kup-chip-font-family, var(--kup-font-family));
|
|
40
|
-
--kup_chip_font_size: var(--kup-chip-font-size, var(--kup-font-size));
|
|
41
|
-
--kup_chip_font_weight: var(--kup-chip-font-weight, var(--kup-font-weight));
|
|
42
|
-
--kup_chip_height: var(--kup-chip-height, 32px);
|
|
43
|
-
--kup_chip_margin: var(--kup-chip-margin, 0 4px);
|
|
44
|
-
--kup_chip_padding: var(--kup-chip-padding, 0 12px);
|
|
45
|
-
--kup_chip_primary_color: var(
|
|
46
|
-
--kup-chip-primary-color,
|
|
47
|
-
var(--kup-primary-color)
|
|
48
|
-
);
|
|
49
|
-
--kup_chip_primary_color_rgb: var(
|
|
50
|
-
--kup-chip-primary-color-rgb,
|
|
51
|
-
var(--kup-primary-color-rgb)
|
|
52
|
-
);
|
|
53
|
-
--kup_chip_text_color: var(--kup-chip-text-color, var(--kup-text-color));
|
|
54
|
-
--kup_chip_text_color_rgb: var(
|
|
55
|
-
--kup-chip-text-color-rgb,
|
|
56
|
-
var(--kup-text-color-rgb)
|
|
57
|
-
);
|
|
58
|
-
font-family: var(--kup_chip_font_family);
|
|
59
|
-
font-size: var(--kup_chip_font_size);
|
|
60
|
-
}
|
|
61
|
-
.f-chip--wrapper .chip-set {
|
|
62
|
-
padding: 4px;
|
|
63
|
-
display: flex;
|
|
64
|
-
flex-wrap: wrap;
|
|
65
|
-
box-sizing: border-box;
|
|
66
|
-
}
|
|
67
|
-
.f-chip--wrapper .chip-set .chip {
|
|
68
|
-
align-items: center;
|
|
69
|
-
display: inline-flex;
|
|
70
|
-
position: relative;
|
|
71
|
-
background-color: var(--kup_chip_background_color);
|
|
72
|
-
background-image: linear-gradient(to right, rgba(var(--kup_chip_text_color_rgb), 0.1) 0%, rgba(var(--kup_chip_text_color_rgb), 0.1) 0.1%, rgba(var(--kup_chip_text_color_rgb), 0.1));
|
|
73
|
-
color: var(--kup_chip_text_color);
|
|
74
|
-
border-radius: var(--kup_chip_border_radius);
|
|
75
|
-
font-size: 0.875em;
|
|
76
|
-
font-weight: var(--kup_chip_font_weight);
|
|
77
|
-
letter-spacing: 0.0178571429em;
|
|
78
|
-
text-decoration: inherit;
|
|
79
|
-
text-transform: inherit;
|
|
80
|
-
height: var(--kup_chip_height);
|
|
81
|
-
box-sizing: border-box;
|
|
82
|
-
padding: var(--kup_chip_padding);
|
|
83
|
-
border-width: 0;
|
|
84
|
-
outline: none;
|
|
85
|
-
cursor: pointer;
|
|
86
|
-
will-change: transform, opacity;
|
|
87
|
-
margin: var(--kup_chip_margin);
|
|
88
|
-
}
|
|
89
|
-
.f-chip--wrapper .chip-set .chip .chip__icon--leading {
|
|
90
|
-
color: var(--kup_chip_text_color);
|
|
91
|
-
}
|
|
92
|
-
.f-chip--wrapper .chip-set .chip .chip__icon--leading:not(.chip__icon--leading-hidden) {
|
|
93
|
-
margin-left: -4px;
|
|
94
|
-
margin-right: 6px;
|
|
95
|
-
}
|
|
96
|
-
.f-chip--wrapper .chip-set .chip .chip__icon--leading .chip__icon--trailing {
|
|
97
|
-
position: relative;
|
|
98
|
-
}
|
|
99
|
-
.f-chip--wrapper .chip-set .chip .chip__icon {
|
|
100
|
-
border-radius: 50%;
|
|
101
|
-
outline: none;
|
|
102
|
-
vertical-align: middle;
|
|
103
|
-
}
|
|
104
|
-
.f-chip--wrapper .chip-set .chip .chip__icon .chip_icon--leading:not(.chip__icon--leading-hidden) {
|
|
105
|
-
width: 20px;
|
|
106
|
-
height: 20px;
|
|
107
|
-
font-size: 20px;
|
|
108
|
-
}
|
|
109
|
-
.f-chip--wrapper .chip-set .chip .chip__icon .f-image__icon {
|
|
110
|
-
margin: auto;
|
|
111
|
-
height: var(--kup_image_height, 100%);
|
|
112
|
-
width: var(--kup_image_width, 100%);
|
|
113
|
-
}
|
|
114
|
-
.f-chip--wrapper .chip-set .chip .chip__checkmark-svg {
|
|
115
|
-
width: 0;
|
|
116
|
-
height: 20px;
|
|
117
|
-
transition: width 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
118
|
-
}
|
|
119
|
-
.f-chip--wrapper .chip-set .chip .chip__checkmark-path {
|
|
120
|
-
transition: stroke-dashoffset 150ms 50ms cubic-bezier(0.4, 0, 0.6, 1);
|
|
121
|
-
stroke-width: 2px;
|
|
122
|
-
stroke-dashoffset: 29.7833385;
|
|
123
|
-
stroke-dasharray: 29.7833385;
|
|
124
|
-
}
|
|
125
|
-
.f-chip--wrapper .chip-set .chip svg path {
|
|
126
|
-
color: var(--kup_chip_text_color);
|
|
127
|
-
stroke: var(--kup_chip_text_color);
|
|
128
|
-
}
|
|
129
|
-
.f-chip--wrapper .chip-set .chip .kup-icon {
|
|
130
|
-
background: var(--kup_chip_text_color);
|
|
131
|
-
display: block;
|
|
132
|
-
width: 18px;
|
|
133
|
-
height: 18px;
|
|
134
|
-
}
|
|
135
|
-
.f-chip--wrapper .chip-set .chip .chip__primary-action {
|
|
136
|
-
outline: none;
|
|
137
|
-
}
|
|
138
|
-
.f-chip--wrapper .chip-set .chip .chip__primary-action .chip__text {
|
|
139
|
-
white-space: nowrap;
|
|
140
|
-
}
|
|
141
|
-
.f-chip--wrapper .chip-set.chip-set--choice .chip--selected {
|
|
142
|
-
background-color: var(--kup_chip_background_color);
|
|
143
|
-
background-image: linear-gradient(to right, rgba(var(--kup_chip_primary_color_rgb), 0.25) 0%, rgba(var(--kup_chip_primary_color_rgb), 0.25) 0.1%, rgba(var(--kup_chip_primary_color_rgb), 0.25));
|
|
144
|
-
color: var(--kup_chip_primary_color);
|
|
145
|
-
}
|
|
146
|
-
.f-chip--wrapper .chip-set.chip-set--filter .chip__icon--leading {
|
|
147
|
-
opacity: 1;
|
|
148
|
-
transition: opacity 75ms linear;
|
|
149
|
-
transition-delay: -50ms;
|
|
150
|
-
}
|
|
151
|
-
.f-chip--wrapper .chip-set.chip-set--filter .chip__icon--leading + .chip__checkmark {
|
|
152
|
-
opacity: 0;
|
|
153
|
-
transition: opacity 75ms linear;
|
|
154
|
-
transition-delay: 80ms;
|
|
155
|
-
}
|
|
156
|
-
.f-chip--wrapper .chip-set.chip-set--filter .chip__icon--leading + .chip__checkmark .chip__checkmark-svg {
|
|
157
|
-
transition: width 0ms;
|
|
158
|
-
}
|
|
159
|
-
.f-chip--wrapper .chip-set.chip-set--filter .chip__icon--leading.chip__icon--leading-hidden {
|
|
160
|
-
display: none;
|
|
161
|
-
width: 0;
|
|
162
|
-
opacity: 0;
|
|
163
|
-
}
|
|
164
|
-
.f-chip--wrapper .chip-set.chip-set--filter .chip__icon--leading.chip__icon--leading-hidden + .chip__checkmark {
|
|
165
|
-
height: 20px;
|
|
166
|
-
width: 20px;
|
|
167
|
-
opacity: 1;
|
|
168
|
-
}
|
|
169
|
-
.f-chip--wrapper .chip-set.chip-set--filter .chip--selected .chip__icon--leading {
|
|
170
|
-
opacity: 0;
|
|
171
|
-
}
|
|
172
|
-
.f-chip--wrapper .chip-set.chip-set--filter .chip--selected .chip__checkmark-path {
|
|
173
|
-
stroke-dashoffset: 0;
|
|
174
|
-
}
|
|
175
|
-
.f-chip--wrapper .chip-set.chip-set--filter .chip--selected .chip__checkmark {
|
|
176
|
-
margin-left: -4px;
|
|
177
|
-
margin-right: 4px;
|
|
178
|
-
}
|
|
179
|
-
.f-chip--wrapper .chip-set.chip-set--filter .chip--selected .chip__checkmark .chip__checkmark-svg {
|
|
180
|
-
height: 20px;
|
|
181
|
-
width: 20px;
|
|
182
|
-
}
|
|
183
|
-
.f-chip--wrapper .chip-set.chip-set--input .kup-clear-icon {
|
|
184
|
-
margin-left: 4px;
|
|
185
|
-
margin-right: -4px;
|
|
186
|
-
}
|
|
187
|
-
.f-chip--wrapper .chip-set.chip-set--input .kup-clear-icon:hover {
|
|
188
|
-
opacity: 0.75;
|
|
189
|
-
}
|
|
190
|
-
.f-chip--wrapper :not(svg) {
|
|
191
|
-
transform-origin: 0px 0px;
|
|
192
|
-
}
|
|
193
|
-
.f-chip--wrapper.kup-danger {
|
|
194
|
-
--kup-chip-primary-color: var(--kup-danger-color);
|
|
195
|
-
--kup-chip-primary-color-rgb: var(--kup-danger-color-rgb);
|
|
196
|
-
}
|
|
197
|
-
.f-chip--wrapper.kup-info {
|
|
198
|
-
--kup-chip-primary-color: var(--kup-info-color);
|
|
199
|
-
--kup-chip-primary-color-rgb: var(--kup-info-color-rgb);
|
|
200
|
-
}
|
|
201
|
-
.f-chip--wrapper.kup-secondary {
|
|
202
|
-
--kup-chip-primary-color: var(--kup-secondary-color);
|
|
203
|
-
--kup-chip-primary-color-rgb: var(--kup-secondary-color-rgb);
|
|
204
|
-
}
|
|
205
|
-
.f-chip--wrapper.kup-success {
|
|
206
|
-
--kup-chip-primary-color: var(--kup-success-color);
|
|
207
|
-
--kup-chip-primary-color-rgb: var(--kup-success-color-rgb);
|
|
208
|
-
}
|
|
209
|
-
.f-chip--wrapper.kup-warning {
|
|
210
|
-
--kup-chip-primary-color: var(--kup-warning-color);
|
|
211
|
-
--kup-chip-primary-color-rgb: var(--kup-warning-color-rgb);
|
|
212
|
-
}
|
|
213
|
-
.f-chip--wrapper .kup-icon.kup-clear-icon {
|
|
214
|
-
-webkit-mask: var(--kup-clear-icon);
|
|
215
|
-
mask: var(--kup-clear-icon);
|
|
216
|
-
}
|
|
217
|
-
|
|
218
1
|
/**
|
|
219
2
|
* NOTE: These variables are used in the related f-component.
|
|
220
3
|
*
|
|
@@ -207,9 +207,8 @@ export class KupChip {
|
|
|
207
207
|
(!this.dataNew || this.dataNew.length === 0)) {
|
|
208
208
|
return;
|
|
209
209
|
}
|
|
210
|
-
const customStyle = this.kupManager.theme.setCustomStyle(this.rootElement);
|
|
211
210
|
return (h(Host, null,
|
|
212
|
-
|
|
211
|
+
h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)),
|
|
213
212
|
h("div", { id: componentWrapperId },
|
|
214
213
|
h(FChip, Object.assign({}, props)))));
|
|
215
214
|
}
|
|
@@ -237,11 +236,11 @@ export class KupChip {
|
|
|
237
236
|
"optional": false,
|
|
238
237
|
"docs": {
|
|
239
238
|
"tags": [{
|
|
240
|
-
"
|
|
241
|
-
"
|
|
239
|
+
"name": "default",
|
|
240
|
+
"text": "\"\""
|
|
242
241
|
}, {
|
|
243
|
-
"
|
|
244
|
-
"
|
|
242
|
+
"name": "see",
|
|
243
|
+
"text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
|
|
245
244
|
}],
|
|
246
245
|
"text": "Custom style of the component."
|
|
247
246
|
},
|
|
@@ -266,8 +265,8 @@ export class KupChip {
|
|
|
266
265
|
"optional": false,
|
|
267
266
|
"docs": {
|
|
268
267
|
"tags": [{
|
|
269
|
-
"
|
|
270
|
-
"
|
|
268
|
+
"name": "default",
|
|
269
|
+
"text": "[]"
|
|
271
270
|
}],
|
|
272
271
|
"text": "List of elements."
|
|
273
272
|
},
|
|
@@ -290,8 +289,8 @@ export class KupChip {
|
|
|
290
289
|
"optional": false,
|
|
291
290
|
"docs": {
|
|
292
291
|
"tags": [{
|
|
293
|
-
"
|
|
294
|
-
"
|
|
292
|
+
"name": "default",
|
|
293
|
+
"text": "[]"
|
|
295
294
|
}],
|
|
296
295
|
"text": "List of elements."
|
|
297
296
|
},
|
|
@@ -314,8 +313,8 @@ export class KupChip {
|
|
|
314
313
|
"optional": false,
|
|
315
314
|
"docs": {
|
|
316
315
|
"tags": [{
|
|
317
|
-
"
|
|
318
|
-
"
|
|
316
|
+
"name": "default",
|
|
317
|
+
"text": "FChipType.STANDARD"
|
|
319
318
|
}],
|
|
320
319
|
"text": "The type of chip. Available types: input, filter, choice or empty for default."
|
|
321
320
|
},
|
|
@@ -411,8 +410,8 @@ export class KupChip {
|
|
|
411
410
|
"signature": "(descriptions?: boolean) => Promise<GenericObject>",
|
|
412
411
|
"parameters": [{
|
|
413
412
|
"tags": [{
|
|
414
|
-
"
|
|
415
|
-
"
|
|
413
|
+
"name": "param",
|
|
414
|
+
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
416
415
|
}],
|
|
417
416
|
"text": "- When provided and true, the result will be the list of props with their description."
|
|
418
417
|
}],
|
|
@@ -459,8 +458,8 @@ export class KupChip {
|
|
|
459
458
|
"signature": "(props: GenericObject) => Promise<void>",
|
|
460
459
|
"parameters": [{
|
|
461
460
|
"tags": [{
|
|
462
|
-
"
|
|
463
|
-
"
|
|
461
|
+
"name": "param",
|
|
462
|
+
"text": "props - Object containing props that will be set to the component."
|
|
464
463
|
}],
|
|
465
464
|
"text": "- Object containing props that will be set to the component."
|
|
466
465
|
}],
|