scb-wc 0.1.85 → 0.1.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -22
- package/all.js +0 -5
- package/index.js +88 -93
- package/mvc/components/all.js +0 -5
- package/mvc/components/scb-accordion/scb-accordion-item.js +1 -1
- package/mvc/components/scb-button/scb-button.js +3 -3
- package/mvc/components/scb-calendar/scb-calendar.js +1 -1
- package/mvc/components/scb-calendar-card/scb-calendar-card.js +4 -4
- package/mvc/components/scb-card/scb-card.js +5 -5
- package/mvc/components/scb-dropdown/scb-dropdown.js +1 -1
- package/mvc/components/scb-header/scb-header.js +2 -2
- package/mvc/components/scb-horizontal-scroller/scb-horizontal-scroller.js +6 -6
- package/mvc/components/scb-icon-button/scb-icon-button.js +5 -5
- package/mvc/components/scb-keyfigure-card/scb-keyfigure-card.js +6 -6
- package/mvc/components/scb-list/scb-list-item.js +2 -2
- package/mvc/components/scb-menu/scb-menu-item.js +1 -1
- package/mvc/components/scb-nav/scb-nav.js +1 -1
- package/mvc/components/scb-options-menu/scb-options-menu-item.js +1 -1
- package/mvc/components/scb-progress-stepper/scb-progress-step.js +2 -2
- package/mvc/components/scb-search/scb-search.js +1 -1
- package/mvc/components/scb-segmented-button/scb-segmented-item.js +1 -1
- package/mvc/components/scb-select/scb-select-option.js +1 -1
- package/mvc/components/scb-select/scb-select.js +1 -1
- package/mvc/components/scb-stepper/scb-step.js +1 -1
- package/mvc/components/scb-textfield/scb-textfield.js +141 -24
- package/mvc/components/scb-toc/scb-toc-item.js +1 -1
- package/mvc/vendor/lazy-focus-ring.js +2 -0
- package/mvc/vendor/lazy-ripple.js +2 -0
- package/mvc/{components/scb-chevron → vendor}/scb-chevron.js +1 -1
- package/mvc/vendor/scb-icon-svg.js +11 -0
- package/package.json +2 -2
- package/scb-chevron/scb-chevron.js +0 -1
- package/scb-datepicker/scb-datepicker.js +0 -1
- package/scb-wc-public-entry/index.d.ts +97 -0
- package/scb-wc.bundle.js +262 -262
- package/scb-wc.d.ts +194 -204
- package/mvc/components/scb-datepicker/scb-datepicker.js +0 -118
- package/mvc/components/shared/lazy-focus-ring.js +0 -2
- package/mvc/components/shared/lazy-ripple.js +0 -2
- package/mvc/components/shared/scb-icon-svg.js +0 -11
- package/scb-components/index.d.ts +0 -102
- package/scb-components/scb-chevron/scb-chevron.d.ts +0 -11
- package/scb-components/scb-datepicker/scb-datepicker.d.ts +0 -41
- package/scb-components/shared/lazy-focus-ring.d.ts +0 -4
- package/scb-components/shared/lazy-ripple.d.ts +0 -9
- package/scb-components/shared/scb-icon-svg.d.ts +0 -3
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
export * from './scb-accordion/scb-accordion-item';
|
|
2
|
-
export * from './scb-accordion/scb-accordion';
|
|
3
|
-
export * from './scb-action-card/scb-action-card';
|
|
4
|
-
export * from './scb-app-bar/scb-app-bar';
|
|
5
|
-
export * from './scb-avatar/scb-avatar';
|
|
6
|
-
export * from './scb-badge/scb-badge';
|
|
7
|
-
export * from './scb-breadcrumb/scb-breadcrumb-item';
|
|
8
|
-
export * from './scb-breadcrumb/scb-breadcrumb';
|
|
9
|
-
export * from './scb-button/scb-button';
|
|
10
|
-
export * from './scb-calendar/scb-calendar-event';
|
|
11
|
-
export * from './scb-calendar/scb-calendar';
|
|
12
|
-
export * from './scb-calendar-card/scb-calendar-card';
|
|
13
|
-
export * from './scb-card/scb-action-card';
|
|
14
|
-
export * from './scb-card/scb-card';
|
|
15
|
-
export * from './scb-card/scb-container-card';
|
|
16
|
-
export * from './scb-card/scb-link-card';
|
|
17
|
-
export * from './scb-card/scb-list-card';
|
|
18
|
-
export * from './scb-card/scb-social-card';
|
|
19
|
-
export * from './scb-checkbox/scb-checkbox-group';
|
|
20
|
-
export * from './scb-checkbox/scb-checkbox';
|
|
21
|
-
export * from './scb-chevron/scb-chevron';
|
|
22
|
-
export * from './scb-chip/scb-chip';
|
|
23
|
-
export * from './scb-collapse/scb-collapse';
|
|
24
|
-
export * from './scb-container-card/scb-container-card';
|
|
25
|
-
export * from './scb-cookies-consent/scb-cookies-consent';
|
|
26
|
-
export * from './scb-datepicker/scb-datepicker';
|
|
27
|
-
export * from './scb-dialog/scb-dialog';
|
|
28
|
-
export * from './scb-divider/scb-divider';
|
|
29
|
-
export * from './scb-drawer/scb-drawer';
|
|
30
|
-
export * from './scb-drop-zone/scb-drop-zone';
|
|
31
|
-
export * from './scb-dropdown/scb-dropdown';
|
|
32
|
-
export * from './scb-fab/scb-fab';
|
|
33
|
-
export * from './scb-fact-card/scb-fact-card-content';
|
|
34
|
-
export * from './scb-fact-card/scb-fact-card';
|
|
35
|
-
export * from './scb-footer/scb-footer-section';
|
|
36
|
-
export * from './scb-footer/scb-footer';
|
|
37
|
-
export * from './scb-gallery-grid/scb-gallery-grid';
|
|
38
|
-
export * from './scb-grid/scb-grid-item';
|
|
39
|
-
export * from './scb-grid/scb-grid';
|
|
40
|
-
export * from './scb-grid/scb-stack';
|
|
41
|
-
export * from './scb-header/scb-header-menu-group';
|
|
42
|
-
export * from './scb-header/scb-header-menu-item';
|
|
43
|
-
export * from './scb-header/scb-header-tab';
|
|
44
|
-
export * from './scb-header/scb-header-utility';
|
|
45
|
-
export * from './scb-header/scb-header';
|
|
46
|
-
export * from './scb-horizontal-scroller/scb-horizontal-scroller';
|
|
47
|
-
export * from './scb-icon-button/scb-icon-button';
|
|
48
|
-
export * from './scb-keyfigure-card/scb-keyfigure-card';
|
|
49
|
-
export * from './scb-link/scb-link';
|
|
50
|
-
export * from './scb-link-card/scb-link-card';
|
|
51
|
-
export * from './scb-list/scb-list-item';
|
|
52
|
-
export * from './scb-list/scb-list';
|
|
53
|
-
export * from './scb-list-card/scb-list-card';
|
|
54
|
-
export * from './scb-menu/scb-menu-item';
|
|
55
|
-
export * from './scb-menu/scb-menu-section';
|
|
56
|
-
export * from './scb-menu/scb-menu';
|
|
57
|
-
export * from './scb-menu/scb-sub-menu';
|
|
58
|
-
export * from './scb-nav/scb-nav-item';
|
|
59
|
-
export * from './scb-nav/scb-nav';
|
|
60
|
-
export * from './scb-notification-card/scb-notification-card';
|
|
61
|
-
export * from './scb-options-menu/scb-options-menu-item';
|
|
62
|
-
export * from './scb-options-menu/scb-options-menu';
|
|
63
|
-
export * from './scb-options-menu/scb-options-sub-menu';
|
|
64
|
-
export * from './scb-overlay/scb-overlay';
|
|
65
|
-
export * from './scb-pagination/scb-pagination';
|
|
66
|
-
export * from './scb-progress-indicator/scb-progress-indicator';
|
|
67
|
-
export * from './scb-progress-stepper/scb-progress-step';
|
|
68
|
-
export * from './scb-progress-stepper/scb-progress-stepper';
|
|
69
|
-
export * from './scb-radio-button/scb-radio-button';
|
|
70
|
-
export * from './scb-radio-button/scb-radio-group';
|
|
71
|
-
export * from './scb-scrollspy/scb-scrollspy';
|
|
72
|
-
export * from './scb-search/scb-search';
|
|
73
|
-
export * from './scb-segmented-button/scb-segmented-button';
|
|
74
|
-
export * from './scb-segmented-button/scb-segmented-item';
|
|
75
|
-
export * from './scb-select/scb-select-option';
|
|
76
|
-
export * from './scb-select/scb-select';
|
|
77
|
-
export * from './scb-skeleton/scb-skeleton';
|
|
78
|
-
export * from './scb-slider/scb-slider';
|
|
79
|
-
export * from './scb-snackbar/scb-snackbar';
|
|
80
|
-
export * from './scb-social-card/scb-social-card';
|
|
81
|
-
export * from './scb-status-pill/scb-status-pill';
|
|
82
|
-
export * from './scb-stepper/scb-step';
|
|
83
|
-
export * from './scb-stepper/scb-stepper';
|
|
84
|
-
export * from './scb-switch/scb-switch';
|
|
85
|
-
export * from './scb-table/scb-table';
|
|
86
|
-
export * from './scb-table-advanced/scb-table-advanced';
|
|
87
|
-
export * from './scb-tabs/scb-primary-tab';
|
|
88
|
-
export * from './scb-tabs/scb-secondary-tab';
|
|
89
|
-
export * from './scb-tabs/scb-tabs';
|
|
90
|
-
export * from './scb-textfield/scb-textfield';
|
|
91
|
-
export * from './scb-toc/scb-toc-item';
|
|
92
|
-
export * from './scb-toc/scb-toc';
|
|
93
|
-
export * from './scb-tooltip/scb-tooltip';
|
|
94
|
-
export * from './scb-viz/scb-viz-actions-runtime';
|
|
95
|
-
export * from './scb-viz/scb-viz-print-runtime';
|
|
96
|
-
export * from './scb-viz/scb-viz-series-differentiation-registry';
|
|
97
|
-
export * from './scb-viz/scb-viz-series-differentiation-runtime';
|
|
98
|
-
export * from './scb-viz/scb-viz-table-runtime';
|
|
99
|
-
export * from './scb-viz/scb-viz';
|
|
100
|
-
export * from './shared/lazy-focus-ring';
|
|
101
|
-
export * from './shared/lazy-ripple';
|
|
102
|
-
export * from './shared/scb-icon-svg';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
export declare class ScbChevron extends LitElement {
|
|
3
|
-
open: boolean;
|
|
4
|
-
static styles: import('lit').CSSResult;
|
|
5
|
-
render(): import('lit-html').TemplateResult<1>;
|
|
6
|
-
}
|
|
7
|
-
declare global {
|
|
8
|
-
interface HTMLElementTagNameMap {
|
|
9
|
-
'scb-chevron': ScbChevron;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { LitElement, PropertyValues, TemplateResult } from 'lit';
|
|
2
|
-
export declare class ScbDatepicker extends LitElement {
|
|
3
|
-
private _currentDate;
|
|
4
|
-
private _selectedDate;
|
|
5
|
-
private _showMonthDropdown;
|
|
6
|
-
private _showYearDropdown;
|
|
7
|
-
variant: 'datetime-local' | 'date';
|
|
8
|
-
lang: 'sv' | 'en';
|
|
9
|
-
selectedValue: string;
|
|
10
|
-
open: boolean;
|
|
11
|
-
private _selectedHour;
|
|
12
|
-
private _selectedMinute;
|
|
13
|
-
private readonly _viewportMargin;
|
|
14
|
-
private readonly _popupOffset;
|
|
15
|
-
private _removeLazyFocusRingListeners?;
|
|
16
|
-
private _onWindowReposition;
|
|
17
|
-
private _isRenderedInsideDialog;
|
|
18
|
-
connectedCallback(): void;
|
|
19
|
-
private _positionPopupWithinViewport;
|
|
20
|
-
static styles: import('lit').CSSResult[];
|
|
21
|
-
updated(changed: PropertyValues): void;
|
|
22
|
-
disconnectedCallback(): void;
|
|
23
|
-
private _monthNames;
|
|
24
|
-
render(): TemplateResult;
|
|
25
|
-
private _getMonthDays;
|
|
26
|
-
private _outsideClickHandler;
|
|
27
|
-
private _toggleMonthDropdown;
|
|
28
|
-
private _toggleYearDropdown;
|
|
29
|
-
private _onMonthChangeCustom;
|
|
30
|
-
private _onYearChangeCustom;
|
|
31
|
-
private _prevMonth;
|
|
32
|
-
private _prevYear;
|
|
33
|
-
private _nextMonth;
|
|
34
|
-
private _nextYear;
|
|
35
|
-
private _isToday;
|
|
36
|
-
private _isSelected;
|
|
37
|
-
private _selectDate;
|
|
38
|
-
private _fireDateTimeChange;
|
|
39
|
-
private _onTimeChange;
|
|
40
|
-
private _close;
|
|
41
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const ensureFocusRingReady: () => void;
|
|
2
|
-
export declare const ensureFocusRingOnFocusVisible: (event: Event) => void;
|
|
3
|
-
export declare const ensureFocusRingOnTab: (event: KeyboardEvent) => void;
|
|
4
|
-
export declare const addLazyFocusRingListeners: (...targets: EventTarget[]) => (() => void);
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export type LazyRippleElement = HTMLElement & {
|
|
2
|
-
control?: HTMLElement | null;
|
|
3
|
-
hovered?: boolean;
|
|
4
|
-
handlePointerenter?: (event: PointerEvent) => void;
|
|
5
|
-
handlePointerdown?: (event: PointerEvent) => void | Promise<void>;
|
|
6
|
-
handleClick?: () => void;
|
|
7
|
-
};
|
|
8
|
-
export declare const ensureRippleReady: () => Promise<void>;
|
|
9
|
-
export declare const syncRippleToControl: (ripple: LazyRippleElement | null | undefined, control: HTMLElement | null | undefined, event?: PointerEvent, click?: boolean) => Promise<void>;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { nothing } from 'lit';
|
|
2
|
-
export declare function hasScbSvgIcon(name: string | undefined | null): boolean;
|
|
3
|
-
export declare function renderScbIcon(name: string | undefined | null, className?: string, part?: string): typeof nothing | import('lit-html').TemplateResult<2>;
|