asheeui 2.0.0 → 2.3.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/NOTICE +1 -1
- package/README.md +29 -74
- package/dist/index.d.ts +24 -86
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +28 -136
- package/dist/index.js.map +1 -0
- package/dist/index.native.d.ts +22 -0
- package/dist/index.native.d.ts.map +1 -0
- package/dist/index.native.js +22 -0
- package/dist/index.native.js.map +1 -0
- package/package.json +40 -46
- package/src/index.native.ts +30 -0
- package/src/index.ts +36 -0
- package/dist/AsheeUIProvider.d.ts +0 -67
- package/dist/AsheeUIProvider.d.ts.map +0 -1
- package/dist/AsheeUIProvider.js +0 -31
- package/dist/components/accordion/Accordion.d.ts +0 -121
- package/dist/components/accordion/Accordion.d.ts.map +0 -1
- package/dist/components/accordion/Accordion.js +0 -82
- package/dist/components/accordion/accordion-config.d.ts +0 -117
- package/dist/components/accordion/accordion-config.d.ts.map +0 -1
- package/dist/components/accordion/accordion-config.js +0 -16
- package/dist/components/accordion/accordion-styles.d.ts +0 -26
- package/dist/components/accordion/accordion-styles.d.ts.map +0 -1
- package/dist/components/accordion/accordion-styles.js +0 -23
- package/dist/components/accordion/index.d.ts +0 -3
- package/dist/components/accordion/index.d.ts.map +0 -1
- package/dist/components/accordion/index.js +0 -3
- package/dist/components/alert/Alert.d.ts +0 -88
- package/dist/components/alert/Alert.d.ts.map +0 -1
- package/dist/components/alert/Alert.js +0 -61
- package/dist/components/alert/alert-config.d.ts +0 -56
- package/dist/components/alert/alert-config.d.ts.map +0 -1
- package/dist/components/alert/alert-config.js +0 -14
- package/dist/components/alert/alert-styles.d.ts +0 -32
- package/dist/components/alert/alert-styles.d.ts.map +0 -1
- package/dist/components/alert/alert-styles.js +0 -20
- package/dist/components/alert/index.d.ts +0 -3
- package/dist/components/alert/index.d.ts.map +0 -1
- package/dist/components/alert/index.js +0 -3
- package/dist/components/auth-layout/AuthLayout.d.ts +0 -79
- package/dist/components/auth-layout/AuthLayout.d.ts.map +0 -1
- package/dist/components/auth-layout/AuthLayout.js +0 -54
- package/dist/components/auth-layout/auth-layout-config.d.ts +0 -41
- package/dist/components/auth-layout/auth-layout-config.d.ts.map +0 -1
- package/dist/components/auth-layout/auth-layout-config.js +0 -18
- package/dist/components/auth-layout/auth-layout-styles.d.ts +0 -25
- package/dist/components/auth-layout/auth-layout-styles.d.ts.map +0 -1
- package/dist/components/auth-layout/auth-layout-styles.js +0 -11
- package/dist/components/auth-layout/index.d.ts +0 -3
- package/dist/components/auth-layout/index.d.ts.map +0 -1
- package/dist/components/auth-layout/index.js +0 -3
- package/dist/components/autocomplete/Autocomplete.d.ts +0 -141
- package/dist/components/autocomplete/Autocomplete.d.ts.map +0 -1
- package/dist/components/autocomplete/Autocomplete.js +0 -115
- package/dist/components/autocomplete/autocomplete-config.d.ts +0 -42
- package/dist/components/autocomplete/autocomplete-config.d.ts.map +0 -1
- package/dist/components/autocomplete/autocomplete-config.js +0 -9
- package/dist/components/autocomplete/index.d.ts +0 -3
- package/dist/components/autocomplete/index.d.ts.map +0 -1
- package/dist/components/autocomplete/index.js +0 -2
- package/dist/components/avatar/Avatar.d.ts +0 -87
- package/dist/components/avatar/Avatar.d.ts.map +0 -1
- package/dist/components/avatar/Avatar.js +0 -43
- package/dist/components/avatar/avatar-config.d.ts +0 -48
- package/dist/components/avatar/avatar-config.d.ts.map +0 -1
- package/dist/components/avatar/avatar-config.js +0 -14
- package/dist/components/avatar/avatar-styles.d.ts +0 -21
- package/dist/components/avatar/avatar-styles.d.ts.map +0 -1
- package/dist/components/avatar/avatar-styles.js +0 -13
- package/dist/components/avatar/avatar.helpers.d.ts +0 -19
- package/dist/components/avatar/avatar.helpers.d.ts.map +0 -1
- package/dist/components/avatar/avatar.helpers.js +0 -11
- package/dist/components/avatar/index.d.ts +0 -3
- package/dist/components/avatar/index.d.ts.map +0 -1
- package/dist/components/avatar/index.js +0 -4
- package/dist/components/badge/Badge.d.ts +0 -69
- package/dist/components/badge/Badge.d.ts.map +0 -1
- package/dist/components/badge/Badge.js +0 -39
- package/dist/components/badge/badge-config.d.ts +0 -63
- package/dist/components/badge/badge-config.d.ts.map +0 -1
- package/dist/components/badge/badge-config.js +0 -15
- package/dist/components/badge/badge-styles.d.ts +0 -27
- package/dist/components/badge/badge-styles.d.ts.map +0 -1
- package/dist/components/badge/badge-styles.js +0 -25
- package/dist/components/badge/index.d.ts +0 -3
- package/dist/components/badge/index.d.ts.map +0 -1
- package/dist/components/badge/index.js +0 -3
- package/dist/components/breadcrumb/Breadcrumb.d.ts +0 -106
- package/dist/components/breadcrumb/Breadcrumb.d.ts.map +0 -1
- package/dist/components/breadcrumb/Breadcrumb.js +0 -52
- package/dist/components/breadcrumb/breadcrumb-config.d.ts +0 -41
- package/dist/components/breadcrumb/breadcrumb-config.d.ts.map +0 -1
- package/dist/components/breadcrumb/breadcrumb-config.js +0 -10
- package/dist/components/breadcrumb/breadcrumb-styles.d.ts +0 -28
- package/dist/components/breadcrumb/breadcrumb-styles.d.ts.map +0 -1
- package/dist/components/breadcrumb/breadcrumb-styles.js +0 -17
- package/dist/components/breadcrumb/index.d.ts +0 -3
- package/dist/components/breadcrumb/index.d.ts.map +0 -1
- package/dist/components/breadcrumb/index.js +0 -3
- package/dist/components/button/Button.d.ts +0 -158
- package/dist/components/button/Button.d.ts.map +0 -1
- package/dist/components/button/Button.js +0 -51
- package/dist/components/button/button-config.d.ts +0 -71
- package/dist/components/button/button-config.d.ts.map +0 -1
- package/dist/components/button/button-config.js +0 -19
- package/dist/components/button/button-styles.d.ts +0 -14
- package/dist/components/button/button-styles.d.ts.map +0 -1
- package/dist/components/button/button-styles.js +0 -13
- package/dist/components/button/index.d.ts +0 -3
- package/dist/components/button/index.d.ts.map +0 -1
- package/dist/components/button/index.js +0 -3
- package/dist/components/calendar/Calendar.d.ts +0 -128
- package/dist/components/calendar/Calendar.d.ts.map +0 -1
- package/dist/components/calendar/Calendar.js +0 -123
- package/dist/components/calendar/DateGrid.d.ts +0 -62
- package/dist/components/calendar/DateGrid.d.ts.map +0 -1
- package/dist/components/calendar/DateGrid.js +0 -194
- package/dist/components/calendar/TimeSpinner.d.ts +0 -46
- package/dist/components/calendar/TimeSpinner.d.ts.map +0 -1
- package/dist/components/calendar/TimeSpinner.js +0 -60
- package/dist/components/calendar/calendar-config.d.ts +0 -93
- package/dist/components/calendar/calendar-config.d.ts.map +0 -1
- package/dist/components/calendar/calendar-config.js +0 -15
- package/dist/components/calendar/calendar-styles.d.ts +0 -32
- package/dist/components/calendar/calendar-styles.d.ts.map +0 -1
- package/dist/components/calendar/calendar-styles.js +0 -46
- package/dist/components/calendar/calendar.helpers.d.ts +0 -111
- package/dist/components/calendar/calendar.helpers.d.ts.map +0 -1
- package/dist/components/calendar/calendar.helpers.js +0 -82
- package/dist/components/calendar/index.d.ts +0 -3
- package/dist/components/calendar/index.d.ts.map +0 -1
- package/dist/components/calendar/index.js +0 -6
- package/dist/components/card/Card.d.ts +0 -207
- package/dist/components/card/Card.d.ts.map +0 -1
- package/dist/components/card/Card.js +0 -116
- package/dist/components/card/card-config.d.ts +0 -146
- package/dist/components/card/card-config.d.ts.map +0 -1
- package/dist/components/card/card-config.js +0 -27
- package/dist/components/card/card-styles.d.ts +0 -23
- package/dist/components/card/card-styles.d.ts.map +0 -1
- package/dist/components/card/card-styles.js +0 -22
- package/dist/components/card/index.d.ts +0 -3
- package/dist/components/card/index.d.ts.map +0 -1
- package/dist/components/card/index.js +0 -3
- package/dist/components/carousel/Carousel.d.ts +0 -126
- package/dist/components/carousel/Carousel.d.ts.map +0 -1
- package/dist/components/carousel/Carousel.js +0 -126
- package/dist/components/carousel/carousel-config.d.ts +0 -127
- package/dist/components/carousel/carousel-config.d.ts.map +0 -1
- package/dist/components/carousel/carousel-config.js +0 -28
- package/dist/components/carousel/carousel-styles.d.ts +0 -18
- package/dist/components/carousel/carousel-styles.d.ts.map +0 -1
- package/dist/components/carousel/carousel-styles.js +0 -16
- package/dist/components/carousel/index.d.ts +0 -3
- package/dist/components/carousel/index.d.ts.map +0 -1
- package/dist/components/carousel/index.js +0 -3
- package/dist/components/centered/Centered.d.ts +0 -49
- package/dist/components/centered/Centered.d.ts.map +0 -1
- package/dist/components/centered/Centered.js +0 -32
- package/dist/components/centered/centered-config.d.ts +0 -63
- package/dist/components/centered/centered-config.d.ts.map +0 -1
- package/dist/components/centered/centered-config.js +0 -17
- package/dist/components/centered/centered-styles.d.ts +0 -11
- package/dist/components/centered/centered-styles.d.ts.map +0 -1
- package/dist/components/centered/centered-styles.js +0 -9
- package/dist/components/centered/index.d.ts +0 -3
- package/dist/components/centered/index.d.ts.map +0 -1
- package/dist/components/centered/index.js +0 -3
- package/dist/components/chip/Chip.d.ts +0 -122
- package/dist/components/chip/Chip.d.ts.map +0 -1
- package/dist/components/chip/Chip.js +0 -85
- package/dist/components/chip/chip-config.d.ts +0 -78
- package/dist/components/chip/chip-config.d.ts.map +0 -1
- package/dist/components/chip/chip-config.js +0 -15
- package/dist/components/chip/chip-styles.d.ts +0 -27
- package/dist/components/chip/chip-styles.d.ts.map +0 -1
- package/dist/components/chip/chip-styles.js +0 -25
- package/dist/components/chip/index.d.ts +0 -3
- package/dist/components/chip/index.d.ts.map +0 -1
- package/dist/components/chip/index.js +0 -3
- package/dist/components/clipboard/Clipboard.d.ts +0 -75
- package/dist/components/clipboard/Clipboard.d.ts.map +0 -1
- package/dist/components/clipboard/Clipboard.js +0 -53
- package/dist/components/clipboard/CopyButton.d.ts +0 -64
- package/dist/components/clipboard/CopyButton.d.ts.map +0 -1
- package/dist/components/clipboard/CopyButton.js +0 -44
- package/dist/components/clipboard/clipboard-config.d.ts +0 -42
- package/dist/components/clipboard/clipboard-config.d.ts.map +0 -1
- package/dist/components/clipboard/clipboard-config.js +0 -23
- package/dist/components/clipboard/clipboard-styles.d.ts +0 -11
- package/dist/components/clipboard/clipboard-styles.d.ts.map +0 -1
- package/dist/components/clipboard/clipboard-styles.js +0 -5
- package/dist/components/clipboard/index.d.ts +0 -4
- package/dist/components/clipboard/index.d.ts.map +0 -1
- package/dist/components/clipboard/index.js +0 -4
- package/dist/components/container/Container.d.ts +0 -51
- package/dist/components/container/Container.d.ts.map +0 -1
- package/dist/components/container/Container.js +0 -21
- package/dist/components/container/container-config.d.ts +0 -61
- package/dist/components/container/container-config.d.ts.map +0 -1
- package/dist/components/container/container-config.js +0 -16
- package/dist/components/container/container-styles.d.ts +0 -18
- package/dist/components/container/container-styles.d.ts.map +0 -1
- package/dist/components/container/container-styles.js +0 -12
- package/dist/components/container/index.d.ts +0 -3
- package/dist/components/container/index.d.ts.map +0 -1
- package/dist/components/container/index.js +0 -3
- package/dist/components/cta/CTA.d.ts +0 -81
- package/dist/components/cta/CTA.d.ts.map +0 -1
- package/dist/components/cta/CTA.js +0 -60
- package/dist/components/cta/cta-config.d.ts +0 -69
- package/dist/components/cta/cta-config.d.ts.map +0 -1
- package/dist/components/cta/cta-config.js +0 -22
- package/dist/components/cta/cta-styles.d.ts +0 -8
- package/dist/components/cta/cta-styles.d.ts.map +0 -1
- package/dist/components/cta/cta-styles.js +0 -9
- package/dist/components/cta/index.d.ts +0 -3
- package/dist/components/cta/index.d.ts.map +0 -1
- package/dist/components/cta/index.js +0 -3
- package/dist/components/data-table/DataTable.d.ts +0 -137
- package/dist/components/data-table/DataTable.d.ts.map +0 -1
- package/dist/components/data-table/DataTable.js +0 -101
- package/dist/components/data-table/data-table-config.d.ts +0 -75
- package/dist/components/data-table/data-table-config.d.ts.map +0 -1
- package/dist/components/data-table/data-table-config.js +0 -24
- package/dist/components/data-table/data-table-styles.d.ts +0 -25
- package/dist/components/data-table/data-table-styles.d.ts.map +0 -1
- package/dist/components/data-table/data-table-styles.js +0 -5
- package/dist/components/data-table/index.d.ts +0 -3
- package/dist/components/data-table/index.d.ts.map +0 -1
- package/dist/components/data-table/index.js +0 -3
- package/dist/components/docs-layout/DocsLayout.d.ts +0 -94
- package/dist/components/docs-layout/DocsLayout.d.ts.map +0 -1
- package/dist/components/docs-layout/DocsLayout.js +0 -62
- package/dist/components/docs-layout/docs-layout-config.d.ts +0 -61
- package/dist/components/docs-layout/docs-layout-config.d.ts.map +0 -1
- package/dist/components/docs-layout/docs-layout-config.js +0 -22
- package/dist/components/docs-layout/docs-layout-styles.d.ts +0 -31
- package/dist/components/docs-layout/docs-layout-styles.d.ts.map +0 -1
- package/dist/components/docs-layout/docs-layout-styles.js +0 -5
- package/dist/components/docs-layout/index.d.ts +0 -3
- package/dist/components/docs-layout/index.d.ts.map +0 -1
- package/dist/components/docs-layout/index.js +0 -3
- package/dist/components/drawer/Drawer.d.ts +0 -128
- package/dist/components/drawer/Drawer.d.ts.map +0 -1
- package/dist/components/drawer/Drawer.js +0 -71
- package/dist/components/drawer/drawer-config.d.ts +0 -71
- package/dist/components/drawer/drawer-config.d.ts.map +0 -1
- package/dist/components/drawer/drawer-config.js +0 -19
- package/dist/components/drawer/drawer-styles.d.ts +0 -31
- package/dist/components/drawer/drawer-styles.d.ts.map +0 -1
- package/dist/components/drawer/drawer-styles.js +0 -42
- package/dist/components/drawer/index.d.ts +0 -3
- package/dist/components/drawer/index.d.ts.map +0 -1
- package/dist/components/drawer/index.js +0 -3
- package/dist/components/dropmenu/Dropmenu.d.ts +0 -198
- package/dist/components/dropmenu/Dropmenu.d.ts.map +0 -1
- package/dist/components/dropmenu/Dropmenu.js +0 -102
- package/dist/components/dropmenu/dropmenu-config.d.ts +0 -32
- package/dist/components/dropmenu/dropmenu-config.d.ts.map +0 -1
- package/dist/components/dropmenu/dropmenu-config.js +0 -9
- package/dist/components/dropmenu/dropmenu-styles.d.ts +0 -14
- package/dist/components/dropmenu/dropmenu-styles.d.ts.map +0 -1
- package/dist/components/dropmenu/dropmenu-styles.js +0 -6
- package/dist/components/dropmenu/index.d.ts +0 -3
- package/dist/components/dropmenu/index.d.ts.map +0 -1
- package/dist/components/dropmenu/index.js +0 -3
- package/dist/components/empty-state/EmptyState.d.ts +0 -95
- package/dist/components/empty-state/EmptyState.d.ts.map +0 -1
- package/dist/components/empty-state/EmptyState.js +0 -47
- package/dist/components/empty-state/empty-state-config.d.ts +0 -44
- package/dist/components/empty-state/empty-state-config.d.ts.map +0 -1
- package/dist/components/empty-state/empty-state-config.js +0 -16
- package/dist/components/empty-state/empty-state-styles.d.ts +0 -13
- package/dist/components/empty-state/empty-state-styles.d.ts.map +0 -1
- package/dist/components/empty-state/empty-state-styles.js +0 -18
- package/dist/components/empty-state/index.d.ts +0 -3
- package/dist/components/empty-state/index.d.ts.map +0 -1
- package/dist/components/empty-state/index.js +0 -3
- package/dist/components/error-state/ErrorState.d.ts +0 -98
- package/dist/components/error-state/ErrorState.d.ts.map +0 -1
- package/dist/components/error-state/ErrorState.js +0 -57
- package/dist/components/error-state/error-state-config.d.ts +0 -66
- package/dist/components/error-state/error-state-config.d.ts.map +0 -1
- package/dist/components/error-state/error-state-config.js +0 -20
- package/dist/components/error-state/error-state-styles.d.ts +0 -17
- package/dist/components/error-state/error-state-styles.d.ts.map +0 -1
- package/dist/components/error-state/error-state-styles.js +0 -5
- package/dist/components/error-state/index.d.ts +0 -3
- package/dist/components/error-state/index.d.ts.map +0 -1
- package/dist/components/error-state/index.js +0 -3
- package/dist/components/feature-grid/FeatureGrid.d.ts +0 -107
- package/dist/components/feature-grid/FeatureGrid.d.ts.map +0 -1
- package/dist/components/feature-grid/FeatureGrid.js +0 -94
- package/dist/components/feature-grid/feature-grid-config.d.ts +0 -80
- package/dist/components/feature-grid/feature-grid-config.d.ts.map +0 -1
- package/dist/components/feature-grid/feature-grid-config.js +0 -28
- package/dist/components/feature-grid/feature-grid-styles.d.ts +0 -11
- package/dist/components/feature-grid/feature-grid-styles.d.ts.map +0 -1
- package/dist/components/feature-grid/feature-grid-styles.js +0 -5
- package/dist/components/feature-grid/index.d.ts +0 -3
- package/dist/components/feature-grid/index.d.ts.map +0 -1
- package/dist/components/feature-grid/index.js +0 -3
- package/dist/components/field/FieldShell.d.ts +0 -115
- package/dist/components/field/FieldShell.d.ts.map +0 -1
- package/dist/components/field/FieldShell.js +0 -53
- package/dist/components/field/field-config.d.ts +0 -86
- package/dist/components/field/field-config.d.ts.map +0 -1
- package/dist/components/field/field-config.js +0 -20
- package/dist/components/field/field-styles.d.ts +0 -30
- package/dist/components/field/field-styles.d.ts.map +0 -1
- package/dist/components/field/field-styles.js +0 -10
- package/dist/components/field/index.d.ts +0 -3
- package/dist/components/field/index.d.ts.map +0 -1
- package/dist/components/field/index.js +0 -3
- package/dist/components/file-upload/FileUpload.d.ts +0 -112
- package/dist/components/file-upload/FileUpload.d.ts.map +0 -1
- package/dist/components/file-upload/FileUpload.js +0 -83
- package/dist/components/file-upload/file-upload-config.d.ts +0 -41
- package/dist/components/file-upload/file-upload-config.d.ts.map +0 -1
- package/dist/components/file-upload/file-upload-config.js +0 -16
- package/dist/components/file-upload/file-upload-styles.d.ts +0 -22
- package/dist/components/file-upload/file-upload-styles.d.ts.map +0 -1
- package/dist/components/file-upload/file-upload-styles.js +0 -9
- package/dist/components/file-upload/file-upload.helpers.d.ts +0 -26
- package/dist/components/file-upload/file-upload.helpers.d.ts.map +0 -1
- package/dist/components/file-upload/file-upload.helpers.js +0 -17
- package/dist/components/file-upload/index.d.ts +0 -3
- package/dist/components/file-upload/index.d.ts.map +0 -1
- package/dist/components/file-upload/index.js +0 -4
- package/dist/components/footer/Footer.d.ts +0 -73
- package/dist/components/footer/Footer.d.ts.map +0 -1
- package/dist/components/footer/Footer.js +0 -112
- package/dist/components/footer/footer-config.d.ts +0 -40
- package/dist/components/footer/footer-config.d.ts.map +0 -1
- package/dist/components/footer/footer-config.js +0 -18
- package/dist/components/footer/footer-styles.d.ts +0 -22
- package/dist/components/footer/footer-styles.d.ts.map +0 -1
- package/dist/components/footer/footer-styles.js +0 -9
- package/dist/components/footer/index.d.ts +0 -3
- package/dist/components/footer/index.d.ts.map +0 -1
- package/dist/components/footer/index.js +0 -3
- package/dist/components/form/Form.d.ts +0 -109
- package/dist/components/form/Form.d.ts.map +0 -1
- package/dist/components/form/Form.js +0 -42
- package/dist/components/form/form-config.d.ts +0 -57
- package/dist/components/form/form-config.d.ts.map +0 -1
- package/dist/components/form/form-config.js +0 -12
- package/dist/components/form/form-styles.d.ts +0 -27
- package/dist/components/form/form-styles.d.ts.map +0 -1
- package/dist/components/form/form-styles.js +0 -5
- package/dist/components/form/index.d.ts +0 -3
- package/dist/components/form/index.d.ts.map +0 -1
- package/dist/components/form/index.js +0 -3
- package/dist/components/grid/Grid.d.ts +0 -71
- package/dist/components/grid/Grid.d.ts.map +0 -1
- package/dist/components/grid/Grid.js +0 -23
- package/dist/components/grid/grid-config.d.ts +0 -63
- package/dist/components/grid/grid-config.d.ts.map +0 -1
- package/dist/components/grid/grid-config.js +0 -16
- package/dist/components/grid/grid-styles.d.ts +0 -12
- package/dist/components/grid/grid-styles.d.ts.map +0 -1
- package/dist/components/grid/grid-styles.js +0 -31
- package/dist/components/grid/index.d.ts +0 -3
- package/dist/components/grid/index.d.ts.map +0 -1
- package/dist/components/grid/index.js +0 -3
- package/dist/components/hero/Hero.d.ts +0 -90
- package/dist/components/hero/Hero.d.ts.map +0 -1
- package/dist/components/hero/Hero.js +0 -63
- package/dist/components/hero/hero-config.d.ts +0 -71
- package/dist/components/hero/hero-config.d.ts.map +0 -1
- package/dist/components/hero/hero-config.js +0 -22
- package/dist/components/hero/hero-styles.d.ts +0 -19
- package/dist/components/hero/hero-styles.d.ts.map +0 -1
- package/dist/components/hero/hero-styles.js +0 -5
- package/dist/components/hero/index.d.ts +0 -3
- package/dist/components/hero/index.d.ts.map +0 -1
- package/dist/components/hero/index.js +0 -3
- package/dist/components/image/Image.d.ts +0 -94
- package/dist/components/image/Image.d.ts.map +0 -1
- package/dist/components/image/Image.js +0 -67
- package/dist/components/image/image-config.d.ts +0 -85
- package/dist/components/image/image-config.d.ts.map +0 -1
- package/dist/components/image/image-config.js +0 -19
- package/dist/components/image/image-styles.d.ts +0 -13
- package/dist/components/image/image-styles.d.ts.map +0 -1
- package/dist/components/image/image-styles.js +0 -16
- package/dist/components/image/index.d.ts +0 -3
- package/dist/components/image/index.d.ts.map +0 -1
- package/dist/components/image/index.js +0 -3
- package/dist/components/input/Input.d.ts +0 -135
- package/dist/components/input/Input.d.ts.map +0 -1
- package/dist/components/input/Input.js +0 -66
- package/dist/components/input/PasswordInput.d.ts +0 -57
- package/dist/components/input/PasswordInput.d.ts.map +0 -1
- package/dist/components/input/PasswordInput.js +0 -32
- package/dist/components/input/index.d.ts +0 -4
- package/dist/components/input/index.d.ts.map +0 -1
- package/dist/components/input/index.js +0 -4
- package/dist/components/input/input-config.d.ts +0 -19
- package/dist/components/input/input-config.d.ts.map +0 -1
- package/dist/components/input/input-config.js +0 -8
- package/dist/components/input/input-styles.d.ts +0 -14
- package/dist/components/input/input-styles.d.ts.map +0 -1
- package/dist/components/input/input-styles.js +0 -10
- package/dist/components/keyboard/KeyboardContext.d.ts +0 -130
- package/dist/components/keyboard/KeyboardContext.d.ts.map +0 -1
- package/dist/components/keyboard/KeyboardContext.js +0 -12
- package/dist/components/keyboard/KeyboardProvider.d.ts +0 -78
- package/dist/components/keyboard/KeyboardProvider.d.ts.map +0 -1
- package/dist/components/keyboard/KeyboardProvider.js +0 -102
- package/dist/components/keyboard/OnScreenKeyboard.d.ts +0 -96
- package/dist/components/keyboard/OnScreenKeyboard.d.ts.map +0 -1
- package/dist/components/keyboard/OnScreenKeyboard.js +0 -165
- package/dist/components/keyboard/index.d.ts +0 -6
- package/dist/components/keyboard/index.d.ts.map +0 -1
- package/dist/components/keyboard/index.js +0 -6
- package/dist/components/keyboard/keyboard-config.d.ts +0 -133
- package/dist/components/keyboard/keyboard-config.d.ts.map +0 -1
- package/dist/components/keyboard/keyboard-config.js +0 -63
- package/dist/components/keyboard/keyboard-styles.d.ts +0 -13
- package/dist/components/keyboard/keyboard-styles.d.ts.map +0 -1
- package/dist/components/keyboard/keyboard-styles.js +0 -13
- package/dist/components/keyboard/use-keyboard-field.d.ts +0 -47
- package/dist/components/keyboard/use-keyboard-field.d.ts.map +0 -1
- package/dist/components/keyboard/use-keyboard-field.js +0 -31
- package/dist/components/link/Link.d.ts +0 -132
- package/dist/components/link/Link.d.ts.map +0 -1
- package/dist/components/link/Link.js +0 -48
- package/dist/components/link/index.d.ts +0 -3
- package/dist/components/link/index.d.ts.map +0 -1
- package/dist/components/link/index.js +0 -3
- package/dist/components/link/link-config.d.ts +0 -80
- package/dist/components/link/link-config.d.ts.map +0 -1
- package/dist/components/link/link-config.js +0 -17
- package/dist/components/link/link-styles.d.ts +0 -28
- package/dist/components/link/link-styles.d.ts.map +0 -1
- package/dist/components/link/link-styles.js +0 -29
- package/dist/components/loading-state/LoadingState.d.ts +0 -57
- package/dist/components/loading-state/LoadingState.d.ts.map +0 -1
- package/dist/components/loading-state/LoadingState.js +0 -44
- package/dist/components/loading-state/index.d.ts +0 -3
- package/dist/components/loading-state/index.d.ts.map +0 -1
- package/dist/components/loading-state/index.js +0 -3
- package/dist/components/loading-state/loading-state-config.d.ts +0 -49
- package/dist/components/loading-state/loading-state-config.d.ts.map +0 -1
- package/dist/components/loading-state/loading-state-config.js +0 -18
- package/dist/components/loading-state/loading-state-styles.d.ts +0 -12
- package/dist/components/loading-state/loading-state-styles.d.ts.map +0 -1
- package/dist/components/loading-state/loading-state-styles.js +0 -9
- package/dist/components/marketing-layout/MarketingLayout.d.ts +0 -83
- package/dist/components/marketing-layout/MarketingLayout.d.ts.map +0 -1
- package/dist/components/marketing-layout/MarketingLayout.js +0 -40
- package/dist/components/marketing-layout/index.d.ts +0 -3
- package/dist/components/marketing-layout/index.d.ts.map +0 -1
- package/dist/components/marketing-layout/index.js +0 -3
- package/dist/components/marketing-layout/marketing-layout-config.d.ts +0 -60
- package/dist/components/marketing-layout/marketing-layout-config.d.ts.map +0 -1
- package/dist/components/marketing-layout/marketing-layout-config.js +0 -16
- package/dist/components/marketing-layout/marketing-layout-styles.d.ts +0 -8
- package/dist/components/marketing-layout/marketing-layout-styles.d.ts.map +0 -1
- package/dist/components/marketing-layout/marketing-layout-styles.js +0 -8
- package/dist/components/marquee/Marquee.d.ts +0 -83
- package/dist/components/marquee/Marquee.d.ts.map +0 -1
- package/dist/components/marquee/Marquee.js +0 -59
- package/dist/components/marquee/index.d.ts +0 -3
- package/dist/components/marquee/index.d.ts.map +0 -1
- package/dist/components/marquee/index.js +0 -3
- package/dist/components/marquee/marquee-config.d.ts +0 -100
- package/dist/components/marquee/marquee-config.d.ts.map +0 -1
- package/dist/components/marquee/marquee-config.js +0 -21
- package/dist/components/marquee/marquee-styles.d.ts +0 -17
- package/dist/components/marquee/marquee-styles.d.ts.map +0 -1
- package/dist/components/marquee/marquee-styles.js +0 -15
- package/dist/components/menu/Menu.d.ts +0 -227
- package/dist/components/menu/Menu.d.ts.map +0 -1
- package/dist/components/menu/Menu.js +0 -161
- package/dist/components/menu/index.d.ts +0 -5
- package/dist/components/menu/index.d.ts.map +0 -1
- package/dist/components/menu/index.js +0 -4
- package/dist/components/menu/menu-config.d.ts +0 -117
- package/dist/components/menu/menu-config.d.ts.map +0 -1
- package/dist/components/menu/menu-config.js +0 -14
- package/dist/components/menu/menu-navigation.d.ts +0 -38
- package/dist/components/menu/menu-navigation.d.ts.map +0 -1
- package/dist/components/menu/menu-navigation.js +0 -20
- package/dist/components/menu/use-menu-floating.d.ts +0 -134
- package/dist/components/menu/use-menu-floating.d.ts.map +0 -1
- package/dist/components/menu/use-menu-floating.js +0 -43
- package/dist/components/modal/Modal.d.ts +0 -147
- package/dist/components/modal/Modal.d.ts.map +0 -1
- package/dist/components/modal/Modal.js +0 -76
- package/dist/components/modal/index.d.ts +0 -3
- package/dist/components/modal/index.d.ts.map +0 -1
- package/dist/components/modal/index.js +0 -3
- package/dist/components/modal/modal-config.d.ts +0 -77
- package/dist/components/modal/modal-config.d.ts.map +0 -1
- package/dist/components/modal/modal-config.js +0 -20
- package/dist/components/modal/modal-styles.d.ts +0 -12
- package/dist/components/modal/modal-styles.d.ts.map +0 -1
- package/dist/components/modal/modal-styles.js +0 -15
- package/dist/components/multi-select/MultiSelect.d.ts +0 -234
- package/dist/components/multi-select/MultiSelect.d.ts.map +0 -1
- package/dist/components/multi-select/MultiSelect.js +0 -163
- package/dist/components/multi-select/index.d.ts +0 -3
- package/dist/components/multi-select/index.d.ts.map +0 -1
- package/dist/components/multi-select/index.js +0 -3
- package/dist/components/multi-select/multi-select-config.d.ts +0 -74
- package/dist/components/multi-select/multi-select-config.d.ts.map +0 -1
- package/dist/components/multi-select/multi-select-config.js +0 -20
- package/dist/components/multi-select/multi-select-styles.d.ts +0 -23
- package/dist/components/multi-select/multi-select-styles.d.ts.map +0 -1
- package/dist/components/multi-select/multi-select-styles.js +0 -18
- package/dist/components/navbar/Navbar.d.ts +0 -87
- package/dist/components/navbar/Navbar.d.ts.map +0 -1
- package/dist/components/navbar/Navbar.js +0 -117
- package/dist/components/navbar/index.d.ts +0 -3
- package/dist/components/navbar/index.d.ts.map +0 -1
- package/dist/components/navbar/index.js +0 -3
- package/dist/components/navbar/navbar-config.d.ts +0 -52
- package/dist/components/navbar/navbar-config.d.ts.map +0 -1
- package/dist/components/navbar/navbar-config.js +0 -20
- package/dist/components/navbar/navbar-styles.d.ts +0 -28
- package/dist/components/navbar/navbar-styles.d.ts.map +0 -1
- package/dist/components/navbar/navbar-styles.js +0 -9
- package/dist/components/page/Page.d.ts +0 -166
- package/dist/components/page/Page.d.ts.map +0 -1
- package/dist/components/page/Page.js +0 -90
- package/dist/components/page/index.d.ts +0 -3
- package/dist/components/page/index.d.ts.map +0 -1
- package/dist/components/page/index.js +0 -3
- package/dist/components/page/page-config.d.ts +0 -57
- package/dist/components/page/page-config.d.ts.map +0 -1
- package/dist/components/page/page-config.js +0 -20
- package/dist/components/page/page-styles.d.ts +0 -25
- package/dist/components/page/page-styles.d.ts.map +0 -1
- package/dist/components/page/page-styles.js +0 -5
- package/dist/components/pagination/Pagination.d.ts +0 -91
- package/dist/components/pagination/Pagination.d.ts.map +0 -1
- package/dist/components/pagination/Pagination.js +0 -66
- package/dist/components/pagination/index.d.ts +0 -3
- package/dist/components/pagination/index.d.ts.map +0 -1
- package/dist/components/pagination/index.js +0 -4
- package/dist/components/pagination/pagination-config.d.ts +0 -66
- package/dist/components/pagination/pagination-config.d.ts.map +0 -1
- package/dist/components/pagination/pagination-config.js +0 -19
- package/dist/components/pagination/pagination-styles.d.ts +0 -19
- package/dist/components/pagination/pagination-styles.d.ts.map +0 -1
- package/dist/components/pagination/pagination-styles.js +0 -5
- package/dist/components/pagination/pagination.helpers.d.ts +0 -26
- package/dist/components/pagination/pagination.helpers.d.ts.map +0 -1
- package/dist/components/pagination/pagination.helpers.js +0 -12
- package/dist/components/pin-input/PinInput.d.ts +0 -109
- package/dist/components/pin-input/PinInput.d.ts.map +0 -1
- package/dist/components/pin-input/PinInput.js +0 -124
- package/dist/components/pin-input/index.d.ts +0 -3
- package/dist/components/pin-input/index.d.ts.map +0 -1
- package/dist/components/pin-input/index.js +0 -3
- package/dist/components/pin-input/pin-input-config.d.ts +0 -82
- package/dist/components/pin-input/pin-input-config.d.ts.map +0 -1
- package/dist/components/pin-input/pin-input-config.js +0 -23
- package/dist/components/pin-input/pin-input-styles.d.ts +0 -16
- package/dist/components/pin-input/pin-input-styles.d.ts.map +0 -1
- package/dist/components/pin-input/pin-input-styles.js +0 -9
- package/dist/components/pricing-card/PricingCard.d.ts +0 -87
- package/dist/components/pricing-card/PricingCard.d.ts.map +0 -1
- package/dist/components/pricing-card/PricingCard.js +0 -79
- package/dist/components/pricing-card/index.d.ts +0 -3
- package/dist/components/pricing-card/index.d.ts.map +0 -1
- package/dist/components/pricing-card/index.js +0 -3
- package/dist/components/pricing-card/pricing-card-config.d.ts +0 -35
- package/dist/components/pricing-card/pricing-card-config.d.ts.map +0 -1
- package/dist/components/pricing-card/pricing-card-config.js +0 -16
- package/dist/components/pricing-card/pricing-card-styles.d.ts +0 -21
- package/dist/components/pricing-card/pricing-card-styles.d.ts.map +0 -1
- package/dist/components/pricing-card/pricing-card-styles.js +0 -5
- package/dist/components/radio/Radio.d.ts +0 -90
- package/dist/components/radio/Radio.d.ts.map +0 -1
- package/dist/components/radio/Radio.js +0 -58
- package/dist/components/radio/RadioGroup.d.ts +0 -144
- package/dist/components/radio/RadioGroup.d.ts.map +0 -1
- package/dist/components/radio/RadioGroup.js +0 -52
- package/dist/components/radio/index.d.ts +0 -4
- package/dist/components/radio/index.d.ts.map +0 -1
- package/dist/components/radio/index.js +0 -5
- package/dist/components/radio/radio-config.d.ts +0 -53
- package/dist/components/radio/radio-config.d.ts.map +0 -1
- package/dist/components/radio/radio-config.js +0 -17
- package/dist/components/radio/radio-context.d.ts +0 -59
- package/dist/components/radio/radio-context.d.ts.map +0 -1
- package/dist/components/radio/radio-context.js +0 -7
- package/dist/components/radio/radio-styles.d.ts +0 -36
- package/dist/components/radio/radio-styles.d.ts.map +0 -1
- package/dist/components/radio/radio-styles.js +0 -57
- package/dist/components/resizable-screen/ResizableScreen.d.ts +0 -115
- package/dist/components/resizable-screen/ResizableScreen.d.ts.map +0 -1
- package/dist/components/resizable-screen/ResizableScreen.js +0 -89
- package/dist/components/resizable-screen/index.d.ts +0 -3
- package/dist/components/resizable-screen/index.d.ts.map +0 -1
- package/dist/components/resizable-screen/index.js +0 -2
- package/dist/components/resizable-screen/resizable-screen-config.d.ts +0 -79
- package/dist/components/resizable-screen/resizable-screen-config.d.ts.map +0 -1
- package/dist/components/resizable-screen/resizable-screen-config.js +0 -20
- package/dist/components/scrollbar/index.d.ts +0 -2
- package/dist/components/scrollbar/index.d.ts.map +0 -1
- package/dist/components/scrollbar/index.js +0 -1
- package/dist/components/scrollbar/scrollbar-config.d.ts +0 -70
- package/dist/components/scrollbar/scrollbar-config.d.ts.map +0 -1
- package/dist/components/scrollbar/scrollbar-config.js +0 -13
- package/dist/components/search-input/SearchInput.d.ts +0 -111
- package/dist/components/search-input/SearchInput.d.ts.map +0 -1
- package/dist/components/search-input/SearchInput.js +0 -86
- package/dist/components/search-input/index.d.ts +0 -3
- package/dist/components/search-input/index.d.ts.map +0 -1
- package/dist/components/search-input/index.js +0 -3
- package/dist/components/search-input/search-input-config.d.ts +0 -55
- package/dist/components/search-input/search-input-config.d.ts.map +0 -1
- package/dist/components/search-input/search-input-config.js +0 -20
- package/dist/components/search-input/search-input-styles.d.ts +0 -16
- package/dist/components/search-input/search-input-styles.d.ts.map +0 -1
- package/dist/components/search-input/search-input-styles.js +0 -9
- package/dist/components/section/Section.d.ts +0 -56
- package/dist/components/section/Section.d.ts.map +0 -1
- package/dist/components/section/Section.js +0 -27
- package/dist/components/section/index.d.ts +0 -3
- package/dist/components/section/index.d.ts.map +0 -1
- package/dist/components/section/index.js +0 -3
- package/dist/components/section/section-config.d.ts +0 -64
- package/dist/components/section/section-config.d.ts.map +0 -1
- package/dist/components/section/section-config.js +0 -20
- package/dist/components/section/section-styles.d.ts +0 -8
- package/dist/components/section/section-styles.d.ts.map +0 -1
- package/dist/components/section/section-styles.js +0 -9
- package/dist/components/section-kit/ActionGroup.d.ts +0 -54
- package/dist/components/section-kit/ActionGroup.d.ts.map +0 -1
- package/dist/components/section-kit/ActionGroup.js +0 -39
- package/dist/components/section-kit/SectionHeading.d.ts +0 -65
- package/dist/components/section-kit/SectionHeading.d.ts.map +0 -1
- package/dist/components/section-kit/SectionHeading.js +0 -34
- package/dist/components/section-kit/SkipLink.d.ts +0 -50
- package/dist/components/section-kit/SkipLink.d.ts.map +0 -1
- package/dist/components/section-kit/SkipLink.js +0 -14
- package/dist/components/section-kit/index.d.ts +0 -13
- package/dist/components/section-kit/index.d.ts.map +0 -1
- package/dist/components/section-kit/index.js +0 -3
- package/dist/components/sidebar/Sidebar.d.ts +0 -196
- package/dist/components/sidebar/Sidebar.d.ts.map +0 -1
- package/dist/components/sidebar/Sidebar.js +0 -151
- package/dist/components/sidebar/index.d.ts +0 -3
- package/dist/components/sidebar/index.d.ts.map +0 -1
- package/dist/components/sidebar/index.js +0 -3
- package/dist/components/sidebar/sidebar-config.d.ts +0 -254
- package/dist/components/sidebar/sidebar-config.d.ts.map +0 -1
- package/dist/components/sidebar/sidebar-config.js +0 -49
- package/dist/components/sidebar/sidebar-styles.d.ts +0 -32
- package/dist/components/sidebar/sidebar-styles.d.ts.map +0 -1
- package/dist/components/sidebar/sidebar-styles.js +0 -30
- package/dist/components/sidebar-layout/SidebarLayout.d.ts +0 -67
- package/dist/components/sidebar-layout/SidebarLayout.d.ts.map +0 -1
- package/dist/components/sidebar-layout/SidebarLayout.js +0 -40
- package/dist/components/sidebar-layout/index.d.ts +0 -3
- package/dist/components/sidebar-layout/index.d.ts.map +0 -1
- package/dist/components/sidebar-layout/index.js +0 -3
- package/dist/components/sidebar-layout/sidebar-layout-config.d.ts +0 -49
- package/dist/components/sidebar-layout/sidebar-layout-config.d.ts.map +0 -1
- package/dist/components/sidebar-layout/sidebar-layout-config.js +0 -16
- package/dist/components/sidebar-layout/sidebar-layout-styles.d.ts +0 -28
- package/dist/components/sidebar-layout/sidebar-layout-styles.d.ts.map +0 -1
- package/dist/components/sidebar-layout/sidebar-layout-styles.js +0 -9
- package/dist/components/skeleton/Skeleton.d.ts +0 -65
- package/dist/components/skeleton/Skeleton.d.ts.map +0 -1
- package/dist/components/skeleton/Skeleton.js +0 -29
- package/dist/components/skeleton/index.d.ts +0 -3
- package/dist/components/skeleton/index.d.ts.map +0 -1
- package/dist/components/skeleton/index.js +0 -3
- package/dist/components/skeleton/skeleton-config.d.ts +0 -40
- package/dist/components/skeleton/skeleton-config.d.ts.map +0 -1
- package/dist/components/skeleton/skeleton-config.js +0 -13
- package/dist/components/skeleton/skeleton-styles.d.ts +0 -19
- package/dist/components/skeleton/skeleton-styles.d.ts.map +0 -1
- package/dist/components/skeleton/skeleton-styles.js +0 -5
- package/dist/components/spinner/index.d.ts +0 -3
- package/dist/components/spinner/index.d.ts.map +0 -1
- package/dist/components/spinner/index.js +0 -3
- package/dist/components/spinner/spinner-config.d.ts +0 -55
- package/dist/components/spinner/spinner-config.d.ts.map +0 -1
- package/dist/components/spinner/spinner-config.js +0 -15
- package/dist/components/spinner/spinner-styles.d.ts +0 -12
- package/dist/components/spinner/spinner-styles.d.ts.map +0 -1
- package/dist/components/spinner/spinner-styles.js +0 -16
- package/dist/components/spinner/spinner.d.ts +0 -58
- package/dist/components/spinner/spinner.d.ts.map +0 -1
- package/dist/components/spinner/spinner.js +0 -40
- package/dist/components/split/Split.d.ts +0 -68
- package/dist/components/split/Split.d.ts.map +0 -1
- package/dist/components/split/Split.js +0 -36
- package/dist/components/split/index.d.ts +0 -3
- package/dist/components/split/index.d.ts.map +0 -1
- package/dist/components/split/index.js +0 -3
- package/dist/components/split/split-config.d.ts +0 -83
- package/dist/components/split/split-config.d.ts.map +0 -1
- package/dist/components/split/split-config.js +0 -20
- package/dist/components/split/split-styles.d.ts +0 -36
- package/dist/components/split/split-styles.d.ts.map +0 -1
- package/dist/components/split/split-styles.js +0 -76
- package/dist/components/stack/Stack.d.ts +0 -107
- package/dist/components/stack/Stack.d.ts.map +0 -1
- package/dist/components/stack/Stack.js +0 -36
- package/dist/components/stack/index.d.ts +0 -3
- package/dist/components/stack/index.d.ts.map +0 -1
- package/dist/components/stack/index.js +0 -3
- package/dist/components/stack/stack-config.d.ts +0 -68
- package/dist/components/stack/stack-config.d.ts.map +0 -1
- package/dist/components/stack/stack-config.js +0 -20
- package/dist/components/stack/stack-styles.d.ts +0 -10
- package/dist/components/stack/stack-styles.d.ts.map +0 -1
- package/dist/components/stack/stack-styles.js +0 -21
- package/dist/components/stepper/Stepper.d.ts +0 -94
- package/dist/components/stepper/Stepper.d.ts.map +0 -1
- package/dist/components/stepper/Stepper.js +0 -71
- package/dist/components/stepper/index.d.ts +0 -3
- package/dist/components/stepper/index.d.ts.map +0 -1
- package/dist/components/stepper/index.js +0 -3
- package/dist/components/stepper/stepper-config.d.ts +0 -51
- package/dist/components/stepper/stepper-config.d.ts.map +0 -1
- package/dist/components/stepper/stepper-config.js +0 -16
- package/dist/components/stepper/stepper-styles.d.ts +0 -30
- package/dist/components/stepper/stepper-styles.d.ts.map +0 -1
- package/dist/components/stepper/stepper-styles.js +0 -25
- package/dist/components/switch/Switch.d.ts +0 -97
- package/dist/components/switch/Switch.d.ts.map +0 -1
- package/dist/components/switch/Switch.js +0 -65
- package/dist/components/switch/index.d.ts +0 -3
- package/dist/components/switch/index.d.ts.map +0 -1
- package/dist/components/switch/index.js +0 -3
- package/dist/components/switch/switch-config.d.ts +0 -32
- package/dist/components/switch/switch-config.d.ts.map +0 -1
- package/dist/components/switch/switch-config.js +0 -12
- package/dist/components/switch/switch-styles.d.ts +0 -18
- package/dist/components/switch/switch-styles.d.ts.map +0 -1
- package/dist/components/switch/switch-styles.js +0 -17
- package/dist/components/table/Table.d.ts +0 -116
- package/dist/components/table/Table.d.ts.map +0 -1
- package/dist/components/table/Table.js +0 -66
- package/dist/components/table/index.d.ts +0 -3
- package/dist/components/table/index.d.ts.map +0 -1
- package/dist/components/table/index.js +0 -3
- package/dist/components/table/table-config.d.ts +0 -99
- package/dist/components/table/table-config.d.ts.map +0 -1
- package/dist/components/table/table-config.js +0 -19
- package/dist/components/table/table-styles.d.ts +0 -31
- package/dist/components/table/table-styles.d.ts.map +0 -1
- package/dist/components/table/table-styles.js +0 -52
- package/dist/components/tabs/Tabs.d.ts +0 -125
- package/dist/components/tabs/Tabs.d.ts.map +0 -1
- package/dist/components/tabs/Tabs.js +0 -94
- package/dist/components/tabs/index.d.ts +0 -3
- package/dist/components/tabs/index.d.ts.map +0 -1
- package/dist/components/tabs/index.js +0 -3
- package/dist/components/tabs/tabs-config.d.ts +0 -153
- package/dist/components/tabs/tabs-config.d.ts.map +0 -1
- package/dist/components/tabs/tabs-config.js +0 -28
- package/dist/components/tabs/tabs-styles.d.ts +0 -17
- package/dist/components/tabs/tabs-styles.d.ts.map +0 -1
- package/dist/components/tabs/tabs-styles.js +0 -17
- package/dist/components/testimonials/Testimonials.d.ts +0 -78
- package/dist/components/testimonials/Testimonials.d.ts.map +0 -1
- package/dist/components/testimonials/Testimonials.js +0 -96
- package/dist/components/testimonials/index.d.ts +0 -3
- package/dist/components/testimonials/index.d.ts.map +0 -1
- package/dist/components/testimonials/index.js +0 -3
- package/dist/components/testimonials/testimonials-config.d.ts +0 -44
- package/dist/components/testimonials/testimonials-config.d.ts.map +0 -1
- package/dist/components/testimonials/testimonials-config.js +0 -28
- package/dist/components/testimonials/testimonials-styles.d.ts +0 -11
- package/dist/components/testimonials/testimonials-styles.d.ts.map +0 -1
- package/dist/components/testimonials/testimonials-styles.js +0 -5
- package/dist/components/textarea/Textarea.d.ts +0 -133
- package/dist/components/textarea/Textarea.d.ts.map +0 -1
- package/dist/components/textarea/Textarea.js +0 -53
- package/dist/components/textarea/index.d.ts +0 -3
- package/dist/components/textarea/index.d.ts.map +0 -1
- package/dist/components/textarea/index.js +0 -3
- package/dist/components/textarea/textarea-config.d.ts +0 -33
- package/dist/components/textarea/textarea-config.d.ts.map +0 -1
- package/dist/components/textarea/textarea-config.js +0 -14
- package/dist/components/textarea/textarea-styles.d.ts +0 -13
- package/dist/components/textarea/textarea-styles.d.ts.map +0 -1
- package/dist/components/textarea/textarea-styles.js +0 -10
- package/dist/components/toast/ToastContext.d.ts +0 -122
- package/dist/components/toast/ToastContext.d.ts.map +0 -1
- package/dist/components/toast/ToastContext.js +0 -24
- package/dist/components/toast/ToastItem.d.ts +0 -71
- package/dist/components/toast/ToastItem.d.ts.map +0 -1
- package/dist/components/toast/ToastItem.js +0 -87
- package/dist/components/toast/ToastProvider.d.ts +0 -98
- package/dist/components/toast/ToastProvider.d.ts.map +0 -1
- package/dist/components/toast/ToastProvider.js +0 -130
- package/dist/components/toast/index.d.ts +0 -5
- package/dist/components/toast/index.d.ts.map +0 -1
- package/dist/components/toast/index.js +0 -6
- package/dist/components/toast/toast-config.d.ts +0 -187
- package/dist/components/toast/toast-config.d.ts.map +0 -1
- package/dist/components/toast/toast-config.js +0 -25
- package/dist/components/toast/toast-styles.d.ts +0 -40
- package/dist/components/toast/toast-styles.d.ts.map +0 -1
- package/dist/components/toast/toast-styles.js +0 -53
- package/dist/components/toast/use-pausable-timeout.d.ts +0 -34
- package/dist/components/toast/use-pausable-timeout.d.ts.map +0 -1
- package/dist/components/toast/use-pausable-timeout.js +0 -19
- package/dist/components/tooltip/Tooltip.d.ts +0 -88
- package/dist/components/tooltip/Tooltip.d.ts.map +0 -1
- package/dist/components/tooltip/Tooltip.js +0 -69
- package/dist/components/tooltip/index.d.ts +0 -3
- package/dist/components/tooltip/index.d.ts.map +0 -1
- package/dist/components/tooltip/index.js +0 -3
- package/dist/components/tooltip/tooltip-config.d.ts +0 -122
- package/dist/components/tooltip/tooltip-config.d.ts.map +0 -1
- package/dist/components/tooltip/tooltip-config.js +0 -28
- package/dist/components/tooltip/tooltip-styles.d.ts +0 -17
- package/dist/components/tooltip/tooltip-styles.d.ts.map +0 -1
- package/dist/components/tooltip/tooltip-styles.js +0 -17
- package/dist/components/typography/Typography.d.ts +0 -60
- package/dist/components/typography/Typography.d.ts.map +0 -1
- package/dist/components/typography/Typography.js +0 -28
- package/dist/components/typography/index.d.ts +0 -3
- package/dist/components/typography/index.d.ts.map +0 -1
- package/dist/components/typography/index.js +0 -3
- package/dist/components/typography/typography-config.d.ts +0 -54
- package/dist/components/typography/typography-config.d.ts.map +0 -1
- package/dist/components/typography/typography-config.js +0 -12
- package/dist/components/typography/typography-styles.d.ts +0 -21
- package/dist/components/typography/typography-styles.d.ts.map +0 -1
- package/dist/components/typography/typography-styles.js +0 -19
- package/dist/config/config.d.ts +0 -69
- package/dist/config/config.d.ts.map +0 -1
- package/dist/config/default-config.d.ts +0 -8
- package/dist/config/default-config.d.ts.map +0 -1
- package/dist/config/default-config.js +0 -13
- package/dist/config/define-config.d.ts +0 -26
- package/dist/config/define-config.d.ts.map +0 -1
- package/dist/config/index.d.ts +0 -5
- package/dist/config/index.d.ts.map +0 -1
- package/dist/config/index.js +0 -4
- package/dist/config/resolve-color.d.ts +0 -28
- package/dist/config/resolve-color.d.ts.map +0 -1
- package/dist/config/resolve-color.js +0 -25
- package/dist/config/resolve-config.d.ts +0 -26
- package/dist/config/resolve-config.d.ts.map +0 -1
- package/dist/config/resolve-config.js +0 -17
- package/dist/config/validate-config.d.ts +0 -34
- package/dist/config/validate-config.d.ts.map +0 -1
- package/dist/config/validate-config.js +0 -190
- package/dist/icons/ArrowLeftIcon.d.ts +0 -3
- package/dist/icons/ArrowLeftIcon.d.ts.map +0 -1
- package/dist/icons/ArrowLeftIcon.js +0 -18
- package/dist/icons/CalendarIcon.d.ts +0 -3
- package/dist/icons/CalendarIcon.d.ts.map +0 -1
- package/dist/icons/CalendarIcon.js +0 -45
- package/dist/icons/CheckIcon.d.ts +0 -3
- package/dist/icons/CheckIcon.d.ts.map +0 -1
- package/dist/icons/CheckIcon.js +0 -18
- package/dist/icons/ChevronDownIcon.d.ts +0 -3
- package/dist/icons/ChevronDownIcon.d.ts.map +0 -1
- package/dist/icons/ChevronDownIcon.js +0 -18
- package/dist/icons/ChevronLeftIcon.d.ts +0 -3
- package/dist/icons/ChevronLeftIcon.d.ts.map +0 -1
- package/dist/icons/ChevronLeftIcon.js +0 -18
- package/dist/icons/ChevronRightIcon.d.ts +0 -3
- package/dist/icons/ChevronRightIcon.d.ts.map +0 -1
- package/dist/icons/ChevronRightIcon.js +0 -18
- package/dist/icons/ChevronUpIcon.d.ts +0 -3
- package/dist/icons/ChevronUpIcon.d.ts.map +0 -1
- package/dist/icons/ChevronUpIcon.js +0 -18
- package/dist/icons/ClearIcon.d.ts +0 -3
- package/dist/icons/ClearIcon.d.ts.map +0 -1
- package/dist/icons/ClearIcon.js +0 -28
- package/dist/icons/ClockIcon.d.ts +0 -3
- package/dist/icons/ClockIcon.d.ts.map +0 -1
- package/dist/icons/ClockIcon.js +0 -22
- package/dist/icons/CloseIcon.d.ts +0 -3
- package/dist/icons/CloseIcon.d.ts.map +0 -1
- package/dist/icons/CloseIcon.js +0 -28
- package/dist/icons/CopyIcon.d.ts +0 -3
- package/dist/icons/CopyIcon.d.ts.map +0 -1
- package/dist/icons/CopyIcon.js +0 -24
- package/dist/icons/ErrorIcon.d.ts +0 -3
- package/dist/icons/ErrorIcon.d.ts.map +0 -1
- package/dist/icons/ErrorIcon.js +0 -18
- package/dist/icons/ExternalLinkIcon.d.ts +0 -3
- package/dist/icons/ExternalLinkIcon.d.ts.map +0 -1
- package/dist/icons/ExternalLinkIcon.js +0 -27
- package/dist/icons/EyeIcon.d.ts +0 -3
- package/dist/icons/EyeIcon.d.ts.map +0 -1
- package/dist/icons/EyeIcon.js +0 -22
- package/dist/icons/EyeOffIcon.d.ts +0 -3
- package/dist/icons/EyeOffIcon.d.ts.map +0 -1
- package/dist/icons/EyeOffIcon.js +0 -23
- package/dist/icons/InfoIcon.d.ts +0 -3
- package/dist/icons/InfoIcon.d.ts.map +0 -1
- package/dist/icons/InfoIcon.js +0 -18
- package/dist/icons/SearchIcon.d.ts +0 -3
- package/dist/icons/SearchIcon.d.ts.map +0 -1
- package/dist/icons/SearchIcon.js +0 -27
- package/dist/icons/WarningIcon.d.ts +0 -3
- package/dist/icons/WarningIcon.d.ts.map +0 -1
- package/dist/icons/WarningIcon.js +0 -18
- package/dist/icons/index.d.ts +0 -13
- package/dist/icons/index.d.ts.map +0 -1
- package/dist/icons/types.d.ts +0 -5
- package/dist/icons/types.d.ts.map +0 -1
- package/dist/index.css +0 -540
- package/dist/libs/context.d.ts +0 -55
- package/dist/libs/context.d.ts.map +0 -1
- package/dist/libs/context.js +0 -12
- package/dist/libs/index.js +0 -7
- package/dist/libs/registry.d.ts +0 -70
- package/dist/libs/registry.d.ts.map +0 -1
- package/dist/libs/registry.js +0 -13
- package/dist/libs/use-body-scroll-lock.d.ts +0 -21
- package/dist/libs/use-body-scroll-lock.d.ts.map +0 -1
- package/dist/libs/use-body-scroll-lock.js +0 -27
- package/dist/libs/use-dialog-overlay.d.ts +0 -21
- package/dist/libs/use-dialog-overlay.d.ts.map +0 -1
- package/dist/libs/use-dialog-overlay.js +0 -21
- package/dist/libs/use-floating-z-index.d.ts +0 -32
- package/dist/libs/use-floating-z-index.d.ts.map +0 -1
- package/dist/libs/use-floating-z-index.js +0 -16
- package/dist/libs/use-isomorphic-layout-effect.d.ts +0 -21
- package/dist/libs/use-isomorphic-layout-effect.d.ts.map +0 -1
- package/dist/libs/use-isomorphic-layout-effect.js +0 -6
- package/dist/libs/use-prefers-reduced-motion.d.ts +0 -23
- package/dist/libs/use-prefers-reduced-motion.d.ts.map +0 -1
- package/dist/libs/use-prefers-reduced-motion.js +0 -19
- package/dist/puck/adapters.d.ts +0 -41
- package/dist/puck/adapters.d.ts.map +0 -1
- package/dist/puck/adapters.js +0 -30
- package/dist/puck/blocks/content.d.ts +0 -32
- package/dist/puck/blocks/content.d.ts.map +0 -1
- package/dist/puck/blocks/content.js +0 -54
- package/dist/puck/blocks/layout.d.ts +0 -44
- package/dist/puck/blocks/layout.d.ts.map +0 -1
- package/dist/puck/blocks/layout.js +0 -69
- package/dist/puck/blocks/navigation.d.ts +0 -66
- package/dist/puck/blocks/navigation.d.ts.map +0 -1
- package/dist/puck/blocks/navigation.js +0 -122
- package/dist/puck/blocks/sections.d.ts +0 -134
- package/dist/puck/blocks/sections.d.ts.map +0 -1
- package/dist/puck/blocks/sections.js +0 -232
- package/dist/puck/blocks/utility.d.ts +0 -22
- package/dist/puck/blocks/utility.d.ts.map +0 -1
- package/dist/puck/blocks/utility.js +0 -49
- package/dist/puck/config.d.ts +0 -63
- package/dist/puck/config.d.ts.map +0 -1
- package/dist/puck/config.js +0 -79
- package/dist/puck/fields.d.ts +0 -94
- package/dist/puck/fields.d.ts.map +0 -1
- package/dist/puck/fields.js +0 -116
- package/dist/puck/index.d.ts +0 -21
- package/dist/puck/index.d.ts.map +0 -1
- package/dist/puck/index.js +0 -10
- package/dist/scripts/AsheeThemeScript.js +0 -101
- package/dist/shared/action.d.ts +0 -52
- package/dist/shared/action.d.ts.map +0 -1
- package/dist/shared/index.d.ts +0 -6
- package/dist/shared/index.d.ts.map +0 -1
- package/dist/shared/radius.d.ts +0 -41
- package/dist/shared/radius.d.ts.map +0 -1
- package/dist/shared/radius.js +0 -13
- package/dist/shared/spacing.d.ts +0 -46
- package/dist/shared/spacing.d.ts.map +0 -1
- package/dist/shared/spacing.js +0 -37
- package/dist/shared/typography.d.ts +0 -81
- package/dist/shared/typography.d.ts.map +0 -1
- package/dist/shared/typography.js +0 -137
- package/dist/shared/variant.d.ts +0 -35
- package/dist/shared/variant.d.ts.map +0 -1
- package/dist/shared/variant.js +0 -50
- package/dist/theme/color.d.ts +0 -122
- package/dist/theme/color.d.ts.map +0 -1
- package/dist/theme/color.js +0 -30
- package/dist/theme/controller.d.ts +0 -171
- package/dist/theme/controller.d.ts.map +0 -1
- package/dist/theme/controller.js +0 -66
- package/dist/theme/index.d.ts +0 -4
- package/dist/theme/index.d.ts.map +0 -1
- package/dist/theme/useTheme.d.ts +0 -77
- package/dist/theme/useTheme.d.ts.map +0 -1
- package/dist/theme/useTheme.js +0 -16
- package/dist/utils/cn.d.ts +0 -20
- package/dist/utils/cn.d.ts.map +0 -1
- package/dist/utils/cn.js +0 -9
- package/dist/utils/index.d.ts +0 -5
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/index.js +0 -4
- package/dist/utils/merge-object.d.ts +0 -30
- package/dist/utils/merge-object.d.ts.map +0 -1
- package/dist/utils/merge-object.js +0 -16
- package/dist/utils/resolve-token.d.ts +0 -131
- package/dist/utils/resolve-token.d.ts.map +0 -1
- package/dist/utils/resolve-token.js +0 -24
- package/dist/utils/stacking.d.ts +0 -76
- package/dist/utils/stacking.d.ts.map +0 -1
- package/dist/utils/stacking.js +0 -34
- package/dist/utils/types.d.ts +0 -22
- package/dist/utils/types.d.ts.map +0 -1
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Typography token definitions for AsheeUI.
|
|
3
|
-
*
|
|
4
|
-
* Typography uses the same two-layer model as radius and colour: a semantic
|
|
5
|
-
* layer (roles) resolves to a size/style layer, which resolves to complete,
|
|
6
|
-
* static Tailwind class strings. This file holds the types and the mappings;
|
|
7
|
-
* the public `Typography` component consumes them.
|
|
8
|
-
*
|
|
9
|
-
* @see `docs/docs/asheeui-typography-specification-proposal.md` (approved M2
|
|
10
|
-
* specification) for the rationale, the role table and the compatibility notes.
|
|
11
|
-
*/
|
|
12
|
-
/** The available typography size tokens. */
|
|
13
|
-
export type TypographySize = "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
|
|
14
|
-
/** The available font-weight tokens. */
|
|
15
|
-
export type TypographyWeight = "normal" | "medium" | "semibold" | "bold";
|
|
16
|
-
/** The available line-height tokens. */
|
|
17
|
-
export type TypographyLeading = "tight" | "snug" | "normal" | "relaxed" | "loose";
|
|
18
|
-
/** The available letter-spacing tokens. */
|
|
19
|
-
export type TypographyTracking = "tighter" | "tight" | "normal" | "wide" | "wider" | "widest";
|
|
20
|
-
/**
|
|
21
|
-
* The semantic typography roles.
|
|
22
|
-
* A role describes why text exists and resolves to a complete treatment.
|
|
23
|
-
*/
|
|
24
|
-
export type TypographyRole = "display" | "heading-xl" | "heading-lg" | "heading-md" | "heading-sm" | "body-lg" | "body-md" | "body-sm" | "label" | "caption" | "overline";
|
|
25
|
-
/**
|
|
26
|
-
* The colour treatments available to typography.
|
|
27
|
-
* `default`, `muted` and `disabled` are derived from the foreground token;
|
|
28
|
-
* the remaining values are framework colour tokens resolved through the colour
|
|
29
|
-
* engine, never raw Tailwind palette colours.
|
|
30
|
-
*/
|
|
31
|
-
export type TypographyTone = "default" | "muted" | "disabled" | "primary" | "secondary" | "danger" | "warning" | "success" | "none";
|
|
32
|
-
/** Text alignment options. */
|
|
33
|
-
export type TypographyAlign = "left" | "center" | "right" | "justify";
|
|
34
|
-
/** The size/style tokens a role resolves to. */
|
|
35
|
-
export interface TypographyRoleTokens {
|
|
36
|
-
/** Size token. */
|
|
37
|
-
size: TypographySize;
|
|
38
|
-
/** Font-weight token. */
|
|
39
|
-
weight: TypographyWeight;
|
|
40
|
-
/** Line-height token. */
|
|
41
|
-
leading: TypographyLeading;
|
|
42
|
-
/** Letter-spacing token. */
|
|
43
|
-
tracking: TypographyTracking;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Size token to static Tailwind class.
|
|
47
|
-
* Note the deliberate difference between the token name (`md`) and the utility
|
|
48
|
-
* (`text-base`): the token is the semantic name, as with `RADIUS_CLASS`.
|
|
49
|
-
*/
|
|
50
|
-
export declare const TYPOGRAPHY_SIZE_CLASS: Record<TypographySize, string>;
|
|
51
|
-
/** Font-weight token to static Tailwind class. */
|
|
52
|
-
export declare const TYPOGRAPHY_WEIGHT_CLASS: Record<TypographyWeight, string>;
|
|
53
|
-
/** Line-height token to static Tailwind class. */
|
|
54
|
-
export declare const TYPOGRAPHY_LEADING_CLASS: Record<TypographyLeading, string>;
|
|
55
|
-
/** Letter-spacing token to static Tailwind class. */
|
|
56
|
-
export declare const TYPOGRAPHY_TRACKING_CLASS: Record<TypographyTracking, string>;
|
|
57
|
-
/** Tone token to static Tailwind class, using framework colour tokens only. */
|
|
58
|
-
export declare const TYPOGRAPHY_TONE_CLASS: Record<TypographyTone, string>;
|
|
59
|
-
/** Alignment token to static Tailwind class. */
|
|
60
|
-
export declare const TYPOGRAPHY_ALIGN_CLASS: Record<TypographyAlign, string>;
|
|
61
|
-
/**
|
|
62
|
-
* The size/style tokens each semantic role resolves to.
|
|
63
|
-
* This table is the documentation source for {@link TYPOGRAPHY_ROLE_CLASS};
|
|
64
|
-
* a test asserts the two can never drift.
|
|
65
|
-
*/
|
|
66
|
-
export declare const TYPOGRAPHY_ROLE_TOKEN: Record<TypographyRole, TypographyRoleTokens>;
|
|
67
|
-
/**
|
|
68
|
-
* The semantic element each role renders by default.
|
|
69
|
-
* Consumers can override the element without changing the treatment.
|
|
70
|
-
*/
|
|
71
|
-
export declare const TYPOGRAPHY_ROLE_DEFAULT_ELEMENT: Record<TypographyRole, string>;
|
|
72
|
-
/**
|
|
73
|
-
* The complete, static class string for each semantic role.
|
|
74
|
-
*
|
|
75
|
-
* These are written out in full rather than composed at render time: Tailwind
|
|
76
|
-
* class names must always be static and complete. The entries are asserted
|
|
77
|
-
* against {@link TYPOGRAPHY_ROLE_TOKEN} in the test suite, so the documented
|
|
78
|
-
* token table and the shipped classes cannot drift.
|
|
79
|
-
*/
|
|
80
|
-
export declare const TYPOGRAPHY_ROLE_CLASS: Record<TypographyRole, string>;
|
|
81
|
-
//# sourceMappingURL=typography.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../src/shared/typography.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,4CAA4C;AAC5C,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK,CAAC;AAE9E,wCAAwC;AACxC,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,CAAC;AAEzE,wCAAwC;AACxC,MAAM,MAAM,iBAAiB,GACzB,OAAO,GACP,MAAM,GACN,QAAQ,GACR,SAAS,GACT,OAAO,CAAC;AAEZ,2CAA2C;AAC3C,MAAM,MAAM,kBAAkB,GAC1B,SAAS,GACT,OAAO,GACP,QAAQ,GACR,MAAM,GACN,OAAO,GACP,QAAQ,CAAC;AAEb;;;GAGG;AACH,MAAM,MAAM,cAAc,GACtB,SAAS,GACT,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,SAAS,GACT,SAAS,GACT,SAAS,GACT,OAAO,GACP,SAAS,GACT,UAAU,CAAC;AAEf;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GACtB,SAAS,GACT,OAAO,GACP,UAAU,GACV,SAAS,GACT,WAAW,GACX,QAAQ,GACR,SAAS,GACT,SAAS,GACT,MAAM,CAAC;AAEX,8BAA8B;AAC9B,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;AAEtE,gDAAgD;AAChD,MAAM,WAAW,oBAAoB;IACnC,kBAAkB;IAClB,IAAI,EAAE,cAAc,CAAC;IACrB,yBAAyB;IACzB,MAAM,EAAE,gBAAgB,CAAC;IACzB,yBAAyB;IACzB,OAAO,EAAE,iBAAiB,CAAC;IAC3B,4BAA4B;IAC5B,QAAQ,EAAE,kBAAkB,CAAC;CAC9B;AAED;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAQhE,CAAC;AAEF,kDAAkD;AAClD,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAKpE,CAAC;AAEF,kDAAkD;AAClD,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAMtE,CAAC;AAEF,qDAAqD;AACrD,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,kBAAkB,EAAE,MAAM,CAOxE,CAAC;AAEF,+EAA+E;AAC/E,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAUhE,CAAC;AAEF,gDAAgD;AAChD,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,eAAe,EAAE,MAAM,CAKlE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,EAAE,MAAM,CACxC,cAAc,EACd,oBAAoB,CAoErB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,+BAA+B,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAY1E,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAYhE,CAAC"}
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
//#region src/shared/typography.ts
|
|
3
|
-
var e = {
|
|
4
|
-
xs: "text-xs",
|
|
5
|
-
sm: "text-sm",
|
|
6
|
-
md: "text-base",
|
|
7
|
-
lg: "text-lg",
|
|
8
|
-
xl: "text-xl",
|
|
9
|
-
"2xl": "text-2xl",
|
|
10
|
-
"3xl": "text-3xl"
|
|
11
|
-
}, t = {
|
|
12
|
-
normal: "font-normal",
|
|
13
|
-
medium: "font-medium",
|
|
14
|
-
semibold: "font-semibold",
|
|
15
|
-
bold: "font-bold"
|
|
16
|
-
}, n = {
|
|
17
|
-
tight: "leading-tight",
|
|
18
|
-
snug: "leading-snug",
|
|
19
|
-
normal: "leading-normal",
|
|
20
|
-
relaxed: "leading-relaxed",
|
|
21
|
-
loose: "leading-loose"
|
|
22
|
-
}, r = {
|
|
23
|
-
tighter: "tracking-tighter",
|
|
24
|
-
tight: "tracking-tight",
|
|
25
|
-
normal: "tracking-normal",
|
|
26
|
-
wide: "tracking-wide",
|
|
27
|
-
wider: "tracking-wider",
|
|
28
|
-
widest: "tracking-widest"
|
|
29
|
-
}, i = {
|
|
30
|
-
default: "text-foreground",
|
|
31
|
-
muted: "text-foreground/60",
|
|
32
|
-
disabled: "text-foreground/50",
|
|
33
|
-
primary: "text-primary",
|
|
34
|
-
secondary: "text-secondary",
|
|
35
|
-
danger: "text-danger",
|
|
36
|
-
warning: "text-warning",
|
|
37
|
-
success: "text-success",
|
|
38
|
-
none: "text-background"
|
|
39
|
-
}, a = {
|
|
40
|
-
left: "text-left",
|
|
41
|
-
center: "text-center",
|
|
42
|
-
right: "text-right",
|
|
43
|
-
justify: "text-justify"
|
|
44
|
-
}, o = {
|
|
45
|
-
display: {
|
|
46
|
-
size: "3xl",
|
|
47
|
-
weight: "semibold",
|
|
48
|
-
leading: "tight",
|
|
49
|
-
tracking: "tight"
|
|
50
|
-
},
|
|
51
|
-
"heading-xl": {
|
|
52
|
-
size: "2xl",
|
|
53
|
-
weight: "semibold",
|
|
54
|
-
leading: "tight",
|
|
55
|
-
tracking: "tight"
|
|
56
|
-
},
|
|
57
|
-
"heading-lg": {
|
|
58
|
-
size: "xl",
|
|
59
|
-
weight: "semibold",
|
|
60
|
-
leading: "snug",
|
|
61
|
-
tracking: "normal"
|
|
62
|
-
},
|
|
63
|
-
"heading-md": {
|
|
64
|
-
size: "lg",
|
|
65
|
-
weight: "semibold",
|
|
66
|
-
leading: "snug",
|
|
67
|
-
tracking: "normal"
|
|
68
|
-
},
|
|
69
|
-
"heading-sm": {
|
|
70
|
-
size: "md",
|
|
71
|
-
weight: "semibold",
|
|
72
|
-
leading: "snug",
|
|
73
|
-
tracking: "normal"
|
|
74
|
-
},
|
|
75
|
-
"body-lg": {
|
|
76
|
-
size: "lg",
|
|
77
|
-
weight: "normal",
|
|
78
|
-
leading: "relaxed",
|
|
79
|
-
tracking: "normal"
|
|
80
|
-
},
|
|
81
|
-
"body-md": {
|
|
82
|
-
size: "md",
|
|
83
|
-
weight: "normal",
|
|
84
|
-
leading: "normal",
|
|
85
|
-
tracking: "normal"
|
|
86
|
-
},
|
|
87
|
-
"body-sm": {
|
|
88
|
-
size: "sm",
|
|
89
|
-
weight: "normal",
|
|
90
|
-
leading: "normal",
|
|
91
|
-
tracking: "normal"
|
|
92
|
-
},
|
|
93
|
-
label: {
|
|
94
|
-
size: "sm",
|
|
95
|
-
weight: "medium",
|
|
96
|
-
leading: "normal",
|
|
97
|
-
tracking: "normal"
|
|
98
|
-
},
|
|
99
|
-
caption: {
|
|
100
|
-
size: "xs",
|
|
101
|
-
weight: "normal",
|
|
102
|
-
leading: "normal",
|
|
103
|
-
tracking: "normal"
|
|
104
|
-
},
|
|
105
|
-
overline: {
|
|
106
|
-
size: "xs",
|
|
107
|
-
weight: "semibold",
|
|
108
|
-
leading: "normal",
|
|
109
|
-
tracking: "wider"
|
|
110
|
-
}
|
|
111
|
-
}, s = {
|
|
112
|
-
display: "h1",
|
|
113
|
-
"heading-xl": "h1",
|
|
114
|
-
"heading-lg": "h2",
|
|
115
|
-
"heading-md": "h3",
|
|
116
|
-
"heading-sm": "h4",
|
|
117
|
-
"body-lg": "p",
|
|
118
|
-
"body-md": "p",
|
|
119
|
-
"body-sm": "p",
|
|
120
|
-
label: "span",
|
|
121
|
-
caption: "span",
|
|
122
|
-
overline: "span"
|
|
123
|
-
}, c = {
|
|
124
|
-
display: "text-3xl font-semibold leading-tight tracking-tight",
|
|
125
|
-
"heading-xl": "text-2xl font-semibold leading-tight tracking-tight",
|
|
126
|
-
"heading-lg": "text-xl font-semibold leading-snug tracking-normal",
|
|
127
|
-
"heading-md": "text-lg font-semibold leading-snug tracking-normal",
|
|
128
|
-
"heading-sm": "text-base font-semibold leading-snug tracking-normal",
|
|
129
|
-
"body-lg": "text-lg font-normal leading-relaxed tracking-normal",
|
|
130
|
-
"body-md": "text-base font-normal leading-normal tracking-normal",
|
|
131
|
-
"body-sm": "text-sm font-normal leading-normal tracking-normal",
|
|
132
|
-
label: "text-sm font-medium leading-normal tracking-normal",
|
|
133
|
-
caption: "text-xs font-normal leading-normal tracking-normal",
|
|
134
|
-
overline: "text-xs font-semibold leading-normal tracking-wider"
|
|
135
|
-
};
|
|
136
|
-
//#endregion
|
|
137
|
-
export { a as TYPOGRAPHY_ALIGN_CLASS, n as TYPOGRAPHY_LEADING_CLASS, c as TYPOGRAPHY_ROLE_CLASS, s as TYPOGRAPHY_ROLE_DEFAULT_ELEMENT, o as TYPOGRAPHY_ROLE_TOKEN, e as TYPOGRAPHY_SIZE_CLASS, i as TYPOGRAPHY_TONE_CLASS, r as TYPOGRAPHY_TRACKING_CLASS, t as TYPOGRAPHY_WEIGHT_CLASS };
|
package/dist/shared/variant.d.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Variant style definitions for AsheeUI components.
|
|
3
|
-
* This file contains the complete style mappings for different button variants
|
|
4
|
-
* (solid, ghost, bordered, faded, underlined) and colors. It provides the
|
|
5
|
-
* resolveVariantClass function that components use to apply the correct
|
|
6
|
-
* visual styles based on their variant and color props.
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* The available visual styles for components like Button.
|
|
10
|
-
* Each variant represents a distinct visual treatment with different
|
|
11
|
-
* background, border, and hover behaviors.
|
|
12
|
-
*/
|
|
13
|
-
export type Variant = "solid" | "ghost" | "bordered" | "faded" | "underlined";
|
|
14
|
-
/**
|
|
15
|
-
* The available color options for themed components.
|
|
16
|
-
* "none" represents a neutral or default color treatment.
|
|
17
|
-
*/
|
|
18
|
-
export type Color = "none" | "primary" | "secondary" | "danger" | "warning" | "success";
|
|
19
|
-
/**
|
|
20
|
-
* Resolves the CSS class for a given variant and color combination.
|
|
21
|
-
* Returns the appropriate Tailwind classes for the component's visual style.
|
|
22
|
-
* If the combination is not found, falls back to bordered variant with secondary color.
|
|
23
|
-
*
|
|
24
|
-
* @param variant - The visual style variant to apply.
|
|
25
|
-
* @param color - The color theme to apply.
|
|
26
|
-
* @returns The CSS class string for the specified variant and color.
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* ```tsx
|
|
30
|
-
* const className = resolveVariantClass('solid', 'primary');
|
|
31
|
-
* // Returns classes for a solid primary button
|
|
32
|
-
* ```
|
|
33
|
-
*/
|
|
34
|
-
export declare function resolveVariantClass(variant: Variant, color: Color): string;
|
|
35
|
-
//# sourceMappingURL=variant.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"variant.d.ts","sourceRoot":"","sources":["../../src/shared/variant.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH;;;;GAIG;AACH,MAAM,MAAM,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,UAAU,GAAG,OAAO,GAAG,YAAY,CAAC;AAE9E;;;GAGG;AACH,MAAM,MAAM,KAAK,GACb,MAAM,GACN,SAAS,GACT,WAAW,GACX,QAAQ,GACR,SAAS,GACT,SAAS,CAAC;AAwLd;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,GAAG,MAAM,CAE1E"}
|
package/dist/shared/variant.js
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { cn as e } from "../utils/cn.js";
|
|
3
|
-
//#region src/shared/variant.ts
|
|
4
|
-
var t = "transition-all duration-200 ease-in-out", n = {
|
|
5
|
-
none: e(t, "bg-background text-foreground hover:bg-background/80"),
|
|
6
|
-
primary: e(t, "bg-primary text-foreground hover:bg-primary/80"),
|
|
7
|
-
secondary: e(t, "bg-secondary text-foreground hover:bg-secondary/80"),
|
|
8
|
-
danger: e(t, "bg-danger text-foreground hover:bg-danger/80"),
|
|
9
|
-
warning: e(t, "bg-warning text-foreground hover:bg-warning/80"),
|
|
10
|
-
success: e(t, "bg-success text-foreground hover:bg-success/80")
|
|
11
|
-
}, r = {
|
|
12
|
-
none: e(t, "bg-transparent text-foreground hover:bg-foreground/20 hover:text-foreground"),
|
|
13
|
-
primary: e(t, "bg-transparent text-primary hover:bg-primary/20 hover:text-primary"),
|
|
14
|
-
secondary: e(t, "bg-transparent text-foreground hover:bg-secondary/20 hover:text-foreground"),
|
|
15
|
-
danger: e(t, "bg-transparent text-danger hover:bg-danger/20 hover:text-danger"),
|
|
16
|
-
warning: e(t, "bg-transparent text-warning hover:bg-warning/20 hover:text-warning"),
|
|
17
|
-
success: e(t, "bg-transparent text-success hover:bg-success/20 hover:text-success")
|
|
18
|
-
}, i = {
|
|
19
|
-
none: e(t, r.primary, "border-2 border-background hover:border-background/60"),
|
|
20
|
-
primary: e(t, r.primary, "border-2 border-primary hover:border-primary/60"),
|
|
21
|
-
secondary: e(t, r.secondary, "border-2 border-border hover:border-border/60"),
|
|
22
|
-
danger: e(t, r.danger, "border-2 border-danger hover:border-danger/60"),
|
|
23
|
-
warning: e(t, r.warning, "border-2 border-warning hover:border-warning/60"),
|
|
24
|
-
success: e(t, r.success, "border-2 border-success hover:border-success/60")
|
|
25
|
-
}, a = {
|
|
26
|
-
none: e(t, "bg-secondary/40 text-foreground border-2 border-transparent hover:bg-secondary/60 hover:border-secondary/40"),
|
|
27
|
-
primary: e(t, "bg-primary/10 text-primary border-2 border-primary/20 hover:bg-primary/20 hover:border-primary/40"),
|
|
28
|
-
secondary: e(t, "bg-secondary/15 text-foreground border-2 border-secondary/30 hover:bg-secondary/25 hover:border-secondary/50"),
|
|
29
|
-
danger: e(t, "bg-danger/10 text-danger border-2 border-danger/20 hover:bg-danger/20 hover:border-danger/40"),
|
|
30
|
-
warning: e(t, "bg-warning/10 text-warning border-2 border-warning/20 hover:bg-warning/20 hover:border-warning/40"),
|
|
31
|
-
success: e(t, "bg-success/10 text-success border-2 border-success/20 hover:bg-success/20 hover:border-success/40")
|
|
32
|
-
}, o = "border-b-2 border-t-0 border-x-0 rounded-none bg-transparent shadow-none", s = {
|
|
33
|
-
solid: n,
|
|
34
|
-
ghost: r,
|
|
35
|
-
bordered: i,
|
|
36
|
-
faded: a,
|
|
37
|
-
underlined: {
|
|
38
|
-
none: e(t, o, "border-background text-foreground hover:border-background/80"),
|
|
39
|
-
primary: e(t, o, "border-primary text-primary hover:border-primary/80"),
|
|
40
|
-
secondary: e(t, o, "border-secondary text-secondary hover:border-secondary/80"),
|
|
41
|
-
danger: e(t, o, "border-danger text-danger hover:border-danger/80"),
|
|
42
|
-
warning: e(t, o, "border-warning text-warning hover:border-warning/80"),
|
|
43
|
-
success: e(t, o, "border-success text-success hover:border-success/80")
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
function c(e, t) {
|
|
47
|
-
return s[e]?.[t] ?? s.bordered.secondary;
|
|
48
|
-
}
|
|
49
|
-
//#endregion
|
|
50
|
-
export { c as resolveVariantClass };
|
package/dist/theme/color.d.ts
DELETED
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Color configuration types for AsheeUI's theming system.
|
|
3
|
-
* This file defines the structure of theme color palettes, including
|
|
4
|
-
* the required built-in themes (light and dark) and optional custom
|
|
5
|
-
* theme extensions. It provides the type foundation for the color
|
|
6
|
-
* configuration that powers the component library's visual system.
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* The built-in theme names that are always available in AsheeUI.
|
|
10
|
-
* "light" and "dark" are the core themes that every installation provides.
|
|
11
|
-
*/
|
|
12
|
-
export type KnownThemeName = "light" | "dark";
|
|
13
|
-
/**
|
|
14
|
-
* Registry of available color themes in AsheeUI.
|
|
15
|
-
* Currently supports the built-in "light" and "dark" themes.
|
|
16
|
-
* This interface serves as the constraint for theme name resolution.
|
|
17
|
-
*/
|
|
18
|
-
export interface AsheeColorRegistry {
|
|
19
|
-
light: true;
|
|
20
|
-
dark: true;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* All available theme names in AsheeUI.
|
|
24
|
-
* This is derived from the AsheeColorRegistry and includes both
|
|
25
|
-
* built-in themes and any custom themes defined by the user.
|
|
26
|
-
*/
|
|
27
|
-
export type ThemeName = keyof AsheeColorRegistry;
|
|
28
|
-
/**
|
|
29
|
-
* The complete set of color variables required for a single theme.
|
|
30
|
-
* These colors are used throughout the component library for
|
|
31
|
-
* backgrounds, text, borders, interactive elements, and status indicators.
|
|
32
|
-
*/
|
|
33
|
-
export interface ColorVariant {
|
|
34
|
-
/**
|
|
35
|
-
* The main background color of the application.
|
|
36
|
-
* Used for page backgrounds and container surfaces.
|
|
37
|
-
*/
|
|
38
|
-
background: string;
|
|
39
|
-
/**
|
|
40
|
-
* The primary text color.
|
|
41
|
-
* Used for body text and other foreground content.
|
|
42
|
-
*/
|
|
43
|
-
foreground: string;
|
|
44
|
-
/**
|
|
45
|
-
* The primary brand or interactive color.
|
|
46
|
-
* Used for buttons, links, and other interactive elements.
|
|
47
|
-
*/
|
|
48
|
-
primary: string;
|
|
49
|
-
/**
|
|
50
|
-
* The secondary surface color.
|
|
51
|
-
* Used for cards, panels, and other elevated surfaces.
|
|
52
|
-
*/
|
|
53
|
-
secondary: string;
|
|
54
|
-
/**
|
|
55
|
-
* The border color.
|
|
56
|
-
* Used for separators, input borders, and dividing lines.
|
|
57
|
-
*/
|
|
58
|
-
border: string;
|
|
59
|
-
/**
|
|
60
|
-
* The danger or error color.
|
|
61
|
-
* Used for destructive actions and error states.
|
|
62
|
-
*/
|
|
63
|
-
danger: string;
|
|
64
|
-
/**
|
|
65
|
-
* The warning color.
|
|
66
|
-
* Used for cautionary states and warnings.
|
|
67
|
-
*/
|
|
68
|
-
warning: string;
|
|
69
|
-
/**
|
|
70
|
-
* The success color.
|
|
71
|
-
* Used for success states and positive feedback.
|
|
72
|
-
*/
|
|
73
|
-
success: string;
|
|
74
|
-
/**
|
|
75
|
-
* The scrollbar thumb color.
|
|
76
|
-
* Used for the draggable handle of scrollbars.
|
|
77
|
-
*/
|
|
78
|
-
scrollbarThumb: string;
|
|
79
|
-
/**
|
|
80
|
-
* The scrollbar track color.
|
|
81
|
-
* Used for the background track of scrollbars.
|
|
82
|
-
*/
|
|
83
|
-
scrollbarTrack: string;
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Built-in colors map required by the core library.
|
|
87
|
-
* Both "light" and "dark" themes must be fully defined.
|
|
88
|
-
*/
|
|
89
|
-
export type DefaultColorConfig = Record<KnownThemeName, ColorVariant>;
|
|
90
|
-
/**
|
|
91
|
-
* Full color configuration.
|
|
92
|
-
* Built-in themes are strictly required. Custom augmented themes are optional
|
|
93
|
-
* on default/unmerged configs, but enforced via ExternalColorConfig.
|
|
94
|
-
*/
|
|
95
|
-
export type ColorConfig = Record<KnownThemeName, ColorVariant> & Partial<Record<Exclude<ThemeName, KnownThemeName>, ColorVariant>>;
|
|
96
|
-
/**
|
|
97
|
-
* A color variant that can be partially defined.
|
|
98
|
-
* Custom themes can extend a known theme to inherit its colors.
|
|
99
|
-
*/
|
|
100
|
-
export type ExternalColorVariant = Partial<ColorVariant> & {
|
|
101
|
-
/**
|
|
102
|
-
* Optional theme to extend.
|
|
103
|
-
* When provided, the custom theme will inherit colors from the specified
|
|
104
|
-
* built-in theme, with any explicitly defined colors overriding the inherited values.
|
|
105
|
-
*/
|
|
106
|
-
extends?: KnownThemeName;
|
|
107
|
-
};
|
|
108
|
-
type CustomThemeName = Exclude<ThemeName, KnownThemeName>;
|
|
109
|
-
/**
|
|
110
|
-
* External color configuration format.
|
|
111
|
-
* Built-in themes can be partially overridden, while custom themes
|
|
112
|
-
* must provide at least a partial color variant (with optional extension).
|
|
113
|
-
*/
|
|
114
|
-
export type ExternalColorConfig = Partial<Record<KnownThemeName, Partial<ColorVariant>>> & Record<CustomThemeName, ExternalColorVariant>;
|
|
115
|
-
/**
|
|
116
|
-
* The default color configuration for AsheeUI.
|
|
117
|
-
* Provides complete color variants for both light and dark themes
|
|
118
|
-
* with carefully chosen default values that work out of the box.
|
|
119
|
-
*/
|
|
120
|
-
export declare const defaultColorConfig: DefaultColorConfig;
|
|
121
|
-
export {};
|
|
122
|
-
//# sourceMappingURL=color.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../src/theme/color.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,MAAM,CAAC;AAE9C;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,IAAI,CAAC;IACZ,IAAI,EAAE,IAAI,CAAC;CACZ;AAED;;;;GAIG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,kBAAkB,CAAC;AAEjD;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB;AAED;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,cAAc,EAAE,YAAY,CAAC,CAAC;AAEtE;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,cAAc,EAAE,YAAY,CAAC,GAC5D,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,EAAE,cAAc,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC;AAEpE;;;GAGG;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,YAAY,CAAC,GAAG;IACzD;;;;OAIG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B,CAAC;AAEF,KAAK,eAAe,GAAG,OAAO,CAAC,SAAS,EAAE,cAAc,CAAC,CAAC;AAE1D;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,CACvC,MAAM,CAAC,cAAc,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC,CAC9C,GACC,MAAM,CAAC,eAAe,EAAE,oBAAoB,CAAC,CAAC;AAEhD;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,kBAyBhC,CAAC"}
|
package/dist/theme/color.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
//#region src/theme/color.ts
|
|
3
|
-
var e = {
|
|
4
|
-
light: {
|
|
5
|
-
background: "#ffffff",
|
|
6
|
-
foreground: "#000000",
|
|
7
|
-
primary: "#2563eb",
|
|
8
|
-
secondary: "#f3f4f6",
|
|
9
|
-
border: "#d5d5d5",
|
|
10
|
-
danger: "#dc2626",
|
|
11
|
-
warning: "#d97706",
|
|
12
|
-
success: "#16a34a",
|
|
13
|
-
scrollbarThumb: "#3b82f6",
|
|
14
|
-
scrollbarTrack: "transparent"
|
|
15
|
-
},
|
|
16
|
-
dark: {
|
|
17
|
-
background: "#111111",
|
|
18
|
-
foreground: "#ffffff",
|
|
19
|
-
primary: "#005bc4",
|
|
20
|
-
secondary: "#262626",
|
|
21
|
-
border: "#2a2a2a",
|
|
22
|
-
danger: "#ef4444",
|
|
23
|
-
warning: "#f59e0b",
|
|
24
|
-
success: "#22c55e",
|
|
25
|
-
scrollbarThumb: "#1e40af",
|
|
26
|
-
scrollbarTrack: "#1f293700"
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
//#endregion
|
|
30
|
-
export { e as defaultColorConfig };
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
import { ThemeName } from './color';
|
|
2
|
-
/**
|
|
3
|
-
* A theme selection that can be either a specific theme name or the special
|
|
4
|
-
* "system" value, which resolves to either light or dark based on the user's
|
|
5
|
-
* system preference.
|
|
6
|
-
*/
|
|
7
|
-
export type ThemeSelection = ThemeName | "system";
|
|
8
|
-
/**
|
|
9
|
-
* Local storage key used to persist the user's theme preference.
|
|
10
|
-
*/
|
|
11
|
-
export declare const THEME_STORAGE_KEY = "ashee-theme";
|
|
12
|
-
/**
|
|
13
|
-
* Function type for theme change listeners.
|
|
14
|
-
*/
|
|
15
|
-
type Listener = () => void;
|
|
16
|
-
/**
|
|
17
|
-
* Input configuration required to initialize the theme controller.
|
|
18
|
-
* Provides the default theme and the list of available themes.
|
|
19
|
-
*/
|
|
20
|
-
export interface ThemeConfigInput {
|
|
21
|
-
/**
|
|
22
|
-
* The default theme to use when no user preference is stored or when
|
|
23
|
-
* the stored preference is invalid. This can be a specific theme name
|
|
24
|
-
* or "system" to follow the system preference.
|
|
25
|
-
*/
|
|
26
|
-
defaultTheme: ThemeSelection;
|
|
27
|
-
/**
|
|
28
|
-
* The list of theme names that are available in the application.
|
|
29
|
-
* This is used to validate stored preferences and to determine
|
|
30
|
-
* which themes can be toggled through the toggleTheme method.
|
|
31
|
-
*/
|
|
32
|
-
themes: readonly string[];
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Manages theme state, persistence, and system preference detection.
|
|
36
|
-
* This class handles the core logic of selecting, resolving, and applying
|
|
37
|
-
* themes, including storing preferences in localStorage and responding to
|
|
38
|
-
* system dark mode changes. It follows the observer pattern to notify
|
|
39
|
-
* subscribers when the theme changes.
|
|
40
|
-
*/
|
|
41
|
-
declare class ThemeController {
|
|
42
|
-
/**
|
|
43
|
-
* The user's selected theme preference, which may be "system"
|
|
44
|
-
* or a specific theme name.
|
|
45
|
-
*/
|
|
46
|
-
private selection;
|
|
47
|
-
/**
|
|
48
|
-
* The final resolved theme name after applying the selection
|
|
49
|
-
* and resolving "system" to either "light" or "dark".
|
|
50
|
-
*/
|
|
51
|
-
private resolved;
|
|
52
|
-
/**
|
|
53
|
-
* The default theme configured when the controller was initialized.
|
|
54
|
-
* Used as a fallback when the stored preference is invalid.
|
|
55
|
-
*/
|
|
56
|
-
private defaultTheme;
|
|
57
|
-
/**
|
|
58
|
-
* The list of available themes in the application.
|
|
59
|
-
* Used for validation and cycling through themes.
|
|
60
|
-
*/
|
|
61
|
-
private availableThemes;
|
|
62
|
-
/**
|
|
63
|
-
* Set of listener functions that are called when the theme changes.
|
|
64
|
-
*/
|
|
65
|
-
private listeners;
|
|
66
|
-
/**
|
|
67
|
-
* MediaQueryList for detecting system dark mode preference.
|
|
68
|
-
* Null when running in a non-browser environment.
|
|
69
|
-
*/
|
|
70
|
-
private mediaQuery;
|
|
71
|
-
constructor();
|
|
72
|
-
/**
|
|
73
|
-
* Seeds the controller with the resolved theme config and applies the theme.
|
|
74
|
-
*
|
|
75
|
-
* - Uses `localStorage["ashee-theme"]` when it holds a valid selection.
|
|
76
|
-
* - Falls back to `config.theme.defaultTheme` on first visit.
|
|
77
|
-
* - Clears stale/invalid values from storage.
|
|
78
|
-
* - Never writes to storage (only `setTheme` persists user intent).
|
|
79
|
-
*/
|
|
80
|
-
configure({ defaultTheme, themes }: ThemeConfigInput): void;
|
|
81
|
-
/**
|
|
82
|
-
* Seeds the default theme. Kept for backward compatibility - prefer
|
|
83
|
-
* `configure()`, which also validates the stored selection against the
|
|
84
|
-
* available theme map.
|
|
85
|
-
*
|
|
86
|
-
* @deprecated Use `configure()` instead for complete initialization.
|
|
87
|
-
*/
|
|
88
|
-
setDefault: (theme: ThemeSelection) => void;
|
|
89
|
-
/**
|
|
90
|
-
* Returns the current theme selection.
|
|
91
|
-
* @returns The current selected theme, which may be "system" or a specific theme name.
|
|
92
|
-
*/
|
|
93
|
-
getSelection: () => ThemeSelection;
|
|
94
|
-
/**
|
|
95
|
-
* Returns the resolved theme name after applying the selection.
|
|
96
|
-
* If the selection is "system", this will resolve to either "light" or "dark"
|
|
97
|
-
* based on the system preference.
|
|
98
|
-
* @returns The resolved theme name.
|
|
99
|
-
*/
|
|
100
|
-
getResolvedTheme: () => ThemeName;
|
|
101
|
-
/**
|
|
102
|
-
* Sets the theme selection and persists it to localStorage.
|
|
103
|
-
* The provided selection is validated and sanitized before applying.
|
|
104
|
-
* @param selection - The theme to select, either "system" or a theme name.
|
|
105
|
-
*/
|
|
106
|
-
setTheme: (selection: ThemeSelection) => void;
|
|
107
|
-
/**
|
|
108
|
-
* Subscribes a listener to theme changes.
|
|
109
|
-
* The listener will be called whenever the theme selection or resolved theme changes.
|
|
110
|
-
* @param listener - The function to call when the theme changes.
|
|
111
|
-
* @returns An unsubscribe function that removes the listener.
|
|
112
|
-
*/
|
|
113
|
-
subscribe: (listener: Listener) => (() => void);
|
|
114
|
-
/**
|
|
115
|
-
* Returns the list of available theme names.
|
|
116
|
-
* @returns The list of available themes configured in the controller.
|
|
117
|
-
*/
|
|
118
|
-
getAvailableThemes: () => readonly string[];
|
|
119
|
-
/**
|
|
120
|
-
* Cycles to the next theme in sequence (including "system" mode by default).
|
|
121
|
-
* Loops back to the start when reaching the end of the available themes list.
|
|
122
|
-
* The "system" option is not included in the toggle sequence; only specific
|
|
123
|
-
* theme names are cycled through.
|
|
124
|
-
*/
|
|
125
|
-
toggleTheme: () => void;
|
|
126
|
-
/**
|
|
127
|
-
* Handles system dark mode preference changes.
|
|
128
|
-
* Only re-applies the theme if the current selection is "system",
|
|
129
|
-
* ensuring the resolved theme stays in sync with system changes.
|
|
130
|
-
*/
|
|
131
|
-
private handleSystemChange;
|
|
132
|
-
/**
|
|
133
|
-
* Validates a theme selection and returns a valid fallback if necessary.
|
|
134
|
-
* @param selection - The theme selection to sanitize.
|
|
135
|
-
* @returns A valid theme selection, falling back to the default theme
|
|
136
|
-
* if the provided selection is invalid.
|
|
137
|
-
*/
|
|
138
|
-
private sanitize;
|
|
139
|
-
/**
|
|
140
|
-
* Checks whether a theme selection is valid.
|
|
141
|
-
* "system" is always valid. Other theme names are valid if they exist
|
|
142
|
-
* in the available themes list. If no available themes are configured,
|
|
143
|
-
* any selection is considered valid.
|
|
144
|
-
* @param selection - The theme selection to validate.
|
|
145
|
-
* @returns True if the selection is valid, false otherwise.
|
|
146
|
-
*/
|
|
147
|
-
private isValid;
|
|
148
|
-
/**
|
|
149
|
-
* Resolves a theme selection to an actual theme name.
|
|
150
|
-
* If the selection is "system", resolves based on the system preference.
|
|
151
|
-
* @param selection - The theme selection to resolve.
|
|
152
|
-
* @returns The resolved theme name.
|
|
153
|
-
*/
|
|
154
|
-
private resolve;
|
|
155
|
-
/**
|
|
156
|
-
* Applies the current theme selection by updating the DOM.
|
|
157
|
-
* This method sanitizes the selection, resolves it to a theme name,
|
|
158
|
-
* and applies the appropriate CSS class to the document root.
|
|
159
|
-
* It ensures that only valid theme classes are applied and removes
|
|
160
|
-
* any previously applied theme classes.
|
|
161
|
-
*/
|
|
162
|
-
private applySelection;
|
|
163
|
-
}
|
|
164
|
-
/**
|
|
165
|
-
* Singleton instance of the theme controller.
|
|
166
|
-
* This instance manages the global theme state and should be used
|
|
167
|
-
* throughout the application for theme operations.
|
|
168
|
-
*/
|
|
169
|
-
export declare const themeController: ThemeController;
|
|
170
|
-
export {};
|
|
171
|
-
//# sourceMappingURL=controller.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"controller.d.ts","sourceRoot":"","sources":["../../src/theme/controller.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,QAAQ,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,iBAAiB,gBAAgB,CAAC;AAa/C;;GAEG;AACH,KAAK,QAAQ,GAAG,MAAM,IAAI,CAAC;AAE3B;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,YAAY,EAAE,cAAc,CAAC;IAE7B;;;;OAIG;IACH,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;CAC3B;AAED;;;;;;GAMG;AACH,cAAM,eAAe;IACnB;;;OAGG;IACH,OAAO,CAAC,SAAS,CAA2B;IAE5C;;;OAGG;IACH,OAAO,CAAC,QAAQ,CAAsB;IAEtC;;;OAGG;IACH,OAAO,CAAC,YAAY,CAA2B;IAE/C;;;OAGG;IACH,OAAO,CAAC,eAAe,CAAyB;IAEhD;;OAEG;IACH,OAAO,CAAC,SAAS,CAAuB;IAExC;;;OAGG;IACH,OAAO,CAAC,UAAU,CAA+B;;IASjD;;;;;;;OAOG;IACH,SAAS,CAAC,EAAE,YAAY,EAAE,MAAM,EAAE,EAAE,gBAAgB,GAAG,IAAI;IAkC3D;;;;;;OAMG;IACH,UAAU,GAAI,OAAO,cAAc,KAAG,IAAI,CAExC;IAEF;;;OAGG;IACH,YAAY,QAAO,cAAc,CAAmB;IAEpD;;;;;OAKG;IACH,gBAAgB,QAAO,SAAS,CAAkB;IAElD;;;;OAIG;IACH,QAAQ,GAAI,WAAW,cAAc,KAAG,IAAI,CAS1C;IAEF;;;;;OAKG;IACH,SAAS,GAAI,UAAU,QAAQ,KAAG,CAAC,MAAM,IAAI,CAAC,CAG5C;IAEF;;;OAGG;IACH,kBAAkB,QAAO,SAAS,MAAM,EAAE,CAAyB;IAEnE;;;;;OAKG;IACH,WAAW,QAAO,IAAI,CAWpB;IAEF;;;;OAIG;IACH,OAAO,CAAC,kBAAkB,CAMxB;IAEF;;;;;OAKG;IACH,OAAO,CAAC,QAAQ;IAKhB;;;;;;;OAOG;IACH,OAAO,CAAC,OAAO;IAOf;;;;;OAKG;IACH,OAAO,CAAC,OAAO;IAKf;;;;;;OAMG;IACH,OAAO,CAAC,cAAc;CA+BvB;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,iBAAwB,CAAC"}
|