@skedulo/breeze-ui 0.11.0 → 1.0.0-preview.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/package.json +42 -8
- package/dist/custom-elements.json +0 -33408
- package/dist/lib/cjs/breeze-ui.js +0 -5000
- package/dist/lib/cjs/package.json +0 -3
- package/dist/lib/es/breeze-ui.js +0 -25629
- package/dist/lib/es/package.json +0 -3
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/dist/types/animation/fade-in-out.d.ts +0 -37
- package/dist/types/animation/fade-in-out.d.ts.map +0 -1
- package/dist/types/animation/index.d.ts +0 -2
- package/dist/types/animation/index.d.ts.map +0 -1
- package/dist/types/components/alert.d.ts +0 -58
- package/dist/types/components/alert.d.ts.map +0 -1
- package/dist/types/components/avatar.d.ts +0 -131
- package/dist/types/components/avatar.d.ts.map +0 -1
- package/dist/types/components/badge.d.ts +0 -58
- package/dist/types/components/badge.d.ts.map +0 -1
- package/dist/types/components/button.d.ts +0 -157
- package/dist/types/components/button.d.ts.map +0 -1
- package/dist/types/components/combo-box.d.ts +0 -33
- package/dist/types/components/combo-box.d.ts.map +0 -1
- package/dist/types/components/confirmation-dialog.d.ts +0 -44
- package/dist/types/components/confirmation-dialog.d.ts.map +0 -1
- package/dist/types/components/dropdown-button.d.ts +0 -44
- package/dist/types/components/dropdown-button.d.ts.map +0 -1
- package/dist/types/components/form-elements/code-theme.d.ts +0 -2
- package/dist/types/components/form-elements/code-theme.d.ts.map +0 -1
- package/dist/types/components/form-elements/index.d.ts +0 -14
- package/dist/types/components/form-elements/index.d.ts.map +0 -1
- package/dist/types/components/form-elements/input-base.d.ts +0 -76
- package/dist/types/components/form-elements/input-base.d.ts.map +0 -1
- package/dist/types/components/form-elements/input-checkbox.d.ts +0 -61
- package/dist/types/components/form-elements/input-checkbox.d.ts.map +0 -1
- package/dist/types/components/form-elements/input-code.d.ts +0 -78
- package/dist/types/components/form-elements/input-code.d.ts.map +0 -1
- package/dist/types/components/form-elements/input-error.d.ts +0 -23
- package/dist/types/components/form-elements/input-error.d.ts.map +0 -1
- package/dist/types/components/form-elements/input-guide.d.ts +0 -24
- package/dist/types/components/form-elements/input-guide.d.ts.map +0 -1
- package/dist/types/components/form-elements/input-multiselect.d.ts +0 -136
- package/dist/types/components/form-elements/input-multiselect.d.ts.map +0 -1
- package/dist/types/components/form-elements/input-number.d.ts +0 -72
- package/dist/types/components/form-elements/input-number.d.ts.map +0 -1
- package/dist/types/components/form-elements/input-radio.d.ts +0 -87
- package/dist/types/components/form-elements/input-radio.d.ts.map +0 -1
- package/dist/types/components/form-elements/input-select-base.d.ts +0 -218
- package/dist/types/components/form-elements/input-select-base.d.ts.map +0 -1
- package/dist/types/components/form-elements/input-select.d.ts +0 -92
- package/dist/types/components/form-elements/input-select.d.ts.map +0 -1
- package/dist/types/components/form-elements/input-text-base.d.ts +0 -36
- package/dist/types/components/form-elements/input-text-base.d.ts.map +0 -1
- package/dist/types/components/form-elements/input-text.d.ts +0 -38
- package/dist/types/components/form-elements/input-text.d.ts.map +0 -1
- package/dist/types/components/form-elements/input-textarea.d.ts +0 -39
- package/dist/types/components/form-elements/input-textarea.d.ts.map +0 -1
- package/dist/types/components/form-elements/input-time.d.ts +0 -106
- package/dist/types/components/form-elements/input-time.d.ts.map +0 -1
- package/dist/types/components/form-elements/labeled-input.d.ts +0 -93
- package/dist/types/components/form-elements/labeled-input.d.ts.map +0 -1
- package/dist/types/components/heading.d.ts +0 -32
- package/dist/types/components/heading.d.ts.map +0 -1
- package/dist/types/components/icon/icon.d.ts +0 -30
- package/dist/types/components/icon/icon.d.ts.map +0 -1
- package/dist/types/components/icon/icons.d.ts +0 -16
- package/dist/types/components/icon/icons.d.ts.map +0 -1
- package/dist/types/components/icon/index.d.ts +0 -3
- package/dist/types/components/icon/index.d.ts.map +0 -1
- package/dist/types/components/icon/legacy-icons.d.ts +0 -9
- package/dist/types/components/icon/legacy-icons.d.ts.map +0 -1
- package/dist/types/components/illustration/illustration.d.ts +0 -41
- package/dist/types/components/illustration/illustration.d.ts.map +0 -1
- package/dist/types/components/illustration/illustrations.d.ts +0 -6
- package/dist/types/components/illustration/illustrations.d.ts.map +0 -1
- package/dist/types/components/illustration/index.d.ts +0 -3
- package/dist/types/components/illustration/index.d.ts.map +0 -1
- package/dist/types/components/index.d.ts +0 -27
- package/dist/types/components/index.d.ts.map +0 -1
- package/dist/types/components/inline-edit/index.d.ts +0 -7
- package/dist/types/components/inline-edit/index.d.ts.map +0 -1
- package/dist/types/components/inline-edit/inline-edit-controls.d.ts +0 -29
- package/dist/types/components/inline-edit/inline-edit-controls.d.ts.map +0 -1
- package/dist/types/components/inline-edit/inline-edit-field.d.ts +0 -203
- package/dist/types/components/inline-edit/inline-edit-field.d.ts.map +0 -1
- package/dist/types/components/inline-edit/inline-edit-group.d.ts +0 -60
- package/dist/types/components/inline-edit/inline-edit-group.d.ts.map +0 -1
- package/dist/types/components/inline-edit/inline-edit.base.d.ts +0 -52
- package/dist/types/components/inline-edit/inline-edit.base.d.ts.map +0 -1
- package/dist/types/components/inline-edit/inline-edit.const.d.ts +0 -6
- package/dist/types/components/inline-edit/inline-edit.const.d.ts.map +0 -1
- package/dist/types/components/inline-edit/inline-edit.events.d.ts +0 -32
- package/dist/types/components/inline-edit/inline-edit.events.d.ts.map +0 -1
- package/dist/types/components/inline-edit/inline-edit.styles.d.ts +0 -4
- package/dist/types/components/inline-edit/inline-edit.styles.d.ts.map +0 -1
- package/dist/types/components/inline-edit/inline-edit.types.d.ts +0 -45
- package/dist/types/components/inline-edit/inline-edit.types.d.ts.map +0 -1
- package/dist/types/components/legacy-scoped-components.d.ts +0 -269
- package/dist/types/components/legacy-scoped-components.d.ts.map +0 -1
- package/dist/types/components/link.d.ts +0 -102
- package/dist/types/components/link.d.ts.map +0 -1
- package/dist/types/components/loading.d.ts +0 -27
- package/dist/types/components/loading.d.ts.map +0 -1
- package/dist/types/components/lozenge.d.ts +0 -94
- package/dist/types/components/lozenge.d.ts.map +0 -1
- package/dist/types/components/menu/dropdown-menu.d.ts +0 -142
- package/dist/types/components/menu/dropdown-menu.d.ts.map +0 -1
- package/dist/types/components/menu/index.d.ts +0 -4
- package/dist/types/components/menu/index.d.ts.map +0 -1
- package/dist/types/components/menu/menu-item.d.ts +0 -103
- package/dist/types/components/menu/menu-item.d.ts.map +0 -1
- package/dist/types/components/menu/menu.const.d.ts +0 -3
- package/dist/types/components/menu/menu.const.d.ts.map +0 -1
- package/dist/types/components/menu/menu.d.ts +0 -188
- package/dist/types/components/menu/menu.d.ts.map +0 -1
- package/dist/types/components/modal/index.d.ts +0 -3
- package/dist/types/components/modal/index.d.ts.map +0 -1
- package/dist/types/components/modal/layout.d.ts +0 -60
- package/dist/types/components/modal/layout.d.ts.map +0 -1
- package/dist/types/components/modal/modal.d.ts +0 -75
- package/dist/types/components/modal/modal.d.ts.map +0 -1
- package/dist/types/components/navigation/index.d.ts +0 -3
- package/dist/types/components/navigation/index.d.ts.map +0 -1
- package/dist/types/components/navigation/side-navigation-item.d.ts +0 -33
- package/dist/types/components/navigation/side-navigation-item.d.ts.map +0 -1
- package/dist/types/components/navigation/side-navigation.d.ts +0 -23
- package/dist/types/components/navigation/side-navigation.d.ts.map +0 -1
- package/dist/types/components/pagination-utils.d.ts +0 -2
- package/dist/types/components/pagination-utils.d.ts.map +0 -1
- package/dist/types/components/pagination.d.ts +0 -106
- package/dist/types/components/pagination.d.ts.map +0 -1
- package/dist/types/components/popover.d.ts +0 -188
- package/dist/types/components/popover.d.ts.map +0 -1
- package/dist/types/components/record-field/index.d.ts +0 -5
- package/dist/types/components/record-field/index.d.ts.map +0 -1
- package/dist/types/components/record-field/record-field-label.d.ts +0 -22
- package/dist/types/components/record-field/record-field-label.d.ts.map +0 -1
- package/dist/types/components/record-field/record-field.const.d.ts +0 -5
- package/dist/types/components/record-field/record-field.const.d.ts.map +0 -1
- package/dist/types/components/record-field/record-field.d.ts +0 -67
- package/dist/types/components/record-field/record-field.d.ts.map +0 -1
- package/dist/types/components/record-field/record-field.styles.d.ts +0 -4
- package/dist/types/components/record-field/record-field.styles.d.ts.map +0 -1
- package/dist/types/components/record-field/record-field.types.d.ts +0 -27
- package/dist/types/components/record-field/record-field.types.d.ts.map +0 -1
- package/dist/types/components/record-row.d.ts +0 -37
- package/dist/types/components/record-row.d.ts.map +0 -1
- package/dist/types/components/tabs/index.d.ts +0 -37
- package/dist/types/components/tabs/index.d.ts.map +0 -1
- package/dist/types/components/tabs/panel.d.ts +0 -29
- package/dist/types/components/tabs/panel.d.ts.map +0 -1
- package/dist/types/components/tabs/tab-bar.d.ts +0 -36
- package/dist/types/components/tabs/tab-bar.d.ts.map +0 -1
- package/dist/types/components/tabs/tab-events.d.ts +0 -11
- package/dist/types/components/tabs/tab-events.d.ts.map +0 -1
- package/dist/types/components/tabs/tab.d.ts +0 -34
- package/dist/types/components/tabs/tab.d.ts.map +0 -1
- package/dist/types/components/tooltip.d.ts +0 -66
- package/dist/types/components/tooltip.d.ts.map +0 -1
- package/dist/types/components/virtual-list.d.ts +0 -195
- package/dist/types/components/virtual-list.d.ts.map +0 -1
- package/dist/types/helpers/css-helpers.d.ts +0 -34
- package/dist/types/helpers/css-helpers.d.ts.map +0 -1
- package/dist/types/helpers/index.d.ts +0 -2
- package/dist/types/helpers/index.d.ts.map +0 -1
- package/dist/types/layout/flex.d.ts +0 -49
- package/dist/types/layout/flex.d.ts.map +0 -1
- package/dist/types/layout/footer.d.ts +0 -23
- package/dist/types/layout/footer.d.ts.map +0 -1
- package/dist/types/layout/grid/grid-item.d.ts +0 -43
- package/dist/types/layout/grid/grid-item.d.ts.map +0 -1
- package/dist/types/layout/grid/grid.d.ts +0 -50
- package/dist/types/layout/grid/grid.d.ts.map +0 -1
- package/dist/types/layout/grid/index.d.ts +0 -3
- package/dist/types/layout/grid/index.d.ts.map +0 -1
- package/dist/types/layout/header-footer-page.d.ts +0 -23
- package/dist/types/layout/header-footer-page.d.ts.map +0 -1
- package/dist/types/layout/header.d.ts +0 -25
- package/dist/types/layout/header.d.ts.map +0 -1
- package/dist/types/layout/index.d.ts +0 -9
- package/dist/types/layout/index.d.ts.map +0 -1
- package/dist/types/layout/page-header.d.ts +0 -53
- package/dist/types/layout/page-header.d.ts.map +0 -1
- package/dist/types/layout/responsive-columns.d.ts +0 -23
- package/dist/types/layout/responsive-columns.d.ts.map +0 -1
- package/dist/types/layout/split-row.d.ts +0 -84
- package/dist/types/layout/split-row.d.ts.map +0 -1
- package/dist/types/main.d.ts +0 -7
- package/dist/types/main.d.ts.map +0 -1
- package/dist/types/mixins/component-utils.d.ts +0 -18
- package/dist/types/mixins/component-utils.d.ts.map +0 -1
- package/dist/types/mixins/index.d.ts +0 -2
- package/dist/types/mixins/index.d.ts.map +0 -1
- package/dist/types/storybook/colors.stories.d.ts +0 -20
- package/dist/types/storybook/colors.stories.d.ts.map +0 -1
- package/dist/types/styles/borders.d.ts +0 -2
- package/dist/types/styles/borders.d.ts.map +0 -1
- package/dist/types/styles/breakpoints.d.ts +0 -15
- package/dist/types/styles/breakpoints.d.ts.map +0 -1
- package/dist/types/styles/colors.d.ts +0 -176
- package/dist/types/styles/colors.d.ts.map +0 -1
- package/dist/types/styles/global-styles.d.ts +0 -18
- package/dist/types/styles/global-styles.d.ts.map +0 -1
- package/dist/types/styles/index.d.ts +0 -3
- package/dist/types/styles/index.d.ts.map +0 -1
- package/dist/types/styles/legacy-scoped-variables.d.ts +0 -17
- package/dist/types/styles/legacy-scoped-variables.d.ts.map +0 -1
- package/dist/types/styles/shadows.d.ts +0 -2
- package/dist/types/styles/shadows.d.ts.map +0 -1
- package/dist/types/styles/spacing.d.ts +0 -7
- package/dist/types/styles/spacing.d.ts.map +0 -1
- package/dist/types/styles/typography.d.ts +0 -2
- package/dist/types/styles/typography.d.ts.map +0 -1
- package/dist/types/styles/z-index.d.ts +0 -2
- package/dist/types/styles/z-index.d.ts.map +0 -1
- package/dist/types/surfaces/card/card-footer.d.ts +0 -15
- package/dist/types/surfaces/card/card-footer.d.ts.map +0 -1
- package/dist/types/surfaces/card/card-header.d.ts +0 -16
- package/dist/types/surfaces/card/card-header.d.ts.map +0 -1
- package/dist/types/surfaces/card/card-section-header.d.ts +0 -15
- package/dist/types/surfaces/card/card-section-header.d.ts.map +0 -1
- package/dist/types/surfaces/card/card.const.d.ts +0 -5
- package/dist/types/surfaces/card/card.const.d.ts.map +0 -1
- package/dist/types/surfaces/card/card.d.ts +0 -33
- package/dist/types/surfaces/card/card.d.ts.map +0 -1
- package/dist/types/surfaces/card/card.styles.d.ts +0 -5
- package/dist/types/surfaces/card/card.styles.d.ts.map +0 -1
- package/dist/types/surfaces/card/card.types.d.ts +0 -49
- package/dist/types/surfaces/card/card.types.d.ts.map +0 -1
- package/dist/types/surfaces/card/index.d.ts +0 -7
- package/dist/types/surfaces/card/index.d.ts.map +0 -1
- package/dist/types/surfaces/index.d.ts +0 -3
- package/dist/types/surfaces/index.d.ts.map +0 -1
- package/dist/types/surfaces/paper.d.ts +0 -29
- package/dist/types/surfaces/paper.d.ts.map +0 -1
- package/dist/types/types.d.ts +0 -11
- package/dist/types/types.d.ts.map +0 -1
- package/dist/types/utils/findParentWithType.d.ts +0 -4
- package/dist/types/utils/findParentWithType.d.ts.map +0 -1
- package/dist/types/utils/index.d.ts +0 -3
- package/dist/types/utils/index.d.ts.map +0 -1
- package/dist/types/utils/lit-utils.d.ts +0 -29
- package/dist/types/utils/lit-utils.d.ts.map +0 -1
- package/dist/types/utils/test-utils.d.ts +0 -72
- package/dist/types/utils/test-utils.d.ts.map +0 -1
|
@@ -1,269 +0,0 @@
|
|
|
1
|
-
import { FadeInOut, FadeInOutProps } from '../animation';
|
|
2
|
-
import { Column, Row, Footer, HeaderFooterPage, Header, ResponsiveColumns, ActionBar, SplitRow, RowProps, ColumnProps, SplitRowProps, ActionBarProps } from '../layout';
|
|
3
|
-
import { GlobalStyles } from '../styles';
|
|
4
|
-
import { Paper, IPaperAttributes } from '../surfaces';
|
|
5
|
-
import { JSXProps, SizeProperty } from './../types';
|
|
6
|
-
import { InputGuide } from './form-elements/input-guide';
|
|
7
|
-
import { TabPanelProps } from './tabs/panel';
|
|
8
|
-
import { TabProps } from './tabs/tab';
|
|
9
|
-
import { TabBarProps } from './tabs/tab-bar';
|
|
10
|
-
import { Alert, Avatar, AvatarGroup, Button, ButtonGroup, Badge, ComboBox, ComboBoxOption, ConfirmationDialog, Heading, Link, LinkButton, LoadingSpinner, Lozenge, Pagination, BasicPagination, Popover, PurePopover, RecordRow, RecordRowLabel, Tooltip, VirtualList, Illustration, Icon, ModalHeader, ModalBody, ModalFooter, Modal, SideNavigationItem, SideNavigation, Tabs, TabPanel, TabBar, Tab, InputCheckbox, InputCode, InputError, InputMultiselect, InputNumber, InputRadioOption, InputRadio, Menu, MenuItem, InputSelect, InputText, InputTextarea, InputTime, InputLabel, LabeledInput, AlertProps, AvatarProps, ButtonProps, ButtonGroupProps, BadgeProps, ConfirmationDialogProps, HeadingProps, LinkProps, LinkButtonProps, LoadingSpinnerProps, LozengeProps, BasicPaginationProps, PaginationProps, PopoverProps, PurePopoverProps, TooltipProps, VirtualListAttributes, IllustrationProps, IconProps, ModalBodyProps, ModalProps, SideNavigationItemProps, TabsProps, IInputCheckboxAttributes, IInputCodeAttributes, IInputMultiSelectAttributes, IInputNumberAttributes, IInputRadioAttributes, InputRadioOptionAttributes, MenuItemAttributes, IInputSelectAttributes, IInputTextAttributes, IInputTextareaAttributes, IInputTimeAttributes, ILabeledInputAttributes, DropdownMenuAttributes } from '.';
|
|
11
|
-
declare module 'csstype' {
|
|
12
|
-
interface Properties {
|
|
13
|
-
'--sp-row-spacing'?: SizeProperty;
|
|
14
|
-
'--sp-column-spacing'?: SizeProperty;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
declare global {
|
|
18
|
-
namespace JSX {
|
|
19
|
-
interface IntrinsicElements {
|
|
20
|
-
'sp-global-styles': JSXProps<LegacyGlobalStyles>;
|
|
21
|
-
'sp-alert': JSXProps<LegacyAlert, AlertProps>;
|
|
22
|
-
'sp-avatar': JSXProps<LegacyAvatar, AvatarProps>;
|
|
23
|
-
'sp-avatar-group': JSXProps<LegacyAvatarGroup>;
|
|
24
|
-
'sp-button': JSXProps<LegacyButton, ButtonProps>;
|
|
25
|
-
'sp-button-group': JSXProps<LegacyButtonGroup, ButtonGroupProps>;
|
|
26
|
-
'sp-badge': JSXProps<LegacyBadge, BadgeProps>;
|
|
27
|
-
'sp-combo-box': JSXProps<LegacyComboBox, DropdownMenuAttributes>;
|
|
28
|
-
'sp-combo-box-option': JSXProps<LegacyComboBoxOption>;
|
|
29
|
-
'sp-confirmation-dialog': JSXProps<LegacyConfirmationDialog, ConfirmationDialogProps>;
|
|
30
|
-
'sp-heading': JSXProps<LegacyHeading, HeadingProps>;
|
|
31
|
-
'sp-link': JSXProps<LegacyLink, LinkProps>;
|
|
32
|
-
'sp-link-button': JSXProps<LegacyLinkButton, LinkButtonProps>;
|
|
33
|
-
'sp-loading-spinner': JSXProps<LegacyLoadingSpinner, LoadingSpinnerProps>;
|
|
34
|
-
'sp-lozenge': JSXProps<LegacyLozenge, LozengeProps>;
|
|
35
|
-
'sp-basic-pagination': JSXProps<LegacyBasicPagination, BasicPaginationProps>;
|
|
36
|
-
'sp-pagination': JSXProps<LegacyPagination, PaginationProps>;
|
|
37
|
-
'sp-popover': JSXProps<LegacyPopover, PopoverProps>;
|
|
38
|
-
'sp-pure-popover': JSXProps<LegacyPurePopover, PurePopoverProps>;
|
|
39
|
-
'sp-record-row': JSXProps<LegacyRecordRow>;
|
|
40
|
-
'sp-record-row-label': JSXProps<LegacyRecordRowLabel>;
|
|
41
|
-
'sp-tooltip': JSXProps<LegacyTooltip, TooltipProps>;
|
|
42
|
-
'sp-virtual-list': JSXProps<LegacyVirtualList, VirtualListAttributes>;
|
|
43
|
-
'sp-fade-in-out': JSXProps<LegacyFadeInOut, FadeInOutProps>;
|
|
44
|
-
'sp-paper': JSXProps<LegacyPaper, IPaperAttributes>;
|
|
45
|
-
'sp-row': JSXProps<LegacyRow, RowProps>;
|
|
46
|
-
'sp-column': JSXProps<LegacyColumn, ColumnProps>;
|
|
47
|
-
'sp-footer': JSXProps<LegacyFooter>;
|
|
48
|
-
'sp-header-footer-page': JSXProps<LegacyHeaderFooterPage>;
|
|
49
|
-
'sp-header': JSXProps<LegacyHeader>;
|
|
50
|
-
'sp-responsive-columns': JSXProps<LegacyResponsiveColumns>;
|
|
51
|
-
'sp-split-row': JSXProps<LegacySplitRow, SplitRowProps>;
|
|
52
|
-
'sp-action-bar': JSXProps<LegacyActionBar, ActionBarProps>;
|
|
53
|
-
'sp-illustration': JSXProps<LegacyIllustration, IllustrationProps>;
|
|
54
|
-
'sp-icon': JSXProps<LegacyIcon, IconProps>;
|
|
55
|
-
'sp-modal-header': JSXProps<LegacyModalHeader>;
|
|
56
|
-
'sp-modal-body': JSXProps<LegacyModalBody, ModalBodyProps>;
|
|
57
|
-
'sp-modal-footer': JSXProps<LegacyModalFooter>;
|
|
58
|
-
'sp-modal': JSXProps<LegacyModal, ModalProps>;
|
|
59
|
-
'sp-side-navigation-item': JSXProps<LegacySideNavigationItem, SideNavigationItemProps>;
|
|
60
|
-
'sp-side-navigation': JSXProps<LegacySideNavigation>;
|
|
61
|
-
'sp-tabs': JSXProps<LegacyTabs, TabsProps>;
|
|
62
|
-
'sp-tab-panel': JSXProps<LegacyTabPanel, TabPanelProps>;
|
|
63
|
-
'sp-tab-bar': JSXProps<LegacyTabBar, TabBarProps>;
|
|
64
|
-
'sp-tab': JSXProps<LegacyTab, TabProps>;
|
|
65
|
-
'sp-input-checkbox': JSXProps<LegacyInputCheckbox, IInputCheckboxAttributes>;
|
|
66
|
-
'sp-input-code': JSXProps<LegacyInputCode, IInputCodeAttributes>;
|
|
67
|
-
'sp-input-error': JSXProps<LegacyInputError>;
|
|
68
|
-
'sp-input-guide': JSXProps<LegacyInputGuide>;
|
|
69
|
-
'sp-input-multiselect': JSXProps<LegacyInputMultiselect, IInputMultiSelectAttributes>;
|
|
70
|
-
'sp-input-number': JSXProps<LegacyInputNumber, IInputNumberAttributes>;
|
|
71
|
-
'sp-input-radio-group': JSXProps<LegacyInputRadio, IInputRadioAttributes>;
|
|
72
|
-
'sp-input-radio-option': JSXProps<LegacyInputRadioOption, InputRadioOptionAttributes>;
|
|
73
|
-
'sp-menu': JSXProps<LegacyMenu, null>;
|
|
74
|
-
'sp-menu-item': JSXProps<LegacyMenuItem, MenuItemAttributes>;
|
|
75
|
-
'sp-input-select': JSXProps<LegacyInputSelect, IInputSelectAttributes>;
|
|
76
|
-
'sp-input-text': JSXProps<LegacyInputText, IInputTextAttributes>;
|
|
77
|
-
'sp-input-textarea': JSXProps<LegacyInputTextarea, IInputTextareaAttributes>;
|
|
78
|
-
'sp-input-time': JSXProps<LegacyInputTime, IInputTimeAttributes>;
|
|
79
|
-
'sp-input-label': JSXProps<LegacyInputLabel>;
|
|
80
|
-
'sp-labeled-input': JSXProps<LegacyLabeledInput<unknown>, ILabeledInputAttributes<unknown>>;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
interface HTMLElementTagNameMap {
|
|
84
|
-
'sp-global-styles': LegacyGlobalStyles;
|
|
85
|
-
'sp-alert': LegacyAlert;
|
|
86
|
-
'sp-avatar': LegacyAvatar;
|
|
87
|
-
'sp-avatar-group': LegacyAvatarGroup;
|
|
88
|
-
'sp-button': LegacyButton;
|
|
89
|
-
'sp-button-group': LegacyButtonGroup;
|
|
90
|
-
'sp-badge': LegacyBadge;
|
|
91
|
-
'sp-combo-box': LegacyComboBox;
|
|
92
|
-
'sp-combo-box-option': LegacyComboBoxOption;
|
|
93
|
-
'sp-confirmation-dialog': LegacyConfirmationDialog;
|
|
94
|
-
'sp-heading': LegacyHeading;
|
|
95
|
-
'sp-link': LegacyLink;
|
|
96
|
-
'sp-link-button': LegacyLinkButton;
|
|
97
|
-
'sp-loading-spinner': LegacyLoadingSpinner;
|
|
98
|
-
'sp-lozenge': LegacyLozenge;
|
|
99
|
-
'sp-basic-pagination': LegacyBasicPagination;
|
|
100
|
-
'sp-pagination': LegacyPagination;
|
|
101
|
-
'sp-popover': LegacyPopover;
|
|
102
|
-
'sp-pure-popover': LegacyPurePopover;
|
|
103
|
-
'sp-record-row': LegacyRecordRow;
|
|
104
|
-
'sp-record-row-label': LegacyRecordRowLabel;
|
|
105
|
-
'sp-tooltip': LegacyTooltip;
|
|
106
|
-
'sp-virtual-list': LegacyVirtualList;
|
|
107
|
-
'sp-fade-in-out': LegacyFadeInOut;
|
|
108
|
-
'sp-paper': LegacyPaper;
|
|
109
|
-
'sp-row': LegacyRow;
|
|
110
|
-
'sp-column': LegacyColumn;
|
|
111
|
-
'sp-footer': LegacyFooter;
|
|
112
|
-
'sp-header-footer-page': LegacyHeaderFooterPage;
|
|
113
|
-
'sp-header': LegacyHeader;
|
|
114
|
-
'sp-responsive-columns': LegacyResponsiveColumns;
|
|
115
|
-
'sp-split-row': LegacySplitRow;
|
|
116
|
-
'sp-action-bar': LegacyActionBar;
|
|
117
|
-
'sp-illustration': LegacyIllustration;
|
|
118
|
-
'sp-icon': LegacyIcon;
|
|
119
|
-
'sp-modal-header': LegacyModalHeader;
|
|
120
|
-
'sp-modal-body': LegacyModalBody;
|
|
121
|
-
'sp-modal-footer': LegacyModalFooter;
|
|
122
|
-
'sp-modal': LegacyModal;
|
|
123
|
-
'sp-side-navigation-item': LegacySideNavigationItem;
|
|
124
|
-
'sp-side-navigation': LegacySideNavigation;
|
|
125
|
-
'sp-tabs': LegacyTabs;
|
|
126
|
-
'sp-tab-panel': LegacyTabPanel;
|
|
127
|
-
'sp-tab-bar': LegacyTabBar;
|
|
128
|
-
'sp-tab': LegacyTab;
|
|
129
|
-
'sp-input-checkbox': LegacyInputCheckbox;
|
|
130
|
-
'sp-input-code': LegacyInputCode;
|
|
131
|
-
'sp-input-error': LegacyInputError;
|
|
132
|
-
'sp-input-guide': LegacyInputGuide;
|
|
133
|
-
'sp-input-multiselect': LegacyInputMultiselect;
|
|
134
|
-
'sp-input-number': LegacyInputNumber;
|
|
135
|
-
'sp-input-radio-group': LegacyInputRadio;
|
|
136
|
-
'sp-input-radio-option': LegacyInputRadioOption;
|
|
137
|
-
'sp-menu': LegacyMenu;
|
|
138
|
-
'sp-menu-item': LegacyMenuItem;
|
|
139
|
-
'sp-input-select': LegacyInputSelect;
|
|
140
|
-
'sp-input-text': LegacyInputText;
|
|
141
|
-
'sp-input-textarea': LegacyInputTextarea;
|
|
142
|
-
'sp-input-time': LegacyInputTime;
|
|
143
|
-
'sp-input-label': LegacyInputLabel;
|
|
144
|
-
'sp-labeled-input': LegacyLabeledInput<unknown>;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
export declare class LegacyGlobalStyles extends GlobalStyles {
|
|
148
|
-
}
|
|
149
|
-
export declare class LegacyAlert extends Alert {
|
|
150
|
-
}
|
|
151
|
-
export declare class LegacyAvatar extends Avatar {
|
|
152
|
-
}
|
|
153
|
-
export declare class LegacyAvatarGroup extends AvatarGroup {
|
|
154
|
-
}
|
|
155
|
-
export declare class LegacyButton extends Button {
|
|
156
|
-
}
|
|
157
|
-
export declare class LegacyButtonGroup extends ButtonGroup {
|
|
158
|
-
}
|
|
159
|
-
export declare class LegacyBadge extends Badge {
|
|
160
|
-
}
|
|
161
|
-
export declare class LegacyComboBox extends ComboBox {
|
|
162
|
-
}
|
|
163
|
-
export declare class LegacyComboBoxOption extends ComboBoxOption {
|
|
164
|
-
}
|
|
165
|
-
export declare class LegacyConfirmationDialog extends ConfirmationDialog {
|
|
166
|
-
}
|
|
167
|
-
export declare class LegacyHeading extends Heading {
|
|
168
|
-
}
|
|
169
|
-
export declare class LegacyLink extends Link {
|
|
170
|
-
}
|
|
171
|
-
export declare class LegacyLinkButton extends LinkButton {
|
|
172
|
-
}
|
|
173
|
-
export declare class LegacyLoadingSpinner extends LoadingSpinner {
|
|
174
|
-
}
|
|
175
|
-
export declare class LegacyLozenge extends Lozenge {
|
|
176
|
-
}
|
|
177
|
-
export declare class LegacyBasicPagination extends BasicPagination {
|
|
178
|
-
}
|
|
179
|
-
export declare class LegacyPagination extends Pagination {
|
|
180
|
-
}
|
|
181
|
-
export declare class LegacyPopover extends Popover {
|
|
182
|
-
}
|
|
183
|
-
export declare class LegacyPurePopover extends PurePopover {
|
|
184
|
-
}
|
|
185
|
-
export declare class LegacyRecordRow extends RecordRow {
|
|
186
|
-
}
|
|
187
|
-
export declare class LegacyRecordRowLabel extends RecordRowLabel {
|
|
188
|
-
}
|
|
189
|
-
export declare class LegacyTooltip extends Tooltip {
|
|
190
|
-
}
|
|
191
|
-
export declare class LegacyVirtualList extends VirtualList {
|
|
192
|
-
}
|
|
193
|
-
export declare class LegacyFadeInOut extends FadeInOut {
|
|
194
|
-
}
|
|
195
|
-
export declare class LegacyPaper extends Paper {
|
|
196
|
-
}
|
|
197
|
-
export declare class LegacyRow extends Row {
|
|
198
|
-
}
|
|
199
|
-
export declare class LegacyColumn extends Column {
|
|
200
|
-
}
|
|
201
|
-
export declare class LegacyFooter extends Footer {
|
|
202
|
-
}
|
|
203
|
-
export declare class LegacyHeaderFooterPage extends HeaderFooterPage {
|
|
204
|
-
}
|
|
205
|
-
export declare class LegacyHeader extends Header {
|
|
206
|
-
}
|
|
207
|
-
export declare class LegacyResponsiveColumns extends ResponsiveColumns {
|
|
208
|
-
}
|
|
209
|
-
export declare class LegacySplitRow extends SplitRow {
|
|
210
|
-
}
|
|
211
|
-
export declare class LegacyActionBar extends ActionBar {
|
|
212
|
-
}
|
|
213
|
-
export declare class LegacyIllustration extends Illustration {
|
|
214
|
-
}
|
|
215
|
-
export declare class LegacyIcon extends Icon {
|
|
216
|
-
}
|
|
217
|
-
export declare class LegacyModalHeader extends ModalHeader {
|
|
218
|
-
}
|
|
219
|
-
export declare class LegacyModalBody extends ModalBody {
|
|
220
|
-
}
|
|
221
|
-
export declare class LegacyModalFooter extends ModalFooter {
|
|
222
|
-
}
|
|
223
|
-
export declare class LegacyModal extends Modal {
|
|
224
|
-
}
|
|
225
|
-
export declare class LegacySideNavigationItem extends SideNavigationItem {
|
|
226
|
-
}
|
|
227
|
-
export declare class LegacySideNavigation extends SideNavigation {
|
|
228
|
-
}
|
|
229
|
-
export declare class LegacyTabs extends Tabs {
|
|
230
|
-
}
|
|
231
|
-
export declare class LegacyTabPanel extends TabPanel {
|
|
232
|
-
}
|
|
233
|
-
export declare class LegacyTabBar extends TabBar {
|
|
234
|
-
}
|
|
235
|
-
export declare class LegacyTab extends Tab {
|
|
236
|
-
}
|
|
237
|
-
export declare class LegacyInputCheckbox extends InputCheckbox {
|
|
238
|
-
}
|
|
239
|
-
export declare class LegacyInputCode extends InputCode {
|
|
240
|
-
}
|
|
241
|
-
export declare class LegacyInputError extends InputError {
|
|
242
|
-
}
|
|
243
|
-
export declare class LegacyInputGuide extends InputGuide {
|
|
244
|
-
}
|
|
245
|
-
export declare class LegacyInputMultiselect extends InputMultiselect {
|
|
246
|
-
}
|
|
247
|
-
export declare class LegacyInputNumber extends InputNumber {
|
|
248
|
-
}
|
|
249
|
-
export declare class LegacyInputRadio extends InputRadio {
|
|
250
|
-
}
|
|
251
|
-
export declare class LegacyInputRadioOption extends InputRadioOption {
|
|
252
|
-
}
|
|
253
|
-
export declare class LegacyMenu extends Menu {
|
|
254
|
-
}
|
|
255
|
-
export declare class LegacyMenuItem extends MenuItem {
|
|
256
|
-
}
|
|
257
|
-
export declare class LegacyInputSelect extends InputSelect {
|
|
258
|
-
}
|
|
259
|
-
export declare class LegacyInputText extends InputText {
|
|
260
|
-
}
|
|
261
|
-
export declare class LegacyInputTextarea extends InputTextarea {
|
|
262
|
-
}
|
|
263
|
-
export declare class LegacyInputTime extends InputTime {
|
|
264
|
-
}
|
|
265
|
-
export declare class LegacyInputLabel extends InputLabel {
|
|
266
|
-
}
|
|
267
|
-
export declare class LegacyLabeledInput<T> extends LabeledInput<T> {
|
|
268
|
-
}
|
|
269
|
-
//# sourceMappingURL=legacy-scoped-components.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"legacy-scoped-components.d.ts","sourceRoot":"","sources":["../../../src/components/legacy-scoped-components.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AACxD,OAAO,EACL,MAAM,EACN,GAAG,EACH,MAAM,EACN,gBAAgB,EAChB,MAAM,EACN,iBAAiB,EACjB,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,aAAa,EACb,cAAc,EACf,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AACxC,OAAO,EAAE,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAErD,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EACL,KAAK,EACL,MAAM,EACN,WAAW,EACX,MAAM,EACN,WAAW,EACX,KAAK,EACL,QAAQ,EACR,cAAc,EACd,kBAAkB,EAClB,OAAO,EACP,IAAI,EACJ,UAAU,EACV,cAAc,EACd,OAAO,EACP,UAAU,EACV,eAAe,EACf,OAAO,EACP,WAAW,EACX,SAAS,EACT,cAAc,EACd,OAAO,EACP,WAAW,EACX,YAAY,EACZ,IAAI,EACJ,WAAW,EACX,SAAS,EACT,WAAW,EACX,KAAK,EACL,kBAAkB,EAClB,cAAc,EACd,IAAI,EACJ,QAAQ,EACR,MAAM,EACN,GAAG,EACH,aAAa,EACb,SAAS,EACT,UAAU,EACV,gBAAgB,EAChB,WAAW,EACX,gBAAgB,EAChB,UAAU,EACV,IAAI,EACJ,QAAQ,EACR,W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AQ,gBAAgB;CAAG;AAE/D,qBACa,iBAAkB,SAAQ,WAAW;CAAG;AAErD,qBACa,gBAAiB,SAAQ,UAAU;CAAG;AAEnD,qBACa,sBAAuB,SAAQ,gBAAgB;CAAG;AAE/D,qBACa,UAAW,SAAQ,IAAI;CAAG;AAEvC,qBACa,cAAe,SAAQ,QAAQ;CAAG;AAE/C,qBACa,iBAAkB,SAAQ,WAAW;CAAG;AAErD,qBACa,eAAgB,SAAQ,SAAS;CAAG;AAEjD,qBACa,mBAAoB,SAAQ,aAAa;CAAG;AAEzD,qBACa,eAAgB,SAAQ,SAAS;CAAG;AAEjD,qBACa,gBAAiB,SAAQ,UAAU;CAAG;AAEnD,qBACa,kBAAkB,CAAC,CAAC,CAAE,SAAQ,YAAY,CAAC,CAAC,CAAC;CAAG"}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import type { JSXProps } from '../types';
|
|
3
|
-
import './icon';
|
|
4
|
-
export declare const LINK: "brz-link";
|
|
5
|
-
export declare const LINK_BUTTON: "brz-link-button";
|
|
6
|
-
export declare const linkButtonElementTypes: readonly ["a", "button"];
|
|
7
|
-
export type LinkButtonElementType = typeof linkButtonElementTypes[number];
|
|
8
|
-
export interface ValidAnchorPropsForButton {
|
|
9
|
-
element?: 'button';
|
|
10
|
-
href?: never;
|
|
11
|
-
target?: never;
|
|
12
|
-
rel?: never;
|
|
13
|
-
}
|
|
14
|
-
export interface ValidAnchorPropsForAnchor {
|
|
15
|
-
element?: 'a';
|
|
16
|
-
href?: string;
|
|
17
|
-
target?: string;
|
|
18
|
-
rel?: string;
|
|
19
|
-
}
|
|
20
|
-
export type AnchorProps = ValidAnchorPropsForButton | ValidAnchorPropsForAnchor;
|
|
21
|
-
export type LinkProps = AnchorProps & {
|
|
22
|
-
'link-type'?: LinkType;
|
|
23
|
-
'is-external'?: boolean;
|
|
24
|
-
virtual?: boolean;
|
|
25
|
-
};
|
|
26
|
-
export interface LinkButtonProps {
|
|
27
|
-
'link-type'?: LinkType;
|
|
28
|
-
}
|
|
29
|
-
declare global {
|
|
30
|
-
namespace JSX {
|
|
31
|
-
interface IntrinsicElements {
|
|
32
|
-
[LINK]: JSXProps<Link, LinkProps>;
|
|
33
|
-
[LINK_BUTTON]: JSXProps<LinkButton, LinkButtonProps>;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
interface HTMLElementTagNameMap {
|
|
37
|
-
[LINK]: Link;
|
|
38
|
-
[LINK_BUTTON]: LinkButton;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
export declare const resetLinkStyle: import("lit").CSSResult;
|
|
42
|
-
export declare const linkTypes: readonly ["primary", "secondary"];
|
|
43
|
-
export type LinkType = typeof linkTypes[number];
|
|
44
|
-
/**
|
|
45
|
-
* Link component
|
|
46
|
-
*
|
|
47
|
-
* @tag brz-link
|
|
48
|
-
*/
|
|
49
|
-
export declare class Link extends LitElement {
|
|
50
|
-
static styles: import("lit").CSSResult[];
|
|
51
|
-
/**
|
|
52
|
-
* Sets the element type to render with. Defaults to an anchor tag. Optionally
|
|
53
|
-
* render with a `button` instead where necessary.
|
|
54
|
-
*/
|
|
55
|
-
element: LinkButtonElementType;
|
|
56
|
-
/**
|
|
57
|
-
* If sets stops the onclick
|
|
58
|
-
*/
|
|
59
|
-
virtual: boolean;
|
|
60
|
-
/**
|
|
61
|
-
* Sets a link href when using an anchor element
|
|
62
|
-
*/
|
|
63
|
-
href?: string;
|
|
64
|
-
/**
|
|
65
|
-
* Sets the type
|
|
66
|
-
*/
|
|
67
|
-
linkType: LinkType;
|
|
68
|
-
/**
|
|
69
|
-
* Sets the link target when using an anchor element
|
|
70
|
-
*/
|
|
71
|
-
target?: string;
|
|
72
|
-
/**
|
|
73
|
-
* Sets the link rel when using an anchor element
|
|
74
|
-
*/
|
|
75
|
-
rel?: string;
|
|
76
|
-
/**
|
|
77
|
-
* Shows external icon to the right of the text
|
|
78
|
-
*/
|
|
79
|
-
isExternal: boolean;
|
|
80
|
-
handleClick(event: Event): void;
|
|
81
|
-
connectedCallback(): void;
|
|
82
|
-
/**
|
|
83
|
-
* @internal
|
|
84
|
-
*/
|
|
85
|
-
private get externalIcon();
|
|
86
|
-
/**
|
|
87
|
-
* @internal
|
|
88
|
-
*/
|
|
89
|
-
private get anchorTemplate();
|
|
90
|
-
/**
|
|
91
|
-
* @internal
|
|
92
|
-
*/
|
|
93
|
-
private get buttonTemplate();
|
|
94
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
95
|
-
}
|
|
96
|
-
/**
|
|
97
|
-
* @deprecated Use `<brz-link element="button"></brz-link>`
|
|
98
|
-
*/
|
|
99
|
-
export declare class LinkButton extends Link {
|
|
100
|
-
connectedCallback(): void;
|
|
101
|
-
}
|
|
102
|
-
//# sourceMappingURL=link.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../src/components/link.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAA;AAK3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AACxC,OAAO,QAAQ,CAAA;AAEf,eAAO,MAAM,IAAI,YAA4B,CAAA;AAC7C,eAAO,MAAM,WAAW,mBAAmC,CAAA;AAE3D,eAAO,MAAM,sBAAsB,0BAA2B,CAAA;AAE9D,MAAM,MAAM,qBAAqB,GAAG,OAAO,sBAAsB,CAAC,MAAM,CAAC,CAAA;AAEzE,MAAM,WAAW,yBAAyB;IACxC,OAAO,CAAC,EAAE,QAAQ,CAAA;IAClB,IAAI,CAAC,EAAE,KAAK,CAAA;IACZ,MAAM,CAAC,EAAE,KAAK,CAAA;IACd,GAAG,CAAC,EAAE,KAAK,CAAA;CACZ;AAED,MAAM,WAAW,yBAAyB;IACxC,OAAO,CAAC,EAAE,GAAG,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,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IAElB,WAAW,CAAC,KAAK,EAAE,KAAK;IAIxB,iBAAiB;IAQjB;;OAEG;IACH,OAAO,KAAK,YAAY,GAIvB;IAED;;OAEG;IACH,OAAO,KAAK,cAAc,GAazB;IAED;;OAEG;IACH,OAAO,KAAK,cAAc,GAQzB;IAED,MAAM;CAUP;AAED;;GAEG;AACH,qBACa,UAAW,SAAQ,IAAI;IAClC,iBAAiB;CAIlB"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import { JSXProps } from '../types';
|
|
3
|
-
export declare const LOADING_SPINNER: "brz-loading-spinner";
|
|
4
|
-
export interface LoadingSpinnerProps {
|
|
5
|
-
size?: number;
|
|
6
|
-
}
|
|
7
|
-
declare global {
|
|
8
|
-
namespace JSX {
|
|
9
|
-
interface IntrinsicElements {
|
|
10
|
-
[LOADING_SPINNER]: JSXProps<LoadingSpinner, LoadingSpinnerProps>;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
interface HTMLElementTagNameMap {
|
|
14
|
-
[LOADING_SPINNER]: LoadingSpinner;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Loading spinner
|
|
19
|
-
*
|
|
20
|
-
* @tag brz-loading-spinner
|
|
21
|
-
*/
|
|
22
|
-
export declare class LoadingSpinner extends LitElement {
|
|
23
|
-
static styles: import("lit").CSSResult;
|
|
24
|
-
size: number;
|
|
25
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
26
|
-
}
|
|
27
|
-
//# sourceMappingURL=loading.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"loading.d.ts","sourceRoot":"","sources":["../../../src/components/loading.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAA;AAE3C,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAGnC,eAAO,MAAM,eAAe,uBAAuC,CAAA;AAEnE,MAAM,WAAW,mBAAmB;IAClC,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,eAAe,CAAC,EAAE,QAAQ,CAAC,cAAc,EAAE,mBAAmB,CAAC,CAAA;SACjE;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,eAAe,CAAC,EAAE,cAAc,CAAA;KAClC;CACF;AAED;;;;GAIG;AACH,qBACa,cAAe,SAAQ,UAAU;IAC5C,MAAM,CAAC,MAAM,0BAmCZ;IAGD,IAAI,SAAK;IAET,MAAM;CAuBP"}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import type { JSXProps } from '../types';
|
|
3
|
-
import type { IconKey } from './icon';
|
|
4
|
-
import './tooltip';
|
|
5
|
-
export declare const LOZENGE: "brz-lozenge";
|
|
6
|
-
export interface LozengeProps {
|
|
7
|
-
color?: LozengeColor;
|
|
8
|
-
theme?: LozengeTheme;
|
|
9
|
-
size?: LozengeSize;
|
|
10
|
-
'leading-icon'?: IconKey;
|
|
11
|
-
'can-delete'?: boolean;
|
|
12
|
-
'no-truncate'?: boolean;
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
}
|
|
15
|
-
declare global {
|
|
16
|
-
namespace JSX {
|
|
17
|
-
interface IntrinsicElements {
|
|
18
|
-
[LOZENGE]: JSXProps<Lozenge, LozengeProps>;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
interface HTMLElementTagNameMap {
|
|
22
|
-
[LOZENGE]: Lozenge;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
export declare const lozengeColors: readonly ["neutral", "green", "orange", "red", "cyan", "purple", "sapphire"];
|
|
26
|
-
export declare const lozengeThemes: readonly ["solid", "subtle", "border"];
|
|
27
|
-
export declare const lozengeSizes: readonly ["small", "medium", "large"];
|
|
28
|
-
export type LozengeColor = typeof lozengeColors[number];
|
|
29
|
-
export type LozengeTheme = typeof lozengeThemes[number];
|
|
30
|
-
export type LozengeSize = typeof lozengeSizes[number];
|
|
31
|
-
export declare class DeleteLozengeEvent extends CustomEvent<never> {
|
|
32
|
-
constructor();
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* A Lozenge component is used to highlight the state or status of something.
|
|
36
|
-
* They are also often used as tags.
|
|
37
|
-
*
|
|
38
|
-
* @tag brz-lozenge
|
|
39
|
-
*/
|
|
40
|
-
export declare class Lozenge extends LitElement {
|
|
41
|
-
static styles: import("lit").CSSResult;
|
|
42
|
-
/**
|
|
43
|
-
* Change the Lozenge size
|
|
44
|
-
*/
|
|
45
|
-
size: LozengeSize;
|
|
46
|
-
/**
|
|
47
|
-
* Lozenge themes apply variations on the selected color
|
|
48
|
-
*/
|
|
49
|
-
theme: LozengeTheme;
|
|
50
|
-
/**
|
|
51
|
-
* Change the Lozenge color
|
|
52
|
-
*/
|
|
53
|
-
color: LozengeColor;
|
|
54
|
-
/**
|
|
55
|
-
* An optional icon to support the Lozenge content
|
|
56
|
-
*/
|
|
57
|
-
leadingIcon?: IconKey;
|
|
58
|
-
/**
|
|
59
|
-
* Deletable Lozenges render a close button. When this button is clicked the
|
|
60
|
-
* `brz-lozenge-delete` event will be dispatched.
|
|
61
|
-
*/
|
|
62
|
-
canDelete: boolean;
|
|
63
|
-
/**
|
|
64
|
-
* Apply a disabled style to the Lozenge, and block interactions. Primarily
|
|
65
|
-
* useful in combination with the deletable feature.
|
|
66
|
-
*/
|
|
67
|
-
disabled: boolean;
|
|
68
|
-
/**
|
|
69
|
-
* Disables truncation of Lozenge content. By default, Lozenges have a max
|
|
70
|
-
* width of 192px, so overflowing content will be truncated with an ellipsis
|
|
71
|
-
* and full text shown in a tooltip on hover.
|
|
72
|
-
*/
|
|
73
|
-
noTruncate: boolean;
|
|
74
|
-
/**
|
|
75
|
-
* @internal
|
|
76
|
-
*/
|
|
77
|
-
private defaultSlot;
|
|
78
|
-
/**
|
|
79
|
-
* @internal
|
|
80
|
-
*/
|
|
81
|
-
private message;
|
|
82
|
-
/**
|
|
83
|
-
* @internal
|
|
84
|
-
*/
|
|
85
|
-
private isOverflowing;
|
|
86
|
-
private checkOverflow;
|
|
87
|
-
private _handleDeleteClick;
|
|
88
|
-
/**
|
|
89
|
-
* @internal
|
|
90
|
-
*/
|
|
91
|
-
private get iconSize();
|
|
92
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
93
|
-
}
|
|
94
|
-
//# sourceMappingURL=lozenge.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lozenge.d.ts","sourceRoot":"","sources":["../../../src/components/lozenge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAA;AAS3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AACxC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AACrC,OAAO,WAAW,CAAA;AAElB,eAAO,MAAM,OAAO,eAA+B,CAAA;AAEnD,MAAM,WAAW,YAAY;IAC3B,KAAK,CAAC,EAAE,YAAY,CAAA;IACpB,KAAK,CAAC,EAAE,YAAY,CAAA;IACpB,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,OAAO,CAAC,EAAE,QAAQ,CAAC,OAAO,EAAE,YAAY,CAAC,CAAA;SAC3C;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,OAAO,CAAC,EAAE,OAAO,CAAA;KACnB;CACF;AAED,eAAO,MAAM,aAAa,8EAQhB,CAAA;AAEV,eAAO,MAAM,aAAa,wCAAyC,CAAA;AACnE,eAAO,MAAM,YAAY,uCAAwC,CAAA;AAEjE,MAAM,MAAM,YAAY,GAAG,OAAO,aAAa,CAAC,MAAM,CAAC,CAAA;AACvD,MAAM,MAAM,YAAY,GAAG,OAAO,aAAa,CAAC,MAAM,CAAC,CAAA;AACvD,MAAM,MAAM,WAAW,GAAG,OAAO,YAAY,CAAC,MAAM,CAAC,CAAA;AAErD,qBAAa,kBAAmB,SAAQ,WAAW,CAAC,KAAK,CAAC;;CAIzD;AAED;;;;;GAKG;AACH,qBACa,OAAQ,SAAQ,UAAU;IACrC,MAAM,CAAC,MAAM,0BAmJZ;IAED;;OAEG;IAEH,IAAI,EAAE,WAAW,CAAW;IAE5B;;OAEG;IAEH,KAAK,EAAE,YAAY,CAAU;IAE7B;;OAEG;IAEH,KAAK,EAAE,YAAY,CAAY;IAE/B;;OAEG;IAEH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;;OAGG;IAEH,SAAS,UAAQ;IAEjB;;;OAGG;IAEH,QAAQ,UAAQ;IAEhB;;;;OAIG;IAEH,UAAU,UAAQ;IAElB;;OAEG;IAEH,OAAO,CAAC,WAAW,CAAS;IAE5B;;OAEG;IAEH,OAAO,CAAC,OAAO,CAA0B;IAEzC;;OAEG;IAEH,OAAO,CAAC,aAAa,CAAQ;YAEf,aAAa;IAK3B,OAAO,CAAC,kBAAkB;IAK1B;;OAEG;IACH,OAAO,KAAK,QAAQ,GASnB;IAED,MAAM;CAkCP"}
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
-
import { MenuAttributes } from './menu';
|
|
3
|
-
import type { JSXProps } from '../../types';
|
|
4
|
-
export declare const DROPDOWN_MENU: "brz-dropdown-menu";
|
|
5
|
-
export declare const dropdownMenuSizes: readonly ["small", "medium", "large", "fluid"];
|
|
6
|
-
export type DropdownMenuSize = typeof dropdownMenuSizes[number];
|
|
7
|
-
export type DropdownMenuAttributes = MenuAttributes;
|
|
8
|
-
declare global {
|
|
9
|
-
namespace JSX {
|
|
10
|
-
interface IntrinsicElements {
|
|
11
|
-
[DROPDOWN_MENU]: JSXProps<DropdownMenu>;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
interface HTMLElementTagNameMap {
|
|
15
|
-
[DROPDOWN_MENU]: DropdownMenu;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Attaches a dropdown menu to interactive elements.
|
|
20
|
-
*
|
|
21
|
-
* This component places a `Menu` within a `Popover`, which is triggered by the
|
|
22
|
-
* element in the default slot - this should be an interactive element, such as
|
|
23
|
-
* a `button`.
|
|
24
|
-
*
|
|
25
|
-
* To populate the `Menu`, assign `MenuItems` to the `options` slot. Also
|
|
26
|
-
* supports `VirtualList`.
|
|
27
|
-
*
|
|
28
|
-
* @fires {MenuSelectEvent} brz-menu-select Contains the Menu's selected values
|
|
29
|
-
* @fires {MenuItemSelectEvent} brz-menu-item-select Contains the MenuItem element that was selected
|
|
30
|
-
*
|
|
31
|
-
* @slot default Requires an interactive element
|
|
32
|
-
* @slot options A list of MenuItems
|
|
33
|
-
*
|
|
34
|
-
* @tag brz-dropdown-menu
|
|
35
|
-
*/
|
|
36
|
-
export declare class DropdownMenu<ItemValue = string> extends LitElement {
|
|
37
|
-
static styles: import("lit").CSSResult;
|
|
38
|
-
/**
|
|
39
|
-
* Allows multiple items to be selected.
|
|
40
|
-
*/
|
|
41
|
-
multiselect: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Enables a selected state to be written to and emitted from the menu.
|
|
44
|
-
*/
|
|
45
|
-
selectable: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* A list of currently selected values. Value collection requires the Menu to
|
|
48
|
-
* be `selectable`.
|
|
49
|
-
*/
|
|
50
|
-
selected: ItemValue[];
|
|
51
|
-
/**
|
|
52
|
-
* Sets a preset menu width.
|
|
53
|
-
*
|
|
54
|
-
* To match the menu width to that of the reference element, use `fluid`.
|
|
55
|
-
*
|
|
56
|
-
* For fine-grained customization, leave unset and use CSS to override the
|
|
57
|
-
* variable `--brz-menu-width`.
|
|
58
|
-
*/
|
|
59
|
-
size?: DropdownMenuSize;
|
|
60
|
-
/**
|
|
61
|
-
* Tracks the pixel width of the reference element. When the using the `fluid`
|
|
62
|
-
* size, this is width is applied to the Menu, i.e. the menu width matches the
|
|
63
|
-
* width of the reference element.
|
|
64
|
-
*
|
|
65
|
-
* @internal
|
|
66
|
-
*/
|
|
67
|
-
private fluidWidth?;
|
|
68
|
-
/**
|
|
69
|
-
* Blocks the Popover from opening
|
|
70
|
-
*
|
|
71
|
-
* @internal
|
|
72
|
-
*/
|
|
73
|
-
private disabled;
|
|
74
|
-
/**
|
|
75
|
-
* The Menu element in the dropdown
|
|
76
|
-
*
|
|
77
|
-
* @internal
|
|
78
|
-
*/
|
|
79
|
-
private menu;
|
|
80
|
-
/**
|
|
81
|
-
* The Popover element which shows/hides the dropdown
|
|
82
|
-
*
|
|
83
|
-
* @internal
|
|
84
|
-
*/
|
|
85
|
-
private popover;
|
|
86
|
-
/**
|
|
87
|
-
* Elements in the default slot. This is expected to be a single interactive
|
|
88
|
-
* element in a valid implementation.
|
|
89
|
-
*
|
|
90
|
-
* @internal
|
|
91
|
-
*/
|
|
92
|
-
private slottedElements;
|
|
93
|
-
protected updated(changedProperties: PropertyValues): void;
|
|
94
|
-
/**
|
|
95
|
-
* Calculates the fluid menu width based on the reference element.
|
|
96
|
-
*/
|
|
97
|
-
private applyFluidWidth;
|
|
98
|
-
/**
|
|
99
|
-
* Focuses the dropdown menu when it is opened. Also re-calculates the fluid
|
|
100
|
-
* menu width if needed, as it loads too late in some cases.
|
|
101
|
-
*/
|
|
102
|
-
private handleOpen;
|
|
103
|
-
/**
|
|
104
|
-
* Restores focus to the reference element when the dropdown is closed
|
|
105
|
-
*/
|
|
106
|
-
private handleClose;
|
|
107
|
-
/**
|
|
108
|
-
* Handles the MenuSelectEvent. The dropdown remains open if `multiselect` is
|
|
109
|
-
* enabled, otherwise we handle it closing.
|
|
110
|
-
*/
|
|
111
|
-
private handleSelect;
|
|
112
|
-
/**
|
|
113
|
-
* Closes the dropdown when the menu loses focus
|
|
114
|
-
*/
|
|
115
|
-
private handleBlur;
|
|
116
|
-
/**
|
|
117
|
-
* Sets the disabled state based on presence of the same attribute on the
|
|
118
|
-
* reference element. This is passed to the Popover so that it cannot open.
|
|
119
|
-
*/
|
|
120
|
-
private handleSlotChange;
|
|
121
|
-
/**
|
|
122
|
-
* Returns the slotted reference element which will trigger the Popover
|
|
123
|
-
*
|
|
124
|
-
* @internal
|
|
125
|
-
*/
|
|
126
|
-
private get referenceElement();
|
|
127
|
-
/**
|
|
128
|
-
* Opens the dropdown
|
|
129
|
-
*/
|
|
130
|
-
open(): void;
|
|
131
|
-
/**
|
|
132
|
-
* Closes the dropdown
|
|
133
|
-
*/
|
|
134
|
-
close(): void;
|
|
135
|
-
/**
|
|
136
|
-
* Updates the dropdown position. Useful if a re-render has caused the layout
|
|
137
|
-
* to change but the dropdown hasn't caught up yet.
|
|
138
|
-
*/
|
|
139
|
-
updatePosition(): void;
|
|
140
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
141
|
-
}
|
|
142
|
-
//# sourceMappingURL=dropdown-menu.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/dropdown-menu.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,cAAc,EAAW,MAAM,KAAK,CAAA;AAUpE,OAAO,EAAQ,cAAc,EAAE,MAAM,QAAQ,CAAA;AAE7C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAE3C,eAAO,MAAM,aAAa,qBAAqC,CAAA;AAE/D,eAAO,MAAM,iBAAiB,gDAAmC,CAAA;AAEjE,MAAM,MAAM,gBAAgB,GAAG,OA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