dasar-ui 1.9.0 → 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 -92
- 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,266 +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 { ModalBasicExample } from './examples/basic/modal-basic.example';
|
|
7
|
-
import { ModalSizeExample } from './examples/size/modal-size.example';
|
|
8
|
-
import { ModalAppearanceExample } from './examples/appearance/modal-appearance.example';
|
|
9
|
-
import { ModalRadiusSpacingExample } from './examples/radius-spacing/modal-radius-spacing.example';
|
|
10
|
-
import { ModalWidthExample } from './examples/width/modal-width.example';
|
|
11
|
-
import { ModalSlotsExample } from './examples/slots/modal-slots.example';
|
|
12
|
-
import { ModalScrollExample } from './examples/scroll/modal-scroll.example';
|
|
13
|
-
import { ModalCloseBehaviorExample } from './examples/close-behavior/modal-close-behavior.example';
|
|
14
|
-
import { ModalOverlayExample } from './examples/overlay/modal-overlay.example';
|
|
15
|
-
import { ModalCustomStyleExample } from './examples/custom-style/modal-custom-style.example';
|
|
16
|
-
|
|
17
|
-
// @ts-ignore
|
|
18
|
-
import basicHtml from './examples/basic/modal-basic.example.html' with { loader: 'text' };
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
import basicTs from './examples/basic/modal-basic.example.ts' with { loader: 'text' };
|
|
21
|
-
// @ts-ignore
|
|
22
|
-
import sizeHtml from './examples/size/modal-size.example.html' with { loader: 'text' };
|
|
23
|
-
// @ts-ignore
|
|
24
|
-
import sizeTs from './examples/size/modal-size.example.ts' with { loader: 'text' };
|
|
25
|
-
// @ts-ignore
|
|
26
|
-
import appearanceHtml from './examples/appearance/modal-appearance.example.html' with {
|
|
27
|
-
loader: 'text',
|
|
28
|
-
};
|
|
29
|
-
// @ts-ignore
|
|
30
|
-
import appearanceTs from './examples/appearance/modal-appearance.example.ts' with {
|
|
31
|
-
loader: 'text',
|
|
32
|
-
};
|
|
33
|
-
// @ts-ignore
|
|
34
|
-
import radiusSpacingHtml from './examples/radius-spacing/modal-radius-spacing.example.html' with {
|
|
35
|
-
loader: 'text',
|
|
36
|
-
};
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
import radiusSpacingTs from './examples/radius-spacing/modal-radius-spacing.example.ts' with {
|
|
39
|
-
loader: 'text',
|
|
40
|
-
};
|
|
41
|
-
// @ts-ignore
|
|
42
|
-
import widthHtml from './examples/width/modal-width.example.html' with { loader: 'text' };
|
|
43
|
-
// @ts-ignore
|
|
44
|
-
import widthTs from './examples/width/modal-width.example.ts' with { loader: 'text' };
|
|
45
|
-
// @ts-ignore
|
|
46
|
-
import slotsHtml from './examples/slots/modal-slots.example.html' with { loader: 'text' };
|
|
47
|
-
// @ts-ignore
|
|
48
|
-
import slotsTs from './examples/slots/modal-slots.example.ts' with { loader: 'text' };
|
|
49
|
-
// @ts-ignore
|
|
50
|
-
import scrollHtml from './examples/scroll/modal-scroll.example.html' with { loader: 'text' };
|
|
51
|
-
// @ts-ignore
|
|
52
|
-
import scrollTs from './examples/scroll/modal-scroll.example.ts' with { loader: 'text' };
|
|
53
|
-
// @ts-ignore
|
|
54
|
-
import closeBehaviorHtml from './examples/close-behavior/modal-close-behavior.example.html' with {
|
|
55
|
-
loader: 'text',
|
|
56
|
-
};
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
import closeBehaviorTs from './examples/close-behavior/modal-close-behavior.example.ts' with {
|
|
59
|
-
loader: 'text',
|
|
60
|
-
};
|
|
61
|
-
// @ts-ignore
|
|
62
|
-
import overlayHtml from './examples/overlay/modal-overlay.example.html' with { loader: 'text' };
|
|
63
|
-
// @ts-ignore
|
|
64
|
-
import overlayTs from './examples/overlay/modal-overlay.example.ts' with { loader: 'text' };
|
|
65
|
-
// @ts-ignore
|
|
66
|
-
import customStyleHtml from './examples/custom-style/modal-custom-style.example.html' with {
|
|
67
|
-
loader: 'text',
|
|
68
|
-
};
|
|
69
|
-
// @ts-ignore
|
|
70
|
-
import customStyleTs from './examples/custom-style/modal-custom-style.example.ts' with {
|
|
71
|
-
loader: 'text',
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
@Component({
|
|
75
|
-
imports: [
|
|
76
|
-
CommonModule,
|
|
77
|
-
DocsLayoutComponent,
|
|
78
|
-
DocExampleComponent,
|
|
79
|
-
ModalBasicExample,
|
|
80
|
-
ModalSizeExample,
|
|
81
|
-
ModalAppearanceExample,
|
|
82
|
-
ModalRadiusSpacingExample,
|
|
83
|
-
ModalWidthExample,
|
|
84
|
-
ModalSlotsExample,
|
|
85
|
-
ModalScrollExample,
|
|
86
|
-
ModalCloseBehaviorExample,
|
|
87
|
-
ModalOverlayExample,
|
|
88
|
-
ModalCustomStyleExample,
|
|
89
|
-
],
|
|
90
|
-
templateUrl: './modal.page.html',
|
|
91
|
-
selector: 'app-modal-page',
|
|
92
|
-
standalone: true,
|
|
93
|
-
})
|
|
94
|
-
export class ModalDocPage {
|
|
95
|
-
protected basicHtml = basicHtml;
|
|
96
|
-
protected basicTs = basicTs;
|
|
97
|
-
|
|
98
|
-
protected sizeHtml = sizeHtml;
|
|
99
|
-
protected sizeTs = sizeTs;
|
|
100
|
-
|
|
101
|
-
protected appearanceHtml = appearanceHtml;
|
|
102
|
-
protected appearanceTs = appearanceTs;
|
|
103
|
-
|
|
104
|
-
protected radiusSpacingHtml = radiusSpacingHtml;
|
|
105
|
-
protected radiusSpacingTs = radiusSpacingTs;
|
|
106
|
-
|
|
107
|
-
protected widthHtml = widthHtml;
|
|
108
|
-
protected widthTs = widthTs;
|
|
109
|
-
|
|
110
|
-
protected slotsHtml = slotsHtml;
|
|
111
|
-
protected slotsTs = slotsTs;
|
|
112
|
-
|
|
113
|
-
protected scrollHtml = scrollHtml;
|
|
114
|
-
protected scrollTs = scrollTs;
|
|
115
|
-
|
|
116
|
-
protected closeBehaviorHtml = closeBehaviorHtml;
|
|
117
|
-
protected closeBehaviorTs = closeBehaviorTs;
|
|
118
|
-
|
|
119
|
-
protected overlayHtml = overlayHtml;
|
|
120
|
-
protected overlayTs = overlayTs;
|
|
121
|
-
|
|
122
|
-
protected customStyleHtml = customStyleHtml;
|
|
123
|
-
protected customStyleTs = customStyleTs;
|
|
124
|
-
|
|
125
|
-
protected readonly apiProps: DocApiProperty[] = [
|
|
126
|
-
{
|
|
127
|
-
name: 'open',
|
|
128
|
-
type: 'boolean',
|
|
129
|
-
defaultValue: 'false',
|
|
130
|
-
description: 'Shows the modal. The component never closes itself, the consumer controls it.',
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
name: 'label',
|
|
134
|
-
type: 'string',
|
|
135
|
-
defaultValue: 'undefined',
|
|
136
|
-
description: 'Sets a simple string title for the header. Replaced by the [header-slot].',
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
name: 'size',
|
|
140
|
-
type: "'sm' | 'md' | 'lg'",
|
|
141
|
-
defaultValue: "'md'",
|
|
142
|
-
description: 'Width preset and typographic scale: sm 400px, md 560px, lg 800px.',
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
name: 'appearance',
|
|
146
|
-
type: "'outline' | 'borderless' | 'elevated'",
|
|
147
|
-
defaultValue: "'elevated'",
|
|
148
|
-
description: 'Defines the structural border and shadow style of the modal.',
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
name: 'radius',
|
|
152
|
-
type: 'ScaleAttributeType',
|
|
153
|
-
defaultValue: "'lg'",
|
|
154
|
-
description: 'Sets the border radius of the modal.',
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
name: 'spacing',
|
|
158
|
-
type: "'normal' | 'compact'",
|
|
159
|
-
defaultValue: "'normal'",
|
|
160
|
-
description: 'Controls the inner padding scale of the header, body and actions.',
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
name: 'width',
|
|
164
|
-
type: 'string',
|
|
165
|
-
defaultValue: 'undefined',
|
|
166
|
-
description: 'Sets an explicit width and overrides the preset coming from size.',
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
name: 'full-width',
|
|
170
|
-
type: 'boolean',
|
|
171
|
-
defaultValue: 'false',
|
|
172
|
-
description:
|
|
173
|
-
'Stretches the modal to the viewport minus the overlay padding. Wins over width.',
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
name: 'closable',
|
|
177
|
-
type: 'boolean',
|
|
178
|
-
defaultValue: 'true',
|
|
179
|
-
description: 'Displays the default dismiss button in the header.',
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
name: 'close-on-overlay',
|
|
183
|
-
type: 'boolean',
|
|
184
|
-
defaultValue: 'true',
|
|
185
|
-
description: 'A click on the backdrop emits (onClose).',
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
name: 'close-on-escape',
|
|
189
|
-
type: 'boolean',
|
|
190
|
-
defaultValue: 'true',
|
|
191
|
-
description: 'Pressing Escape emits (onClose).',
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
name: 'overlay-blur',
|
|
195
|
-
type: 'string | null',
|
|
196
|
-
defaultValue: 'null',
|
|
197
|
-
description:
|
|
198
|
-
'Backdrop blur radius, forwarded to the underlying dasar-overlay. Falls back to the --overlay-blur theme token, then 4px.',
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
name: 'overlay-background',
|
|
202
|
-
type: 'string | null',
|
|
203
|
-
defaultValue: 'null',
|
|
204
|
-
description:
|
|
205
|
-
'Backdrop color, forwarded to the underlying dasar-overlay. Falls back to the --overlay-background theme token, then rgba(0, 0, 0, 0.45).',
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
name: 'fluid / ...-fluid',
|
|
209
|
-
type: 'boolean',
|
|
210
|
-
defaultValue: 'false',
|
|
211
|
-
description:
|
|
212
|
-
'Removes padding from a single section using header-fluid, body-fluid or action-fluid.',
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
name: '...-style',
|
|
216
|
-
type: 'object',
|
|
217
|
-
defaultValue: 'null',
|
|
218
|
-
description: 'Inline style injection for container, header, close, body and actions.',
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
name: '...-class',
|
|
222
|
-
type: 'string | object',
|
|
223
|
-
defaultValue: 'null',
|
|
224
|
-
description: 'Class injection for container, header, close, body and actions.',
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
name: '(onClose)',
|
|
228
|
-
type: 'EventEmitter<void>',
|
|
229
|
-
defaultValue: '-',
|
|
230
|
-
description:
|
|
231
|
-
'Emitted when the close button, the backdrop or Escape is used. Set open to false in the handler.',
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
name: '[header-slot]',
|
|
235
|
-
type: 'Content Slot',
|
|
236
|
-
defaultValue: '-',
|
|
237
|
-
description: 'Replaces the default label with custom HTML content.',
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
name: '[close-slot]',
|
|
241
|
-
type: 'Content Slot',
|
|
242
|
-
defaultValue: '-',
|
|
243
|
-
description: 'Replaces the default dismiss button with a custom element.',
|
|
244
|
-
},
|
|
245
|
-
{
|
|
246
|
-
name: '[action-slot]',
|
|
247
|
-
type: 'Content Slot',
|
|
248
|
-
defaultValue: '-',
|
|
249
|
-
description:
|
|
250
|
-
'Injects footer action elements. The actions stay visible while the body scrolls.',
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
name: 'theme tokens',
|
|
254
|
-
type: 'DasarThemeModal',
|
|
255
|
-
defaultValue: '-',
|
|
256
|
-
description:
|
|
257
|
-
'Set through tokens.light.modal (or tokens.dark.modal) in DasarThemeService.setGlobalTheme, or [tokenConfig] on dasar-theme-provider. Each key writes one CSS variable, for example widthMd -> --modal-width-md.',
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
name: 'default slot',
|
|
261
|
-
type: 'Content Slot',
|
|
262
|
-
defaultValue: '-',
|
|
263
|
-
description: 'The modal body. Scrolls on its own when the content exceeds the viewport.',
|
|
264
|
-
},
|
|
265
|
-
];
|
|
266
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<div style="display: flex; flex-direction: column; gap: 32px; width: 100%">
|
|
2
|
-
<div style="display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap">
|
|
3
|
-
<div style="flex: 1; min-width: 200px">
|
|
4
|
-
<dasar-number-input
|
|
5
|
-
label="Outline (Default)"
|
|
6
|
-
appearance="outline"
|
|
7
|
-
full-width
|
|
8
|
-
></dasar-number-input>
|
|
9
|
-
</div>
|
|
10
|
-
<div style="flex: 1; min-width: 200px">
|
|
11
|
-
<dasar-number-input
|
|
12
|
-
label="Filled Appearance"
|
|
13
|
-
appearance="filled"
|
|
14
|
-
full-width
|
|
15
|
-
></dasar-number-input>
|
|
16
|
-
</div>
|
|
17
|
-
</div>
|
|
18
|
-
|
|
19
|
-
<div style="display: flex; gap: 24px; align-items: flex-end; flex-wrap: wrap">
|
|
20
|
-
<div style="flex: 1; min-width: 200px">
|
|
21
|
-
<dasar-number-input label="Small Size" size="sm" full-width></dasar-number-input>
|
|
22
|
-
</div>
|
|
23
|
-
<div style="flex: 1; min-width: 200px">
|
|
24
|
-
<dasar-number-input label="Medium Size" size="md" full-width></dasar-number-input>
|
|
25
|
-
</div>
|
|
26
|
-
<div style="flex: 1; min-width: 200px">
|
|
27
|
-
<dasar-number-input label="Large Size" size="lg" full-width></dasar-number-input>
|
|
28
|
-
</div>
|
|
29
|
-
</div>
|
|
30
|
-
</div>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { DasarNumberInputComponent } from 'dasar-ui';
|
|
2
|
-
import { Component } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
templateUrl: './number-input-appearance.example.html',
|
|
6
|
-
selector: 'app-number-input-appearance-example',
|
|
7
|
-
imports: [DasarNumberInputComponent],
|
|
8
|
-
standalone: true,
|
|
9
|
-
})
|
|
10
|
-
export class NumberInputAppearanceExample {}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<div style="display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 320px">
|
|
2
|
-
<dasar-number-input
|
|
3
|
-
label="Item Quantity"
|
|
4
|
-
placeholder="0"
|
|
5
|
-
[(ngModel)]="qty"
|
|
6
|
-
full-width
|
|
7
|
-
></dasar-number-input>
|
|
8
|
-
|
|
9
|
-
<p style="margin: 0; font-size: 14px; color: var(--theme-text-secondary-color)">
|
|
10
|
-
Bound Value: <strong>{{ qty }}</strong>
|
|
11
|
-
</p>
|
|
12
|
-
</div>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { FormsModule } from '@angular/forms';
|
|
3
|
-
import { DasarNumberInputComponent } from 'dasar-ui';
|
|
4
|
-
|
|
5
|
-
@Component({
|
|
6
|
-
selector: 'app-number-input-basic-example',
|
|
7
|
-
standalone: true,
|
|
8
|
-
imports: [FormsModule, DasarNumberInputComponent],
|
|
9
|
-
templateUrl: './number-input-basic.example.html',
|
|
10
|
-
})
|
|
11
|
-
export class NumberInputBasicExample {
|
|
12
|
-
public qty: number = 1;
|
|
13
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<div style="display: flex; flex-direction: column; gap: 32px; width: 100%">
|
|
2
|
-
<div style="display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap">
|
|
3
|
-
<div style="flex: 1; min-width: 200px">
|
|
4
|
-
<dasar-number-input
|
|
5
|
-
label="Outline (Default)"
|
|
6
|
-
appearance="outline"
|
|
7
|
-
full-width
|
|
8
|
-
></dasar-number-input>
|
|
9
|
-
</div>
|
|
10
|
-
<div style="flex: 1; min-width: 200px">
|
|
11
|
-
<dasar-number-input
|
|
12
|
-
label="Filled Appearance"
|
|
13
|
-
appearance="filled"
|
|
14
|
-
full-width
|
|
15
|
-
></dasar-number-input>
|
|
16
|
-
</div>
|
|
17
|
-
</div>
|
|
18
|
-
|
|
19
|
-
<div style="display: flex; gap: 24px; align-items: flex-end; flex-wrap: wrap">
|
|
20
|
-
<div style="flex: 1; min-width: 200px">
|
|
21
|
-
<dasar-number-input label="Small Size" size="sm" full-width></dasar-number-input>
|
|
22
|
-
</div>
|
|
23
|
-
<div style="flex: 1; min-width: 200px">
|
|
24
|
-
<dasar-number-input label="Medium Size" size="md" full-width></dasar-number-input>
|
|
25
|
-
</div>
|
|
26
|
-
<div style="flex: 1; min-width: 200px">
|
|
27
|
-
<dasar-number-input label="Large Size" size="lg" full-width></dasar-number-input>
|
|
28
|
-
</div>
|
|
29
|
-
</div>
|
|
30
|
-
</div>
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { DasarNumberInputComponent } from 'dasar-ui';
|
|
2
|
-
import { FormsModule } from '@angular/forms';
|
|
3
|
-
import { Component } from '@angular/core';
|
|
4
|
-
|
|
5
|
-
@Component({
|
|
6
|
-
imports: [FormsModule, DasarNumberInputComponent],
|
|
7
|
-
templateUrl: './number-input-limits.example.html',
|
|
8
|
-
selector: 'app-number-input-limits-example',
|
|
9
|
-
standalone: true,
|
|
10
|
-
})
|
|
11
|
-
export class NumberInputLimitsExample {
|
|
12
|
-
public percentage: number = 50;
|
|
13
|
-
public temperature: number = 36.5;
|
|
14
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
<div style="display: flex; flex-direction: column; gap: 24px; width: 100%; max-width: 400px">
|
|
2
|
-
<dasar-number-input label="Price" placeholder="0" full-width>
|
|
3
|
-
<div
|
|
4
|
-
prefix
|
|
5
|
-
style="
|
|
6
|
-
padding: 0 16px;
|
|
7
|
-
display: flex;
|
|
8
|
-
align-items: center;
|
|
9
|
-
font-weight: 500;
|
|
10
|
-
background: var(--theme-bg-hover-color);
|
|
11
|
-
border-right: 1px solid var(--theme-border-strong-color);
|
|
12
|
-
height: 100%;
|
|
13
|
-
"
|
|
14
|
-
>
|
|
15
|
-
$
|
|
16
|
-
</div>
|
|
17
|
-
</dasar-number-input>
|
|
18
|
-
|
|
19
|
-
<dasar-number-input label="Custom Action Buttons" [value]="1" full-width>
|
|
20
|
-
<div
|
|
21
|
-
decrement-slot
|
|
22
|
-
style="
|
|
23
|
-
padding: 0 16px;
|
|
24
|
-
display: flex;
|
|
25
|
-
align-items: center;
|
|
26
|
-
background: var(--theme-danger-color);
|
|
27
|
-
color: white;
|
|
28
|
-
height: 100%;
|
|
29
|
-
font-weight: 600;
|
|
30
|
-
"
|
|
31
|
-
>
|
|
32
|
-
MINUS
|
|
33
|
-
</div>
|
|
34
|
-
<div
|
|
35
|
-
increment-slot
|
|
36
|
-
style="
|
|
37
|
-
padding: 0 16px;
|
|
38
|
-
display: flex;
|
|
39
|
-
align-items: center;
|
|
40
|
-
background: var(--theme-success-color);
|
|
41
|
-
color: white;
|
|
42
|
-
height: 100%;
|
|
43
|
-
font-weight: 600;
|
|
44
|
-
"
|
|
45
|
-
>
|
|
46
|
-
PLUS
|
|
47
|
-
</div>
|
|
48
|
-
</dasar-number-input>
|
|
49
|
-
</div>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { DasarNumberInputComponent } from 'dasar-ui';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
templateUrl: './number-input-slots.example.html',
|
|
6
|
-
selector: 'app-number-input-slots-example',
|
|
7
|
-
imports: [DasarNumberInputComponent],
|
|
8
|
-
standalone: true,
|
|
9
|
-
})
|
|
10
|
-
export class NumberInputSlotsExample {}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<div style="display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; width: 100%">
|
|
2
|
-
<div style="flex: 1; min-width: 200px">
|
|
3
|
-
<dasar-number-input
|
|
4
|
-
label="Error State"
|
|
5
|
-
[error]="true"
|
|
6
|
-
hint="Value exceeds available stock."
|
|
7
|
-
[value]="999"
|
|
8
|
-
full-width
|
|
9
|
-
></dasar-number-input>
|
|
10
|
-
</div>
|
|
11
|
-
|
|
12
|
-
<div style="flex: 1; min-width: 200px">
|
|
13
|
-
<dasar-number-input
|
|
14
|
-
label="Disabled State"
|
|
15
|
-
[disabled]="true"
|
|
16
|
-
hint="Out of stock."
|
|
17
|
-
[value]="0"
|
|
18
|
-
full-width
|
|
19
|
-
></dasar-number-input>
|
|
20
|
-
</div>
|
|
21
|
-
</div>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { DasarNumberInputComponent } from 'dasar-ui';
|
|
2
|
-
import { Component } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
templateUrl: './number-input-states.example.html',
|
|
6
|
-
selector: 'app-number-input-states-example',
|
|
7
|
-
imports: [DasarNumberInputComponent],
|
|
8
|
-
standalone: true,
|
|
9
|
-
})
|
|
10
|
-
export class NumberInputStatesExample {}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
<docs-layout
|
|
2
|
-
title="Number Input"
|
|
3
|
-
description="A numeric input field with built-in increment and decrement stepper controls."
|
|
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 Usage"
|
|
12
|
-
>
|
|
13
|
-
<app-number-input-basic-example></app-number-input-basic-example>
|
|
14
|
-
</doc-example-component>
|
|
15
|
-
|
|
16
|
-
<doc-example-component
|
|
17
|
-
[codes]="[
|
|
18
|
-
{ label: 'HTML', lang: 'html', value: appearanceHtml },
|
|
19
|
-
{ label: 'TypeScript', lang: 'typescript', value: appearanceTs },
|
|
20
|
-
]"
|
|
21
|
-
title="Appearance & Sizes"
|
|
22
|
-
>
|
|
23
|
-
<app-number-input-appearance-example></app-number-input-appearance-example>
|
|
24
|
-
</doc-example-component>
|
|
25
|
-
|
|
26
|
-
<doc-example-component
|
|
27
|
-
[codes]="[
|
|
28
|
-
{ label: 'HTML', lang: 'html', value: limitsHtml },
|
|
29
|
-
{ label: 'TypeScript', lang: 'typescript', value: limitsTs },
|
|
30
|
-
]"
|
|
31
|
-
title="Min, Max & Step Limits"
|
|
32
|
-
>
|
|
33
|
-
<app-number-input-limits-example></app-number-input-limits-example>
|
|
34
|
-
</doc-example-component>
|
|
35
|
-
|
|
36
|
-
<doc-example-component
|
|
37
|
-
[codes]="[
|
|
38
|
-
{ label: 'HTML', lang: 'html', value: statesHtml },
|
|
39
|
-
{ label: 'TypeScript', lang: 'typescript', value: statesTs },
|
|
40
|
-
]"
|
|
41
|
-
title="Validation & States"
|
|
42
|
-
>
|
|
43
|
-
<app-number-input-states-example></app-number-input-states-example>
|
|
44
|
-
</doc-example-component>
|
|
45
|
-
|
|
46
|
-
<doc-example-component
|
|
47
|
-
[codes]="[
|
|
48
|
-
{ label: 'HTML', lang: 'html', value: slotsHtml },
|
|
49
|
-
{ label: 'TypeScript', lang: 'typescript', value: slotsTs },
|
|
50
|
-
]"
|
|
51
|
-
title="Prefix & Action Slots"
|
|
52
|
-
>
|
|
53
|
-
<app-number-input-slots-example></app-number-input-slots-example>
|
|
54
|
-
</doc-example-component>
|
|
55
|
-
</docs-layout>
|
|
@@ -1,142 +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 { NumberInputBasicExample } from './examples/basic/number-input-basic.example';
|
|
7
|
-
import { NumberInputAppearanceExample } from './examples/appearance/number-input-appearance.example';
|
|
8
|
-
import { NumberInputLimitsExample } from './examples/limits/number-input-limits.example';
|
|
9
|
-
import { NumberInputStatesExample } from './examples/states/number-input-states.example';
|
|
10
|
-
import { NumberInputSlotsExample } from './examples/slots/number-input-slots.example';
|
|
11
|
-
|
|
12
|
-
// @ts-ignore
|
|
13
|
-
import basicHtml from './examples/basic/number-input-basic.example.html' with { loader: 'text' };
|
|
14
|
-
// @ts-ignore
|
|
15
|
-
import basicTs from './examples/basic/number-input-basic.example.ts' with { loader: 'text' };
|
|
16
|
-
// @ts-ignore
|
|
17
|
-
import appearanceHtml from './examples/appearance/number-input-appearance.example.html' with {
|
|
18
|
-
loader: 'text',
|
|
19
|
-
};
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
import appearanceTs from './examples/appearance/number-input-appearance.example.ts' with {
|
|
22
|
-
loader: 'text',
|
|
23
|
-
};
|
|
24
|
-
// @ts-ignore
|
|
25
|
-
import limitsHtml from './examples/limits/number-input-limits.example.html' with { loader: 'text' };
|
|
26
|
-
// @ts-ignore
|
|
27
|
-
import limitsTs from './examples/limits/number-input-limits.example.ts' with { loader: 'text' };
|
|
28
|
-
// @ts-ignore
|
|
29
|
-
import statesHtml from './examples/states/number-input-states.example.html' with { loader: 'text' };
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
import statesTs from './examples/states/number-input-states.example.ts' with { loader: 'text' };
|
|
32
|
-
// @ts-ignore
|
|
33
|
-
import slotsHtml from './examples/slots/number-input-slots.example.html' with { loader: 'text' };
|
|
34
|
-
// @ts-ignore
|
|
35
|
-
import slotsTs from './examples/slots/number-input-slots.example.ts' with { loader: 'text' };
|
|
36
|
-
|
|
37
|
-
@Component({
|
|
38
|
-
imports: [
|
|
39
|
-
CommonModule,
|
|
40
|
-
DocsLayoutComponent,
|
|
41
|
-
DocExampleComponent,
|
|
42
|
-
NumberInputBasicExample,
|
|
43
|
-
NumberInputAppearanceExample,
|
|
44
|
-
NumberInputLimitsExample,
|
|
45
|
-
NumberInputStatesExample,
|
|
46
|
-
NumberInputSlotsExample,
|
|
47
|
-
],
|
|
48
|
-
templateUrl: './number-input.page.html',
|
|
49
|
-
selector: 'app-number-input-page',
|
|
50
|
-
standalone: true,
|
|
51
|
-
})
|
|
52
|
-
export class NumberInputDocPage {
|
|
53
|
-
protected basicHtml = basicHtml;
|
|
54
|
-
protected basicTs = basicTs;
|
|
55
|
-
protected appearanceHtml = appearanceHtml;
|
|
56
|
-
protected appearanceTs = appearanceTs;
|
|
57
|
-
protected limitsHtml = limitsHtml;
|
|
58
|
-
protected limitsTs = limitsTs;
|
|
59
|
-
protected statesHtml = statesHtml;
|
|
60
|
-
protected statesTs = statesTs;
|
|
61
|
-
protected slotsHtml = slotsHtml;
|
|
62
|
-
protected slotsTs = slotsTs;
|
|
63
|
-
|
|
64
|
-
protected readonly apiProps: DocApiProperty[] = [
|
|
65
|
-
{
|
|
66
|
-
name: 'value',
|
|
67
|
-
type: 'number | null',
|
|
68
|
-
defaultValue: 'null',
|
|
69
|
-
description: 'The current numeric value.',
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
name: 'appearance',
|
|
73
|
-
type: "'outline' | 'filled'",
|
|
74
|
-
defaultValue: "'outline'",
|
|
75
|
-
description: 'Visual container style.',
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
name: 'size',
|
|
79
|
-
type: "'xs' | 'sm' | 'md' | 'lg' | 'xl'",
|
|
80
|
-
defaultValue: "'md'",
|
|
81
|
-
description: 'Sizing scale.',
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
name: 'radius',
|
|
85
|
-
type: 'ScaleAttributeType',
|
|
86
|
-
defaultValue: "'md'",
|
|
87
|
-
description: 'Border radius.',
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
name: 'step',
|
|
91
|
-
type: 'number',
|
|
92
|
-
defaultValue: '1',
|
|
93
|
-
description: 'Increment/decrement value step.',
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
name: 'min / max',
|
|
97
|
-
type: 'number',
|
|
98
|
-
defaultValue: 'undefined',
|
|
99
|
-
description: 'Constraint limits.',
|
|
100
|
-
},
|
|
101
|
-
{ name: 'label', type: 'string', defaultValue: 'undefined', description: 'Text label.' },
|
|
102
|
-
{ name: 'hint', type: 'string', defaultValue: 'undefined', description: 'Helper text.' },
|
|
103
|
-
{ name: 'placeholder', type: 'string', defaultValue: "''", description: 'Placeholder string.' },
|
|
104
|
-
{
|
|
105
|
-
name: 'full-width',
|
|
106
|
-
type: 'boolean',
|
|
107
|
-
defaultValue: 'false',
|
|
108
|
-
description: 'Forces full width.',
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
name: 'disabled',
|
|
112
|
-
type: 'boolean',
|
|
113
|
-
defaultValue: 'false',
|
|
114
|
-
description: 'Disables input and actions.',
|
|
115
|
-
},
|
|
116
|
-
{ name: 'error', type: 'boolean', defaultValue: 'false', description: 'Error styling.' },
|
|
117
|
-
{
|
|
118
|
-
name: '(valueChange)',
|
|
119
|
-
type: 'EventEmitter<number | null>',
|
|
120
|
-
defaultValue: '-',
|
|
121
|
-
description: 'Emitted on change.',
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
name: '(onIncrementClick) / (onDecrementClick)',
|
|
125
|
-
type: 'EventEmitter<number>',
|
|
126
|
-
defaultValue: '-',
|
|
127
|
-
description: 'Action button events.',
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
name: '[prefix]',
|
|
131
|
-
type: 'Content Slot',
|
|
132
|
-
defaultValue: '-',
|
|
133
|
-
description: 'Custom prefix content.',
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
name: '[increment-slot] / [decrement-slot]',
|
|
137
|
-
type: 'Content Slot',
|
|
138
|
-
defaultValue: '-',
|
|
139
|
-
description: 'Custom action button templates.',
|
|
140
|
-
},
|
|
141
|
-
];
|
|
142
|
-
}
|