dasar-ui 1.9.2 → 1.9.3
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 +40 -41
- package/fesm2022/dasar-ui.mjs +10444 -0
- package/fesm2022/dasar-ui.mjs.map +1 -0
- package/package.json +39 -57
- package/types/dasar-ui.d.ts +2498 -0
- package/.dockerignore +0 -31
- package/.editorconfig +0 -17
- package/.github/workflows/npm-publish-github-packages.yml +0 -36
- package/.prettierrc +0 -12
- package/.versionrc.json +0 -4
- package/.vscode/extensions.json +0 -4
- package/.vscode/launch.json +0 -20
- package/.vscode/settings.json +0 -4
- package/.vscode/tasks.json +0 -42
- package/CHANGELOG.md +0 -101
- package/Dockerfile +0 -26
- package/angular.json +0 -114
- package/docs/_config.yml +0 -3
- package/docs/getting-started.md +0 -89
- package/docs/index.md +0 -9
- package/docs/installation.md +0 -46
- package/projects/dasar-ui/README.md +0 -64
- package/projects/dasar-ui/ng-package.json +0 -10
- package/projects/dasar-ui/package.json +0 -27
- package/projects/dasar-ui/src/lib/components/dasar-button/dasar-button.html +0 -9
- package/projects/dasar-ui/src/lib/components/dasar-button/dasar-button.scss +0 -352
- package/projects/dasar-ui/src/lib/components/dasar-button/dasar-button.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-button/dasar-button.ts +0 -154
- package/projects/dasar-ui/src/lib/components/dasar-button-group/dasar-button-group.html +0 -1
- package/projects/dasar-ui/src/lib/components/dasar-button-group/dasar-button-group.scss +0 -69
- package/projects/dasar-ui/src/lib/components/dasar-button-group/dasar-button-group.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-button-group/dasar-button-group.ts +0 -26
- package/projects/dasar-ui/src/lib/components/dasar-calendar/dasar-calendar.html +0 -158
- package/projects/dasar-ui/src/lib/components/dasar-calendar/dasar-calendar.scss +0 -371
- package/projects/dasar-ui/src/lib/components/dasar-calendar/dasar-calendar.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-calendar/dasar-calendar.ts +0 -458
- package/projects/dasar-ui/src/lib/components/dasar-card/dasar-card.html +0 -80
- package/projects/dasar-ui/src/lib/components/dasar-card/dasar-card.scss +0 -184
- package/projects/dasar-ui/src/lib/components/dasar-card/dasar-card.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-card/dasar-card.ts +0 -294
- package/projects/dasar-ui/src/lib/components/dasar-chip/dasar-chip.html +0 -42
- package/projects/dasar-ui/src/lib/components/dasar-chip/dasar-chip.scss +0 -38
- package/projects/dasar-ui/src/lib/components/dasar-chip/dasar-chip.ts +0 -205
- package/projects/dasar-ui/src/lib/components/dasar-datepicker/dasar-datepicker.html +0 -111
- package/projects/dasar-ui/src/lib/components/dasar-datepicker/dasar-datepicker.scss +0 -331
- package/projects/dasar-ui/src/lib/components/dasar-datepicker/dasar-datepicker.spec.ts +0 -93
- package/projects/dasar-ui/src/lib/components/dasar-datepicker/dasar-datepicker.ts +0 -527
- package/projects/dasar-ui/src/lib/components/dasar-icon/dasar-icon.html +0 -1
- package/projects/dasar-ui/src/lib/components/dasar-icon/dasar-icon.registry.ts +0 -5087
- package/projects/dasar-ui/src/lib/components/dasar-icon/dasar-icon.scss +0 -24
- package/projects/dasar-ui/src/lib/components/dasar-icon/dasar-icon.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-icon/dasar-icon.ts +0 -97
- package/projects/dasar-ui/src/lib/components/dasar-input/dasar-input.html +0 -54
- package/projects/dasar-ui/src/lib/components/dasar-input/dasar-input.scss +0 -251
- package/projects/dasar-ui/src/lib/components/dasar-input/dasar-input.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-input/dasar-input.ts +0 -319
- package/projects/dasar-ui/src/lib/components/dasar-list/dasar-list-item.html +0 -17
- package/projects/dasar-ui/src/lib/components/dasar-list/dasar-list.html +0 -25
- package/projects/dasar-ui/src/lib/components/dasar-list/dasar-list.scss +0 -122
- package/projects/dasar-ui/src/lib/components/dasar-list/dasar-list.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-list/dasar-list.ts +0 -166
- package/projects/dasar-ui/src/lib/components/dasar-menu/dasar-menu.html +0 -64
- package/projects/dasar-ui/src/lib/components/dasar-menu/dasar-menu.scss +0 -229
- package/projects/dasar-ui/src/lib/components/dasar-menu/dasar-menu.spec.ts +0 -93
- package/projects/dasar-ui/src/lib/components/dasar-menu/dasar-menu.ts +0 -278
- package/projects/dasar-ui/src/lib/components/dasar-modal/dasar-modal.html +0 -72
- package/projects/dasar-ui/src/lib/components/dasar-modal/dasar-modal.scss +0 -170
- package/projects/dasar-ui/src/lib/components/dasar-modal/dasar-modal.spec.ts +0 -267
- package/projects/dasar-ui/src/lib/components/dasar-modal/dasar-modal.ts +0 -305
- package/projects/dasar-ui/src/lib/components/dasar-number-input/dasar-number-input.html +0 -90
- package/projects/dasar-ui/src/lib/components/dasar-number-input/dasar-number-input.scss +0 -353
- package/projects/dasar-ui/src/lib/components/dasar-number-input/dasar-number-input.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-number-input/dasar-number-input.ts +0 -337
- package/projects/dasar-ui/src/lib/components/dasar-overlay/dasar-overlay.html +0 -11
- package/projects/dasar-ui/src/lib/components/dasar-overlay/dasar-overlay.scss +0 -18
- package/projects/dasar-ui/src/lib/components/dasar-overlay/dasar-overlay.spec.ts +0 -112
- package/projects/dasar-ui/src/lib/components/dasar-overlay/dasar-overlay.ts +0 -87
- package/projects/dasar-ui/src/lib/components/dasar-pagination/dasar-pagination.html +0 -98
- package/projects/dasar-ui/src/lib/components/dasar-pagination/dasar-pagination.scss +0 -51
- package/projects/dasar-ui/src/lib/components/dasar-pagination/dasar-pagination.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-pagination/dasar-pagination.ts +0 -99
- package/projects/dasar-ui/src/lib/components/dasar-pin/dasar-pin.css +0 -0
- package/projects/dasar-ui/src/lib/components/dasar-pin/dasar-pin.html +0 -1
- package/projects/dasar-ui/src/lib/components/dasar-pin/dasar-pin.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-pin/dasar-pin.ts +0 -9
- package/projects/dasar-ui/src/lib/components/dasar-pivot-table/dasar-pivot-table.html +0 -150
- package/projects/dasar-ui/src/lib/components/dasar-pivot-table/dasar-pivot-table.scss +0 -272
- package/projects/dasar-ui/src/lib/components/dasar-pivot-table/dasar-pivot-table.ts +0 -228
- package/projects/dasar-ui/src/lib/components/dasar-radio/dasar-radio.css +0 -0
- package/projects/dasar-ui/src/lib/components/dasar-radio/dasar-radio.html +0 -1
- package/projects/dasar-ui/src/lib/components/dasar-radio/dasar-radio.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-radio/dasar-radio.ts +0 -9
- package/projects/dasar-ui/src/lib/components/dasar-select/dasar-select.html +0 -189
- package/projects/dasar-ui/src/lib/components/dasar-select/dasar-select.scss +0 -387
- package/projects/dasar-ui/src/lib/components/dasar-select/dasar-select.spec.ts +0 -97
- package/projects/dasar-ui/src/lib/components/dasar-select/dasar-select.ts +0 -540
- package/projects/dasar-ui/src/lib/components/dasar-slider/dasar-slider.css +0 -0
- package/projects/dasar-ui/src/lib/components/dasar-slider/dasar-slider.html +0 -1
- package/projects/dasar-ui/src/lib/components/dasar-slider/dasar-slider.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-slider/dasar-slider.ts +0 -9
- package/projects/dasar-ui/src/lib/components/dasar-table/dasar-table.html +0 -162
- package/projects/dasar-ui/src/lib/components/dasar-table/dasar-table.scss +0 -283
- package/projects/dasar-ui/src/lib/components/dasar-table/dasar-table.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-table/dasar-table.ts +0 -380
- package/projects/dasar-ui/src/lib/components/dasar-tabs/dasar-tabs.html +0 -103
- package/projects/dasar-ui/src/lib/components/dasar-tabs/dasar-tabs.scss +0 -238
- package/projects/dasar-ui/src/lib/components/dasar-tabs/dasar-tabs.spec.ts +0 -570
- package/projects/dasar-ui/src/lib/components/dasar-tabs/dasar-tabs.ts +0 -349
- package/projects/dasar-ui/src/lib/components/dasar-textarea/dasar-textarea.html +0 -43
- package/projects/dasar-ui/src/lib/components/dasar-textarea/dasar-textarea.scss +0 -189
- package/projects/dasar-ui/src/lib/components/dasar-textarea/dasar-textarea.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-textarea/dasar-textarea.ts +0 -139
- package/projects/dasar-ui/src/lib/components/dasar-theme-provider/dasar-theme-provider.spec.ts +0 -89
- package/projects/dasar-ui/src/lib/components/dasar-theme-provider/dasar-theme-provider.ts +0 -294
- package/projects/dasar-ui/src/lib/components/dasar-toast/dasar-toast.css +0 -0
- package/projects/dasar-ui/src/lib/components/dasar-toast/dasar-toast.html +0 -1
- package/projects/dasar-ui/src/lib/components/dasar-toast/dasar-toast.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-toast/dasar-toast.ts +0 -9
- package/projects/dasar-ui/src/lib/components/dasar-toggle/dasar-toggle.css +0 -0
- package/projects/dasar-ui/src/lib/components/dasar-toggle/dasar-toggle.html +0 -1
- package/projects/dasar-ui/src/lib/components/dasar-toggle/dasar-toggle.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-toggle/dasar-toggle.ts +0 -9
- package/projects/dasar-ui/src/lib/components/dasar-tooltip/dasar-tooltip.css +0 -0
- package/projects/dasar-ui/src/lib/components/dasar-tooltip/dasar-tooltip.html +0 -1
- package/projects/dasar-ui/src/lib/components/dasar-tooltip/dasar-tooltip.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-tooltip/dasar-tooltip.ts +0 -9
- package/projects/dasar-ui/src/lib/models/theme.model.ts +0 -730
- package/projects/dasar-ui/src/lib/models/type.model.ts +0 -11
- package/projects/dasar-ui/src/lib/services/theme.service.spec.ts +0 -130
- package/projects/dasar-ui/src/lib/services/theme.service.ts +0 -777
- package/projects/dasar-ui/src/lib/styles/theme.ts +0 -70
- package/projects/dasar-ui/src/lib/utils/common.ts +0 -156
- package/projects/dasar-ui/src/lib/utils/icon-size.spec.ts +0 -23
- package/projects/dasar-ui/src/lib/utils/icon-size.ts +0 -16
- package/projects/dasar-ui/src/lib/utils/panel-placement.spec.ts +0 -90
- package/projects/dasar-ui/src/lib/utils/panel-placement.ts +0 -53
- package/projects/dasar-ui/src/public-api.ts +0 -24
- package/projects/dasar-ui/tsconfig.lib.json +0 -21
- package/projects/dasar-ui/tsconfig.lib.prod.json +0 -11
- package/projects/dasar-ui/tsconfig.spec.json +0 -18
- package/projects/documentation/public/favicon.ico +0 -0
- package/projects/documentation/src/app/app.html +0 -78
- package/projects/documentation/src/app/app.spec.ts +0 -23
- package/projects/documentation/src/app/app.ts +0 -57
- package/projects/documentation/src/app/components/doc-customize-modal.component.ts +0 -368
- package/projects/documentation/src/app/components/doc-example.component.ts +0 -195
- package/projects/documentation/src/app/components/doc-markdown.component.ts +0 -154
- package/projects/documentation/src/app/config/app.config.server.ts +0 -10
- package/projects/documentation/src/app/config/app.config.ts +0 -17
- package/projects/documentation/src/app/layouts/doc.layout.ts +0 -249
- package/projects/documentation/src/app/pages/button/button.page.html +0 -65
- package/projects/documentation/src/app/pages/button/button.page.ts +0 -139
- package/projects/documentation/src/app/pages/button/examples/appearance/button-appearance.example.html +0 -7
- package/projects/documentation/src/app/pages/button/examples/appearance/button-appearance.example.ts +0 -10
- package/projects/documentation/src/app/pages/button/examples/icon/button-icon.example.html +0 -19
- package/projects/documentation/src/app/pages/button/examples/icon/button-icon.example.ts +0 -10
- package/projects/documentation/src/app/pages/button/examples/radius/button-radius.example.html +0 -9
- package/projects/documentation/src/app/pages/button/examples/radius/button-radius.example.ts +0 -10
- package/projects/documentation/src/app/pages/button/examples/sizes/button-sizes.example.html +0 -7
- package/projects/documentation/src/app/pages/button/examples/sizes/button-sizes.example.ts +0 -10
- package/projects/documentation/src/app/pages/button/examples/state/button-state.example.html +0 -10
- package/projects/documentation/src/app/pages/button/examples/state/button-state.example.ts +0 -10
- package/projects/documentation/src/app/pages/button/examples/variant/button-variant.example.html +0 -9
- package/projects/documentation/src/app/pages/button/examples/variant/button-variant.example.ts +0 -10
- package/projects/documentation/src/app/pages/calendar/calendar.page.html +0 -75
- package/projects/documentation/src/app/pages/calendar/calendar.page.ts +0 -165
- package/projects/documentation/src/app/pages/calendar/examples/actions/calendar-actions.example.html +0 -21
- package/projects/documentation/src/app/pages/calendar/examples/actions/calendar-actions.example.ts +0 -10
- package/projects/documentation/src/app/pages/calendar/examples/basic/calendar-basic.example.html +0 -11
- package/projects/documentation/src/app/pages/calendar/examples/basic/calendar-basic.example.ts +0 -13
- package/projects/documentation/src/app/pages/calendar/examples/custom-header/calendar-custom-header.example.html +0 -36
- package/projects/documentation/src/app/pages/calendar/examples/custom-header/calendar-custom-header.example.ts +0 -11
- package/projects/documentation/src/app/pages/calendar/examples/dropdown/calendar-dropdown.example.html +0 -10
- package/projects/documentation/src/app/pages/calendar/examples/dropdown/calendar-dropdown.example.ts +0 -12
- package/projects/documentation/src/app/pages/calendar/examples/format/calendar-format.example.html +0 -15
- package/projects/documentation/src/app/pages/calendar/examples/format/calendar-format.example.ts +0 -12
- package/projects/documentation/src/app/pages/calendar/examples/locale/calendar-locale.example.html +0 -34
- package/projects/documentation/src/app/pages/calendar/examples/locale/calendar-locale.example.ts +0 -14
- package/projects/documentation/src/app/pages/calendar/examples/more/calendar.more.example.html +0 -20
- package/projects/documentation/src/app/pages/calendar/examples/more/calendar.more.example.ts +0 -37
- package/projects/documentation/src/app/pages/calendar/examples/styles/calendar-styles.example.html +0 -16
- package/projects/documentation/src/app/pages/calendar/examples/styles/calendar-styles.example.ts +0 -10
- package/projects/documentation/src/app/pages/card/card.page.html +0 -75
- package/projects/documentation/src/app/pages/card/card.page.ts +0 -182
- package/projects/documentation/src/app/pages/card/examples/appearance/card-appearance.example.html +0 -13
- package/projects/documentation/src/app/pages/card/examples/appearance/card-appearance.example.ts +0 -10
- package/projects/documentation/src/app/pages/card/examples/closable/card-closable.example.html +0 -30
- package/projects/documentation/src/app/pages/card/examples/closable/card-closable.example.ts +0 -19
- package/projects/documentation/src/app/pages/card/examples/custom-style/card-custom-style.example.html +0 -173
- package/projects/documentation/src/app/pages/card/examples/custom-style/card-custom-style.example.ts +0 -10
- package/projects/documentation/src/app/pages/card/examples/media/card-media.example.html +0 -27
- package/projects/documentation/src/app/pages/card/examples/media/card-media.example.ts +0 -10
- package/projects/documentation/src/app/pages/card/examples/radius/card-radius.example.html +0 -13
- package/projects/documentation/src/app/pages/card/examples/radius/card-radius.example.ts +0 -10
- package/projects/documentation/src/app/pages/card/examples/slots/card-slots.example.html +0 -20
- package/projects/documentation/src/app/pages/card/examples/slots/card-slots.example.ts +0 -10
- package/projects/documentation/src/app/pages/card/examples/spacing/card-spacing.example.html +0 -11
- package/projects/documentation/src/app/pages/card/examples/spacing/card-spacing.example.ts +0 -10
- package/projects/documentation/src/app/pages/chip/chip.page.html +0 -55
- package/projects/documentation/src/app/pages/chip/chip.page.ts +0 -158
- package/projects/documentation/src/app/pages/chip/examples/appearance/chip-appearance.example.html +0 -7
- package/projects/documentation/src/app/pages/chip/examples/appearance/chip-appearance.example.ts +0 -10
- package/projects/documentation/src/app/pages/chip/examples/more/chip-more.example.html +0 -13
- package/projects/documentation/src/app/pages/chip/examples/more/chip-more.example.ts +0 -17
- package/projects/documentation/src/app/pages/chip/examples/radius/chip-radius.example.html +0 -9
- package/projects/documentation/src/app/pages/chip/examples/radius/chip-radius.example.ts +0 -10
- package/projects/documentation/src/app/pages/chip/examples/sizes/chip-sizes.example.html +0 -6
- package/projects/documentation/src/app/pages/chip/examples/sizes/chip-sizes.example.ts +0 -10
- package/projects/documentation/src/app/pages/chip/examples/variant/chip-variant.example.html +0 -8
- package/projects/documentation/src/app/pages/chip/examples/variant/chip-variant.example.ts +0 -10
- package/projects/documentation/src/app/pages/datepicker/datepicker.page.html +0 -75
- package/projects/documentation/src/app/pages/datepicker/datepicker.page.ts +0 -181
- package/projects/documentation/src/app/pages/datepicker/examples/appearance/datepicker-appearance.example.html +0 -29
- package/projects/documentation/src/app/pages/datepicker/examples/appearance/datepicker-appearance.example.ts +0 -10
- package/projects/documentation/src/app/pages/datepicker/examples/basic/datepicker-basic.example.html +0 -12
- package/projects/documentation/src/app/pages/datepicker/examples/basic/datepicker-basic.example.ts +0 -12
- package/projects/documentation/src/app/pages/datepicker/examples/footer/datepicker-footer.example.html +0 -23
- package/projects/documentation/src/app/pages/datepicker/examples/footer/datepicker-footer.example.ts +0 -17
- package/projects/documentation/src/app/pages/datepicker/examples/format/datepicker-format.example.html +0 -30
- package/projects/documentation/src/app/pages/datepicker/examples/format/datepicker-format.example.ts +0 -13
- package/projects/documentation/src/app/pages/datepicker/examples/placement/datepicker-placement.example.html +0 -24
- package/projects/documentation/src/app/pages/datepicker/examples/placement/datepicker-placement.example.ts +0 -10
- package/projects/documentation/src/app/pages/datepicker/examples/slots/datepicker-slots.example.html +0 -19
- package/projects/documentation/src/app/pages/datepicker/examples/slots/datepicker-slots.example.ts +0 -10
- package/projects/documentation/src/app/pages/datepicker/examples/states/datepicker-states.example.html +0 -28
- package/projects/documentation/src/app/pages/datepicker/examples/states/datepicker-states.example.ts +0 -12
- package/projects/documentation/src/app/pages/getting-started/getting-started.page.ts +0 -21
- package/projects/documentation/src/app/pages/icon/icon.page.html +0 -15
- package/projects/documentation/src/app/pages/icon/icon.page.ts +0 -60
- package/projects/documentation/src/app/pages/input/examples/appearance/input-appearance.example.html +0 -27
- package/projects/documentation/src/app/pages/input/examples/appearance/input-appearance.example.ts +0 -10
- package/projects/documentation/src/app/pages/input/examples/basic/input-basic.example.html +0 -13
- package/projects/documentation/src/app/pages/input/examples/basic/input-basic.example.ts +0 -13
- package/projects/documentation/src/app/pages/input/examples/mask/input-mask.example.html +0 -31
- package/projects/documentation/src/app/pages/input/examples/mask/input-mask.example.ts +0 -19
- package/projects/documentation/src/app/pages/input/examples/more/input-more.example.html +0 -68
- package/projects/documentation/src/app/pages/input/examples/more/input-more.example.ts +0 -18
- package/projects/documentation/src/app/pages/input/examples/slots/input-slots.example.html +0 -52
- package/projects/documentation/src/app/pages/input/examples/slots/input-slots.example.ts +0 -10
- package/projects/documentation/src/app/pages/input/examples/states/input-states.example.html +0 -29
- package/projects/documentation/src/app/pages/input/examples/states/input-states.example.ts +0 -10
- package/projects/documentation/src/app/pages/input/input.page.html +0 -65
- package/projects/documentation/src/app/pages/input/input.page.ts +0 -170
- package/projects/documentation/src/app/pages/installation/installation.page.ts +0 -18
- package/projects/documentation/src/app/pages/introduction/introduction.page.ts +0 -18
- package/projects/documentation/src/app/pages/list/examples/advanced-dynamic/list-advanced-dynamic.example.html +0 -29
- package/projects/documentation/src/app/pages/list/examples/advanced-dynamic/list-advanced-dynamic.example.ts +0 -33
- package/projects/documentation/src/app/pages/list/examples/advanced-theme/list-advanced-theme.example.html +0 -13
- package/projects/documentation/src/app/pages/list/examples/advanced-theme/list-advanced-theme.example.ts +0 -30
- package/projects/documentation/src/app/pages/list/examples/basic/list-basic.example.html +0 -5
- package/projects/documentation/src/app/pages/list/examples/basic/list-basic.example.ts +0 -12
- package/projects/documentation/src/app/pages/list/examples/bordered-divider/list-bordered-divider.example.html +0 -20
- package/projects/documentation/src/app/pages/list/examples/bordered-divider/list-bordered-divider.example.ts +0 -12
- package/projects/documentation/src/app/pages/list/examples/custom-style/list-custom-style.example.html +0 -11
- package/projects/documentation/src/app/pages/list/examples/custom-style/list-custom-style.example.ts +0 -19
- package/projects/documentation/src/app/pages/list/examples/header-footer/list-header-footer.example.html +0 -7
- package/projects/documentation/src/app/pages/list/examples/header-footer/list-header-footer.example.ts +0 -12
- package/projects/documentation/src/app/pages/list/examples/interactive/list-interactive.example.html +0 -20
- package/projects/documentation/src/app/pages/list/examples/interactive/list-interactive.example.ts +0 -22
- package/projects/documentation/src/app/pages/list/examples/prefix-suffix/list-prefix-suffix.example.html +0 -9
- package/projects/documentation/src/app/pages/list/examples/prefix-suffix/list-prefix-suffix.example.ts +0 -16
- package/projects/documentation/src/app/pages/list/examples/size/list-size.example.html +0 -20
- package/projects/documentation/src/app/pages/list/examples/size/list-size.example.ts +0 -12
- package/projects/documentation/src/app/pages/list/list.page.html +0 -95
- package/projects/documentation/src/app/pages/list/list.page.ts +0 -238
- package/projects/documentation/src/app/pages/menu/examples/basic/menu-basic.example.html +0 -5
- package/projects/documentation/src/app/pages/menu/examples/basic/menu-basic.example.ts +0 -17
- package/projects/documentation/src/app/pages/menu/examples/custom-template/menu-custom-template.example.html +0 -35
- package/projects/documentation/src/app/pages/menu/examples/custom-template/menu-custom-template.example.ts +0 -57
- package/projects/documentation/src/app/pages/menu/examples/placement/menu-placement.example.html +0 -12
- package/projects/documentation/src/app/pages/menu/examples/placement/menu-placement.example.ts +0 -16
- package/projects/documentation/src/app/pages/menu/menu.page.html +0 -35
- package/projects/documentation/src/app/pages/menu/menu.page.ts +0 -149
- package/projects/documentation/src/app/pages/modal/examples/appearance/modal-appearance.example.html +0 -18
- package/projects/documentation/src/app/pages/modal/examples/appearance/modal-appearance.example.ts +0 -21
- package/projects/documentation/src/app/pages/modal/examples/basic/modal-basic.example.html +0 -8
- package/projects/documentation/src/app/pages/modal/examples/basic/modal-basic.example.ts +0 -12
- package/projects/documentation/src/app/pages/modal/examples/close-behavior/modal-close-behavior.example.html +0 -44
- package/projects/documentation/src/app/pages/modal/examples/close-behavior/modal-close-behavior.example.ts +0 -14
- package/projects/documentation/src/app/pages/modal/examples/custom-style/modal-custom-style.example.html +0 -36
- package/projects/documentation/src/app/pages/modal/examples/custom-style/modal-custom-style.example.ts +0 -12
- package/projects/documentation/src/app/pages/modal/examples/overlay/modal-overlay.example.html +0 -29
- package/projects/documentation/src/app/pages/modal/examples/overlay/modal-overlay.example.ts +0 -14
- package/projects/documentation/src/app/pages/modal/examples/radius-spacing/modal-radius-spacing.example.html +0 -27
- package/projects/documentation/src/app/pages/modal/examples/radius-spacing/modal-radius-spacing.example.ts +0 -27
- package/projects/documentation/src/app/pages/modal/examples/scroll/modal-scroll.example.html +0 -14
- package/projects/documentation/src/app/pages/modal/examples/scroll/modal-scroll.example.ts +0 -13
- package/projects/documentation/src/app/pages/modal/examples/size/modal-size.example.html +0 -17
- package/projects/documentation/src/app/pages/modal/examples/size/modal-size.example.ts +0 -21
- package/projects/documentation/src/app/pages/modal/examples/slots/modal-slots.example.html +0 -30
- package/projects/documentation/src/app/pages/modal/examples/slots/modal-slots.example.ts +0 -12
- package/projects/documentation/src/app/pages/modal/examples/width/modal-width.example.html +0 -23
- package/projects/documentation/src/app/pages/modal/examples/width/modal-width.example.ts +0 -13
- package/projects/documentation/src/app/pages/modal/modal.page.html +0 -105
- package/projects/documentation/src/app/pages/modal/modal.page.ts +0 -266
- package/projects/documentation/src/app/pages/number-input/examples/appearance/number-input-appearance.example.html +0 -30
- package/projects/documentation/src/app/pages/number-input/examples/appearance/number-input-appearance.example.ts +0 -10
- package/projects/documentation/src/app/pages/number-input/examples/basic/number-input-basic.example.html +0 -12
- package/projects/documentation/src/app/pages/number-input/examples/basic/number-input-basic.example.ts +0 -13
- package/projects/documentation/src/app/pages/number-input/examples/limits/number-input-limits.example.html +0 -30
- package/projects/documentation/src/app/pages/number-input/examples/limits/number-input-limits.example.ts +0 -14
- package/projects/documentation/src/app/pages/number-input/examples/slots/number-input-slots.example.html +0 -49
- package/projects/documentation/src/app/pages/number-input/examples/slots/number-input-slots.example.ts +0 -10
- package/projects/documentation/src/app/pages/number-input/examples/states/number-input-states.example.html +0 -21
- package/projects/documentation/src/app/pages/number-input/examples/states/number-input-states.example.ts +0 -10
- package/projects/documentation/src/app/pages/number-input/number-input.page.html +0 -55
- package/projects/documentation/src/app/pages/number-input/number-input.page.ts +0 -142
- package/projects/documentation/src/app/pages/select/examples/appearance/select-appearance.example.html +0 -32
- package/projects/documentation/src/app/pages/select/examples/appearance/select-appearance.example.ts +0 -15
- package/projects/documentation/src/app/pages/select/examples/basic/select-basic.example.html +0 -13
- package/projects/documentation/src/app/pages/select/examples/basic/select-basic.example.ts +0 -20
- package/projects/documentation/src/app/pages/select/examples/multiple/select-multiple.example.html +0 -24
- package/projects/documentation/src/app/pages/select/examples/multiple/select-multiple.example.ts +0 -59
- package/projects/documentation/src/app/pages/select/examples/placement/select-placement.example.html +0 -20
- package/projects/documentation/src/app/pages/select/examples/placement/select-placement.example.ts +0 -20
- package/projects/documentation/src/app/pages/select/examples/search/select-search.example.html +0 -13
- package/projects/documentation/src/app/pages/select/examples/search/select-search.example.ts +0 -22
- package/projects/documentation/src/app/pages/select/examples/slots/select-slots.example.html +0 -44
- package/projects/documentation/src/app/pages/select/examples/slots/select-slots.example.ts +0 -15
- package/projects/documentation/src/app/pages/select/examples/states/select-states.example.html +0 -31
- package/projects/documentation/src/app/pages/select/examples/states/select-states.example.ts +0 -12
- package/projects/documentation/src/app/pages/select/select.page.html +0 -75
- package/projects/documentation/src/app/pages/select/select.page.ts +0 -195
- package/projects/documentation/src/app/pages/table/examples/cell-actions/table-cell-actions.example.html +0 -14
- package/projects/documentation/src/app/pages/table/examples/cell-actions/table-cell-actions.example.ts +0 -25
- package/projects/documentation/src/app/pages/table/examples/cell-badge/table-cell-badge.example.html +0 -12
- package/projects/documentation/src/app/pages/table/examples/cell-badge/table-cell-badge.example.ts +0 -21
- package/projects/documentation/src/app/pages/table/examples/cell-profile/table-cell-profile.example.html +0 -29
- package/projects/documentation/src/app/pages/table/examples/cell-profile/table-cell-profile.example.ts +0 -20
- package/projects/documentation/src/app/pages/table/examples/custom-body/table-custom-body.example.html +0 -39
- package/projects/documentation/src/app/pages/table/examples/custom-body/table-custom-body.example.ts +0 -21
- package/projects/documentation/src/app/pages/table/examples/custom-sizes/table-custom-sizes.example.html +0 -7
- package/projects/documentation/src/app/pages/table/examples/custom-sizes/table-custom-sizes.example.ts +0 -21
- package/projects/documentation/src/app/pages/table/examples/dynamic-style/table-dynamic-style.example.html +0 -3
- package/projects/documentation/src/app/pages/table/examples/dynamic-style/table-dynamic-style.example.ts +0 -41
- package/projects/documentation/src/app/pages/table/examples/empty/table-empty.example.html +0 -43
- package/projects/documentation/src/app/pages/table/examples/empty/table-empty.example.ts +0 -21
- package/projects/documentation/src/app/pages/table/examples/expanded/table-expanded.example.html +0 -36
- package/projects/documentation/src/app/pages/table/examples/expanded/table-expanded.example.ts +0 -34
- package/projects/documentation/src/app/pages/table/examples/heatmap/table-heatmap.example.html +0 -8
- package/projects/documentation/src/app/pages/table/examples/heatmap/table-heatmap.example.ts +0 -52
- package/projects/documentation/src/app/pages/table/examples/inline-edit/table-inline-edit.example.html +0 -53
- package/projects/documentation/src/app/pages/table/examples/inline-edit/table-inline-edit.example.ts +0 -50
- package/projects/documentation/src/app/pages/table/examples/nested/table-nested.example.html +0 -23
- package/projects/documentation/src/app/pages/table/examples/nested/table-nested.example.ts +0 -42
- package/projects/documentation/src/app/pages/table/examples/pagination/table-pagination.example.html +0 -20
- package/projects/documentation/src/app/pages/table/examples/pagination/table-pagination.example.ts +0 -21
- package/projects/documentation/src/app/pages/table/table.page.html +0 -125
- package/projects/documentation/src/app/pages/table/table.page.ts +0 -261
- package/projects/documentation/src/app/pages/tabs/examples/advanced-dynamic/tabs-advanced-dynamic.example.html +0 -13
- package/projects/documentation/src/app/pages/tabs/examples/advanced-dynamic/tabs-advanced-dynamic.example.ts +0 -27
- package/projects/documentation/src/app/pages/tabs/examples/advanced-form/tabs-advanced-form.example.html +0 -27
- package/projects/documentation/src/app/pages/tabs/examples/advanced-form/tabs-advanced-form.example.ts +0 -36
- package/projects/documentation/src/app/pages/tabs/examples/advanced-theme/tabs-advanced-theme.example.html +0 -5
- package/projects/documentation/src/app/pages/tabs/examples/advanced-theme/tabs-advanced-theme.example.ts +0 -20
- package/projects/documentation/src/app/pages/tabs/examples/appearance/tabs-appearance.example.html +0 -6
- package/projects/documentation/src/app/pages/tabs/examples/appearance/tabs-appearance.example.ts +0 -13
- package/projects/documentation/src/app/pages/tabs/examples/basic/tabs-basic.example.html +0 -13
- package/projects/documentation/src/app/pages/tabs/examples/basic/tabs-basic.example.ts +0 -13
- package/projects/documentation/src/app/pages/tabs/examples/custom-style/tabs-custom-style.example.html +0 -19
- package/projects/documentation/src/app/pages/tabs/examples/custom-style/tabs-custom-style.example.ts +0 -12
- package/projects/documentation/src/app/pages/tabs/examples/events/tabs-events.example.html +0 -16
- package/projects/documentation/src/app/pages/tabs/examples/events/tabs-events.example.ts +0 -23
- package/projects/documentation/src/app/pages/tabs/examples/fluid/tabs-fluid.example.html +0 -5
- package/projects/documentation/src/app/pages/tabs/examples/fluid/tabs-fluid.example.ts +0 -12
- package/projects/documentation/src/app/pages/tabs/examples/no-body/tabs-no-body.example.html +0 -6
- package/projects/documentation/src/app/pages/tabs/examples/no-body/tabs-no-body.example.ts +0 -12
- package/projects/documentation/src/app/pages/tabs/examples/radius/tabs-radius.example.html +0 -6
- package/projects/documentation/src/app/pages/tabs/examples/radius/tabs-radius.example.ts +0 -13
- package/projects/documentation/src/app/pages/tabs/examples/scroll/tabs-scroll.example.html +0 -20
- package/projects/documentation/src/app/pages/tabs/examples/scroll/tabs-scroll.example.ts +0 -30
- package/projects/documentation/src/app/pages/tabs/examples/scroll-icon/tabs-scroll-icon.example.html +0 -16
- package/projects/documentation/src/app/pages/tabs/examples/scroll-icon/tabs-scroll-icon.example.ts +0 -26
- package/projects/documentation/src/app/pages/tabs/examples/scroll-slot/tabs-scroll-slot.example.html +0 -22
- package/projects/documentation/src/app/pages/tabs/examples/scroll-slot/tabs-scroll-slot.example.ts +0 -26
- package/projects/documentation/src/app/pages/tabs/examples/size/tabs-size.example.html +0 -6
- package/projects/documentation/src/app/pages/tabs/examples/size/tabs-size.example.ts +0 -13
- package/projects/documentation/src/app/pages/tabs/examples/slots/tabs-slots.example.html +0 -25
- package/projects/documentation/src/app/pages/tabs/examples/slots/tabs-slots.example.ts +0 -10
- package/projects/documentation/src/app/pages/tabs/examples/spacing/tabs-spacing.example.html +0 -6
- package/projects/documentation/src/app/pages/tabs/examples/spacing/tabs-spacing.example.ts +0 -13
- package/projects/documentation/src/app/pages/tabs/tabs.page.html +0 -165
- package/projects/documentation/src/app/pages/tabs/tabs.page.ts +0 -347
- package/projects/documentation/src/app/pages/theming/examples/component-config/theming-component-config.example.html +0 -13
- package/projects/documentation/src/app/pages/theming/examples/component-config/theming-component-config.example.ts +0 -20
- package/projects/documentation/src/app/pages/theming/examples/css-override/theming-css-override.example.html +0 -8
- package/projects/documentation/src/app/pages/theming/examples/css-override/theming-css-override.example.scss +0 -4
- package/projects/documentation/src/app/pages/theming/examples/css-override/theming-css-override.example.ts +0 -11
- package/projects/documentation/src/app/pages/theming/examples/custom-tokens/theming-custom-tokens.example.html +0 -13
- package/projects/documentation/src/app/pages/theming/examples/custom-tokens/theming-custom-tokens.example.ts +0 -33
- package/projects/documentation/src/app/pages/theming/examples/global-theme/theming-global-theme.example.html +0 -6
- package/projects/documentation/src/app/pages/theming/examples/global-theme/theming-global-theme.example.ts +0 -20
- package/projects/documentation/src/app/pages/theming/examples/light-dark/theming-light-dark.example.html +0 -15
- package/projects/documentation/src/app/pages/theming/examples/light-dark/theming-light-dark.example.ts +0 -31
- package/projects/documentation/src/app/pages/theming/theming-component-config.page.ts +0 -52
- package/projects/documentation/src/app/pages/theming/theming-css-variables.page.ts +0 -71
- package/projects/documentation/src/app/pages/theming/theming-tokens.page.ts +0 -56
- package/projects/documentation/src/app/pages/theming/theming.data.ts +0 -947
- package/projects/documentation/src/app/pages/theming/theming.page.html +0 -56
- package/projects/documentation/src/app/pages/theming/theming.page.ts +0 -144
- package/projects/documentation/src/app/routes/app.routes.server.ts +0 -8
- package/projects/documentation/src/app/routes/app.routes.ts +0 -135
- package/projects/documentation/src/app/services/doc-customize.service.ts +0 -119
- package/projects/documentation/src/app/utils/highlight.pipe.ts +0 -43
- package/projects/documentation/src/index.html +0 -13
- package/projects/documentation/src/main.server.ts +0 -7
- package/projects/documentation/src/main.ts +0 -5
- package/projects/documentation/src/server.ts +0 -47
- package/projects/documentation/src/styles.scss +0 -19
- package/projects/documentation/tsconfig.app.json +0 -11
- package/projects/documentation/tsconfig.spec.json +0 -10
- package/tsconfig.json +0 -40
- /package/{projects/dasar-ui/src/lib/styles → styles}/theme.scss +0 -0
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
<docs-layout
|
|
2
|
-
title="List"
|
|
3
|
-
description="A vertical list of items with an optional header, footer, prefix and suffix, plus dividers, borders and hover or click states."
|
|
4
|
-
[apiData]="apiProps"
|
|
5
|
-
>
|
|
6
|
-
<doc-example-component
|
|
7
|
-
[codes]="[
|
|
8
|
-
{ label: 'HTML', lang: 'html', value: basicHtml },
|
|
9
|
-
{ label: 'TypeScript', lang: 'typescript', value: basicTs },
|
|
10
|
-
]"
|
|
11
|
-
title="Basic"
|
|
12
|
-
>
|
|
13
|
-
<app-list-basic-example />
|
|
14
|
-
</doc-example-component>
|
|
15
|
-
|
|
16
|
-
<doc-example-component
|
|
17
|
-
[codes]="[
|
|
18
|
-
{ label: 'HTML', lang: 'html', value: sizeHtml },
|
|
19
|
-
{ label: 'TypeScript', lang: 'typescript', value: sizeTs },
|
|
20
|
-
]"
|
|
21
|
-
title="Size"
|
|
22
|
-
>
|
|
23
|
-
<app-list-size-example />
|
|
24
|
-
</doc-example-component>
|
|
25
|
-
|
|
26
|
-
<doc-example-component
|
|
27
|
-
[codes]="[
|
|
28
|
-
{ label: 'HTML', lang: 'html', value: borderedDividerHtml },
|
|
29
|
-
{ label: 'TypeScript', lang: 'typescript', value: borderedDividerTs },
|
|
30
|
-
]"
|
|
31
|
-
title="Bordered & Divider"
|
|
32
|
-
>
|
|
33
|
-
<app-list-bordered-divider-example />
|
|
34
|
-
</doc-example-component>
|
|
35
|
-
|
|
36
|
-
<doc-example-component
|
|
37
|
-
[codes]="[
|
|
38
|
-
{ label: 'HTML', lang: 'html', value: interactiveHtml },
|
|
39
|
-
{ label: 'TypeScript', lang: 'typescript', value: interactiveTs },
|
|
40
|
-
]"
|
|
41
|
-
title="Interactive"
|
|
42
|
-
>
|
|
43
|
-
<app-list-interactive-example />
|
|
44
|
-
</doc-example-component>
|
|
45
|
-
|
|
46
|
-
<doc-example-component
|
|
47
|
-
[codes]="[
|
|
48
|
-
{ label: 'HTML', lang: 'html', value: headerFooterHtml },
|
|
49
|
-
{ label: 'TypeScript', lang: 'typescript', value: headerFooterTs },
|
|
50
|
-
]"
|
|
51
|
-
title="Header & Footer"
|
|
52
|
-
>
|
|
53
|
-
<app-list-header-footer-example />
|
|
54
|
-
</doc-example-component>
|
|
55
|
-
|
|
56
|
-
<doc-example-component
|
|
57
|
-
[codes]="[
|
|
58
|
-
{ label: 'HTML', lang: 'html', value: prefixSuffixHtml },
|
|
59
|
-
{ label: 'TypeScript', lang: 'typescript', value: prefixSuffixTs },
|
|
60
|
-
]"
|
|
61
|
-
title="Prefix & Suffix"
|
|
62
|
-
>
|
|
63
|
-
<app-list-prefix-suffix-example />
|
|
64
|
-
</doc-example-component>
|
|
65
|
-
|
|
66
|
-
<doc-example-component
|
|
67
|
-
[codes]="[
|
|
68
|
-
{ label: 'HTML', lang: 'html', value: customStyleHtml },
|
|
69
|
-
{ label: 'TypeScript', lang: 'typescript', value: customStyleTs },
|
|
70
|
-
]"
|
|
71
|
-
title="Custom Style"
|
|
72
|
-
>
|
|
73
|
-
<app-list-custom-style-example />
|
|
74
|
-
</doc-example-component>
|
|
75
|
-
|
|
76
|
-
<doc-example-component
|
|
77
|
-
[codes]="[
|
|
78
|
-
{ label: 'HTML', lang: 'html', value: advancedDynamicHtml },
|
|
79
|
-
{ label: 'TypeScript', lang: 'typescript', value: advancedDynamicTs },
|
|
80
|
-
]"
|
|
81
|
-
title="Advanced: Dynamic List"
|
|
82
|
-
>
|
|
83
|
-
<app-list-advanced-dynamic-example />
|
|
84
|
-
</doc-example-component>
|
|
85
|
-
|
|
86
|
-
<doc-example-component
|
|
87
|
-
[codes]="[
|
|
88
|
-
{ label: 'HTML', lang: 'html', value: advancedThemeHtml },
|
|
89
|
-
{ label: 'TypeScript', lang: 'typescript', value: advancedThemeTs },
|
|
90
|
-
]"
|
|
91
|
-
title="Advanced: Theme Defaults"
|
|
92
|
-
>
|
|
93
|
-
<app-list-advanced-theme-example />
|
|
94
|
-
</doc-example-component>
|
|
95
|
-
</docs-layout>
|
|
@@ -1,238 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { DocsLayoutComponent, DocApiProperty } from '../../layouts/doc.layout';
|
|
4
|
-
import { DocExampleComponent } from '../../components/doc-example.component';
|
|
5
|
-
|
|
6
|
-
import { ListBasicExample } from './examples/basic/list-basic.example';
|
|
7
|
-
import { ListSizeExample } from './examples/size/list-size.example';
|
|
8
|
-
import { ListBorderedDividerExample } from './examples/bordered-divider/list-bordered-divider.example';
|
|
9
|
-
import { ListInteractiveExample } from './examples/interactive/list-interactive.example';
|
|
10
|
-
import { ListHeaderFooterExample } from './examples/header-footer/list-header-footer.example';
|
|
11
|
-
import { ListPrefixSuffixExample } from './examples/prefix-suffix/list-prefix-suffix.example';
|
|
12
|
-
import { ListCustomStyleExample } from './examples/custom-style/list-custom-style.example';
|
|
13
|
-
import { ListAdvancedDynamicExample } from './examples/advanced-dynamic/list-advanced-dynamic.example';
|
|
14
|
-
import { ListAdvancedThemeExample } from './examples/advanced-theme/list-advanced-theme.example';
|
|
15
|
-
|
|
16
|
-
// @ts-ignore
|
|
17
|
-
import basicHtml from './examples/basic/list-basic.example.html' with { loader: 'text' };
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
import basicTs from './examples/basic/list-basic.example.ts' with { loader: 'text' };
|
|
20
|
-
|
|
21
|
-
// @ts-ignore
|
|
22
|
-
import sizeHtml from './examples/size/list-size.example.html' with { loader: 'text' };
|
|
23
|
-
// @ts-ignore
|
|
24
|
-
import sizeTs from './examples/size/list-size.example.ts' with { loader: 'text' };
|
|
25
|
-
|
|
26
|
-
// @ts-ignore
|
|
27
|
-
import borderedDividerHtml from './examples/bordered-divider/list-bordered-divider.example.html' with {
|
|
28
|
-
loader: 'text',
|
|
29
|
-
};
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
import borderedDividerTs from './examples/bordered-divider/list-bordered-divider.example.ts' with {
|
|
32
|
-
loader: 'text',
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
// @ts-ignore
|
|
36
|
-
import interactiveHtml from './examples/interactive/list-interactive.example.html' with {
|
|
37
|
-
loader: 'text',
|
|
38
|
-
};
|
|
39
|
-
// @ts-ignore
|
|
40
|
-
import interactiveTs from './examples/interactive/list-interactive.example.ts' with {
|
|
41
|
-
loader: 'text',
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
// @ts-ignore
|
|
45
|
-
import headerFooterHtml from './examples/header-footer/list-header-footer.example.html' with {
|
|
46
|
-
loader: 'text',
|
|
47
|
-
};
|
|
48
|
-
// @ts-ignore
|
|
49
|
-
import headerFooterTs from './examples/header-footer/list-header-footer.example.ts' with {
|
|
50
|
-
loader: 'text',
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
// @ts-ignore
|
|
54
|
-
import prefixSuffixHtml from './examples/prefix-suffix/list-prefix-suffix.example.html' with {
|
|
55
|
-
loader: 'text',
|
|
56
|
-
};
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
import prefixSuffixTs from './examples/prefix-suffix/list-prefix-suffix.example.ts' with {
|
|
59
|
-
loader: 'text',
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
// @ts-ignore
|
|
63
|
-
import customStyleHtml from './examples/custom-style/list-custom-style.example.html' with {
|
|
64
|
-
loader: 'text',
|
|
65
|
-
};
|
|
66
|
-
// @ts-ignore
|
|
67
|
-
import customStyleTs from './examples/custom-style/list-custom-style.example.ts' with {
|
|
68
|
-
loader: 'text',
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
// @ts-ignore
|
|
72
|
-
import advancedDynamicHtml from './examples/advanced-dynamic/list-advanced-dynamic.example.html' with {
|
|
73
|
-
loader: 'text',
|
|
74
|
-
};
|
|
75
|
-
// @ts-ignore
|
|
76
|
-
import advancedDynamicTs from './examples/advanced-dynamic/list-advanced-dynamic.example.ts' with {
|
|
77
|
-
loader: 'text',
|
|
78
|
-
};
|
|
79
|
-
|
|
80
|
-
// @ts-ignore
|
|
81
|
-
import advancedThemeHtml from './examples/advanced-theme/list-advanced-theme.example.html' with {
|
|
82
|
-
loader: 'text',
|
|
83
|
-
};
|
|
84
|
-
// @ts-ignore
|
|
85
|
-
import advancedThemeTs from './examples/advanced-theme/list-advanced-theme.example.ts' with {
|
|
86
|
-
loader: 'text',
|
|
87
|
-
};
|
|
88
|
-
|
|
89
|
-
@Component({
|
|
90
|
-
imports: [
|
|
91
|
-
CommonModule,
|
|
92
|
-
DocsLayoutComponent,
|
|
93
|
-
DocExampleComponent,
|
|
94
|
-
ListBasicExample,
|
|
95
|
-
ListSizeExample,
|
|
96
|
-
ListBorderedDividerExample,
|
|
97
|
-
ListInteractiveExample,
|
|
98
|
-
ListHeaderFooterExample,
|
|
99
|
-
ListPrefixSuffixExample,
|
|
100
|
-
ListCustomStyleExample,
|
|
101
|
-
ListAdvancedDynamicExample,
|
|
102
|
-
ListAdvancedThemeExample,
|
|
103
|
-
],
|
|
104
|
-
templateUrl: './list.page.html',
|
|
105
|
-
selector: 'app-list-page',
|
|
106
|
-
standalone: true,
|
|
107
|
-
})
|
|
108
|
-
export class ListDocPage {
|
|
109
|
-
protected basicHtml = basicHtml;
|
|
110
|
-
protected basicTs = basicTs;
|
|
111
|
-
|
|
112
|
-
protected sizeHtml = sizeHtml;
|
|
113
|
-
protected sizeTs = sizeTs;
|
|
114
|
-
|
|
115
|
-
protected borderedDividerHtml = borderedDividerHtml;
|
|
116
|
-
protected borderedDividerTs = borderedDividerTs;
|
|
117
|
-
|
|
118
|
-
protected interactiveHtml = interactiveHtml;
|
|
119
|
-
protected interactiveTs = interactiveTs;
|
|
120
|
-
|
|
121
|
-
protected headerFooterHtml = headerFooterHtml;
|
|
122
|
-
protected headerFooterTs = headerFooterTs;
|
|
123
|
-
|
|
124
|
-
protected prefixSuffixHtml = prefixSuffixHtml;
|
|
125
|
-
protected prefixSuffixTs = prefixSuffixTs;
|
|
126
|
-
|
|
127
|
-
protected customStyleHtml = customStyleHtml;
|
|
128
|
-
protected customStyleTs = customStyleTs;
|
|
129
|
-
|
|
130
|
-
protected advancedDynamicHtml = advancedDynamicHtml;
|
|
131
|
-
protected advancedDynamicTs = advancedDynamicTs;
|
|
132
|
-
|
|
133
|
-
protected advancedThemeHtml = advancedThemeHtml;
|
|
134
|
-
protected advancedThemeTs = advancedThemeTs;
|
|
135
|
-
|
|
136
|
-
protected readonly apiProps: DocApiProperty[] = [
|
|
137
|
-
{
|
|
138
|
-
name: 'size',
|
|
139
|
-
type: "'sm' | 'md' | 'lg'",
|
|
140
|
-
defaultValue: "'md'",
|
|
141
|
-
description:
|
|
142
|
-
'Sets the font size and the item padding. Uses --list-font-size-sm/md/lg and --list-item-padding.',
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
name: 'bordered',
|
|
146
|
-
type: 'boolean',
|
|
147
|
-
defaultValue: 'false',
|
|
148
|
-
description: 'Adds a 1px border around the container using --list-border.',
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
name: 'show-divider',
|
|
152
|
-
type: 'boolean',
|
|
153
|
-
defaultValue: 'false',
|
|
154
|
-
description: 'Separates items with a 1px line using --list-divider.',
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
name: 'hoverable',
|
|
158
|
-
type: 'boolean',
|
|
159
|
-
defaultValue: 'false',
|
|
160
|
-
description: 'Highlights an item on hover using --list-hover-background.',
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
name: 'clickable',
|
|
164
|
-
type: 'boolean',
|
|
165
|
-
defaultValue: 'false',
|
|
166
|
-
description:
|
|
167
|
-
'Shows a pointer cursor and an active background using --list-active-background. The click event stays on the item, the component does not emit anything.',
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
name: 'container-class',
|
|
171
|
-
type: 'string | object',
|
|
172
|
-
defaultValue: "''",
|
|
173
|
-
description: 'Class applied to the list container.',
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
name: 'container-style',
|
|
177
|
-
type: 'object',
|
|
178
|
-
defaultValue: 'null',
|
|
179
|
-
description: 'Inline style for the list container.',
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
name: 'item-class',
|
|
183
|
-
type: 'string | object',
|
|
184
|
-
defaultValue: "''",
|
|
185
|
-
description: 'On dasar-list-item. Class applied to the item.',
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
name: 'item-style',
|
|
189
|
-
type: 'object',
|
|
190
|
-
defaultValue: 'null',
|
|
191
|
-
description: 'On dasar-list-item. Inline style for the item.',
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
name: '[header-slot]',
|
|
195
|
-
type: 'Content Slot',
|
|
196
|
-
defaultValue: '-',
|
|
197
|
-
description:
|
|
198
|
-
'On dasar-list. Renders a sticky-style header above the content. The header and footer wrapper is only rendered when the slot is provided.',
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
name: '[footer-slot]',
|
|
202
|
-
type: 'Content Slot',
|
|
203
|
-
defaultValue: '-',
|
|
204
|
-
description: 'On dasar-list. Renders a footer below the content.',
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
name: '[prefix-slot]',
|
|
208
|
-
type: 'Content Slot',
|
|
209
|
-
defaultValue: '-',
|
|
210
|
-
description: 'On dasar-list-item. Renders before the item body, for example an icon.',
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
name: '[suffix-slot]',
|
|
214
|
-
type: 'Content Slot',
|
|
215
|
-
defaultValue: '-',
|
|
216
|
-
description: 'On dasar-list-item. Renders after the item body, for example a chip.',
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
name: 'default slot',
|
|
220
|
-
type: 'Content Slot',
|
|
221
|
-
defaultValue: '-',
|
|
222
|
-
description: 'The list content. dasar-list-item elements are the usual children.',
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
name: 'theme tokens',
|
|
226
|
-
type: 'DasarThemeList',
|
|
227
|
-
defaultValue: '-',
|
|
228
|
-
description:
|
|
229
|
-
'Set through tokens.light.list (or tokens.dark.list) in DasarThemeService.setGlobalTheme, or [tokenConfig] on dasar-theme-provider. Example: hoverBackground -> --list-hover-background.',
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
name: 'component config',
|
|
233
|
-
type: 'DasarListConfig / DasarListItemConfig',
|
|
234
|
-
defaultValue: '-',
|
|
235
|
-
description: 'Defaults via components.list and components.listItem in DasarComponentConfig.',
|
|
236
|
-
},
|
|
237
|
-
];
|
|
238
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<div style="display: flex; gap: 12px; align-items: center; flex-wrap: wrap">
|
|
2
|
-
<dasar-menu label="Outline (Default)" appearance="outline" [items]="menuItems" />
|
|
3
|
-
<dasar-menu label="Filled Menu" appearance="filled" [items]="menuItems" />
|
|
4
|
-
<dasar-menu label="No Appearance" appearance="none" [items]="menuItems" />
|
|
5
|
-
</div>
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { DasarMenuComponent, DasarMenuItem } from 'dasar-ui';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
templateUrl: './menu-basic.example.html',
|
|
6
|
-
selector: 'app-menu-basic-example',
|
|
7
|
-
imports: [DasarMenuComponent],
|
|
8
|
-
standalone: true,
|
|
9
|
-
})
|
|
10
|
-
export class MenuBasicExample {
|
|
11
|
-
protected menuItems: DasarMenuItem[] = [
|
|
12
|
-
{ label: 'Profile', value: 'profile', iconName: 'user' },
|
|
13
|
-
{ label: 'Settings', value: 'settings', iconName: 'settings' },
|
|
14
|
-
{ divider: true, label: '', value: 'divider' },
|
|
15
|
-
{ label: 'Logout', value: 'logout', iconName: 'log-out', disabled: true },
|
|
16
|
-
];
|
|
17
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
<div style="display: flex; gap: 12px; align-items: center; flex-wrap: wrap">
|
|
2
|
-
<dasar-menu [items]="customItems" (itemClick)="onMenuClick($event)" appearance="filled">
|
|
3
|
-
<dasar-icon prefix name="dots-vertical" size="sm"></dasar-icon>
|
|
4
|
-
<span menu-label>Custom Actions</span>
|
|
5
|
-
<dasar-icon suffix name="chevron-down" size="sm"></dasar-icon>
|
|
6
|
-
<ng-template menu-item let-item>
|
|
7
|
-
<div style="display: flex; flex-direction: column; gap: 2px">
|
|
8
|
-
<span style="font-weight: 500">{{ item.label }}</span>
|
|
9
|
-
<span style="color: lightsalmon; font-size: 10px"> Action key: {{ item.value }} </span>
|
|
10
|
-
</div>
|
|
11
|
-
</ng-template>
|
|
12
|
-
</dasar-menu>
|
|
13
|
-
</div>
|
|
14
|
-
<br />
|
|
15
|
-
<div style="display: flex; gap: 12px; flex-direction: column">
|
|
16
|
-
<dasar-card appearance="outline" label="Project Overview" style="width: 320px">
|
|
17
|
-
<div extra-header-slot>
|
|
18
|
-
<dasar-menu
|
|
19
|
-
fluid
|
|
20
|
-
appearance="none"
|
|
21
|
-
placement="bottom-end"
|
|
22
|
-
[items]="actionItems"
|
|
23
|
-
(itemClick)="onActionClick($event)"
|
|
24
|
-
>
|
|
25
|
-
<dasar-button prefix variant="ghost" icon-only>
|
|
26
|
-
<dasar-icon name="dots-vertical"></dasar-icon>
|
|
27
|
-
</dasar-button>
|
|
28
|
-
</dasar-menu>
|
|
29
|
-
</div>
|
|
30
|
-
|
|
31
|
-
<p style="margin: 0; font-size: 14px; color: var(--theme-text-secondary-color)">
|
|
32
|
-
Manage your project settings, collaborate with your team, and track your recent deployments.
|
|
33
|
-
</p>
|
|
34
|
-
</dasar-card>
|
|
35
|
-
</div>
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DasarMenuComponent,
|
|
3
|
-
DasarMenuItem,
|
|
4
|
-
DasarIconComponent,
|
|
5
|
-
DasarCardComponent,
|
|
6
|
-
DasarButtonComponent,
|
|
7
|
-
} from 'dasar-ui';
|
|
8
|
-
import { Component } from '@angular/core';
|
|
9
|
-
|
|
10
|
-
@Component({
|
|
11
|
-
imports: [DasarMenuComponent, DasarIconComponent, DasarCardComponent, DasarButtonComponent],
|
|
12
|
-
templateUrl: './menu-custom-template.example.html',
|
|
13
|
-
selector: 'app-menu-custom-template-example',
|
|
14
|
-
standalone: true,
|
|
15
|
-
})
|
|
16
|
-
export class MenuCustomTemplateExample {
|
|
17
|
-
protected customItems: DasarMenuItem[] = [
|
|
18
|
-
{ label: 'Quick View', value: 'view' },
|
|
19
|
-
{ label: 'Share Link', value: 'share' },
|
|
20
|
-
{ divider: true, label: '', value: 'divider' },
|
|
21
|
-
{ label: 'Archive Project', value: 'archive' },
|
|
22
|
-
];
|
|
23
|
-
protected navItems: DasarMenuItem[] = [
|
|
24
|
-
{
|
|
25
|
-
label: 'Analytics',
|
|
26
|
-
value: 'analytics',
|
|
27
|
-
iconName: 'pie-chart',
|
|
28
|
-
description: 'Get real-time insights into your product metrics.',
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
label: 'Security',
|
|
32
|
-
value: 'security',
|
|
33
|
-
iconName: 'shield',
|
|
34
|
-
description: 'Protect your data with enterprise-grade security.',
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
label: 'Integrations',
|
|
38
|
-
value: 'integrations',
|
|
39
|
-
iconName: 'cpu',
|
|
40
|
-
description: 'Connect with your favorite tools seamlessly.',
|
|
41
|
-
},
|
|
42
|
-
];
|
|
43
|
-
|
|
44
|
-
protected actionItems: DasarMenuItem[] = [
|
|
45
|
-
{ label: 'Edit Project', value: 'edit', iconName: 'edit-2' },
|
|
46
|
-
{ label: 'Share', value: 'share', iconName: 'share-2' },
|
|
47
|
-
{ divider: true, label: '', value: 'divider' },
|
|
48
|
-
{ label: 'Delete', value: 'delete', iconName: 'trash', disabled: true },
|
|
49
|
-
];
|
|
50
|
-
|
|
51
|
-
onMenuClick(item: any) {
|
|
52
|
-
alert(`You clicked on: ${item.label}`);
|
|
53
|
-
}
|
|
54
|
-
onActionClick(item: any) {
|
|
55
|
-
console.log('Action clicked:', item.value);
|
|
56
|
-
}
|
|
57
|
-
}
|
package/projects/documentation/src/app/pages/menu/examples/placement/menu-placement.example.html
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<div style="display: flex; gap: 12px; align-items: center; flex-wrap: wrap">
|
|
2
|
-
<dasar-menu label="Bottom Start" placement="bottom-start" [items]="menuItems" />
|
|
3
|
-
<dasar-menu label="Bottom End" placement="bottom-end" [items]="menuItems" />
|
|
4
|
-
<dasar-menu label="Top Start" placement="top-start" [items]="menuItems" />
|
|
5
|
-
<dasar-menu label="Top End" placement="top-end" [items]="menuItems" />
|
|
6
|
-
</div>
|
|
7
|
-
|
|
8
|
-
<p style="margin: 12px 0 0; font-size: 14px; color: var(--theme-text-secondary-color)">
|
|
9
|
-
<code>placement</code> is the <em>preferred</em> side of the trigger. When the preferred side has
|
|
10
|
-
no room left in the viewport, the panel automatically flips to the side with more space, both
|
|
11
|
-
vertically and horizontally, and it re-checks while you scroll or resize.
|
|
12
|
-
</p>
|
package/projects/documentation/src/app/pages/menu/examples/placement/menu-placement.example.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { DasarMenuComponent, DasarMenuItem } from 'dasar-ui';
|
|
2
|
-
import { Component } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
templateUrl: './menu-placement.example.html',
|
|
6
|
-
selector: 'app-menu-placement-example',
|
|
7
|
-
imports: [DasarMenuComponent],
|
|
8
|
-
standalone: true,
|
|
9
|
-
})
|
|
10
|
-
export class MenuPlacementExample {
|
|
11
|
-
protected menuItems: DasarMenuItem[] = [
|
|
12
|
-
{ label: 'Edit', value: 'edit' },
|
|
13
|
-
{ label: 'Duplicate', value: 'duplicate' },
|
|
14
|
-
{ label: 'Delete', value: 'delete', disabled: true },
|
|
15
|
-
];
|
|
16
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
<docs-layout
|
|
2
|
-
title="Menu"
|
|
3
|
-
description="A contextual dropdown menu component used for displaying a list of selectable actions, links, or commands."
|
|
4
|
-
[apiData]="apiProps"
|
|
5
|
-
>
|
|
6
|
-
<doc-example-component
|
|
7
|
-
[codes]="[
|
|
8
|
-
{ label: 'HTML', lang: 'html', value: basicHtml },
|
|
9
|
-
{ label: 'TypeScript', lang: 'typescript', value: basicTs },
|
|
10
|
-
]"
|
|
11
|
-
title="Basic"
|
|
12
|
-
>
|
|
13
|
-
<app-menu-basic-example />
|
|
14
|
-
</doc-example-component>
|
|
15
|
-
|
|
16
|
-
<doc-example-component
|
|
17
|
-
[codes]="[
|
|
18
|
-
{ label: 'HTML', lang: 'html', value: placementHtml },
|
|
19
|
-
{ label: 'TypeScript', lang: 'typescript', value: placementTs },
|
|
20
|
-
]"
|
|
21
|
-
title="Placements"
|
|
22
|
-
>
|
|
23
|
-
<app-menu-placement-example />
|
|
24
|
-
</doc-example-component>
|
|
25
|
-
|
|
26
|
-
<doc-example-component
|
|
27
|
-
[codes]="[
|
|
28
|
-
{ label: 'HTML', lang: 'html', value: templateHtml },
|
|
29
|
-
{ label: 'TypeScript', lang: 'typescript', value: templateTs },
|
|
30
|
-
]"
|
|
31
|
-
title="Slots & Custom Templates"
|
|
32
|
-
>
|
|
33
|
-
<app-menu-custom-template-example />
|
|
34
|
-
</doc-example-component>
|
|
35
|
-
</docs-layout>
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
import { DocsLayoutComponent, DocApiProperty } from '../../layouts/doc.layout';
|
|
2
|
-
import { DocExampleComponent } from '../../components/doc-example.component';
|
|
3
|
-
import { DasarCardComponent, DasarIconComponent } from 'dasar-ui';
|
|
4
|
-
import { CommonModule } from '@angular/common';
|
|
5
|
-
import { Component } from '@angular/core';
|
|
6
|
-
|
|
7
|
-
import { MenuCustomTemplateExample } from './examples/custom-template/menu-custom-template.example';
|
|
8
|
-
import { MenuPlacementExample } from './examples/placement/menu-placement.example';
|
|
9
|
-
import { MenuBasicExample } from './examples/basic/menu-basic.example';
|
|
10
|
-
|
|
11
|
-
// @ts-ignore - raw example
|
|
12
|
-
import basicHtml from './examples/basic/menu-basic.example.html' with { loader: 'text' };
|
|
13
|
-
// @ts-ignore - raw example
|
|
14
|
-
import basicTs from './examples/basic/menu-basic.example.ts' with { loader: 'text' };
|
|
15
|
-
// @ts-ignore - raw example
|
|
16
|
-
import placementHtml from './examples/placement/menu-placement.example.html' with {
|
|
17
|
-
loader: 'text',
|
|
18
|
-
};
|
|
19
|
-
// @ts-ignore - raw example
|
|
20
|
-
import placementTs from './examples/placement/menu-placement.example.ts' with { loader: 'text' };
|
|
21
|
-
// @ts-ignore - raw example
|
|
22
|
-
import templateHtml from './examples/custom-template/menu-custom-template.example.html' with {
|
|
23
|
-
loader: 'text',
|
|
24
|
-
};
|
|
25
|
-
// @ts-ignore - raw example
|
|
26
|
-
import templateTs from './examples/custom-template/menu-custom-template.example.ts' with {
|
|
27
|
-
loader: 'text',
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
@Component({
|
|
31
|
-
imports: [
|
|
32
|
-
MenuCustomTemplateExample,
|
|
33
|
-
MenuPlacementExample,
|
|
34
|
-
DocExampleComponent,
|
|
35
|
-
DocsLayoutComponent,
|
|
36
|
-
MenuBasicExample,
|
|
37
|
-
CommonModule,
|
|
38
|
-
],
|
|
39
|
-
templateUrl: './menu.page.html',
|
|
40
|
-
selector: 'app-menu-page',
|
|
41
|
-
standalone: true,
|
|
42
|
-
})
|
|
43
|
-
export class MenuDocPage {
|
|
44
|
-
protected basicHtml = basicHtml;
|
|
45
|
-
protected basicTs = basicTs;
|
|
46
|
-
protected placementHtml = placementHtml;
|
|
47
|
-
protected placementTs = placementTs;
|
|
48
|
-
protected templateHtml = templateHtml;
|
|
49
|
-
protected templateTs = templateTs;
|
|
50
|
-
protected readonly apiProps: DocApiProperty[] = [
|
|
51
|
-
{
|
|
52
|
-
name: 'items',
|
|
53
|
-
type: 'DasarMenuItem[]',
|
|
54
|
-
defaultValue: '[]',
|
|
55
|
-
description:
|
|
56
|
-
'Array of objects representing the menu items. Each item can have a label, value, iconName, disabled, or divider property.',
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
name: 'label',
|
|
60
|
-
type: 'string',
|
|
61
|
-
defaultValue: 'undefined',
|
|
62
|
-
description: 'The text label displayed on the menu trigger button.',
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
name: 'appearance',
|
|
66
|
-
type: "'none' | 'outline' | 'filled'",
|
|
67
|
-
defaultValue: "'outline'",
|
|
68
|
-
description: 'Defines the visual appearance style of the trigger button.',
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
name: 'placement',
|
|
72
|
-
type: "'bottom-start' | 'bottom-end' | 'top-start' | 'top-end'",
|
|
73
|
-
defaultValue: "'bottom-start'",
|
|
74
|
-
description:
|
|
75
|
-
'Preferred side of the trigger for the panel. It flips to the other side automatically when the viewport has no room.',
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
name: 'size',
|
|
79
|
-
type: "'sm' | 'md' | 'lg'",
|
|
80
|
-
defaultValue: "'md'",
|
|
81
|
-
description: 'Sets the sizing of the menu trigger, the panel and the items inside it.',
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
name: 'radius',
|
|
85
|
-
type: 'ScaleAttributeType',
|
|
86
|
-
defaultValue: "'md'",
|
|
87
|
-
description: 'Controls the border radius of the trigger button and of the dropdown panel.',
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
name: 'disabled',
|
|
91
|
-
type: 'boolean',
|
|
92
|
-
defaultValue: 'false',
|
|
93
|
-
description: 'Disables user interactions and prevents the menu from opening.',
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
name: 'fluid',
|
|
97
|
-
type: 'boolean',
|
|
98
|
-
defaultValue: 'false',
|
|
99
|
-
description: 'Allows the trigger button to expand to the full width of its container.',
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
name: 'container-class / panel-class / item-class',
|
|
103
|
-
type: 'ClassType',
|
|
104
|
-
defaultValue: 'null',
|
|
105
|
-
description:
|
|
106
|
-
'Injects custom CSS classes into the root wrapper, panel, or individual menu items.',
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
name: 'container-style / panel-style / item-style',
|
|
110
|
-
type: 'StyleType',
|
|
111
|
-
defaultValue: 'null',
|
|
112
|
-
description:
|
|
113
|
-
'Injects custom inline styles into the root wrapper, panel, or individual menu items.',
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
name: '(onItemClick)',
|
|
117
|
-
type: 'EventEmitter<DasarMenuItem>',
|
|
118
|
-
defaultValue: '-',
|
|
119
|
-
description: 'Emitted when a user clicks on an active menu item. Returns the item object.',
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
name: '(opened) / (closed)',
|
|
123
|
-
type: 'EventEmitter<void>',
|
|
124
|
-
defaultValue: '-',
|
|
125
|
-
description: 'Emitted when the menu panel opens or closes.',
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
name: '[prefix] / [suffix] (Directives)',
|
|
129
|
-
type: 'Content Slot',
|
|
130
|
-
defaultValue: '-',
|
|
131
|
-
description:
|
|
132
|
-
'Projects content (like icons) to the left (prefix) or right (suffix) of the trigger label.',
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
name: '[menu-label] (Directive)',
|
|
136
|
-
type: 'Content Slot',
|
|
137
|
-
defaultValue: '-',
|
|
138
|
-
description:
|
|
139
|
-
'Completely replaces the default text label with custom HTML content inside the trigger.',
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
name: '*menu-item (Structural Directive)',
|
|
143
|
-
type: 'TemplateRef<any>',
|
|
144
|
-
defaultValue: '-',
|
|
145
|
-
description:
|
|
146
|
-
'Allows custom rendering of menu items. Exposes the item object via `let-item` and the loop index via `let-index`.',
|
|
147
|
-
},
|
|
148
|
-
];
|
|
149
|
-
}
|