@aotearoan/neon 9.2.8 → 9.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/navigation/link/NeonLink.cjs.js +1 -1
- package/dist/components/navigation/link/NeonLink.es.js +15 -6
- package/dist/components/navigation/link/NeonLink.es.js.map +1 -1
- package/dist/components/navigation/link/{NeonLink.ts_vue_type_script_src_037ccc85_lang.cjs.js → NeonLink.ts_vue_type_script_src_5a48e750_lang.cjs.js} +1 -1
- package/dist/components/navigation/link/{NeonLink.ts_vue_type_script_src_037ccc85_lang.cjs.js.map → NeonLink.ts_vue_type_script_src_5a48e750_lang.cjs.js.map} +1 -1
- package/dist/components/navigation/link/{NeonLink.ts_vue_type_script_src_037ccc85_lang.es.js → NeonLink.ts_vue_type_script_src_5a48e750_lang.es.js} +1 -1
- package/dist/components/navigation/link/{NeonLink.ts_vue_type_script_src_037ccc85_lang.es.js.map → NeonLink.ts_vue_type_script_src_5a48e750_lang.es.js.map} +1 -1
- package/dist/components/presentation/icon/NeonIcon.cjs.js +1 -1
- package/dist/components/presentation/icon/NeonIcon.es.js +6 -2
- package/dist/components/presentation/icon/NeonIcon.es.js.map +1 -1
- package/dist/components/presentation/icon/{NeonIcon.ts_vue_type_script_src_3580e0c3_lang.cjs.js → NeonIcon.ts_vue_type_script_src_d3713f20_lang.cjs.js} +1 -1
- package/dist/components/presentation/icon/{NeonIcon.ts_vue_type_script_src_3580e0c3_lang.cjs.js.map → NeonIcon.ts_vue_type_script_src_d3713f20_lang.cjs.js.map} +1 -1
- package/dist/components/presentation/icon/{NeonIcon.ts_vue_type_script_src_3580e0c3_lang.es.js → NeonIcon.ts_vue_type_script_src_d3713f20_lang.es.js} +1 -1
- package/dist/components/presentation/icon/{NeonIcon.ts_vue_type_script_src_3580e0c3_lang.es.js.map → NeonIcon.ts_vue_type_script_src_d3713f20_lang.es.js.map} +1 -1
- package/dist/components/user-input/button/NeonButton.cjs.js +1 -1
- package/dist/components/user-input/button/NeonButton.es.js +3 -7
- package/dist/components/user-input/button/NeonButton.es.js.map +1 -1
- package/dist/components/user-input/button/NeonButton.ts_vue_type_script_src_7c4eb572_lang.cjs.js +2 -0
- package/dist/components/user-input/button/NeonButton.ts_vue_type_script_src_7c4eb572_lang.cjs.js.map +1 -0
- package/dist/components/user-input/button/{NeonButton.ts_vue_type_script_src_32308d32_lang.es.js → NeonButton.ts_vue_type_script_src_7c4eb572_lang.es.js} +5 -2
- package/dist/components/user-input/button/NeonButton.ts_vue_type_script_src_7c4eb572_lang.es.js.map +1 -0
- package/dist/components/user-input/date-picker/NeonDatePicker.cjs.js +1 -1
- package/dist/components/user-input/date-picker/NeonDatePicker.es.js +2 -1
- package/dist/components/user-input/date-picker/NeonDatePicker.es.js.map +1 -1
- package/dist/components/user-input/date-picker/{NeonDatePicker.ts_vue_type_script_src_01c3f912_lang.cjs.js → NeonDatePicker.ts_vue_type_script_src_56e4ee8a_lang.cjs.js} +1 -1
- package/dist/components/user-input/date-picker/{NeonDatePicker.ts_vue_type_script_src_01c3f912_lang.cjs.js.map → NeonDatePicker.ts_vue_type_script_src_56e4ee8a_lang.cjs.js.map} +1 -1
- package/dist/components/user-input/date-picker/{NeonDatePicker.ts_vue_type_script_src_01c3f912_lang.es.js → NeonDatePicker.ts_vue_type_script_src_56e4ee8a_lang.es.js} +1 -1
- package/dist/components/user-input/date-picker/{NeonDatePicker.ts_vue_type_script_src_01c3f912_lang.es.js.map → NeonDatePicker.ts_vue_type_script_src_56e4ee8a_lang.es.js.map} +1 -1
- package/dist/components/user-input/input/NeonInput.cjs.js +1 -1
- package/dist/components/user-input/input/NeonInput.es.js +3 -2
- package/dist/components/user-input/input/NeonInput.es.js.map +1 -1
- package/dist/components/user-input/input/{NeonInput.ts_vue_type_script_src_62c5c4a9_lang.cjs.js → NeonInput.ts_vue_type_script_src_2bebb33c_lang.cjs.js} +1 -1
- package/dist/components/user-input/input/{NeonInput.ts_vue_type_script_src_62c5c4a9_lang.cjs.js.map → NeonInput.ts_vue_type_script_src_2bebb33c_lang.cjs.js.map} +1 -1
- package/dist/components/user-input/input/{NeonInput.ts_vue_type_script_src_62c5c4a9_lang.es.js → NeonInput.ts_vue_type_script_src_2bebb33c_lang.es.js} +1 -1
- package/dist/components/user-input/input/{NeonInput.ts_vue_type_script_src_62c5c4a9_lang.es.js.map → NeonInput.ts_vue_type_script_src_2bebb33c_lang.es.js.map} +1 -1
- package/dist/src/common/enums/NeonAlertLevel.d.ts +6 -0
- package/dist/src/common/enums/NeonAlertPlacement.d.ts +6 -0
- package/dist/src/common/enums/NeonButtonSize.d.ts +6 -0
- package/dist/src/common/enums/NeonButtonStyle.d.ts +5 -0
- package/dist/src/common/enums/NeonChipAction.d.ts +4 -0
- package/dist/src/common/enums/NeonDropdownPlacement.d.ts +10 -0
- package/dist/src/common/enums/NeonDropdownStyle.d.ts +6 -0
- package/dist/src/common/enums/NeonFunctionalColor.d.ts +11 -0
- package/dist/src/common/enums/NeonHorizontalPosition.d.ts +4 -0
- package/dist/src/common/enums/NeonInputMode.d.ts +10 -0
- package/dist/src/common/enums/NeonInputType.d.ts +14 -0
- package/dist/src/common/enums/NeonLabelSize.d.ts +4 -0
- package/dist/src/common/enums/NeonMode.d.ts +4 -0
- package/dist/src/common/enums/NeonOrientation.d.ts +4 -0
- package/dist/src/common/enums/NeonOutlineStyle.d.ts +7 -0
- package/dist/src/common/enums/NeonPlacement.d.ts +6 -0
- package/dist/src/common/enums/NeonPosition.d.ts +6 -0
- package/dist/src/common/enums/NeonResponsive.d.ts +11 -0
- package/dist/src/common/enums/NeonSize.d.ts +5 -0
- package/dist/src/common/enums/NeonSplashLoaderSize.d.ts +6 -0
- package/dist/src/common/enums/NeonState.d.ts +6 -0
- package/dist/src/common/enums/NeonSwitchStyle.d.ts +4 -0
- package/dist/src/common/enums/NeonToggleStyle.d.ts +4 -0
- package/dist/src/common/enums/NeonTooltipStyle.d.ts +4 -0
- package/dist/src/common/enums/NeonVerticalPosition.d.ts +4 -0
- package/dist/src/common/models/NeonActionMenuModel.d.ts +7 -0
- package/dist/src/common/models/NeonAlertAction.d.ts +13 -0
- package/dist/src/common/models/NeonAlertMessage.d.ts +38 -0
- package/dist/src/common/models/NeonAvailableSpace.d.ts +9 -0
- package/dist/src/common/models/NeonCalendarConfig.d.ts +13 -0
- package/dist/src/common/models/NeonContrastAccessibility.d.ts +7 -0
- package/dist/src/common/models/NeonDate.d.ts +10 -0
- package/dist/src/common/models/NeonDropdownMenuItem.d.ts +10 -0
- package/dist/src/common/models/NeonDropdownPlacementObject.d.ts +23 -0
- package/dist/src/common/models/NeonFilterListItem.d.ts +9 -0
- package/dist/src/common/models/NeonGridModel.d.ts +19 -0
- package/dist/src/common/models/NeonListItem.d.ts +7 -0
- package/dist/src/common/models/NeonMenuItem.d.ts +7 -0
- package/dist/src/common/models/NeonMenuModel.d.ts +4 -0
- package/dist/src/common/models/NeonNumberFormatOptions.d.ts +6 -0
- package/dist/src/common/models/NeonSearchOption.d.ts +11 -0
- package/dist/src/common/models/NeonSelectGroup.d.ts +8 -0
- package/dist/src/common/models/NeonSelectOption.d.ts +10 -0
- package/dist/src/common/models/NeonTabModel.d.ts +5 -0
- package/dist/src/common/models/NeonToastMessage.d.ts +23 -0
- package/dist/src/common/models/NeonToggleModel.d.ts +6 -0
- package/dist/src/common/models/NeonTreeMenuLinkModel.d.ts +6 -0
- package/dist/src/common/models/NeonTreeMenuSectionModel.d.ts +8 -0
- package/dist/src/common/utils/NeonAlertService.d.ts +29 -0
- package/dist/src/common/utils/NeonClipboardService.d.ts +6 -0
- package/dist/src/common/utils/NeonClosableUtils.d.ts +11 -0
- package/dist/src/common/utils/NeonColorUtils.d.ts +43 -0
- package/dist/src/common/utils/NeonDateUtils.d.ts +16 -0
- package/dist/src/common/utils/NeonDebounceUtils.d.ts +5 -0
- package/dist/src/common/utils/NeonDropdownPlacementUtils.d.ts +6 -0
- package/dist/src/common/utils/NeonEventBus.d.ts +27 -0
- package/dist/src/common/utils/NeonIconRegistry.d.ts +8 -0
- package/dist/src/common/utils/NeonModeUtils.d.ts +15 -0
- package/dist/src/common/utils/NeonNumberUtils.d.ts +10 -0
- package/dist/src/common/utils/NeonPlacementUtils.d.ts +8 -0
- package/dist/src/common/utils/NeonResponsiveUtils.d.ts +4 -0
- package/dist/src/common/utils/NeonScrollUtils.d.ts +3 -0
- package/dist/src/common/utils/NeonToastService.d.ts +29 -0
- package/dist/src/common/utils/NeonTooltipPlacementUtils.d.ts +7 -0
- package/dist/src/common/utils/RegisterIcons.d.ts +3 -0
- package/dist/src/components/feedback/alert/NeonAlert.d.ts +129 -0
- package/dist/src/components/feedback/alert/NeonAlert.vue.d.ts +2 -0
- package/dist/src/components/feedback/alert/NeonAlertModel.d.ts +6 -0
- package/dist/src/components/feedback/alert/NeonToastModel.d.ts +6 -0
- package/dist/src/components/feedback/alert/container/NeonAlertContainer.d.ts +29 -0
- package/dist/src/components/feedback/alert/container/NeonAlertContainer.vue.d.ts +2 -0
- package/dist/src/components/feedback/alert/container/NeonToastContainer.d.ts +27 -0
- package/dist/src/components/feedback/alert/container/NeonToastContainer.vue.d.ts +2 -0
- package/dist/src/components/feedback/dialog/NeonDialog.d.ts +135 -0
- package/dist/src/components/feedback/dialog/NeonDialog.vue.d.ts +2 -0
- package/dist/src/components/feedback/linear-progress/NeonLinearProgress.d.ts +183 -0
- package/dist/src/components/feedback/linear-progress/NeonLinearProgress.vue.d.ts +2 -0
- package/dist/src/components/feedback/note/NeonNote.d.ts +74 -0
- package/dist/src/components/feedback/note/NeonNote.vue.d.ts +2 -0
- package/dist/src/components/feedback/notification-counter/NeonNotificationCounter.d.ts +54 -0
- package/dist/src/components/feedback/notification-counter/NeonNotificationCounter.vue.d.ts +2 -0
- package/dist/src/components/feedback/skeleton-loader/NeonSkeletonLoader.d.ts +26 -0
- package/dist/src/components/feedback/skeleton-loader/NeonSkeletonLoader.vue.d.ts +2 -0
- package/dist/src/components/feedback/splash-loader/NeonSplashLoader.d.ts +74 -0
- package/dist/src/components/feedback/splash-loader/NeonSplashLoader.vue.d.ts +2 -0
- package/dist/src/components/feedback/tooltip/NeonTooltip.d.ts +118 -0
- package/dist/src/components/feedback/tooltip/NeonTooltip.vue.d.ts +2 -0
- package/dist/src/components/layout/card/NeonCard.d.ts +97 -0
- package/dist/src/components/layout/card/NeonCard.vue.d.ts +2 -0
- package/dist/src/components/layout/card/body/NeonCardBody.d.ts +23 -0
- package/dist/src/components/layout/card/body/NeonCardBody.vue.d.ts +2 -0
- package/dist/src/components/layout/card/footer/NeonCardFooter.d.ts +5 -0
- package/dist/src/components/layout/card/footer/NeonCardFooter.vue.d.ts +2 -0
- package/dist/src/components/layout/card/header/NeonCardHeader.d.ts +6 -0
- package/dist/src/components/layout/card/header/NeonCardHeader.vue.d.ts +2 -0
- package/dist/src/components/layout/drawer/NeonDrawer.d.ts +89 -0
- package/dist/src/components/layout/drawer/NeonDrawer.vue.d.ts +2 -0
- package/dist/src/components/layout/footer/NeonFooter.d.ts +5 -0
- package/dist/src/components/layout/footer/NeonFooter.vue.d.ts +2 -0
- package/dist/src/components/layout/grid/NeonGrid.d.ts +41 -0
- package/dist/src/components/layout/grid/NeonGrid.vue.d.ts +2 -0
- package/dist/src/components/layout/grid/grid-area/NeonGridArea.d.ts +21 -0
- package/dist/src/components/layout/grid/grid-area/NeonGridArea.vue.d.ts +2 -0
- package/dist/src/components/layout/modal/NeonModal.d.ts +72 -0
- package/dist/src/components/layout/modal/NeonModal.vue.d.ts +2 -0
- package/dist/src/components/layout/page/NeonPage.d.ts +6 -0
- package/dist/src/components/layout/page/NeonPage.vue.d.ts +2 -0
- package/dist/src/components/layout/side-nav/NeonSideNav.d.ts +26 -0
- package/dist/src/components/layout/side-nav/NeonSideNav.vue.d.ts +2 -0
- package/dist/src/components/layout/top-nav/NeonTopNav.d.ts +6 -0
- package/dist/src/components/layout/top-nav/NeonTopNav.vue.d.ts +2 -0
- package/dist/src/components/navigation/action-menu/NeonActionMenu.d.ts +57 -0
- package/dist/src/components/navigation/action-menu/NeonActionMenu.vue.d.ts +2 -0
- package/dist/src/components/navigation/anchor/NeonAnchor.d.ts +23 -0
- package/dist/src/components/navigation/anchor/NeonAnchor.vue.d.ts +2 -0
- package/dist/src/components/navigation/dropdown-menu/NeonDropdownMenu.d.ts +109 -0
- package/dist/src/components/navigation/dropdown-menu/NeonDropdownMenu.vue.d.ts +2 -0
- package/dist/src/components/navigation/link/NeonLink.d.ts +81 -0
- package/dist/src/components/navigation/link/NeonLink.vue.d.ts +2 -0
- package/dist/src/components/navigation/menu/NeonMenu.d.ts +107 -0
- package/dist/src/components/navigation/menu/NeonMenu.vue.d.ts +2 -0
- package/dist/src/components/navigation/menu/NeonPriorityMenuItem.d.ts +5 -0
- package/dist/src/components/navigation/stepper/NeonStepper.d.ts +74 -0
- package/dist/src/components/navigation/stepper/NeonStepper.vue.d.ts +2 -0
- package/dist/src/components/navigation/tree-menu/NeonTreeMenu.d.ts +47 -0
- package/dist/src/components/navigation/tree-menu/NeonTreeMenu.vue.d.ts +2 -0
- package/dist/src/components/presentation/badge/NeonBadge.d.ts +145 -0
- package/dist/src/components/presentation/badge/NeonBadge.vue.d.ts +2 -0
- package/dist/src/components/presentation/dropdown/NeonDropdown.d.ts +260 -0
- package/dist/src/components/presentation/dropdown/NeonDropdown.vue.d.ts +2 -0
- package/dist/src/components/presentation/expansion-indicator/NeonExpansionIndicator.d.ts +70 -0
- package/dist/src/components/presentation/expansion-indicator/NeonExpansionIndicator.vue.d.ts +2 -0
- package/dist/src/components/presentation/expansion-panel/NeonExpansionPanel.d.ts +153 -0
- package/dist/src/components/presentation/expansion-panel/NeonExpansionPanel.vue.d.ts +2 -0
- package/dist/src/components/presentation/icon/NeonIcon.d.ts +86 -0
- package/dist/src/components/presentation/icon/NeonIcon.vue.d.ts +2 -0
- package/dist/src/components/presentation/label/NeonLabel.d.ts +100 -0
- package/dist/src/components/presentation/label/NeonLabel.vue.d.ts +2 -0
- package/dist/src/components/presentation/tabs/NeonTabs.d.ts +88 -0
- package/dist/src/components/presentation/tabs/NeonTabs.vue.d.ts +2 -0
- package/dist/src/components/presentation/tabs/tab/NeonTab.d.ts +54 -0
- package/dist/src/components/presentation/tabs/tab/NeonTab.vue.d.ts +2 -0
- package/dist/src/components/user-input/button/NeonButton.d.ts +293 -0
- package/dist/src/components/user-input/button/NeonButton.vue.d.ts +2 -0
- package/dist/src/components/user-input/chip/NeonChip.d.ts +123 -0
- package/dist/src/components/user-input/chip/NeonChip.vue.d.ts +2 -0
- package/dist/src/components/user-input/color/NeonColor.d.ts +112 -0
- package/dist/src/components/user-input/color/NeonColor.vue.d.ts +2 -0
- package/dist/src/components/user-input/date-picker/NeonDatePicker.d.ts +378 -0
- package/dist/src/components/user-input/date-picker/NeonDatePicker.vue.d.ts +2 -0
- package/dist/src/components/user-input/drop-zone/NeonDropZone.d.ts +59 -0
- package/dist/src/components/user-input/drop-zone/NeonDropZone.vue.d.ts +2 -0
- package/dist/src/components/user-input/field/NeonField.d.ts +114 -0
- package/dist/src/components/user-input/field/NeonField.vue.d.ts +2 -0
- package/dist/src/components/user-input/field-group/NeonFieldGroup.d.ts +5 -0
- package/dist/src/components/user-input/field-group/NeonFieldGroup.vue.d.ts +2 -0
- package/dist/src/components/user-input/file/NeonFile.d.ts +190 -0
- package/dist/src/components/user-input/file/NeonFile.vue.d.ts +2 -0
- package/dist/src/components/user-input/filter-list/NeonFilterList.d.ts +145 -0
- package/dist/src/components/user-input/filter-list/NeonFilterList.vue.d.ts +2 -0
- package/dist/src/components/user-input/input/NeonInput.d.ts +296 -0
- package/dist/src/components/user-input/input/NeonInput.vue.d.ts +2 -0
- package/dist/src/components/user-input/input-indicator/NeonInputIndicator.d.ts +55 -0
- package/dist/src/components/user-input/input-indicator/NeonInputIndicator.vue.d.ts +2 -0
- package/dist/src/components/user-input/list/NeonList.d.ts +76 -0
- package/dist/src/components/user-input/list/NeonList.vue.d.ts +2 -0
- package/dist/src/components/user-input/number/NeonNumber.d.ts +285 -0
- package/dist/src/components/user-input/number/NeonNumber.vue.d.ts +2 -0
- package/dist/src/components/user-input/password/NeonPassword.d.ts +17 -0
- package/dist/src/components/user-input/password/NeonPassword.vue.d.ts +2 -0
- package/dist/src/components/user-input/range-slider/NeonRangeSlider.d.ts +269 -0
- package/dist/src/components/user-input/range-slider/NeonRangeSlider.vue.d.ts +2 -0
- package/dist/src/components/user-input/search/NeonSearch.d.ts +139 -0
- package/dist/src/components/user-input/search/NeonSearch.vue.d.ts +2 -0
- package/dist/src/components/user-input/select/NeonSelect.d.ts +207 -0
- package/dist/src/components/user-input/select/NeonSelect.vue.d.ts +2 -0
- package/dist/src/components/user-input/selectable-card/NeonSelectableCard.d.ts +79 -0
- package/dist/src/components/user-input/selectable-card/NeonSelectableCard.vue.d.ts +2 -0
- package/dist/src/components/user-input/slider/NeonSlider.d.ts +281 -0
- package/dist/src/components/user-input/slider/NeonSlider.vue.d.ts +2 -0
- package/dist/src/components/user-input/switch/NeonSwitch.d.ts +143 -0
- package/dist/src/components/user-input/switch/NeonSwitch.vue.d.ts +2 -0
- package/dist/src/components/user-input/toggle/NeonToggle.d.ts +138 -0
- package/dist/src/components/user-input/toggle/NeonToggle.vue.d.ts +2 -0
- package/dist/src/components/user-input/toggle-chip/NeonToggleChip.d.ts +110 -0
- package/dist/src/components/user-input/toggle-chip/NeonToggleChip.vue.d.ts +2 -0
- package/dist/src/neon.d.ts +124 -0
- package/package.json +8 -5
- package/src/sass/components/_button.scss +4 -8
- package/src/sass/components/_top-nav.scss +0 -1
- package/src/sass/variables.scss +2 -2
- package/dist/components/user-input/button/NeonButton.ts_vue_type_script_src_32308d32_lang.cjs.js +0 -2
- package/dist/components/user-input/button/NeonButton.ts_vue_type_script_src_32308d32_lang.cjs.js.map +0 -1
- package/dist/components/user-input/button/NeonButton.ts_vue_type_script_src_32308d32_lang.es.js.map +0 -1
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
import { NeonDropdownPlacement } from '@/common/enums/NeonDropdownPlacement';
|
|
2
|
+
import { NeonSize } from '@/common/enums/NeonSize';
|
|
3
|
+
import { NeonFunctionalColor } from '@/common/enums/NeonFunctionalColor';
|
|
4
|
+
import { NeonDropdownStyle } from '@/common/enums/NeonDropdownStyle';
|
|
5
|
+
/**
|
|
6
|
+
* <p>A general purpose dropdown component. This component consists of a button, to trigger the dropdown to open, and
|
|
7
|
+
* the dropdown content which is displayed above the page when the user clicks the button.</p>
|
|
8
|
+
* <p>This can be useful for secondary (perhaps more complex) actions for which there is not enough space on the page or
|
|
9
|
+
* the action is asynchronous allowing the user to perform the action and continue what they were doing. Examples are
|
|
10
|
+
* providing links to copy and letting the user send feedback.</p>
|
|
11
|
+
* <p><strong>NeonDropdown</strong> is the basis for the <strong>NeonDropdownMenu</strong> component and the
|
|
12
|
+
* <strong>NeonSelect</strong> form component.</p>
|
|
13
|
+
*/
|
|
14
|
+
declare const _default: import("vue").DefineComponent<{
|
|
15
|
+
/**
|
|
16
|
+
* Id for the dropdown button.
|
|
17
|
+
*/
|
|
18
|
+
id: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Whether the dropdown is currently open.
|
|
23
|
+
*/
|
|
24
|
+
modelValue: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* The label for the dropdown button.
|
|
30
|
+
*/
|
|
31
|
+
label: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: null;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* URL of image to display if the button style is a square or circular badge.
|
|
37
|
+
*/
|
|
38
|
+
image: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: null;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Badge image ALT text.
|
|
44
|
+
*/
|
|
45
|
+
imageAlt: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: null;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* An icon to display on the dropdown button. This will be to the left of any label, but can also be used on its own.
|
|
51
|
+
*/
|
|
52
|
+
icon: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: null;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Show the dropdown button's indicator (chevron).
|
|
58
|
+
*/
|
|
59
|
+
indicator: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Disable the dropdown button
|
|
65
|
+
*/
|
|
66
|
+
disabled: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* The size of the dropdown button - Small, Medium or Large.
|
|
72
|
+
*/
|
|
73
|
+
size: {
|
|
74
|
+
type: () => NeonSize;
|
|
75
|
+
default: NeonSize;
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* The color of the dropdown button
|
|
79
|
+
*/
|
|
80
|
+
color: {
|
|
81
|
+
type: () => NeonFunctionalColor;
|
|
82
|
+
default: NeonFunctionalColor;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* The alternate color of the dropdown button (for gradient buttons).
|
|
86
|
+
*/
|
|
87
|
+
alternateColor: {
|
|
88
|
+
type: () => NeonFunctionalColor;
|
|
89
|
+
default: null;
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* The style of the dropdown button
|
|
93
|
+
*/
|
|
94
|
+
dropdownStyle: {
|
|
95
|
+
type: () => NeonDropdownStyle;
|
|
96
|
+
default: NeonDropdownStyle;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* Placement of the dropdown contents.
|
|
100
|
+
*/
|
|
101
|
+
placement: {
|
|
102
|
+
type: () => NeonDropdownPlacement;
|
|
103
|
+
default: NeonDropdownPlacement;
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* Restrict placement to within this container.
|
|
107
|
+
*/
|
|
108
|
+
placementContainer: {
|
|
109
|
+
type: () => HTMLElement;
|
|
110
|
+
default: null;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* Instead of opening on click (default), open on hover.
|
|
114
|
+
*/
|
|
115
|
+
openOnHover: {
|
|
116
|
+
type: BooleanConstructor;
|
|
117
|
+
default: boolean;
|
|
118
|
+
};
|
|
119
|
+
}, {
|
|
120
|
+
dropdownButton: import("vue").Ref<HTMLElement | null>;
|
|
121
|
+
dropdownContent: import("vue").Ref<HTMLDivElement | null>;
|
|
122
|
+
dropdownPlacement: import("vue").Ref<NeonDropdownPlacement>;
|
|
123
|
+
closableUtils: import("vue").Ref<{
|
|
124
|
+
open: () => void;
|
|
125
|
+
destroy: () => void;
|
|
126
|
+
escapeKeyListener: (event: KeyboardEvent) => void;
|
|
127
|
+
close: () => void;
|
|
128
|
+
} | null>;
|
|
129
|
+
onClose: () => void;
|
|
130
|
+
close: () => void;
|
|
131
|
+
toggleOpen: () => void;
|
|
132
|
+
onBlur: () => void;
|
|
133
|
+
onFocus: () => void;
|
|
134
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "focus" | "blur" | "dropdown-placement" | "button-ref")[], "update:modelValue" | "focus" | "blur" | "dropdown-placement" | "button-ref", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
135
|
+
/**
|
|
136
|
+
* Id for the dropdown button.
|
|
137
|
+
*/
|
|
138
|
+
id: {
|
|
139
|
+
type: StringConstructor;
|
|
140
|
+
};
|
|
141
|
+
/**
|
|
142
|
+
* Whether the dropdown is currently open.
|
|
143
|
+
*/
|
|
144
|
+
modelValue: {
|
|
145
|
+
type: BooleanConstructor;
|
|
146
|
+
required: true;
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* The label for the dropdown button.
|
|
150
|
+
*/
|
|
151
|
+
label: {
|
|
152
|
+
type: StringConstructor;
|
|
153
|
+
default: null;
|
|
154
|
+
};
|
|
155
|
+
/**
|
|
156
|
+
* URL of image to display if the button style is a square or circular badge.
|
|
157
|
+
*/
|
|
158
|
+
image: {
|
|
159
|
+
type: StringConstructor;
|
|
160
|
+
default: null;
|
|
161
|
+
};
|
|
162
|
+
/**
|
|
163
|
+
* Badge image ALT text.
|
|
164
|
+
*/
|
|
165
|
+
imageAlt: {
|
|
166
|
+
type: StringConstructor;
|
|
167
|
+
default: null;
|
|
168
|
+
};
|
|
169
|
+
/**
|
|
170
|
+
* An icon to display on the dropdown button. This will be to the left of any label, but can also be used on its own.
|
|
171
|
+
*/
|
|
172
|
+
icon: {
|
|
173
|
+
type: StringConstructor;
|
|
174
|
+
default: null;
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* Show the dropdown button's indicator (chevron).
|
|
178
|
+
*/
|
|
179
|
+
indicator: {
|
|
180
|
+
type: BooleanConstructor;
|
|
181
|
+
default: boolean;
|
|
182
|
+
};
|
|
183
|
+
/**
|
|
184
|
+
* Disable the dropdown button
|
|
185
|
+
*/
|
|
186
|
+
disabled: {
|
|
187
|
+
type: BooleanConstructor;
|
|
188
|
+
default: boolean;
|
|
189
|
+
};
|
|
190
|
+
/**
|
|
191
|
+
* The size of the dropdown button - Small, Medium or Large.
|
|
192
|
+
*/
|
|
193
|
+
size: {
|
|
194
|
+
type: () => NeonSize;
|
|
195
|
+
default: NeonSize;
|
|
196
|
+
};
|
|
197
|
+
/**
|
|
198
|
+
* The color of the dropdown button
|
|
199
|
+
*/
|
|
200
|
+
color: {
|
|
201
|
+
type: () => NeonFunctionalColor;
|
|
202
|
+
default: NeonFunctionalColor;
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
* The alternate color of the dropdown button (for gradient buttons).
|
|
206
|
+
*/
|
|
207
|
+
alternateColor: {
|
|
208
|
+
type: () => NeonFunctionalColor;
|
|
209
|
+
default: null;
|
|
210
|
+
};
|
|
211
|
+
/**
|
|
212
|
+
* The style of the dropdown button
|
|
213
|
+
*/
|
|
214
|
+
dropdownStyle: {
|
|
215
|
+
type: () => NeonDropdownStyle;
|
|
216
|
+
default: NeonDropdownStyle;
|
|
217
|
+
};
|
|
218
|
+
/**
|
|
219
|
+
* Placement of the dropdown contents.
|
|
220
|
+
*/
|
|
221
|
+
placement: {
|
|
222
|
+
type: () => NeonDropdownPlacement;
|
|
223
|
+
default: NeonDropdownPlacement;
|
|
224
|
+
};
|
|
225
|
+
/**
|
|
226
|
+
* Restrict placement to within this container.
|
|
227
|
+
*/
|
|
228
|
+
placementContainer: {
|
|
229
|
+
type: () => HTMLElement;
|
|
230
|
+
default: null;
|
|
231
|
+
};
|
|
232
|
+
/**
|
|
233
|
+
* Instead of opening on click (default), open on hover.
|
|
234
|
+
*/
|
|
235
|
+
openOnHover: {
|
|
236
|
+
type: BooleanConstructor;
|
|
237
|
+
default: boolean;
|
|
238
|
+
};
|
|
239
|
+
}>> & {
|
|
240
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
241
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
242
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
243
|
+
"onDropdown-placement"?: ((...args: any[]) => any) | undefined;
|
|
244
|
+
"onButton-ref"?: ((...args: any[]) => any) | undefined;
|
|
245
|
+
}, {
|
|
246
|
+
label: string;
|
|
247
|
+
image: string;
|
|
248
|
+
color: NeonFunctionalColor;
|
|
249
|
+
icon: string;
|
|
250
|
+
disabled: boolean;
|
|
251
|
+
placement: NeonDropdownPlacement;
|
|
252
|
+
size: NeonSize;
|
|
253
|
+
alternateColor: NeonFunctionalColor;
|
|
254
|
+
imageAlt: string;
|
|
255
|
+
indicator: boolean;
|
|
256
|
+
dropdownStyle: NeonDropdownStyle;
|
|
257
|
+
placementContainer: HTMLElement;
|
|
258
|
+
openOnHover: boolean;
|
|
259
|
+
}>;
|
|
260
|
+
export default _default;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import type { NeonFunctionalColor } from '@/common/enums/NeonFunctionalColor';
|
|
2
|
+
/**
|
|
3
|
+
* Custom animated chevron component which is used in dropdowns and expansion panels. This may be useful in creating
|
|
4
|
+
* higher level components but is unlikely to be used on its own.
|
|
5
|
+
*/
|
|
6
|
+
declare const _default: import("vue").DefineComponent<{
|
|
7
|
+
/**
|
|
8
|
+
* Whether the chevron is <em>open</em>.
|
|
9
|
+
*/
|
|
10
|
+
expanded: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Display the expansion indicator in the inverse text color
|
|
16
|
+
*/
|
|
17
|
+
inverse: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Display the expansion indicator in the disabled color
|
|
23
|
+
*/
|
|
24
|
+
disabled: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* The color of the chevron.
|
|
30
|
+
*/
|
|
31
|
+
color: {
|
|
32
|
+
type: () => NeonFunctionalColor;
|
|
33
|
+
default: null;
|
|
34
|
+
};
|
|
35
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
|
+
/**
|
|
37
|
+
* Whether the chevron is <em>open</em>.
|
|
38
|
+
*/
|
|
39
|
+
expanded: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Display the expansion indicator in the inverse text color
|
|
45
|
+
*/
|
|
46
|
+
inverse: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Display the expansion indicator in the disabled color
|
|
52
|
+
*/
|
|
53
|
+
disabled: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* The color of the chevron.
|
|
59
|
+
*/
|
|
60
|
+
color: {
|
|
61
|
+
type: () => NeonFunctionalColor;
|
|
62
|
+
default: null;
|
|
63
|
+
};
|
|
64
|
+
}>>, {
|
|
65
|
+
color: NeonFunctionalColor;
|
|
66
|
+
inverse: boolean;
|
|
67
|
+
disabled: boolean;
|
|
68
|
+
expanded: boolean;
|
|
69
|
+
}>;
|
|
70
|
+
export default _default;
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { NeonVerticalPosition } from '@/common/enums/NeonVerticalPosition';
|
|
2
|
+
import { NeonSize } from '@/common/enums/NeonSize';
|
|
3
|
+
import { NeonFunctionalColor } from '@/common/enums/NeonFunctionalColor';
|
|
4
|
+
/**
|
|
5
|
+
* <p>Expansion panels are used to show and hide content that may be less important or too large to display on screen
|
|
6
|
+
* all the time. They can also be used to expand lists of items, e.g. <em>Show more</em>. The expansion panel consists
|
|
7
|
+
* of a button which, when clicked, toggles the open/closed state of the expansion panel and a slot for the content to
|
|
8
|
+
* display on expansion.</p>
|
|
9
|
+
*/
|
|
10
|
+
declare const _default: import("vue").DefineComponent<{
|
|
11
|
+
/**
|
|
12
|
+
* A boolean indicating whether the expansion panel is expanded.
|
|
13
|
+
*/
|
|
14
|
+
modelValue: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* The label of the expansion button
|
|
20
|
+
*/
|
|
21
|
+
label: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Provide an id to support aria-controls. The id will be placed on the expansion panel content wrapper and the
|
|
27
|
+
* aria-controls on the header (triggering the expansion).
|
|
28
|
+
*/
|
|
29
|
+
id: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: null;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* An icon to display to the left of the label
|
|
35
|
+
*/
|
|
36
|
+
icon: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: null;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* The position of the expansion button. This can be located above the content to expand or below it.
|
|
42
|
+
*/
|
|
43
|
+
position: {
|
|
44
|
+
type: () => NeonVerticalPosition;
|
|
45
|
+
default: NeonVerticalPosition;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* The size of the expansion panel button.
|
|
49
|
+
*/
|
|
50
|
+
size: {
|
|
51
|
+
type: () => NeonSize;
|
|
52
|
+
default: NeonSize;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* The color of the expansion panel button.
|
|
56
|
+
*/
|
|
57
|
+
color: {
|
|
58
|
+
type: () => NeonFunctionalColor;
|
|
59
|
+
default: NeonFunctionalColor;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Whether the label and expansion indicator should be flush with the width of the container.
|
|
63
|
+
*/
|
|
64
|
+
fullWidth: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* The disabled state of the expansion panel
|
|
70
|
+
*/
|
|
71
|
+
disabled: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
|
+
}, {
|
|
76
|
+
toggleExpanded: () => void;
|
|
77
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
78
|
+
/**
|
|
79
|
+
* A boolean indicating whether the expansion panel is expanded.
|
|
80
|
+
*/
|
|
81
|
+
modelValue: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
required: true;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* The label of the expansion button
|
|
87
|
+
*/
|
|
88
|
+
label: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
required: true;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Provide an id to support aria-controls. The id will be placed on the expansion panel content wrapper and the
|
|
94
|
+
* aria-controls on the header (triggering the expansion).
|
|
95
|
+
*/
|
|
96
|
+
id: {
|
|
97
|
+
type: StringConstructor;
|
|
98
|
+
default: null;
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* An icon to display to the left of the label
|
|
102
|
+
*/
|
|
103
|
+
icon: {
|
|
104
|
+
type: StringConstructor;
|
|
105
|
+
default: null;
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* The position of the expansion button. This can be located above the content to expand or below it.
|
|
109
|
+
*/
|
|
110
|
+
position: {
|
|
111
|
+
type: () => NeonVerticalPosition;
|
|
112
|
+
default: NeonVerticalPosition;
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* The size of the expansion panel button.
|
|
116
|
+
*/
|
|
117
|
+
size: {
|
|
118
|
+
type: () => NeonSize;
|
|
119
|
+
default: NeonSize;
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* The color of the expansion panel button.
|
|
123
|
+
*/
|
|
124
|
+
color: {
|
|
125
|
+
type: () => NeonFunctionalColor;
|
|
126
|
+
default: NeonFunctionalColor;
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* Whether the label and expansion indicator should be flush with the width of the container.
|
|
130
|
+
*/
|
|
131
|
+
fullWidth: {
|
|
132
|
+
type: BooleanConstructor;
|
|
133
|
+
default: boolean;
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* The disabled state of the expansion panel
|
|
137
|
+
*/
|
|
138
|
+
disabled: {
|
|
139
|
+
type: BooleanConstructor;
|
|
140
|
+
default: boolean;
|
|
141
|
+
};
|
|
142
|
+
}>> & {
|
|
143
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
144
|
+
}, {
|
|
145
|
+
color: NeonFunctionalColor;
|
|
146
|
+
icon: string;
|
|
147
|
+
disabled: boolean;
|
|
148
|
+
id: string;
|
|
149
|
+
size: NeonSize;
|
|
150
|
+
fullWidth: boolean;
|
|
151
|
+
position: NeonVerticalPosition;
|
|
152
|
+
}>;
|
|
153
|
+
export default _default;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { NeonFunctionalColor } from '@/common/enums/NeonFunctionalColor';
|
|
2
|
+
/**
|
|
3
|
+
* <p>A component for rendering SVG images. These images are generally, but not limited to, <em>icons</em>. This
|
|
4
|
+
* component can render any SVG of any size. Size is not restricted in the NeonIcon component but rather in the
|
|
5
|
+
* components using the icons. Generally, when talking about icons, this component is only used to build other
|
|
6
|
+
* components. But you may also find it useful for rendering SVG images, e.g. illustrations.</p>
|
|
7
|
+
*
|
|
8
|
+
* <p>There is an icon registry where strings containing SVGs can be registered with a name and that name can be used
|
|
9
|
+
* with the NeonIcon component to render the image. Use the classes <em>neon-svg-fill</em> and <em>neon-svg--stroke</em>
|
|
10
|
+
* in the SVG elements to automatically apply the functional colors.</p>
|
|
11
|
+
*
|
|
12
|
+
* <p>This provides the advantage of only registering the icons you actually need, dynamically switching colors in
|
|
13
|
+
* Typescript/CSS without using a large icon font and not having to duplicate icon images to support multiple
|
|
14
|
+
* color variations (including light and dark modes).</p>
|
|
15
|
+
*
|
|
16
|
+
* For more detailed information please see <a href="/presentation/icon">Icons</a>.
|
|
17
|
+
*/
|
|
18
|
+
declare const _default: import("vue").DefineComponent<{
|
|
19
|
+
/**
|
|
20
|
+
* The name of an icon registered in the icon registry.
|
|
21
|
+
*/
|
|
22
|
+
name: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* The color to render the icon. By default, it will be the current text color (light text in dark mode or dark text in light mode).
|
|
28
|
+
*/
|
|
29
|
+
color: {
|
|
30
|
+
type: () => NeonFunctionalColor;
|
|
31
|
+
default: null;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Set the icon color to the inverse text color
|
|
35
|
+
*/
|
|
36
|
+
inverse: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Apply a disabled style to the icon
|
|
42
|
+
*/
|
|
43
|
+
disabled: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
}, {
|
|
48
|
+
attrs: {
|
|
49
|
+
[x: string]: unknown;
|
|
50
|
+
};
|
|
51
|
+
icon: import("vue").ComputedRef<string>;
|
|
52
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
53
|
+
/**
|
|
54
|
+
* The name of an icon registered in the icon registry.
|
|
55
|
+
*/
|
|
56
|
+
name: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
required: true;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* The color to render the icon. By default, it will be the current text color (light text in dark mode or dark text in light mode).
|
|
62
|
+
*/
|
|
63
|
+
color: {
|
|
64
|
+
type: () => NeonFunctionalColor;
|
|
65
|
+
default: null;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* Set the icon color to the inverse text color
|
|
69
|
+
*/
|
|
70
|
+
inverse: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Apply a disabled style to the icon
|
|
76
|
+
*/
|
|
77
|
+
disabled: {
|
|
78
|
+
type: BooleanConstructor;
|
|
79
|
+
default: boolean;
|
|
80
|
+
};
|
|
81
|
+
}>>, {
|
|
82
|
+
color: NeonFunctionalColor;
|
|
83
|
+
inverse: boolean;
|
|
84
|
+
disabled: boolean;
|
|
85
|
+
}>;
|
|
86
|
+
export default _default;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { NeonLabelSize } from '@/common/enums/NeonLabelSize';
|
|
2
|
+
import { NeonFunctionalColor } from '@/common/enums/NeonFunctionalColor';
|
|
3
|
+
import { NeonHorizontalPosition } from '@/common/enums/NeonHorizontalPosition';
|
|
4
|
+
/**
|
|
5
|
+
* Labels are used to tag or emphasize properties of an item in the UI. Labels can be text only, icon only or contain both text and icons.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: import("vue").DefineComponent<{
|
|
8
|
+
/**
|
|
9
|
+
* The label text
|
|
10
|
+
*/
|
|
11
|
+
label: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* The name of the optional label icon
|
|
17
|
+
*/
|
|
18
|
+
icon: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: null;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* The icon position if there is also text in the label. This is either left or right.
|
|
24
|
+
*/
|
|
25
|
+
iconPosition: {
|
|
26
|
+
type: () => NeonHorizontalPosition;
|
|
27
|
+
default: NeonHorizontalPosition;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* The label size
|
|
31
|
+
*/
|
|
32
|
+
size: {
|
|
33
|
+
type: () => NeonLabelSize;
|
|
34
|
+
default: NeonLabelSize;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* The label color
|
|
38
|
+
*/
|
|
39
|
+
color: {
|
|
40
|
+
type: () => NeonFunctionalColor;
|
|
41
|
+
default: NeonFunctionalColor;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Alternate color for creating gradient labels. NOTE: can also be the same color as 'color'.
|
|
45
|
+
*/
|
|
46
|
+
alternateColor: {
|
|
47
|
+
type: () => NeonFunctionalColor;
|
|
48
|
+
default: null;
|
|
49
|
+
};
|
|
50
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
51
|
+
/**
|
|
52
|
+
* The label text
|
|
53
|
+
*/
|
|
54
|
+
label: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
required: true;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* The name of the optional label icon
|
|
60
|
+
*/
|
|
61
|
+
icon: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
default: null;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* The icon position if there is also text in the label. This is either left or right.
|
|
67
|
+
*/
|
|
68
|
+
iconPosition: {
|
|
69
|
+
type: () => NeonHorizontalPosition;
|
|
70
|
+
default: NeonHorizontalPosition;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* The label size
|
|
74
|
+
*/
|
|
75
|
+
size: {
|
|
76
|
+
type: () => NeonLabelSize;
|
|
77
|
+
default: NeonLabelSize;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* The label color
|
|
81
|
+
*/
|
|
82
|
+
color: {
|
|
83
|
+
type: () => NeonFunctionalColor;
|
|
84
|
+
default: NeonFunctionalColor;
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* Alternate color for creating gradient labels. NOTE: can also be the same color as 'color'.
|
|
88
|
+
*/
|
|
89
|
+
alternateColor: {
|
|
90
|
+
type: () => NeonFunctionalColor;
|
|
91
|
+
default: null;
|
|
92
|
+
};
|
|
93
|
+
}>>, {
|
|
94
|
+
color: NeonFunctionalColor;
|
|
95
|
+
icon: string;
|
|
96
|
+
size: NeonLabelSize;
|
|
97
|
+
alternateColor: NeonFunctionalColor;
|
|
98
|
+
iconPosition: NeonHorizontalPosition;
|
|
99
|
+
}>;
|
|
100
|
+
export default _default;
|