snice 1.13.8 → 1.13.9
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/components/accordion/snice-accordion-item.ts +1 -1
- package/components/accordion/snice-accordion.ts +1 -1
- package/components/alert/snice-alert.ts +1 -1
- package/components/avatar/snice-avatar.ts +1 -1
- package/components/badge/snice-badge.ts +1 -1
- package/components/breadcrumbs/snice-breadcrumbs.ts +1 -1
- package/components/breadcrumbs/snice-crumb.ts +1 -1
- package/components/button/snice-button.ts +1 -1
- package/components/card/snice-card.ts +1 -1
- package/components/checkbox/snice-checkbox.ts +1 -1
- package/components/chip/snice-chip.ts +1 -1
- package/components/date-picker/snice-date-picker.ts +1 -1
- package/components/divider/snice-divider.ts +1 -1
- package/components/drawer/snice-drawer.ts +1 -1
- package/components/input/snice-input.ts +1 -1
- package/components/layout/snice-layout-blog.ts +1 -1
- package/components/layout/snice-layout-card.ts +1 -1
- package/components/layout/snice-layout-centered.ts +1 -1
- package/components/layout/snice-layout-dashboard.ts +1 -1
- package/components/layout/snice-layout-fullscreen.ts +1 -1
- package/components/layout/snice-layout-landing.ts +1 -1
- package/components/layout/snice-layout-minimal.ts +1 -1
- package/components/layout/snice-layout-sidebar.ts +1 -1
- package/components/layout/snice-layout-split.ts +1 -1
- package/components/layout/snice-layout.ts +1 -1
- package/components/layout/snice-layout.types.ts +1 -1
- package/components/login/snice-login.ts +1 -1
- package/components/modal/snice-modal.ts +1 -1
- package/components/pagination/snice-pagination.ts +1 -1
- package/components/progress/snice-progress.ts +1 -1
- package/components/radio/snice-radio.ts +1 -1
- package/components/select/snice-option.ts +1 -1
- package/components/select/snice-select.ts +1 -1
- package/components/skeleton/snice-skeleton.ts +1 -1
- package/components/switch/snice-switch.ts +1 -1
- package/components/table/snice-cell-boolean.ts +1 -1
- package/components/table/snice-cell-date.ts +1 -1
- package/components/table/snice-cell-duration.ts +1 -1
- package/components/table/snice-cell-filesize.ts +1 -1
- package/components/table/snice-cell-number.ts +1 -1
- package/components/table/snice-cell-progress.ts +1 -1
- package/components/table/snice-cell-rating.ts +1 -1
- package/components/table/snice-cell-sparkline.ts +1 -1
- package/components/table/snice-cell-text.ts +1 -1
- package/components/table/snice-cell.ts +1 -1
- package/components/table/snice-column.ts +1 -1
- package/components/table/snice-header.ts +1 -1
- package/components/table/snice-progress.ts +1 -1
- package/components/table/snice-rating.ts +1 -1
- package/components/table/snice-row.ts +1 -1
- package/components/table/snice-table.ts +1 -1
- package/components/tabs/snice-tab-panel.ts +1 -1
- package/components/tabs/snice-tab.ts +1 -1
- package/components/tabs/snice-tabs.ts +1 -1
- package/components/toast/snice-toast-container.ts +1 -1
- package/components/toast/snice-toast.ts +1 -1
- package/components/tooltip/snice-tooltip.ts +1 -1
- package/components/tsconfig.json +18 -0
- package/package.json +2 -2
- package/dist/components/accordion/snice-accordion-item.d.ts +0 -25
- package/dist/components/accordion/snice-accordion-item.js +0 -260
- package/dist/components/accordion/snice-accordion-item.js.map +0 -1
- package/dist/components/accordion/snice-accordion.d.ts +0 -28
- package/dist/components/accordion/snice-accordion.js +0 -221
- package/dist/components/accordion/snice-accordion.js.map +0 -1
- package/dist/components/accordion/snice-accordion.types.d.ts +0 -29
- package/dist/components/accordion/snice-accordion.types.js +0 -2
- package/dist/components/accordion/snice-accordion.types.js.map +0 -1
- package/dist/components/alert/snice-alert.d.ts +0 -26
- package/dist/components/alert/snice-alert.js +0 -191
- package/dist/components/alert/snice-alert.js.map +0 -1
- package/dist/components/alert/snice-alert.types.d.ts +0 -11
- package/dist/components/alert/snice-alert.types.js +0 -2
- package/dist/components/alert/snice-alert.types.js.map +0 -1
- package/dist/components/avatar/snice-avatar.d.ts +0 -24
- package/dist/components/avatar/snice-avatar.js +0 -177
- package/dist/components/avatar/snice-avatar.js.map +0 -1
- package/dist/components/avatar/snice-avatar.types.d.ts +0 -12
- package/dist/components/avatar/snice-avatar.types.js +0 -2
- package/dist/components/avatar/snice-avatar.types.js.map +0 -1
- package/dist/components/badge/snice-badge.d.ts +0 -25
- package/dist/components/badge/snice-badge.js +0 -157
- package/dist/components/badge/snice-badge.js.map +0 -1
- package/dist/components/badge/snice-badge.types.d.ts +0 -15
- package/dist/components/badge/snice-badge.types.js +0 -2
- package/dist/components/badge/snice-badge.types.js.map +0 -1
- package/dist/components/breadcrumbs/snice-breadcrumbs.d.ts +0 -27
- package/dist/components/breadcrumbs/snice-breadcrumbs.js +0 -212
- package/dist/components/breadcrumbs/snice-breadcrumbs.js.map +0 -1
- package/dist/components/breadcrumbs/snice-breadcrumbs.types.d.ts +0 -23
- package/dist/components/breadcrumbs/snice-breadcrumbs.types.js +0 -2
- package/dist/components/breadcrumbs/snice-breadcrumbs.types.js.map +0 -1
- package/dist/components/breadcrumbs/snice-crumb.d.ts +0 -9
- package/dist/components/breadcrumbs/snice-crumb.js +0 -50
- package/dist/components/breadcrumbs/snice-crumb.js.map +0 -1
- package/dist/components/button/snice-button.d.ts +0 -32
- package/dist/components/button/snice-button.js +0 -212
- package/dist/components/button/snice-button.js.map +0 -1
- package/dist/components/button/snice-button.types.d.ts +0 -23
- package/dist/components/button/snice-button.types.js +0 -2
- package/dist/components/button/snice-button.types.js.map +0 -1
- package/dist/components/card/snice-card.d.ts +0 -19
- package/dist/components/card/snice-card.js +0 -132
- package/dist/components/card/snice-card.js.map +0 -1
- package/dist/components/card/snice-card.types.d.ts +0 -9
- package/dist/components/card/snice-card.types.js +0 -2
- package/dist/components/card/snice-card.types.js.map +0 -1
- package/dist/components/checkbox/snice-checkbox.d.ts +0 -34
- package/dist/components/checkbox/snice-checkbox.js +0 -289
- package/dist/components/checkbox/snice-checkbox.js.map +0 -1
- package/dist/components/checkbox/snice-checkbox.types.d.ts +0 -20
- package/dist/components/checkbox/snice-checkbox.types.js +0 -2
- package/dist/components/checkbox/snice-checkbox.types.js.map +0 -1
- package/dist/components/chip/snice-chip.d.ts +0 -28
- package/dist/components/chip/snice-chip.js +0 -203
- package/dist/components/chip/snice-chip.js.map +0 -1
- package/dist/components/chip/snice-chip.types.d.ts +0 -14
- package/dist/components/chip/snice-chip.types.js +0 -2
- package/dist/components/chip/snice-chip.types.js.map +0 -1
- package/dist/components/date-picker/snice-date-picker.d.ts +0 -82
- package/dist/components/date-picker/snice-date-picker.js +0 -880
- package/dist/components/date-picker/snice-date-picker.js.map +0 -1
- package/dist/components/date-picker/snice-date-picker.types.d.ts +0 -71
- package/dist/components/date-picker/snice-date-picker.types.js +0 -2
- package/dist/components/date-picker/snice-date-picker.types.js.map +0 -1
- package/dist/components/divider/snice-divider.d.ts +0 -17
- package/dist/components/divider/snice-divider.js +0 -111
- package/dist/components/divider/snice-divider.js.map +0 -1
- package/dist/components/divider/snice-divider.types.d.ts +0 -14
- package/dist/components/divider/snice-divider.types.js +0 -2
- package/dist/components/divider/snice-divider.types.js.map +0 -1
- package/dist/components/drawer/snice-drawer.d.ts +0 -37
- package/dist/components/drawer/snice-drawer.js +0 -335
- package/dist/components/drawer/snice-drawer.js.map +0 -1
- package/dist/components/drawer/snice-drawer.types.d.ts +0 -16
- package/dist/components/drawer/snice-drawer.types.js +0 -2
- package/dist/components/drawer/snice-drawer.types.js.map +0 -1
- package/dist/components/input/snice-input.d.ts +0 -65
- package/dist/components/input/snice-input.js +0 -603
- package/dist/components/input/snice-input.js.map +0 -1
- package/dist/components/input/snice-input.types.d.ts +0 -53
- package/dist/components/input/snice-input.types.js +0 -2
- package/dist/components/input/snice-input.types.js.map +0 -1
- package/dist/components/layout/snice-layout-blog.d.ts +0 -4
- package/dist/components/layout/snice-layout-blog.js +0 -56
- package/dist/components/layout/snice-layout-blog.js.map +0 -1
- package/dist/components/layout/snice-layout-card.d.ts +0 -6
- package/dist/components/layout/snice-layout-card.js +0 -53
- package/dist/components/layout/snice-layout-card.js.map +0 -1
- package/dist/components/layout/snice-layout-centered.d.ts +0 -5
- package/dist/components/layout/snice-layout-centered.js +0 -38
- package/dist/components/layout/snice-layout-centered.js.map +0 -1
- package/dist/components/layout/snice-layout-dashboard.d.ts +0 -4
- package/dist/components/layout/snice-layout-dashboard.js +0 -53
- package/dist/components/layout/snice-layout-dashboard.js.map +0 -1
- package/dist/components/layout/snice-layout-fullscreen.d.ts +0 -5
- package/dist/components/layout/snice-layout-fullscreen.js +0 -50
- package/dist/components/layout/snice-layout-fullscreen.js.map +0 -1
- package/dist/components/layout/snice-layout-landing.d.ts +0 -4
- package/dist/components/layout/snice-layout-landing.js +0 -55
- package/dist/components/layout/snice-layout-landing.js.map +0 -1
- package/dist/components/layout/snice-layout-minimal.d.ts +0 -4
- package/dist/components/layout/snice-layout-minimal.js +0 -27
- package/dist/components/layout/snice-layout-minimal.js.map +0 -1
- package/dist/components/layout/snice-layout-sidebar.d.ts +0 -5
- package/dist/components/layout/snice-layout-sidebar.js +0 -64
- package/dist/components/layout/snice-layout-sidebar.js.map +0 -1
- package/dist/components/layout/snice-layout-split.d.ts +0 -6
- package/dist/components/layout/snice-layout-split.js +0 -47
- package/dist/components/layout/snice-layout-split.js.map +0 -1
- package/dist/components/layout/snice-layout.d.ts +0 -4
- package/dist/components/layout/snice-layout.js +0 -43
- package/dist/components/layout/snice-layout.js.map +0 -1
- package/dist/components/layout/snice-layout.types.d.ts +0 -3
- package/dist/components/layout/snice-layout.types.js +0 -2
- package/dist/components/layout/snice-layout.types.js.map +0 -1
- package/dist/components/login/snice-login.d.ts +0 -45
- package/dist/components/login/snice-login.js +0 -385
- package/dist/components/login/snice-login.js.map +0 -1
- package/dist/components/login/snice-login.types.d.ts +0 -31
- package/dist/components/login/snice-login.types.js +0 -2
- package/dist/components/login/snice-login.types.js.map +0 -1
- package/dist/components/modal/snice-modal.d.ts +0 -32
- package/dist/components/modal/snice-modal.js +0 -288
- package/dist/components/modal/snice-modal.js.map +0 -1
- package/dist/components/modal/snice-modal.types.d.ts +0 -18
- package/dist/components/modal/snice-modal.types.js +0 -2
- package/dist/components/modal/snice-modal.types.js.map +0 -1
- package/dist/components/pagination/snice-pagination.d.ts +0 -26
- package/dist/components/pagination/snice-pagination.js +0 -373
- package/dist/components/pagination/snice-pagination.js.map +0 -1
- package/dist/components/pagination/snice-pagination.types.d.ts +0 -18
- package/dist/components/pagination/snice-pagination.types.js +0 -2
- package/dist/components/pagination/snice-pagination.types.js.map +0 -1
- package/dist/components/progress/snice-progress.d.ts +0 -35
- package/dist/components/progress/snice-progress.js +0 -295
- package/dist/components/progress/snice-progress.js.map +0 -1
- package/dist/components/progress/snice-progress.types.d.ts +0 -18
- package/dist/components/progress/snice-progress.types.js +0 -2
- package/dist/components/progress/snice-progress.types.js.map +0 -1
- package/dist/components/radio/snice-radio.d.ts +0 -33
- package/dist/components/radio/snice-radio.js +0 -286
- package/dist/components/radio/snice-radio.js.map +0 -1
- package/dist/components/radio/snice-radio.types.d.ts +0 -19
- package/dist/components/radio/snice-radio.types.js +0 -2
- package/dist/components/radio/snice-radio.types.js.map +0 -1
- package/dist/components/select/snice-option.d.ts +0 -17
- package/dist/components/select/snice-option.js +0 -77
- package/dist/components/select/snice-option.js.map +0 -1
- package/dist/components/select/snice-option.types.d.ts +0 -14
- package/dist/components/select/snice-option.types.js +0 -2
- package/dist/components/select/snice-option.types.js.map +0 -1
- package/dist/components/select/snice-select.d.ts +0 -89
- package/dist/components/select/snice-select.js +0 -900
- package/dist/components/select/snice-select.js.map +0 -1
- package/dist/components/select/snice-select.types.d.ts +0 -49
- package/dist/components/select/snice-select.types.js +0 -2
- package/dist/components/select/snice-select.types.js.map +0 -1
- package/dist/components/skeleton/snice-skeleton.d.ts +0 -16
- package/dist/components/skeleton/snice-skeleton.js +0 -159
- package/dist/components/skeleton/snice-skeleton.js.map +0 -1
- package/dist/components/skeleton/snice-skeleton.types.d.ts +0 -10
- package/dist/components/skeleton/snice-skeleton.types.js +0 -2
- package/dist/components/skeleton/snice-skeleton.types.js.map +0 -1
- package/dist/components/switch/snice-switch.d.ts +0 -38
- package/dist/components/switch/snice-switch.js +0 -309
- package/dist/components/switch/snice-switch.js.map +0 -1
- package/dist/components/switch/snice-switch.types.d.ts +0 -21
- package/dist/components/switch/snice-switch.types.js +0 -2
- package/dist/components/switch/snice-switch.types.js.map +0 -1
- package/dist/components/symbols.d.ts +0 -1
- package/dist/components/symbols.js +0 -20
- package/dist/components/symbols.js.map +0 -1
- package/dist/components/table/snice-cell-boolean.d.ts +0 -21
- package/dist/components/table/snice-cell-boolean.js +0 -152
- package/dist/components/table/snice-cell-boolean.js.map +0 -1
- package/dist/components/table/snice-cell-date.d.ts +0 -24
- package/dist/components/table/snice-cell-date.js +0 -240
- package/dist/components/table/snice-cell-date.js.map +0 -1
- package/dist/components/table/snice-cell-duration.d.ts +0 -16
- package/dist/components/table/snice-cell-duration.js +0 -123
- package/dist/components/table/snice-cell-duration.js.map +0 -1
- package/dist/components/table/snice-cell-filesize.d.ts +0 -16
- package/dist/components/table/snice-cell-filesize.js +0 -119
- package/dist/components/table/snice-cell-filesize.js.map +0 -1
- package/dist/components/table/snice-cell-number.d.ts +0 -23
- package/dist/components/table/snice-cell-number.js +0 -202
- package/dist/components/table/snice-cell-number.js.map +0 -1
- package/dist/components/table/snice-cell-progress.d.ts +0 -17
- package/dist/components/table/snice-cell-progress.js +0 -114
- package/dist/components/table/snice-cell-progress.js.map +0 -1
- package/dist/components/table/snice-cell-rating.d.ts +0 -17
- package/dist/components/table/snice-cell-rating.js +0 -113
- package/dist/components/table/snice-cell-rating.js.map +0 -1
- package/dist/components/table/snice-cell-sparkline.d.ts +0 -29
- package/dist/components/table/snice-cell-sparkline.js +0 -290
- package/dist/components/table/snice-cell-sparkline.js.map +0 -1
- package/dist/components/table/snice-cell-text.d.ts +0 -19
- package/dist/components/table/snice-cell-text.js +0 -153
- package/dist/components/table/snice-cell-text.js.map +0 -1
- package/dist/components/table/snice-cell.d.ts +0 -32
- package/dist/components/table/snice-cell.js +0 -451
- package/dist/components/table/snice-cell.js.map +0 -1
- package/dist/components/table/snice-column.d.ts +0 -62
- package/dist/components/table/snice-column.js +0 -440
- package/dist/components/table/snice-column.js.map +0 -1
- package/dist/components/table/snice-header.d.ts +0 -33
- package/dist/components/table/snice-header.js +0 -303
- package/dist/components/table/snice-header.js.map +0 -1
- package/dist/components/table/snice-progress.d.ts +0 -10
- package/dist/components/table/snice-progress.js +0 -91
- package/dist/components/table/snice-progress.js.map +0 -1
- package/dist/components/table/snice-rating.d.ts +0 -9
- package/dist/components/table/snice-rating.js +0 -68
- package/dist/components/table/snice-rating.js.map +0 -1
- package/dist/components/table/snice-row.d.ts +0 -43
- package/dist/components/table/snice-row.js +0 -365
- package/dist/components/table/snice-row.js.map +0 -1
- package/dist/components/table/snice-table.d.ts +0 -69
- package/dist/components/table/snice-table.js +0 -814
- package/dist/components/table/snice-table.js.map +0 -1
- package/dist/components/table/snice-table.types.d.ts +0 -137
- package/dist/components/table/snice-table.types.js +0 -2
- package/dist/components/table/snice-table.types.js.map +0 -1
- package/dist/components/tabs/snice-tab-panel.d.ts +0 -12
- package/dist/components/tabs/snice-tab-panel.js +0 -78
- package/dist/components/tabs/snice-tab-panel.js.map +0 -1
- package/dist/components/tabs/snice-tab.d.ts +0 -13
- package/dist/components/tabs/snice-tab.js +0 -90
- package/dist/components/tabs/snice-tab.js.map +0 -1
- package/dist/components/tabs/snice-tabs.d.ts +0 -34
- package/dist/components/tabs/snice-tabs.js +0 -367
- package/dist/components/tabs/snice-tabs.js.map +0 -1
- package/dist/components/tabs/snice-tabs.types.d.ts +0 -23
- package/dist/components/tabs/snice-tabs.types.js +0 -2
- package/dist/components/tabs/snice-tabs.types.js.map +0 -1
- package/dist/components/toast/snice-toast-container.d.ts +0 -25
- package/dist/components/toast/snice-toast-container.js +0 -251
- package/dist/components/toast/snice-toast-container.js.map +0 -1
- package/dist/components/toast/snice-toast.d.ts +0 -23
- package/dist/components/toast/snice-toast.js +0 -316
- package/dist/components/toast/snice-toast.js.map +0 -1
- package/dist/components/toast/snice-toast.types.d.ts +0 -30
- package/dist/components/toast/snice-toast.types.js +0 -2
- package/dist/components/toast/snice-toast.types.js.map +0 -1
- package/dist/components/tooltip/snice-tooltip.d.ts +0 -50
- package/dist/components/tooltip/snice-tooltip.js +0 -656
- package/dist/components/tooltip/snice-tooltip.js.map +0 -1
- package/dist/components/tooltip/snice-tooltip.types.d.ts +0 -18
- package/dist/components/tooltip/snice-tooltip.types.js +0 -2
- package/dist/components/tooltip/snice-tooltip.types.js.map +0 -1
- package/dist/components/transitions.d.ts +0 -11
- package/dist/components/transitions.js +0 -69
- package/dist/components/transitions.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, query, on, watch, ready, dispatch, observe } from '
|
|
1
|
+
import { element, property, query, on, watch, ready, dispatch, observe } from 'snice';
|
|
2
2
|
import css from './snice-accordion-item.css?inline';
|
|
3
3
|
import type { SniceAccordionItemElement } from './snice-accordion.types';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, on, dispatch, ready, queryAll } from '
|
|
1
|
+
import { element, property, on, dispatch, ready, queryAll } from 'snice';
|
|
2
2
|
import css from './snice-accordion.css?inline';
|
|
3
3
|
import type { SniceAccordionElement, SniceAccordionItemElement, AccordionOpenEvent, AccordionCloseEvent } from './snice-accordion.types';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, watch, query, on, dispatch, part } from '
|
|
1
|
+
import { element, property, watch, query, on, dispatch, part } from 'snice';
|
|
2
2
|
import css from './snice-alert.css?inline';
|
|
3
3
|
import type { AlertVariant, AlertSize, SniceAlertElement } from './snice-alert.types';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, watch, query, ready, on, part } from '
|
|
1
|
+
import { element, property, watch, query, ready, on, part } from 'snice';
|
|
2
2
|
import css from './snice-avatar.css?inline';
|
|
3
3
|
import type { AvatarSize, AvatarShape, SniceAvatarElement } from './snice-avatar.types';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, watch, query, ready, part } from '
|
|
1
|
+
import { element, property, watch, query, ready, part } from 'snice';
|
|
2
2
|
import css from './snice-badge.css?inline';
|
|
3
3
|
import type { BadgeVariant, BadgePosition, BadgeSize, SniceBadgeElement } from './snice-badge.types';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, watch, query, dispatch, on, ready } from '
|
|
1
|
+
import { element, property, watch, query, dispatch, on, ready } from 'snice';
|
|
2
2
|
import css from './snice-breadcrumbs.css?inline';
|
|
3
3
|
import type { BreadcrumbItem, BreadcrumbSeparator, BreadcrumbSize, SniceBreadcrumbsElement } from './snice-breadcrumbs.types';
|
|
4
4
|
import type { SniceCrumbElement } from './snice-breadcrumbs.types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, query, on, dispatch, watch } from '
|
|
1
|
+
import { element, property, query, on, dispatch, watch } from 'snice';
|
|
2
2
|
import css from './snice-button.css?inline';
|
|
3
3
|
import type { ButtonVariant, ButtonSize, IconPlacement, SniceButtonElement } from './snice-button.types';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, query, on, watch, dispatch, ready } from '
|
|
1
|
+
import { element, property, query, on, watch, dispatch, ready } from 'snice';
|
|
2
2
|
import css from './snice-checkbox.css?inline';
|
|
3
3
|
import type { CheckboxSize, SniceCheckboxElement } from './snice-checkbox.types';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, watch, query, on, dispatch } from '
|
|
1
|
+
import { element, property, watch, query, on, dispatch } from 'snice';
|
|
2
2
|
import css from './snice-chip.css?inline';
|
|
3
3
|
import type { ChipVariant, ChipSize, SniceChipElement } from './snice-chip.types';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, query, on, watch, dispatch, ready } from '
|
|
1
|
+
import { element, property, query, on, watch, dispatch, ready } from 'snice';
|
|
2
2
|
import css from './snice-date-picker.css?inline';
|
|
3
3
|
import type { DatePickerSize, DatePickerVariant, DateFormat, SniceDatePickerElement, DatePickerValue } from './snice-date-picker.types';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, watch, query } from '
|
|
1
|
+
import { element, property, watch, query } from 'snice';
|
|
2
2
|
import css from './snice-divider.css?inline';
|
|
3
3
|
import type { DividerOrientation, DividerVariant, DividerAlign, DividerSpacing, SniceDividerElement } from './snice-divider.types';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, query, on, watch, dispatch, ready, dispose } from '
|
|
1
|
+
import { element, property, query, on, watch, dispatch, ready, dispose } from 'snice';
|
|
2
2
|
import css from './snice-drawer.css?inline';
|
|
3
3
|
import type { DrawerPosition, DrawerSize, SniceDrawerElement } from './snice-drawer.types';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, query, on, watch, dispatch, ready } from '
|
|
1
|
+
import { element, property, query, on, watch, dispatch, ready } from 'snice';
|
|
2
2
|
import css from './snice-input.css?inline';
|
|
3
3
|
import type { InputType, InputSize, InputVariant, SniceInputElement } from './snice-input.types';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, query, queryAll, on, dispatch, request, type Response } from '
|
|
1
|
+
import { element, property, query, queryAll, on, dispatch, request, type Response } from 'snice';
|
|
2
2
|
import css from './snice-login.css?inline';
|
|
3
3
|
import type { LoginVariant, LoginSize, LoginCredentials, LoginResult, SniceLoginElement } from './snice-login.types';
|
|
4
4
|
import '../alert/snice-alert';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, query, on, watch, ready, dispatch } from '
|
|
1
|
+
import { element, property, query, on, watch, ready, dispatch } from 'snice';
|
|
2
2
|
import css from './snice-modal.css?inline';
|
|
3
3
|
import type { ModalSize, SniceModalElement } from './snice-modal.types';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, watch, ready, query, dispatch } from '
|
|
1
|
+
import { element, property, watch, ready, query, dispatch } from 'snice';
|
|
2
2
|
import css from './snice-progress.css?inline';
|
|
3
3
|
import type { ProgressVariant, ProgressSize, ProgressColor, SniceProgressElement } from './snice-progress.types';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, query, on, watch, dispatch, ready } from '
|
|
1
|
+
import { element, property, query, on, watch, dispatch, ready } from 'snice';
|
|
2
2
|
import css from './snice-radio.css?inline';
|
|
3
3
|
import type { RadioSize, SniceRadioElement } from './snice-radio.types';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, query, queryAll, on, watch, dispatch, ready, dispose } from '
|
|
1
|
+
import { element, property, query, queryAll, on, watch, dispatch, ready, dispose } from 'snice';
|
|
2
2
|
import css from './snice-select.css?inline';
|
|
3
3
|
import type { SelectSize, SelectOption, SniceSelectElement } from './snice-select.types';
|
|
4
4
|
import './snice-option';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, watch, ready } from '
|
|
1
|
+
import { element, property, watch, ready } from 'snice';
|
|
2
2
|
import css from './snice-skeleton.css?inline';
|
|
3
3
|
import type { SkeletonVariant, SkeletonAnimation, SniceSkeletonElement } from './snice-skeleton.types';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, query, on, watch, dispatch, ready } from '
|
|
1
|
+
import { element, property, query, on, watch, dispatch, ready } from 'snice';
|
|
2
2
|
import css from './snice-switch.css?inline';
|
|
3
3
|
import type { SwitchSize, SniceSwitchElement } from './snice-switch.types';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, watch, ready, query } from '
|
|
1
|
+
import { element, property, watch, ready, query } from 'snice';
|
|
2
2
|
import css from './snice-cell.css?inline';
|
|
3
3
|
import type { BooleanFormat, SniceCellElement, ColumnType, ColumnAlign, ColumnDefinition } from './snice-table.types';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, watch, ready, query } from '
|
|
1
|
+
import { element, property, watch, ready, query } from 'snice';
|
|
2
2
|
import css from './snice-cell.css?inline';
|
|
3
3
|
import type { DateFormat, SniceCellElement, ColumnType, ColumnAlign, ColumnDefinition } from './snice-table.types';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, watch, ready, query } from '
|
|
1
|
+
import { element, property, watch, ready, query } from 'snice';
|
|
2
2
|
import css from './snice-cell.css?inline';
|
|
3
3
|
import type { SniceCellElement, ColumnType, ColumnAlign, ColumnDefinition } from './snice-table.types';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, watch, ready, query } from '
|
|
1
|
+
import { element, property, watch, ready, query } from 'snice';
|
|
2
2
|
import css from './snice-cell.css?inline';
|
|
3
3
|
import type { SniceCellElement, ColumnType, ColumnAlign, ColumnDefinition } from './snice-table.types';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, watch, ready, query } from '
|
|
1
|
+
import { element, property, watch, ready, query } from 'snice';
|
|
2
2
|
import css from './snice-cell.css?inline';
|
|
3
3
|
import type { NumberFormat, SniceCellElement, ColumnType, ColumnAlign, ColumnDefinition } from './snice-table.types';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, watch, ready, query } from '
|
|
1
|
+
import { element, property, watch, ready, query } from 'snice';
|
|
2
2
|
import css from './snice-cell.css?inline';
|
|
3
3
|
import type { ProgressFormat, SniceCellElement, ColumnType, ColumnAlign, ColumnDefinition } from './snice-table.types';
|
|
4
4
|
import './snice-progress';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, watch, ready, query } from '
|
|
1
|
+
import { element, property, watch, ready, query } from 'snice';
|
|
2
2
|
import css from './snice-cell.css?inline';
|
|
3
3
|
import type { RatingFormat, SniceCellElement, ColumnType, ColumnAlign, ColumnDefinition } from './snice-table.types';
|
|
4
4
|
import './snice-rating';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, watch, ready, query, SimpleArray } from '
|
|
1
|
+
import { element, property, watch, ready, query, SimpleArray } from 'snice';
|
|
2
2
|
import css from './snice-cell.css?inline';
|
|
3
3
|
import type { SparklineFormat, SniceCellElement, ColumnType, ColumnAlign, ColumnDefinition } from './snice-table.types';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, watch, ready, query } from '
|
|
1
|
+
import { element, property, watch, ready, query } from 'snice';
|
|
2
2
|
import css from './snice-cell.css?inline';
|
|
3
3
|
import type { SniceCellElement, ColumnType, ColumnAlign, ColumnDefinition } from './snice-table.types';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, query, on, dispatch } from '
|
|
1
|
+
import { element, property, query, on, dispatch } from 'snice';
|
|
2
2
|
import css from './snice-tab.css?inline';
|
|
3
3
|
import type { TabSelectDetail, TabCloseDetail, SniceTabElement } from './snice-tabs.types';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, query, queryAll, on, watch, ready, dispatch } from '
|
|
1
|
+
import { element, property, query, queryAll, on, watch, ready, dispatch } from 'snice';
|
|
2
2
|
import css from './snice-tabs.css?inline';
|
|
3
3
|
import type { TabsPlacement, SniceTabElement, SniceTabPanelElement, TabChangeDetail, TabSelectDetail } from './snice-tabs.types';
|
|
4
4
|
import { transitions } from '../transitions';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, ready, dispose } from '
|
|
1
|
+
import { element, property, ready, dispose } from 'snice';
|
|
2
2
|
import { getSymbol } from '../symbols';
|
|
3
3
|
import type { ToastPosition, ToastOptions, ToastEventDetail, ToastResponseEventDetail, SniceToastContainerElement } from './snice-toast.types';
|
|
4
4
|
import './snice-toast';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { element, property, query, on, watch, ready, dispose } from '
|
|
1
|
+
import { element, property, query, on, watch, ready, dispose } from 'snice';
|
|
2
2
|
import css from './snice-tooltip.css?inline';
|
|
3
3
|
import portalCss from './snice-tooltip-portal.css?inline';
|
|
4
4
|
import type { TooltipPosition, TooltipTrigger, SniceTooltipElement } from './snice-tooltip.types';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../tsconfig.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"noEmit": false,
|
|
5
|
+
"outDir": "../dist/components",
|
|
6
|
+
"rootDir": ".",
|
|
7
|
+
"declaration": true,
|
|
8
|
+
"emitDeclarationOnly": false,
|
|
9
|
+
"sourceMap": true,
|
|
10
|
+
"noUnusedLocals": false,
|
|
11
|
+
"noUnusedParameters": false,
|
|
12
|
+
"paths": {
|
|
13
|
+
"snice": ["../dist/index.ts", "../src/index.ts"]
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"include": ["."],
|
|
17
|
+
"exclude": ["**/*.test.ts", "**/*.spec.ts", "**/*.html", "**/demo*", "**/*.md"]
|
|
18
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "snice",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Imperative TypeScript framework for building vanilla web components with decorators, routing, and controllers. No virtual DOM, no build complexity.",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
},
|
|
60
60
|
"scripts": {
|
|
61
61
|
"dev": "vite",
|
|
62
|
-
"build": "rm -rf dist && tsc -p tsconfig.src.json --noEmitOnError false && tsc -p tsconfig.
|
|
62
|
+
"build": "rm -rf dist && tsc -p tsconfig.src.json --noEmitOnError false && tsc -p components/tsconfig.json --noEmitOnError false; rm -rf dist/src",
|
|
63
63
|
"preview": "vite preview",
|
|
64
64
|
"test": "vitest run",
|
|
65
65
|
"test:watch": "vitest",
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { SniceAccordionItemElement } from './snice-accordion.types';
|
|
2
|
-
export declare class SniceAccordionItem extends HTMLElement implements SniceAccordionItemElement {
|
|
3
|
-
itemId: string;
|
|
4
|
-
open: boolean;
|
|
5
|
-
disabled: boolean;
|
|
6
|
-
contentElement?: HTMLElement;
|
|
7
|
-
contentInner?: HTMLElement;
|
|
8
|
-
private isAnimating;
|
|
9
|
-
html(): string;
|
|
10
|
-
css(): string;
|
|
11
|
-
init(): void;
|
|
12
|
-
onContentMutation(): void;
|
|
13
|
-
handleOpenChange(): void;
|
|
14
|
-
handleDisabledChange(): void;
|
|
15
|
-
handleHeaderClick(): void;
|
|
16
|
-
handleHeaderKeydown(): void;
|
|
17
|
-
toggle(): void;
|
|
18
|
-
expand(animate?: boolean): void;
|
|
19
|
-
collapse(animate?: boolean): void;
|
|
20
|
-
private animateExpand;
|
|
21
|
-
private animateCollapse;
|
|
22
|
-
private updateContentHeight;
|
|
23
|
-
private updateAriaExpanded;
|
|
24
|
-
private dispatchToggleEvent;
|
|
25
|
-
}
|