dasar-ui 1.9.2 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +64 -65
- package/fesm2022/dasar-ui.mjs +37004 -0
- package/fesm2022/dasar-ui.mjs.map +1 -0
- package/package.json +39 -57
- package/{projects/dasar-ui/src/lib/styles → styles}/theme.scss +238 -238
- package/types/dasar-ui.d.ts +4075 -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
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
<docs-layout
|
|
2
|
-
title="Chip"
|
|
3
|
-
description="A compact label for tags, statuses and filters, with color variants, appearances, sizes and radius, plus removable, clickable and disabled states."
|
|
4
|
-
[apiData]="apiProps"
|
|
5
|
-
>
|
|
6
|
-
<doc-example-component
|
|
7
|
-
[codes]="[
|
|
8
|
-
{ label: 'HTML', lang: 'html', value: variantHtml },
|
|
9
|
-
{ label: 'TypeScript', lang: 'typescript', value: variantTs },
|
|
10
|
-
]"
|
|
11
|
-
title="Variant"
|
|
12
|
-
>
|
|
13
|
-
<app-chip-variant-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"
|
|
22
|
-
>
|
|
23
|
-
<app-chip-appearance-example />
|
|
24
|
-
</doc-example-component>
|
|
25
|
-
|
|
26
|
-
<doc-example-component
|
|
27
|
-
[codes]="[
|
|
28
|
-
{ label: 'HTML', lang: 'html', value: radiusHtml },
|
|
29
|
-
{ label: 'TypeScript', lang: 'typescript', value: radiusTs },
|
|
30
|
-
]"
|
|
31
|
-
title="Radius"
|
|
32
|
-
>
|
|
33
|
-
<app-chip-radius-example />
|
|
34
|
-
</doc-example-component>
|
|
35
|
-
|
|
36
|
-
<doc-example-component
|
|
37
|
-
[codes]="[
|
|
38
|
-
{ label: 'HTML', lang: 'html', value: sizesHtml },
|
|
39
|
-
{ label: 'TypeScript', lang: 'typescript', value: sizesTs },
|
|
40
|
-
]"
|
|
41
|
-
title="Sizes"
|
|
42
|
-
>
|
|
43
|
-
<app-chip-sizes-example />
|
|
44
|
-
</doc-example-component>
|
|
45
|
-
|
|
46
|
-
<doc-example-component
|
|
47
|
-
[codes]="[
|
|
48
|
-
{ label: 'HTML', lang: 'html', value: moreHtml },
|
|
49
|
-
{ label: 'TypeScript', lang: 'typescript', value: moreTs },
|
|
50
|
-
]"
|
|
51
|
-
title="More example"
|
|
52
|
-
>
|
|
53
|
-
<app-chip-more-example />
|
|
54
|
-
</doc-example-component>
|
|
55
|
-
</docs-layout>
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
import { DocsLayoutComponent, DocNavGroup, DocApiProperty } from '../../layouts/doc.layout';
|
|
2
|
-
import { DocExampleComponent } from '../../components/doc-example.component';
|
|
3
|
-
import { CommonModule } from '@angular/common';
|
|
4
|
-
import { Component } from '@angular/core';
|
|
5
|
-
|
|
6
|
-
import { ChipVariantExample } from './examples/variant/chip-variant.example';
|
|
7
|
-
import { ChipAppearanceExample } from './examples/appearance/chip-appearance.example';
|
|
8
|
-
import { ChipRadiusExample } from './examples/radius/chip-radius.example';
|
|
9
|
-
import { ChipSizesExample } from './examples/sizes/chip-sizes.example';
|
|
10
|
-
import { ChipMoreExample } from './examples/more/chip-more.example';
|
|
11
|
-
|
|
12
|
-
// @ts-ignore - raw example
|
|
13
|
-
import variantHtml from './examples/variant/chip-variant.example.html' with { loader: 'text' };
|
|
14
|
-
// @ts-ignore - raw example
|
|
15
|
-
import variantTs from './examples/variant/chip-variant.example.ts' with { loader: 'text' };
|
|
16
|
-
|
|
17
|
-
// @ts-ignore - raw example
|
|
18
|
-
import appearanceHtml from './examples/appearance/chip-appearance.example.html' with {
|
|
19
|
-
loader: 'text',
|
|
20
|
-
};
|
|
21
|
-
// @ts-ignore - raw example
|
|
22
|
-
import appearanceTs from './examples/appearance/chip-appearance.example.ts' with { loader: 'text' };
|
|
23
|
-
|
|
24
|
-
// @ts-ignore - raw example
|
|
25
|
-
import radiusHtml from './examples/radius/chip-radius.example.html' with { loader: 'text' };
|
|
26
|
-
// @ts-ignore - raw example
|
|
27
|
-
import radiusTs from './examples/radius/chip-radius.example.ts' with { loader: 'text' };
|
|
28
|
-
|
|
29
|
-
// @ts-ignore - raw example
|
|
30
|
-
import sizesHtml from './examples/sizes/chip-sizes.example.html' with { loader: 'text' };
|
|
31
|
-
// @ts-ignore - raw example
|
|
32
|
-
import sizesTs from './examples/sizes/chip-sizes.example.ts' with { loader: 'text' };
|
|
33
|
-
|
|
34
|
-
// @ts-ignore - raw example
|
|
35
|
-
import moreHtml from './examples/more/chip-more.example.html' with { loader: 'text' };
|
|
36
|
-
// @ts-ignore - raw example
|
|
37
|
-
import moreTs from './examples/more/chip-more.example.ts' with { loader: 'text' };
|
|
38
|
-
|
|
39
|
-
@Component({
|
|
40
|
-
imports: [
|
|
41
|
-
CommonModule,
|
|
42
|
-
DocsLayoutComponent,
|
|
43
|
-
DocExampleComponent,
|
|
44
|
-
ChipVariantExample,
|
|
45
|
-
ChipAppearanceExample,
|
|
46
|
-
ChipRadiusExample,
|
|
47
|
-
ChipSizesExample,
|
|
48
|
-
ChipMoreExample,
|
|
49
|
-
],
|
|
50
|
-
templateUrl: './chip.page.html',
|
|
51
|
-
selector: 'app-chip-page',
|
|
52
|
-
standalone: true,
|
|
53
|
-
})
|
|
54
|
-
export class ChipDocPage {
|
|
55
|
-
protected variantHtml = variantHtml;
|
|
56
|
-
protected variantTs = variantTs;
|
|
57
|
-
|
|
58
|
-
protected appearanceHtml = appearanceHtml;
|
|
59
|
-
protected appearanceTs = appearanceTs;
|
|
60
|
-
|
|
61
|
-
protected radiusHtml = radiusHtml;
|
|
62
|
-
protected radiusTs = radiusTs;
|
|
63
|
-
|
|
64
|
-
protected sizesHtml = sizesHtml;
|
|
65
|
-
protected sizesTs = sizesTs;
|
|
66
|
-
|
|
67
|
-
protected moreHtml = moreHtml;
|
|
68
|
-
protected moreTs = moreTs;
|
|
69
|
-
protected readonly apiProps: DocApiProperty[] = [
|
|
70
|
-
{
|
|
71
|
-
name: 'label',
|
|
72
|
-
type: 'string',
|
|
73
|
-
defaultValue: '-',
|
|
74
|
-
description:
|
|
75
|
-
'The text content to display inside the chip. Can also be provided via the [chip-label] slot.',
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
name: 'variant',
|
|
79
|
-
type: "'primary' | 'success' | 'warning' | 'danger' | 'secondary' | 'ghost'",
|
|
80
|
-
defaultValue: "'primary'",
|
|
81
|
-
description: 'Defines the semantic color intent of the chip.',
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
name: 'appearance',
|
|
85
|
-
type: "'solid' | 'subtle' | 'outline'",
|
|
86
|
-
defaultValue: "'solid'",
|
|
87
|
-
description: 'Defines the fill and border style of the chip.',
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
name: 'size',
|
|
91
|
-
type: "'xs' | 'sm' | 'md' | 'lg'",
|
|
92
|
-
defaultValue: "'xs'",
|
|
93
|
-
description: 'Controls the overall size, padding, and typography of the chip.',
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
name: 'radius',
|
|
97
|
-
type: 'ScaleAttributeType',
|
|
98
|
-
defaultValue: "'md'",
|
|
99
|
-
description: 'Sets the border radius curve. Defaults to a pill shape (full).',
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
name: 'icon-name',
|
|
103
|
-
type: 'string',
|
|
104
|
-
defaultValue: '-',
|
|
105
|
-
description: 'The registry key of an icon to render at the start of the chip.',
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
name: 'removable',
|
|
109
|
-
type: 'boolean',
|
|
110
|
-
defaultValue: 'false',
|
|
111
|
-
description: 'If true, displays a trailing close icon and enables the onRemoved event.',
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
name: 'close-icon-name',
|
|
115
|
-
type: 'string',
|
|
116
|
-
defaultValue: "'x'",
|
|
117
|
-
description: 'The registry key for the close icon. Only visible when removable is true.',
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
name: 'disabled',
|
|
121
|
-
type: 'boolean',
|
|
122
|
-
defaultValue: 'false',
|
|
123
|
-
description: 'Mutes the visual state and prevents click and remove events.',
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
name: 'fluid',
|
|
127
|
-
type: 'boolean',
|
|
128
|
-
defaultValue: 'false',
|
|
129
|
-
description: 'Forces the chip to fill 100% of its parent container width.',
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
name: 'container-class / content-class / label-class',
|
|
133
|
-
type: 'ClassType',
|
|
134
|
-
defaultValue: 'null',
|
|
135
|
-
description: 'Accepts custom CSS classes to inject into specific DOM layers of the chip.',
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
name: 'container-style / content-style / label-style',
|
|
139
|
-
type: 'StyleType',
|
|
140
|
-
defaultValue: 'null',
|
|
141
|
-
description: 'Accepts custom inline styles to inject into specific DOM layers of the chip.',
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
name: '(onClick)',
|
|
145
|
-
type: 'EventEmitter<Event>',
|
|
146
|
-
defaultValue: '-',
|
|
147
|
-
description:
|
|
148
|
-
'Emitted when the main chip body is clicked. Automatically ignores disabled states.',
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
name: '(onRemove)',
|
|
152
|
-
type: 'EventEmitter<Event>',
|
|
153
|
-
defaultValue: '-',
|
|
154
|
-
description:
|
|
155
|
-
'Emitted when the trailing close icon is clicked. Automatically prevents event bubbling.',
|
|
156
|
-
},
|
|
157
|
-
];
|
|
158
|
-
}
|
package/projects/documentation/src/app/pages/chip/examples/appearance/chip-appearance.example.html
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<div [style]="{ display: 'flex', gap: '12px', 'align-items': 'center', 'flex-wrap': 'wrap' }">
|
|
2
|
-
<dasar-chip variant="primary">Primary Solid</dasar-chip>
|
|
3
|
-
<dasar-chip variant="primary" appearance="outline">Primary Outline</dasar-chip>
|
|
4
|
-
<dasar-chip variant="success" appearance="subtle">Success Subtle</dasar-chip>
|
|
5
|
-
<dasar-chip variant="danger" appearance="outline">Danger Outline</dasar-chip>
|
|
6
|
-
<dasar-chip variant="secondary" appearance="subtle">Secondary Subtle</dasar-chip>
|
|
7
|
-
</div>
|
package/projects/documentation/src/app/pages/chip/examples/appearance/chip-appearance.example.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { DasarChipComponent } from 'dasar-ui';
|
|
2
|
-
import { Component } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
templateUrl: './chip-appearance.example.html',
|
|
6
|
-
selector: 'app-chip-appearance-example',
|
|
7
|
-
imports: [DasarChipComponent],
|
|
8
|
-
standalone: true,
|
|
9
|
-
})
|
|
10
|
-
export class ChipAppearanceExample {}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<div [style]="{ display: 'flex', gap: '12px', 'align-items': 'center', 'flex-wrap': 'wrap' }">
|
|
2
|
-
<dasar-chip disabled size="sm">Disabled</dasar-chip>
|
|
3
|
-
<dasar-chip label="Attribute Label Tag" [removable]="true" size="sm"></dasar-chip>
|
|
4
|
-
<dasar-chip
|
|
5
|
-
appearance="subtle"
|
|
6
|
-
size="sm"
|
|
7
|
-
[removable]="true"
|
|
8
|
-
(onClick)="clicked()"
|
|
9
|
-
(onRemove)="removed()"
|
|
10
|
-
>
|
|
11
|
-
<span chip-label>Clickable</span>
|
|
12
|
-
</dasar-chip>
|
|
13
|
-
</div>
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { DasarChipComponent } from 'dasar-ui';
|
|
2
|
-
import { Component } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
templateUrl: './chip-more.example.html',
|
|
6
|
-
selector: 'app-chip-more-example',
|
|
7
|
-
imports: [DasarChipComponent],
|
|
8
|
-
standalone: true,
|
|
9
|
-
})
|
|
10
|
-
export class ChipMoreExample {
|
|
11
|
-
removed() {
|
|
12
|
-
alert('Chip removed!');
|
|
13
|
-
}
|
|
14
|
-
clicked() {
|
|
15
|
-
alert('Chip clicked!');
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
<div [style]="{ display: 'flex', gap: '12px', 'align-items': 'center', 'flex-wrap': 'wrap' }">
|
|
2
|
-
<dasar-chip radius="none">Radius None</dasar-chip>
|
|
3
|
-
<dasar-chip radius="xs">Radius XS</dasar-chip>
|
|
4
|
-
<dasar-chip radius="sm">Radius SM</dasar-chip>
|
|
5
|
-
<dasar-chip radius="md">Radius MD</dasar-chip>
|
|
6
|
-
<dasar-chip radius="lg">Radius LG</dasar-chip>
|
|
7
|
-
<dasar-chip radius="xl">Radius XL</dasar-chip>
|
|
8
|
-
<dasar-chip radius="full">Radius Full</dasar-chip>
|
|
9
|
-
</div>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { DasarChipComponent } from 'dasar-ui';
|
|
2
|
-
import { Component } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
templateUrl: './chip-radius.example.html',
|
|
6
|
-
selector: 'app-chip-radius-example',
|
|
7
|
-
imports: [DasarChipComponent],
|
|
8
|
-
standalone: true,
|
|
9
|
-
})
|
|
10
|
-
export class ChipRadiusExample {}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<div [style]="{ display: 'flex', gap: '12px', 'align-items': 'center', 'flex-wrap': 'wrap' }">
|
|
2
|
-
<dasar-chip size="xs">Size xs</dasar-chip>
|
|
3
|
-
<dasar-chip size="sm">Size sm</dasar-chip>
|
|
4
|
-
<dasar-chip size="md">Size md</dasar-chip>
|
|
5
|
-
<dasar-chip size="lg">Size lg</dasar-chip>
|
|
6
|
-
</div>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { DasarChipComponent } from 'dasar-ui';
|
|
2
|
-
import { Component } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
templateUrl: './chip-sizes.example.html',
|
|
6
|
-
selector: 'app-chip-sizes-example',
|
|
7
|
-
imports: [DasarChipComponent],
|
|
8
|
-
standalone: true,
|
|
9
|
-
})
|
|
10
|
-
export class ChipSizesExample {}
|
package/projects/documentation/src/app/pages/chip/examples/variant/chip-variant.example.html
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<div [style]="{ display: 'flex', gap: '12px', 'align-items': 'center', 'flex-wrap': 'wrap' }">
|
|
2
|
-
<dasar-chip variant="primary">Primary</dasar-chip>
|
|
3
|
-
<dasar-chip variant="success">Success</dasar-chip>
|
|
4
|
-
<dasar-chip variant="warning">Warning</dasar-chip>
|
|
5
|
-
<dasar-chip variant="danger">Danger</dasar-chip>
|
|
6
|
-
<dasar-chip variant="secondary">Secondary</dasar-chip>
|
|
7
|
-
<dasar-chip variant="ghost">Ghost</dasar-chip>
|
|
8
|
-
</div>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { DasarChipComponent } from 'dasar-ui';
|
|
2
|
-
import { Component } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
templateUrl: './chip-variant.example.html',
|
|
6
|
-
selector: 'app-chip-variant-example',
|
|
7
|
-
imports: [DasarChipComponent],
|
|
8
|
-
standalone: true,
|
|
9
|
-
})
|
|
10
|
-
export class ChipVariantExample {}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
<docs-layout
|
|
2
|
-
title="Datepicker"
|
|
3
|
-
description="A fully featured date selection component utilizing Dasar Calendar internally, supporting smart placement, localization, and rich custom templating."
|
|
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-datepicker-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-datepicker-appearance-example />
|
|
24
|
-
</doc-example-component>
|
|
25
|
-
|
|
26
|
-
<doc-example-component
|
|
27
|
-
[codes]="[
|
|
28
|
-
{ label: 'HTML', lang: 'html', value: formatHtml },
|
|
29
|
-
{ label: 'TypeScript', lang: 'typescript', value: formatTs },
|
|
30
|
-
]"
|
|
31
|
-
title="Formatting & Locales"
|
|
32
|
-
>
|
|
33
|
-
<app-datepicker-format-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-datepicker-states-example />
|
|
44
|
-
</doc-example-component>
|
|
45
|
-
|
|
46
|
-
<doc-example-component
|
|
47
|
-
[codes]="[
|
|
48
|
-
{ label: 'HTML', lang: 'html', value: placementHtml },
|
|
49
|
-
{ label: 'TypeScript', lang: 'typescript', value: placementTs },
|
|
50
|
-
]"
|
|
51
|
-
title="Smart Placements"
|
|
52
|
-
>
|
|
53
|
-
<app-datepicker-placement-example />
|
|
54
|
-
</doc-example-component>
|
|
55
|
-
|
|
56
|
-
<doc-example-component
|
|
57
|
-
[codes]="[
|
|
58
|
-
{ label: 'HTML', lang: 'html', value: slotsHtml },
|
|
59
|
-
{ label: 'TypeScript', lang: 'typescript', value: slotsTs },
|
|
60
|
-
]"
|
|
61
|
-
title="Custom Content Slots"
|
|
62
|
-
>
|
|
63
|
-
<app-datepicker-slots-example />
|
|
64
|
-
</doc-example-component>
|
|
65
|
-
|
|
66
|
-
<doc-example-component
|
|
67
|
-
[codes]="[
|
|
68
|
-
{ label: 'HTML', lang: 'html', value: footerHtml },
|
|
69
|
-
{ label: 'TypeScript', lang: 'typescript', value: footerTs },
|
|
70
|
-
]"
|
|
71
|
-
title="Dropdown Footer Actions"
|
|
72
|
-
>
|
|
73
|
-
<app-datepicker-footer-example />
|
|
74
|
-
</doc-example-component>
|
|
75
|
-
</docs-layout>
|
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
import { DocsLayoutComponent, DocApiProperty } from '../../layouts/doc.layout';
|
|
2
|
-
import { DocExampleComponent } from '../../components/doc-example.component';
|
|
3
|
-
import { CommonModule } from '@angular/common';
|
|
4
|
-
import { Component } from '@angular/core';
|
|
5
|
-
|
|
6
|
-
import { DatepickerAppearanceExample } from './examples/appearance/datepicker-appearance.example';
|
|
7
|
-
import { DatepickerPlacementExample } from './examples/placement/datepicker-placement.example';
|
|
8
|
-
import { DatepickerFormatExample } from './examples/format/datepicker-format.example';
|
|
9
|
-
import { DatepickerStatesExample } from './examples/states/datepicker-states.example';
|
|
10
|
-
import { DatepickerFooterExample } from './examples/footer/datepicker-footer.example';
|
|
11
|
-
import { DatepickerBasicExample } from './examples/basic/datepicker-basic.example';
|
|
12
|
-
import { DatepickerSlotsExample } from './examples/slots/datepicker-slots.example';
|
|
13
|
-
|
|
14
|
-
// @ts-ignore
|
|
15
|
-
import basicHtml from './examples/basic/datepicker-basic.example.html' with { loader: 'text' };
|
|
16
|
-
// @ts-ignore
|
|
17
|
-
import basicTs from './examples/basic/datepicker-basic.example.ts' with { loader: 'text' };
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
import appearanceHtml from './examples/appearance/datepicker-appearance.example.html' with {
|
|
20
|
-
loader: 'text',
|
|
21
|
-
};
|
|
22
|
-
// @ts-ignore
|
|
23
|
-
import appearanceTs from './examples/appearance/datepicker-appearance.example.ts' with {
|
|
24
|
-
loader: 'text',
|
|
25
|
-
};
|
|
26
|
-
// @ts-ignore
|
|
27
|
-
import formatHtml from './examples/format/datepicker-format.example.html' with {
|
|
28
|
-
loader: 'text',
|
|
29
|
-
};
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
import formatTs from './examples/format/datepicker-format.example.ts' with {
|
|
32
|
-
loader: 'text',
|
|
33
|
-
};
|
|
34
|
-
// @ts-ignore
|
|
35
|
-
import statesHtml from './examples/states/datepicker-states.example.html' with { loader: 'text' };
|
|
36
|
-
// @ts-ignore
|
|
37
|
-
import statesTs from './examples/states/datepicker-states.example.ts' with { loader: 'text' };
|
|
38
|
-
// @ts-ignore
|
|
39
|
-
import placementHtml from './examples/placement/datepicker-placement.example.html' with {
|
|
40
|
-
loader: 'text',
|
|
41
|
-
};
|
|
42
|
-
// @ts-ignore
|
|
43
|
-
import placementTs from './examples/placement/datepicker-placement.example.ts' with {
|
|
44
|
-
loader: 'text',
|
|
45
|
-
};
|
|
46
|
-
// @ts-ignore
|
|
47
|
-
import slotsHtml from './examples/slots/datepicker-slots.example.html' with { loader: 'text' };
|
|
48
|
-
// @ts-ignore
|
|
49
|
-
import slotsTs from './examples/slots/datepicker-slots.example.ts' with { loader: 'text' };
|
|
50
|
-
// @ts-ignore
|
|
51
|
-
import footerHtml from './examples/footer/datepicker-footer.example.html' with {
|
|
52
|
-
loader: 'text',
|
|
53
|
-
};
|
|
54
|
-
// @ts-ignore
|
|
55
|
-
import footerTs from './examples/footer/datepicker-footer.example.ts' with {
|
|
56
|
-
loader: 'text',
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
@Component({
|
|
60
|
-
imports: [
|
|
61
|
-
CommonModule,
|
|
62
|
-
DocsLayoutComponent,
|
|
63
|
-
DocExampleComponent,
|
|
64
|
-
DatepickerBasicExample,
|
|
65
|
-
DatepickerAppearanceExample,
|
|
66
|
-
DatepickerFormatExample,
|
|
67
|
-
DatepickerStatesExample,
|
|
68
|
-
DatepickerPlacementExample,
|
|
69
|
-
DatepickerSlotsExample,
|
|
70
|
-
DatepickerFooterExample,
|
|
71
|
-
],
|
|
72
|
-
templateUrl: './datepicker.page.html',
|
|
73
|
-
selector: 'app-datepicker-page',
|
|
74
|
-
standalone: true,
|
|
75
|
-
})
|
|
76
|
-
export class DatepickerDocPage {
|
|
77
|
-
public basicHtml = basicHtml;
|
|
78
|
-
public basicTs = basicTs;
|
|
79
|
-
public appearanceHtml = appearanceHtml;
|
|
80
|
-
public appearanceTs = appearanceTs;
|
|
81
|
-
public formatHtml = formatHtml;
|
|
82
|
-
public formatTs = formatTs;
|
|
83
|
-
public statesHtml = statesHtml;
|
|
84
|
-
public statesTs = statesTs;
|
|
85
|
-
public placementHtml = placementHtml;
|
|
86
|
-
public placementTs = placementTs;
|
|
87
|
-
public slotsHtml = slotsHtml;
|
|
88
|
-
public slotsTs = slotsTs;
|
|
89
|
-
public footerHtml = footerHtml;
|
|
90
|
-
public footerTs = footerTs;
|
|
91
|
-
|
|
92
|
-
protected readonly apiProps: DocApiProperty[] = [
|
|
93
|
-
{
|
|
94
|
-
name: 'value',
|
|
95
|
-
type: 'any',
|
|
96
|
-
defaultValue: 'null',
|
|
97
|
-
description:
|
|
98
|
-
'The currently selected date. Supports Angular two-way binding [(value)] and Reactive Forms.',
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
name: 'display-format',
|
|
102
|
-
type: 'string',
|
|
103
|
-
defaultValue: "'DD-MM-YYYY'",
|
|
104
|
-
description: 'The date format shown in the input trigger (e.g., dd MMMM yyyy).',
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
name: 'value-format',
|
|
108
|
-
type: 'string',
|
|
109
|
-
defaultValue: "'yyyy-MM-dd'",
|
|
110
|
-
description:
|
|
111
|
-
'The format of the returned value. Accepts date-fns strings, "iso", or "timestamp".',
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
name: 'locale',
|
|
115
|
-
type: 'string',
|
|
116
|
-
defaultValue: "'en-US'",
|
|
117
|
-
description: 'Locale used for formatting month names, weekdays, etc. (e.g., id-ID).',
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
name: 'appearance',
|
|
121
|
-
type: "'outline' | 'filled' | 'subtle'",
|
|
122
|
-
defaultValue: "'outline'",
|
|
123
|
-
description: 'The visual style of the trigger input.',
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
name: 'size',
|
|
127
|
-
type: "'sm' | 'md' | 'lg'",
|
|
128
|
-
defaultValue: "'md'",
|
|
129
|
-
description: 'Controls the height, typographic scale and icon size of the input.',
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
name: 'placement',
|
|
133
|
-
type: 'DasarDatepickerPlacement',
|
|
134
|
-
defaultValue: "'bottom-start'",
|
|
135
|
-
description: 'Preferred dropdown position. Auto-flips if there is no space.',
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
name: 'clearable',
|
|
139
|
-
type: 'boolean',
|
|
140
|
-
defaultValue: 'false',
|
|
141
|
-
description: 'Displays an "x" icon to clear the selected date when hovered.',
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
name: 'disabled',
|
|
145
|
-
type: 'boolean',
|
|
146
|
-
defaultValue: 'false',
|
|
147
|
-
description: 'Disables user interaction.',
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
name: 'error',
|
|
151
|
-
type: 'boolean',
|
|
152
|
-
defaultValue: 'false',
|
|
153
|
-
description: 'Applies an error validation style to the input and hint text.',
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
name: 'full-width',
|
|
157
|
-
type: 'boolean',
|
|
158
|
-
defaultValue: 'false',
|
|
159
|
-
description: 'Forces the host element to 100% width.',
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
name: 'label / extra-label / hint',
|
|
163
|
-
type: 'string',
|
|
164
|
-
defaultValue: 'undefined',
|
|
165
|
-
description: 'Helper text rendered around the component.',
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
name: '(valueChange) / (onDateSelected)',
|
|
169
|
-
type: 'EventEmitter<any>',
|
|
170
|
-
defaultValue: '-',
|
|
171
|
-
description: 'Emitted when a date is selected.',
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
name: '[...-slot]',
|
|
175
|
-
type: 'Content Slot',
|
|
176
|
-
defaultValue: '-',
|
|
177
|
-
description:
|
|
178
|
-
'Directives like [prefix-slot], [label-slot], [extra-footer-slot] to project custom HTML.',
|
|
179
|
-
},
|
|
180
|
-
];
|
|
181
|
-
}
|
|
@@ -1,29 +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-datepicker
|
|
5
|
-
label="Outline (Default)"
|
|
6
|
-
appearance="outline"
|
|
7
|
-
full-width
|
|
8
|
-
></dasar-datepicker>
|
|
9
|
-
</div>
|
|
10
|
-
<div style="flex: 1; min-width: 200px">
|
|
11
|
-
<dasar-datepicker label="Filled Appearance" appearance="filled" full-width></dasar-datepicker>
|
|
12
|
-
</div>
|
|
13
|
-
<div style="flex: 1; min-width: 200px">
|
|
14
|
-
<dasar-datepicker label="Subtle Appearance" appearance="subtle" full-width></dasar-datepicker>
|
|
15
|
-
</div>
|
|
16
|
-
</div>
|
|
17
|
-
|
|
18
|
-
<div style="display: flex; gap: 24px; align-items: flex-end; flex-wrap: wrap">
|
|
19
|
-
<div style="flex: 1; min-width: 200px">
|
|
20
|
-
<dasar-datepicker label="Small Size" size="sm" full-width></dasar-datepicker>
|
|
21
|
-
</div>
|
|
22
|
-
<div style="flex: 1; min-width: 200px">
|
|
23
|
-
<dasar-datepicker label="Medium Size" size="md" full-width></dasar-datepicker>
|
|
24
|
-
</div>
|
|
25
|
-
<div style="flex: 1; min-width: 200px">
|
|
26
|
-
<dasar-datepicker label="Large Size" size="lg" full-width></dasar-datepicker>
|
|
27
|
-
</div>
|
|
28
|
-
</div>
|
|
29
|
-
</div>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { DasarDatepickerComponent } from 'dasar-ui';
|
|
2
|
-
import { Component } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
templateUrl: './datepicker-appearance.example.html',
|
|
6
|
-
selector: 'app-datepicker-appearance-example',
|
|
7
|
-
imports: [DasarDatepickerComponent],
|
|
8
|
-
standalone: true,
|
|
9
|
-
})
|
|
10
|
-
export class DatepickerAppearanceExample {}
|
package/projects/documentation/src/app/pages/datepicker/examples/basic/datepicker-basic.example.html
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<div style="display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 320px">
|
|
2
|
-
<dasar-datepicker
|
|
3
|
-
label="Select a Date"
|
|
4
|
-
placeholder="Choose your birth date"
|
|
5
|
-
[(value)]="selectedDate"
|
|
6
|
-
full-width
|
|
7
|
-
></dasar-datepicker>
|
|
8
|
-
|
|
9
|
-
<p style="margin: 0; font-size: 14px; color: var(--theme-text-secondary-color)">
|
|
10
|
-
Returned Value: <strong>{{ selectedDate() || 'None' }}</strong>
|
|
11
|
-
</p>
|
|
12
|
-
</div>
|
package/projects/documentation/src/app/pages/datepicker/examples/basic/datepicker-basic.example.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { DasarDatepickerComponent } from 'dasar-ui';
|
|
2
|
-
import { Component, signal } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
templateUrl: './datepicker-basic.example.html',
|
|
6
|
-
selector: 'app-datepicker-basic-example',
|
|
7
|
-
imports: [DasarDatepickerComponent],
|
|
8
|
-
standalone: true,
|
|
9
|
-
})
|
|
10
|
-
export class DatepickerBasicExample {
|
|
11
|
-
protected selectedDate = signal<string | null>(null);
|
|
12
|
-
}
|