@krollins/blueprint 0.1.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/LICENSE +21 -0
- package/README.md +407 -0
- package/dist/components/accordion/accordion.d.ts +113 -0
- package/dist/components/accordion/accordion.d.ts.map +1 -0
- package/dist/components/accordion/accordion.style.d.ts +2 -0
- package/dist/components/accordion/accordion.style.d.ts.map +1 -0
- package/dist/components/alert/alert.d.ts +37 -0
- package/dist/components/alert/alert.d.ts.map +1 -0
- package/dist/components/alert/alert.style.d.ts +2 -0
- package/dist/components/alert/alert.style.d.ts.map +1 -0
- package/dist/components/avatar/avatar.d.ts +75 -0
- package/dist/components/avatar/avatar.d.ts.map +1 -0
- package/dist/components/avatar/avatar.style.d.ts +2 -0
- package/dist/components/avatar/avatar.style.d.ts.map +1 -0
- package/dist/components/badge/badge.d.ts +46 -0
- package/dist/components/badge/badge.d.ts.map +1 -0
- package/dist/components/badge/badge.style.d.ts +2 -0
- package/dist/components/badge/badge.style.d.ts.map +1 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts +110 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts.map +1 -0
- package/dist/components/breadcrumb/breadcrumb.style.d.ts +2 -0
- package/dist/components/breadcrumb/breadcrumb.style.d.ts.map +1 -0
- package/dist/components/button/button.d.ts +19 -0
- package/dist/components/button/button.d.ts.map +1 -0
- package/dist/components/button/button.style.d.ts +2 -0
- package/dist/components/button/button.style.d.ts.map +1 -0
- package/dist/components/card/card.d.ts +62 -0
- package/dist/components/card/card.d.ts.map +1 -0
- package/dist/components/card/card.style.d.ts +2 -0
- package/dist/components/card/card.style.d.ts.map +1 -0
- package/dist/components/checkbox/checkbox.d.ts +89 -0
- package/dist/components/checkbox/checkbox.d.ts.map +1 -0
- package/dist/components/checkbox/checkbox.style.d.ts +2 -0
- package/dist/components/checkbox/checkbox.style.d.ts.map +1 -0
- package/dist/components/color-picker/color-picker.d.ts +366 -0
- package/dist/components/color-picker/color-picker.d.ts.map +1 -0
- package/dist/components/color-picker/color-picker.style.d.ts +14 -0
- package/dist/components/color-picker/color-picker.style.d.ts.map +1 -0
- package/dist/components/color-picker/color-picker.utils.d.ts +100 -0
- package/dist/components/color-picker/color-picker.utils.d.ts.map +1 -0
- package/dist/components/combobox/combobox.d.ts +74 -0
- package/dist/components/combobox/combobox.d.ts.map +1 -0
- package/dist/components/combobox/combobox.style.d.ts +2 -0
- package/dist/components/combobox/combobox.style.d.ts.map +1 -0
- package/dist/components/date-picker/date-picker.d.ts +65 -0
- package/dist/components/date-picker/date-picker.d.ts.map +1 -0
- package/dist/components/date-picker/date-picker.style.d.ts +2 -0
- package/dist/components/date-picker/date-picker.style.d.ts.map +1 -0
- package/dist/components/divider/divider.d.ts +54 -0
- package/dist/components/divider/divider.d.ts.map +1 -0
- package/dist/components/divider/divider.style.d.ts +2 -0
- package/dist/components/divider/divider.style.d.ts.map +1 -0
- package/dist/components/drawer/drawer.d.ts +113 -0
- package/dist/components/drawer/drawer.d.ts.map +1 -0
- package/dist/components/drawer/drawer.style.d.ts +2 -0
- package/dist/components/drawer/drawer.style.d.ts.map +1 -0
- package/dist/components/dropdown/dropdown.d.ts +80 -0
- package/dist/components/dropdown/dropdown.d.ts.map +1 -0
- package/dist/components/dropdown/dropdown.style.d.ts +2 -0
- package/dist/components/dropdown/dropdown.style.d.ts.map +1 -0
- package/dist/components/file-upload/file-upload.d.ts +116 -0
- package/dist/components/file-upload/file-upload.d.ts.map +1 -0
- package/dist/components/file-upload/file-upload.style.d.ts +2 -0
- package/dist/components/file-upload/file-upload.style.d.ts.map +1 -0
- package/dist/components/heading/heading.d.ts +46 -0
- package/dist/components/heading/heading.d.ts.map +1 -0
- package/dist/components/heading/heading.style.d.ts +2 -0
- package/dist/components/heading/heading.style.d.ts.map +1 -0
- package/dist/components/icon/icon.d.ts +57 -0
- package/dist/components/icon/icon.d.ts.map +1 -0
- package/dist/components/icon/icon.style.d.ts +2 -0
- package/dist/components/icon/icon.style.d.ts.map +1 -0
- package/dist/components/icon/icons/registry.generated.d.ts +25 -0
- package/dist/components/icon/icons/registry.generated.d.ts.map +1 -0
- package/dist/components/index.d.ts +45 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/input/input.d.ts +56 -0
- package/dist/components/input/input.d.ts.map +1 -0
- package/dist/components/input/input.style.d.ts +2 -0
- package/dist/components/input/input.style.d.ts.map +1 -0
- package/dist/components/link/link.d.ts +62 -0
- package/dist/components/link/link.d.ts.map +1 -0
- package/dist/components/link/link.style.d.ts +2 -0
- package/dist/components/link/link.style.d.ts.map +1 -0
- package/dist/components/menu/menu.d.ts +86 -0
- package/dist/components/menu/menu.d.ts.map +1 -0
- package/dist/components/menu/menu.style.d.ts +2 -0
- package/dist/components/menu/menu.style.d.ts.map +1 -0
- package/dist/components/modal/modal.d.ts +40 -0
- package/dist/components/modal/modal.d.ts.map +1 -0
- package/dist/components/modal/modal.style.d.ts +2 -0
- package/dist/components/modal/modal.style.d.ts.map +1 -0
- package/dist/components/multi-select/multi-select.d.ts +69 -0
- package/dist/components/multi-select/multi-select.d.ts.map +1 -0
- package/dist/components/multi-select/multi-select.style.d.ts +2 -0
- package/dist/components/multi-select/multi-select.style.d.ts.map +1 -0
- package/dist/components/notification/notification.d.ts +102 -0
- package/dist/components/notification/notification.d.ts.map +1 -0
- package/dist/components/notification/notification.style.d.ts +2 -0
- package/dist/components/notification/notification.style.d.ts.map +1 -0
- package/dist/components/number-input/number-input.d.ts +139 -0
- package/dist/components/number-input/number-input.d.ts.map +1 -0
- package/dist/components/number-input/number-input.style.d.ts +2 -0
- package/dist/components/number-input/number-input.style.d.ts.map +1 -0
- package/dist/components/pagination/pagination.d.ts +49 -0
- package/dist/components/pagination/pagination.d.ts.map +1 -0
- package/dist/components/pagination/pagination.style.d.ts +2 -0
- package/dist/components/pagination/pagination.style.d.ts.map +1 -0
- package/dist/components/popover/popover.d.ts +153 -0
- package/dist/components/popover/popover.d.ts.map +1 -0
- package/dist/components/popover/popover.style.d.ts +2 -0
- package/dist/components/popover/popover.style.d.ts.map +1 -0
- package/dist/components/progress/progress.d.ts +50 -0
- package/dist/components/progress/progress.d.ts.map +1 -0
- package/dist/components/progress/progress.style.d.ts +2 -0
- package/dist/components/progress/progress.style.d.ts.map +1 -0
- package/dist/components/radio/radio.d.ts +95 -0
- package/dist/components/radio/radio.d.ts.map +1 -0
- package/dist/components/radio/radio.style.d.ts +2 -0
- package/dist/components/radio/radio.style.d.ts.map +1 -0
- package/dist/components/select/select.d.ts +49 -0
- package/dist/components/select/select.d.ts.map +1 -0
- package/dist/components/select/select.style.d.ts +2 -0
- package/dist/components/select/select.style.d.ts.map +1 -0
- package/dist/components/skeleton/skeleton.d.ts +50 -0
- package/dist/components/skeleton/skeleton.d.ts.map +1 -0
- package/dist/components/skeleton/skeleton.style.d.ts +2 -0
- package/dist/components/skeleton/skeleton.style.d.ts.map +1 -0
- package/dist/components/slider/slider.d.ts +115 -0
- package/dist/components/slider/slider.d.ts.map +1 -0
- package/dist/components/slider/slider.style.d.ts +2 -0
- package/dist/components/slider/slider.style.d.ts.map +1 -0
- package/dist/components/spinner/spinner.d.ts +36 -0
- package/dist/components/spinner/spinner.d.ts.map +1 -0
- package/dist/components/spinner/spinner.style.d.ts +2 -0
- package/dist/components/spinner/spinner.style.d.ts.map +1 -0
- package/dist/components/stepper/stepper.d.ts +228 -0
- package/dist/components/stepper/stepper.d.ts.map +1 -0
- package/dist/components/stepper/stepper.style.d.ts +2 -0
- package/dist/components/stepper/stepper.style.d.ts.map +1 -0
- package/dist/components/switch/switch.d.ts +90 -0
- package/dist/components/switch/switch.d.ts.map +1 -0
- package/dist/components/switch/switch.style.d.ts +2 -0
- package/dist/components/switch/switch.style.d.ts.map +1 -0
- package/dist/components/table/table.d.ts +176 -0
- package/dist/components/table/table.d.ts.map +1 -0
- package/dist/components/table/table.style.d.ts +2 -0
- package/dist/components/table/table.style.d.ts.map +1 -0
- package/dist/components/tabs/tabs.d.ts +124 -0
- package/dist/components/tabs/tabs.d.ts.map +1 -0
- package/dist/components/tabs/tabs.style.d.ts +2 -0
- package/dist/components/tabs/tabs.style.d.ts.map +1 -0
- package/dist/components/tag/tag.d.ts +64 -0
- package/dist/components/tag/tag.d.ts.map +1 -0
- package/dist/components/tag/tag.style.d.ts +2 -0
- package/dist/components/tag/tag.style.d.ts.map +1 -0
- package/dist/components/text/text.d.ts +86 -0
- package/dist/components/text/text.d.ts.map +1 -0
- package/dist/components/text/text.style.d.ts +2 -0
- package/dist/components/text/text.style.d.ts.map +1 -0
- package/dist/components/textarea/textarea.d.ts +94 -0
- package/dist/components/textarea/textarea.d.ts.map +1 -0
- package/dist/components/textarea/textarea.style.d.ts +2 -0
- package/dist/components/textarea/textarea.style.d.ts.map +1 -0
- package/dist/components/time-picker/time-picker.d.ts +51 -0
- package/dist/components/time-picker/time-picker.d.ts.map +1 -0
- package/dist/components/time-picker/time-picker.style.d.ts +2 -0
- package/dist/components/time-picker/time-picker.style.d.ts.map +1 -0
- package/dist/components/tooltip/tooltip.d.ts +52 -0
- package/dist/components/tooltip/tooltip.d.ts.map +1 -0
- package/dist/components/tooltip/tooltip.style.d.ts +2 -0
- package/dist/components/tooltip/tooltip.style.d.ts.map +1 -0
- package/dist/components/tree/tree.d.ts +188 -0
- package/dist/components/tree/tree.d.ts.map +1 -0
- package/dist/components/tree/tree.style.d.ts +2 -0
- package/dist/components/tree/tree.style.d.ts.map +1 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +17802 -0
- package/dist/index.js.map +1 -0
- package/dist/utilities/boolean-converter.d.ts +23 -0
- package/dist/utilities/boolean-converter.d.ts.map +1 -0
- package/dist/utilities/debounce.d.ts +12 -0
- package/dist/utilities/debounce.d.ts.map +1 -0
- package/dist/utilities/index.d.ts +5 -0
- package/dist/utilities/index.d.ts.map +1 -0
- package/dist/utilities/memoize.d.ts +7 -0
- package/dist/utilities/memoize.d.ts.map +1 -0
- package/dist/utilities/throttle.d.ts +12 -0
- package/dist/utilities/throttle.d.ts.map +1 -0
- package/package.json +93 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../source/components/avatar/avatar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAGvC,OAAO,iBAAiB,CAAC;AAEzB,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC1D,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAC9C,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AAElE;;;GAGG;AACH,qBACa,QAAS,SAAQ,UAAU;IACtC;;;;OAIG;IACgD,GAAG,EAAE,MAAM,CAAC;IAE/D;;;;OAIG;IACgD,GAAG,EAAE,MAAM,CAAC;IAE/D;;;;OAIG;IACgD,QAAQ,EAAE,MAAM,CAAC;IAEpE;;;;OAIG;IACgD,IAAI,EAAE,UAAU,CAAC;IAEpE;;;;OAIG;IACgD,KAAK,EAAE,WAAW,CAAC;IAEtE;;;;OAIG;IACgD,MAAM,CAAC,EAAE,YAAY,CAAC;IAEzE;;;;OAIG;IACiD,SAAS,EAAE,OAAO,CAAC;IAEvE;;;;OAIG;IACiC,IAAI,EAAE,MAAM,CAAC;IAEjD;;;OAGG;IACM,OAAO,CAAC,UAAU,CAAS;IAEpC,MAAM,CAAC,MAAM,4BAAkB;;IAa/B,OAAO,CAAC,gBAAgB;IAKxB,MAAM;IAmDN,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;CAMhD;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,WAAW,EAAE,QAAQ,CAAC;KACvB;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avatar.style.d.ts","sourceRoot":"","sources":["../../../source/components/avatar/avatar.style.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,yBAkJxB,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* Badge component for displaying status indicators, counts, and labels.
|
|
4
|
+
*
|
|
5
|
+
* @element bp-badge
|
|
6
|
+
*
|
|
7
|
+
* @slot - Default slot for badge content (text or icons)
|
|
8
|
+
*
|
|
9
|
+
* @csspart badge - The badge container element
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```html
|
|
13
|
+
* <bp-badge>New</bp-badge>
|
|
14
|
+
* <bp-badge variant="success">Active</bp-badge>
|
|
15
|
+
* <bp-badge variant="error" size="sm">3</bp-badge>
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare class BpBadge extends LitElement {
|
|
19
|
+
/**
|
|
20
|
+
* Visual variant of the badge
|
|
21
|
+
* @type {'primary' | 'success' | 'error' | 'warning' | 'info' | 'neutral'}
|
|
22
|
+
* @default 'primary'
|
|
23
|
+
*/
|
|
24
|
+
variant: 'primary' | 'success' | 'error' | 'warning' | 'info' | 'neutral';
|
|
25
|
+
/**
|
|
26
|
+
* Size of the badge
|
|
27
|
+
* @type {'sm' | 'md' | 'lg'}
|
|
28
|
+
* @default 'md'
|
|
29
|
+
*/
|
|
30
|
+
size: 'sm' | 'md' | 'lg';
|
|
31
|
+
/**
|
|
32
|
+
* Whether the badge is a dot/pill shape (for count indicators)
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
* @default false
|
|
35
|
+
*/
|
|
36
|
+
dot: boolean;
|
|
37
|
+
static styles: import("lit").CSSResult[];
|
|
38
|
+
constructor();
|
|
39
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
40
|
+
}
|
|
41
|
+
declare global {
|
|
42
|
+
interface HTMLElementTagNameMap {
|
|
43
|
+
'bp-badge': BpBadge;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=badge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../source/components/badge/badge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;;;;;;;;;;;;;;GAeG;AACH,qBACa,OAAQ,SAAQ,UAAU;IACrC;;;;OAIG;IACgD,OAAO,EACtD,SAAS,GACT,SAAS,GACT,OAAO,GACP,SAAS,GACT,MAAM,GACN,SAAS,CAAC;IAEd;;;;OAIG;IACgD,IAAI,EACnD,IAAI,GACJ,IAAI,GACJ,IAAI,CAAC;IAET;;;;OAIG;IACiD,GAAG,EAAE,OAAO,CAAC;IAEjE,MAAM,CAAC,MAAM,4BAAiB;;IAS9B,MAAM;CAiBP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,UAAU,EAAE,OAAO,CAAC;KACrB;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"badge.style.d.ts","sourceRoot":"","sources":["../../../source/components/badge/badge.style.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,yBAgGvB,CAAC"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import type { IconName } from '../icon/icons/registry.generated.js';
|
|
3
|
+
export type BreadcrumbSize = 'sm' | 'md' | 'lg';
|
|
4
|
+
export type BreadcrumbSeparator = 'slash' | 'chevron' | 'arrow' | 'dot';
|
|
5
|
+
/**
|
|
6
|
+
* Breadcrumb item interface for programmatic configuration
|
|
7
|
+
*/
|
|
8
|
+
export interface BreadcrumbItem {
|
|
9
|
+
/** Display label for the breadcrumb item */
|
|
10
|
+
label: string;
|
|
11
|
+
/** URL for the breadcrumb link (omit for current page) */
|
|
12
|
+
href?: string;
|
|
13
|
+
/** Icon name to display before the label */
|
|
14
|
+
icon?: IconName;
|
|
15
|
+
/** Whether this is the current/active page */
|
|
16
|
+
current?: boolean;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* A breadcrumb navigation component showing the user's location in a hierarchy.
|
|
20
|
+
*
|
|
21
|
+
* @element bp-breadcrumb
|
|
22
|
+
*
|
|
23
|
+
* @property {BreadcrumbItem[]} items - Array of breadcrumb items
|
|
24
|
+
* @property {BreadcrumbSize} size - The size of the breadcrumb
|
|
25
|
+
* @property {BreadcrumbSeparator} separator - The separator style between items
|
|
26
|
+
* @property {string} ariaLabel - Accessible label for the navigation
|
|
27
|
+
* @property {boolean} collapseOnMobile - Whether to collapse middle items on small screens
|
|
28
|
+
* @property {number} maxItems - Maximum visible items before collapsing (0 = no limit)
|
|
29
|
+
*
|
|
30
|
+
* @slot - Default slot for custom breadcrumb items
|
|
31
|
+
* @slot separator - Custom separator content
|
|
32
|
+
*
|
|
33
|
+
* @fires bp-breadcrumb-click - Fired when a breadcrumb item is clicked
|
|
34
|
+
*
|
|
35
|
+
* @csspart nav - The nav element wrapper
|
|
36
|
+
* @csspart list - The ordered list element
|
|
37
|
+
* @csspart item - Individual breadcrumb item
|
|
38
|
+
* @csspart item-current - The current/active breadcrumb item
|
|
39
|
+
* @csspart link - Breadcrumb link element
|
|
40
|
+
* @csspart separator - Separator between items
|
|
41
|
+
* @csspart ellipsis - The ellipsis button when items are collapsed
|
|
42
|
+
*/
|
|
43
|
+
export declare class BpBreadcrumb extends LitElement {
|
|
44
|
+
/**
|
|
45
|
+
* Array of breadcrumb items
|
|
46
|
+
*/
|
|
47
|
+
items: BreadcrumbItem[];
|
|
48
|
+
/**
|
|
49
|
+
* The size of the breadcrumb
|
|
50
|
+
*/
|
|
51
|
+
size: BreadcrumbSize;
|
|
52
|
+
/**
|
|
53
|
+
* The separator style between items
|
|
54
|
+
*/
|
|
55
|
+
separator: BreadcrumbSeparator;
|
|
56
|
+
/**
|
|
57
|
+
* Accessible label for the navigation landmark
|
|
58
|
+
*/
|
|
59
|
+
ariaLabel: string;
|
|
60
|
+
/**
|
|
61
|
+
* Whether to collapse middle items on small screens
|
|
62
|
+
*/
|
|
63
|
+
collapseOnMobile: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Maximum visible items before collapsing (0 = no limit)
|
|
66
|
+
*/
|
|
67
|
+
maxItems: number;
|
|
68
|
+
static styles: import("lit").CSSResult[];
|
|
69
|
+
constructor();
|
|
70
|
+
private handleItemClick;
|
|
71
|
+
private handleKeyDown;
|
|
72
|
+
private renderSeparator;
|
|
73
|
+
private renderItem;
|
|
74
|
+
private renderEllipsis;
|
|
75
|
+
private getVisibleItems;
|
|
76
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* A breadcrumb item component for use with bp-breadcrumb.
|
|
80
|
+
*
|
|
81
|
+
* @element bp-breadcrumb-item
|
|
82
|
+
*
|
|
83
|
+
* @property {string} href - URL for the breadcrumb link
|
|
84
|
+
* @property {boolean} current - Whether this is the current page
|
|
85
|
+
*
|
|
86
|
+
* @slot - Content of the breadcrumb item
|
|
87
|
+
*
|
|
88
|
+
* @csspart item - The item container
|
|
89
|
+
* @csspart link - The link element (when href is provided)
|
|
90
|
+
*/
|
|
91
|
+
export declare class BpBreadcrumbItem extends LitElement {
|
|
92
|
+
/**
|
|
93
|
+
* URL for the breadcrumb link (omit for current page)
|
|
94
|
+
*/
|
|
95
|
+
href: string;
|
|
96
|
+
/**
|
|
97
|
+
* Whether this is the current/active page
|
|
98
|
+
*/
|
|
99
|
+
current: boolean;
|
|
100
|
+
static styles: import("lit").CSSResult[];
|
|
101
|
+
constructor();
|
|
102
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
103
|
+
}
|
|
104
|
+
declare global {
|
|
105
|
+
interface HTMLElementTagNameMap {
|
|
106
|
+
'bp-breadcrumb': BpBreadcrumb;
|
|
107
|
+
'bp-breadcrumb-item': BpBreadcrumbItem;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
//# sourceMappingURL=breadcrumb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breadcrumb.d.ts","sourceRoot":"","sources":["../../../source/components/breadcrumb/breadcrumb.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAiB,MAAM,KAAK,CAAC;AAMhD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAEpE,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAChD,MAAM,MAAM,mBAAmB,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,KAAK,CAAC;AAExE;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,4CAA4C;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,0DAA0D;IAC1D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,4CAA4C;IAC5C,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,qBACa,YAAa,SAAQ,UAAU;IAC1C;;OAEG;IACgC,KAAK,EAAE,cAAc,EAAE,CAAC;IAE3D;;OAEG;IACgD,IAAI,EAAE,cAAc,CAAC;IAExE;;OAEG;IAEK,SAAS,EAAE,mBAAmB,CAAC;IAEvC;;OAEG;IAEK,SAAS,EAAE,MAAM,CAAC;IAE1B;;OAEG;IAEK,gBAAgB,EAAE,OAAO,CAAC;IAElC;;OAEG;IACyD,QAAQ,EAAE,MAAM,CAAC;IAE7E,MAAM,CAAC,MAAM,4BAAsB;;IAYnC,OAAO,CAAC,eAAe;IAevB,OAAO,CAAC,aAAa;IAmBrB,OAAO,CAAC,eAAe;IAmCvB,OAAO,CAAC,UAAU;IAoDlB,OAAO,CAAC,cAAc;IAgBtB,OAAO,CAAC,eAAe;IAqBvB,MAAM;CAkEP;AAED;;;;;;;;;;;;GAYG;AACH,qBACa,gBAAiB,SAAQ,UAAU;IAC9C;;OAEG;IACiC,IAAI,EAAE,MAAM,CAAC;IAEjD;;OAEG;IACiD,OAAO,EAAE,OAAO,CAAC;IAErE,MAAM,CAAC,MAAM,4BAAsB;;IAQnC,MAAM;CA8BP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,eAAe,EAAE,YAAY,CAAC;QAC9B,oBAAoB,EAAE,gBAAgB,CAAC;KACxC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breadcrumb.style.d.ts","sourceRoot":"","sources":["../../../source/components/breadcrumb/breadcrumb.style.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,yBAkO5B,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export type ButtonVariant = 'primary' | 'success' | 'error' | 'warning' | 'info' | 'secondary';
|
|
3
|
+
export type ButtonSize = 'sm' | 'md' | 'lg';
|
|
4
|
+
export declare class BpButton extends LitElement {
|
|
5
|
+
variant: ButtonVariant;
|
|
6
|
+
size: ButtonSize;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
type: 'button' | 'submit' | 'reset';
|
|
9
|
+
static styles: import("lit").CSSResult[];
|
|
10
|
+
constructor();
|
|
11
|
+
private handleClick;
|
|
12
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
13
|
+
}
|
|
14
|
+
declare global {
|
|
15
|
+
interface HTMLElementTagNameMap {
|
|
16
|
+
'bp-button': BpButton;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../source/components/button/button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAIvC,MAAM,MAAM,aAAa,GACrB,SAAS,GACT,SAAS,GACT,OAAO,GACP,SAAS,GACT,MAAM,GACN,WAAW,CAAC;AAChB,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE5C,qBACa,QAAS,SAAQ,UAAU;IACa,OAAO,EAAE,aAAa,CAAC;IACvB,IAAI,EAAE,UAAU,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IACnB,IAAI,EACnD,QAAQ,GACR,QAAQ,GACR,OAAO,CAAC;IAEZ,MAAM,CAAC,MAAM,4BAAkB;;IAU/B,OAAO,CAAC,WAAW;IAgBnB,MAAM;CAcP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,WAAW,EAAE,QAAQ,CAAC;KACvB;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.style.d.ts","sourceRoot":"","sources":["../../../source/components/button/button.style.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,yBAoIxB,CAAC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export type CardVariant = 'default' | 'outlined' | 'elevated';
|
|
3
|
+
export type CardDirection = 'vertical' | 'horizontal';
|
|
4
|
+
/**
|
|
5
|
+
* A versatile card component for organizing and displaying content.
|
|
6
|
+
*
|
|
7
|
+
* @slot - Default slot for card body content
|
|
8
|
+
* @slot header - Optional header section
|
|
9
|
+
* @slot footer - Optional footer section
|
|
10
|
+
* @slot media - Optional media section (images, illustrations, etc.)
|
|
11
|
+
*
|
|
12
|
+
* @fires bp-click - Fired when clickable card is clicked
|
|
13
|
+
*/
|
|
14
|
+
export declare class BpCard extends LitElement {
|
|
15
|
+
/**
|
|
16
|
+
* Visual variant of the card
|
|
17
|
+
*/
|
|
18
|
+
variant: CardVariant;
|
|
19
|
+
/**
|
|
20
|
+
* Whether the card should display a hover effect
|
|
21
|
+
*/
|
|
22
|
+
hoverable: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Whether the card is clickable (shows pointer cursor and emits click events)
|
|
25
|
+
*/
|
|
26
|
+
clickable: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Whether to remove default padding from the card body
|
|
29
|
+
*/
|
|
30
|
+
noPadding: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Layout direction for the card content (media + body area).
|
|
33
|
+
* 'vertical' stacks media above body, 'horizontal' places them side by side.
|
|
34
|
+
* Header and footer are unaffected and remain full-width.
|
|
35
|
+
*/
|
|
36
|
+
direction: CardDirection;
|
|
37
|
+
/** Whether the header slot has assigned content */
|
|
38
|
+
private hasHeader;
|
|
39
|
+
/** Whether the footer slot has assigned content */
|
|
40
|
+
private hasFooter;
|
|
41
|
+
static styles: import("lit").CSSResult[];
|
|
42
|
+
constructor();
|
|
43
|
+
/**
|
|
44
|
+
* Handles slot change events for the header slot.
|
|
45
|
+
* Updates hasHeader state to control header visibility.
|
|
46
|
+
*/
|
|
47
|
+
private handleHeaderSlotChange;
|
|
48
|
+
/**
|
|
49
|
+
* Handles slot change events for the footer slot.
|
|
50
|
+
* Updates hasFooter state to control footer visibility.
|
|
51
|
+
*/
|
|
52
|
+
private handleFooterSlotChange;
|
|
53
|
+
private handleClick;
|
|
54
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
55
|
+
private handleKeydown;
|
|
56
|
+
}
|
|
57
|
+
declare global {
|
|
58
|
+
interface HTMLElementTagNameMap {
|
|
59
|
+
'bp-card': BpCard;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
//# sourceMappingURL=card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../source/components/card/card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,CAAC;AAC9D,MAAM,MAAM,aAAa,GAAG,UAAU,GAAG,YAAY,CAAC;AACtD;;;;;;;;;GASG;AACH,qBACa,MAAO,SAAQ,UAAU;IACpC;;OAEG;IACgD,OAAO,EAAE,WAAW,CAAC;IAExE;;OAEG;IACiD,SAAS,EAAE,OAAO,CAAC;IAEvE;;OAEG;IACiD,SAAS,EAAE,OAAO,CAAC;IAEvE;;OAEG;IACiD,SAAS,EAAE,OAAO,CAAC;IAEvE;;;;OAIG;IACgD,SAAS,EAAE,aAAa,CAAC;IAE5E,mDAAmD;IAEnD,OAAO,CAAC,SAAS,CAAS;IAE1B,mDAAmD;IAEnD,OAAO,CAAC,SAAS,CAAS;IAE1B,MAAM,CAAC,MAAM,4BAAgB;;IAW7B;;;OAGG;IACH,OAAO,CAAC,sBAAsB,CAK5B;IAEF;;;OAGG;IACH,OAAO,CAAC,sBAAsB,CAK5B;IAEF,OAAO,CAAC,WAAW;IAkBnB,MAAM;IAoDN,OAAO,CAAC,aAAa;CAOtB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,SAAS,EAAE,MAAM,CAAC;KACnB;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card.style.d.ts","sourceRoot":"","sources":["../../../source/components/card/card.style.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,yBAqHtB,CAAC"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export type CheckboxSize = 'sm' | 'md' | 'lg';
|
|
3
|
+
/**
|
|
4
|
+
* A form checkbox input with label support and multiple states.
|
|
5
|
+
*
|
|
6
|
+
* @element bp-checkbox
|
|
7
|
+
*
|
|
8
|
+
* @property {boolean} checked - Whether the checkbox is checked
|
|
9
|
+
* @property {boolean} indeterminate - Indeterminate state (partial selection)
|
|
10
|
+
* @property {boolean} disabled - Whether the checkbox is disabled
|
|
11
|
+
* @property {boolean} required - Whether the checkbox is required
|
|
12
|
+
* @property {string} name - The name for form submission
|
|
13
|
+
* @property {string} value - The value for form submission
|
|
14
|
+
* @property {CheckboxSize} size - The size of the checkbox
|
|
15
|
+
* @property {boolean} error - Whether the checkbox has an error state
|
|
16
|
+
*
|
|
17
|
+
* @slot - The checkbox label text
|
|
18
|
+
*
|
|
19
|
+
* @fires bp-change - Fired when the checked state changes
|
|
20
|
+
* @fires bp-focus - Fired when the checkbox receives focus
|
|
21
|
+
* @fires bp-blur - Fired when the checkbox loses focus
|
|
22
|
+
*
|
|
23
|
+
* @csspart checkbox - The checkbox container
|
|
24
|
+
* @csspart input - The native checkbox input element
|
|
25
|
+
* @csspart checkmark - The visual checkmark indicator
|
|
26
|
+
* @csspart label - The label text container
|
|
27
|
+
*/
|
|
28
|
+
export declare class BpCheckbox extends LitElement {
|
|
29
|
+
input: HTMLInputElement;
|
|
30
|
+
/**
|
|
31
|
+
* Whether the checkbox is checked.
|
|
32
|
+
*/
|
|
33
|
+
checked: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Whether the checkbox is in an indeterminate state.
|
|
36
|
+
* This is a visual-only state for "partially checked" appearance.
|
|
37
|
+
*/
|
|
38
|
+
indeterminate: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Whether the checkbox is disabled.
|
|
41
|
+
*/
|
|
42
|
+
disabled: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Whether the checkbox is required.
|
|
45
|
+
*/
|
|
46
|
+
required: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* The name of the checkbox for form submission.
|
|
49
|
+
*/
|
|
50
|
+
name: string;
|
|
51
|
+
/**
|
|
52
|
+
* The value of the checkbox for form submission.
|
|
53
|
+
*/
|
|
54
|
+
value: string;
|
|
55
|
+
/**
|
|
56
|
+
* The size of the checkbox.
|
|
57
|
+
*/
|
|
58
|
+
size: CheckboxSize;
|
|
59
|
+
/**
|
|
60
|
+
* Whether the checkbox has an error state.
|
|
61
|
+
*/
|
|
62
|
+
error: boolean;
|
|
63
|
+
private hasFocus;
|
|
64
|
+
static styles: import("lit").CSSResult[];
|
|
65
|
+
static formAssociated: boolean;
|
|
66
|
+
private internals;
|
|
67
|
+
constructor();
|
|
68
|
+
connectedCallback(): void;
|
|
69
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
70
|
+
private updateFormValue;
|
|
71
|
+
private handleChange;
|
|
72
|
+
private handleFocus;
|
|
73
|
+
private handleBlur;
|
|
74
|
+
/**
|
|
75
|
+
* Sets focus on the checkbox.
|
|
76
|
+
*/
|
|
77
|
+
focus(options?: FocusOptions): void;
|
|
78
|
+
/**
|
|
79
|
+
* Removes focus from the checkbox.
|
|
80
|
+
*/
|
|
81
|
+
blur(): void;
|
|
82
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
83
|
+
}
|
|
84
|
+
declare global {
|
|
85
|
+
interface HTMLElementTagNameMap {
|
|
86
|
+
'bp-checkbox': BpCheckbox;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
//# sourceMappingURL=checkbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../source/components/checkbox/checkbox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAMvC,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE9C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,qBACa,UAAW,SAAQ,UAAU;IACC,KAAK,EAAE,gBAAgB,CAAC;IAEjE;;OAEG;IACiD,OAAO,EAAE,OAAO,CAAC;IAErE;;;OAGG;IACiD,aAAa,EAAE,OAAO,CAAC;IAE3E;;OAEG;IACiD,QAAQ,EAAE,OAAO,CAAC;IAEtE;;OAEG;IACiD,QAAQ,EAAE,OAAO,CAAC;IAEtE;;OAEG;IACgD,IAAI,EAAE,MAAM,CAAC;IAEhE;;OAEG;IACiC,KAAK,EAAE,MAAM,CAAC;IAElD;;OAEG;IACgD,IAAI,EAAE,YAAY,CAAC;IAEtE;;OAEG;IACiD,KAAK,EAAE,OAAO,CAAC;IAE1D,OAAO,CAAC,QAAQ,CAAS;IAElC,MAAM,CAAC,MAAM,4BAAoB;IAEjC,MAAM,CAAC,cAAc,UAAQ;IAE7B,OAAO,CAAC,SAAS,CAAiC;;IAmBlD,iBAAiB;IAKjB,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAa/C,OAAO,CAAC,eAAe;IAKvB,OAAO,CAAC,YAAY;IAcpB,OAAO,CAAC,WAAW;IAUnB,OAAO,CAAC,UAAU;IAUlB;;OAEG;IAEH,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY;IAI5B;;OAEG;IACH,IAAI;IAIJ,MAAM;CAmEP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,aAAa,EAAE,UAAU,CAAC;KAC3B;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox.style.d.ts","sourceRoot":"","sources":["../../../source/components/checkbox/checkbox.style.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,yBA4K1B,CAAC"}
|