jouw-stem__design-system 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/README.md +90 -0
- package/dist/css/fonts.css +4 -0
- package/dist/css/theme-dark.css +2535 -0
- package/dist/css/theme-high-contrast-solarized-dark.css +2540 -0
- package/dist/css/theme-high-contrast-solarized-light.css +2540 -0
- package/dist/css/theme-light.css +2535 -0
- package/dist/health/Accordion.json +22 -0
- package/dist/health/AutoComplete.json +22 -0
- package/dist/health/Badge.json +22 -0
- package/dist/health/BlockUI.json +22 -0
- package/dist/health/Breadcrumb.json +22 -0
- package/dist/health/ButtonPrimary.json +22 -0
- package/dist/health/Calendar.json +22 -0
- package/dist/health/Card.json +22 -0
- package/dist/health/Carousel.json +22 -0
- package/dist/health/Chart.json +22 -0
- package/dist/health/Chip.json +22 -0
- package/dist/health/ColorPicker.json +22 -0
- package/dist/health/ConfirmDialog.json +22 -0
- package/dist/health/ConfirmPopup.json +22 -0
- package/dist/health/ContextMenu.json +22 -0
- package/dist/health/DataTable.json +22 -0
- package/dist/health/DataView.json +22 -0
- package/dist/health/Dialog.json +22 -0
- package/dist/health/Divider.json +22 -0
- package/dist/health/Dock.json +22 -0
- package/dist/health/Drawer.json +22 -0
- package/dist/health/Dropdown.json +22 -0
- package/dist/health/DynamicDialog.json +22 -0
- package/dist/health/FieldSet.json +22 -0
- package/dist/health/FileUpload.json +22 -0
- package/dist/health/Galleria.json +22 -0
- package/dist/health/Image.json +22 -0
- package/dist/health/ImageCompare.json +22 -0
- package/dist/health/InPlace.json +22 -0
- package/dist/health/InlineMessage.json +22 -0
- package/dist/health/InputChips.json +22 -0
- package/dist/health/InputMask.json +22 -0
- package/dist/health/InputNumber.json +22 -0
- package/dist/health/InputOtp.json +22 -0
- package/dist/health/InputSwitch.json +22 -0
- package/dist/health/InputText.json +22 -0
- package/dist/health/Knob.json +22 -0
- package/dist/health/ListBox.json +22 -0
- package/dist/health/MegaMenu.json +22 -0
- package/dist/health/Menu.json +22 -0
- package/dist/health/MenuBar.json +22 -0
- package/dist/health/Message.json +22 -0
- package/dist/health/MeterGroup.json +22 -0
- package/dist/health/MultiSelect.json +22 -0
- package/dist/health/OrderList.json +22 -0
- package/dist/health/OrganizationChart.json +22 -0
- package/dist/health/OverlayPanel.json +22 -0
- package/dist/health/Paginator.json +22 -0
- package/dist/health/Panel.json +22 -0
- package/dist/health/PanelMenu.json +22 -0
- package/dist/health/PickList.json +22 -0
- package/dist/health/PopOver.json +22 -0
- package/dist/health/ProgressBar.json +22 -0
- package/dist/health/ProgressSpinner.json +22 -0
- package/dist/health/RadioButton.json +22 -0
- package/dist/health/Rating.json +22 -0
- package/dist/health/ScrollPanel.json +22 -0
- package/dist/health/Select.json +22 -0
- package/dist/health/SelectButton.json +22 -0
- package/dist/health/Sidebar.json +22 -0
- package/dist/health/Skeleton.json +22 -0
- package/dist/health/Slider.json +22 -0
- package/dist/health/SpeedDial.json +22 -0
- package/dist/health/SplitButton.json +22 -0
- package/dist/health/Splitter.json +22 -0
- package/dist/health/Steps.json +22 -0
- package/dist/health/TabMenu.json +22 -0
- package/dist/health/Tabs.json +22 -0
- package/dist/health/Textarea.json +22 -0
- package/dist/health/TieredMenu.json +22 -0
- package/dist/health/Timeline.json +22 -0
- package/dist/health/ToggleButton.json +22 -0
- package/dist/health/ToggleSwitch.json +22 -0
- package/dist/health/Toolbar.json +22 -0
- package/dist/health/Tree.json +22 -0
- package/dist/health/TreeSelect.json +22 -0
- package/dist/health/TreeTable.json +22 -0
- package/dist/health/VirtualScroller.json +22 -0
- package/dist/health-report.json +1410 -0
- package/dist/manifest.json +7072 -0
- package/dist/scss/_tokens.scss +2769 -0
- package/dist/test/Accordion.json +26 -0
- package/dist/test/AutoComplete.json +25 -0
- package/dist/test/Badge.json +26 -0
- package/dist/test/BlockUI.json +26 -0
- package/dist/test/Breadcrumb.json +26 -0
- package/dist/test/ButtonPrimary.json +25 -0
- package/dist/test/Calendar.json +26 -0
- package/dist/test/Card.json +26 -0
- package/dist/test/Carousel.json +26 -0
- package/dist/test/Chart.json +26 -0
- package/dist/test/Chip.json +26 -0
- package/dist/test/ColorPicker.json +25 -0
- package/dist/test/ConfirmDialog.json +26 -0
- package/dist/test/ConfirmPopup.json +26 -0
- package/dist/test/ContextMenu.json +25 -0
- package/dist/test/DataTable.json +26 -0
- package/dist/test/DataView.json +26 -0
- package/dist/test/Dialog.json +26 -0
- package/dist/test/Divider.json +26 -0
- package/dist/test/Dock.json +26 -0
- package/dist/test/Drawer.json +26 -0
- package/dist/test/Dropdown.json +26 -0
- package/dist/test/DynamicDialog.json +25 -0
- package/dist/test/FieldSet.json +25 -0
- package/dist/test/FileUpload.json +26 -0
- package/dist/test/Galleria.json +26 -0
- package/dist/test/Image.json +26 -0
- package/dist/test/ImageCompare.json +26 -0
- package/dist/test/InPlace.json +26 -0
- package/dist/test/InlineMessage.json +26 -0
- package/dist/test/InputChips.json +25 -0
- package/dist/test/InputMask.json +25 -0
- package/dist/test/InputNumber.json +25 -0
- package/dist/test/InputOtp.json +25 -0
- package/dist/test/InputSwitch.json +25 -0
- package/dist/test/InputText.json +25 -0
- package/dist/test/Knob.json +26 -0
- package/dist/test/ListBox.json +25 -0
- package/dist/test/MegaMenu.json +26 -0
- package/dist/test/Menu.json +26 -0
- package/dist/test/MenuBar.json +25 -0
- package/dist/test/Message.json +26 -0
- package/dist/test/MeterGroup.json +26 -0
- package/dist/test/MultiSelect.json +25 -0
- package/dist/test/OrderList.json +25 -0
- package/dist/test/OrganizationChart.json +26 -0
- package/dist/test/OverlayPanel.json +25 -0
- package/dist/test/Paginator.json +26 -0
- package/dist/test/Panel.json +26 -0
- package/dist/test/PanelMenu.json +25 -0
- package/dist/test/PickList.json +25 -0
- package/dist/test/PopOver.json +25 -0
- package/dist/test/ProgressBar.json +26 -0
- package/dist/test/ProgressSpinner.json +26 -0
- package/dist/test/RadioButton.json +26 -0
- package/dist/test/Rating.json +26 -0
- package/dist/test/ScrollPanel.json +26 -0
- package/dist/test/Select.json +26 -0
- package/dist/test/SelectButton.json +26 -0
- package/dist/test/Sidebar.json +26 -0
- package/dist/test/Skeleton.json +26 -0
- package/dist/test/Slider.json +26 -0
- package/dist/test/SpeedDial.json +26 -0
- package/dist/test/SplitButton.json +26 -0
- package/dist/test/Splitter.json +26 -0
- package/dist/test/Steps.json +26 -0
- package/dist/test/TabMenu.json +25 -0
- package/dist/test/Tabs.json +26 -0
- package/dist/test/Textarea.json +26 -0
- package/dist/test/TieredMenu.json +26 -0
- package/dist/test/Timeline.json +26 -0
- package/dist/test/ToggleButton.json +26 -0
- package/dist/test/ToggleSwitch.json +26 -0
- package/dist/test/Toolbar.json +26 -0
- package/dist/test/Tree.json +26 -0
- package/dist/test/TreeSelect.json +26 -0
- package/dist/test/TreeTable.json +25 -0
- package/dist/test/VirtualScroller.json +25 -0
- package/dist/token-refs.json +11031 -0
- package/dist/ts/tokens.ts +2675 -0
- package/package.json +83 -0
- package/src/components/Accordion/Accordion.matrix.ts +28 -0
- package/src/components/Accordion/Accordion.scss +120 -0
- package/src/components/Accordion/Accordion.tokens.theme-dark.json +127 -0
- package/src/components/Accordion/Accordion.tokens.theme-high-contrast-solarized-dark.json +127 -0
- package/src/components/Accordion/Accordion.tokens.theme-high-contrast-solarized-light.json +127 -0
- package/src/components/Accordion/Accordion.tokens.theme-light.json +127 -0
- package/src/components/Accordion/Accordion.vue +117 -0
- package/src/components/Accordion/AccordionTab.vue +88 -0
- package/src/components/AppFooter/AppFooter.matrix.ts +17 -0
- package/src/components/AppFooter/AppFooter.scss +68 -0
- package/src/components/AppFooter/AppFooter.tokens.theme-dark.json +25 -0
- package/src/components/AppFooter/AppFooter.tokens.theme-high-contrast-solarized-dark.json +25 -0
- package/src/components/AppFooter/AppFooter.tokens.theme-high-contrast-solarized-light.json +25 -0
- package/src/components/AppFooter/AppFooter.tokens.theme-light.json +25 -0
- package/src/components/AppFooter/AppFooter.vue +56 -0
- package/src/components/AppHeader/AppHeader.matrix.ts +17 -0
- package/src/components/AppHeader/AppHeader.scss +238 -0
- package/src/components/AppHeader/AppHeader.tokens.theme-dark.json +51 -0
- package/src/components/AppHeader/AppHeader.tokens.theme-high-contrast-solarized-dark.json +51 -0
- package/src/components/AppHeader/AppHeader.tokens.theme-high-contrast-solarized-light.json +51 -0
- package/src/components/AppHeader/AppHeader.tokens.theme-light.json +51 -0
- package/src/components/AppHeader/AppHeader.vue +160 -0
- package/src/components/AutoComplete/AutoComplete.matrix.ts +36 -0
- package/src/components/AutoComplete/AutoComplete.scss +289 -0
- package/src/components/AutoComplete/AutoComplete.tokens.theme-dark.json +238 -0
- package/src/components/AutoComplete/AutoComplete.tokens.theme-high-contrast-solarized-dark.json +240 -0
- package/src/components/AutoComplete/AutoComplete.tokens.theme-high-contrast-solarized-light.json +240 -0
- package/src/components/AutoComplete/AutoComplete.tokens.theme-light.json +238 -0
- package/src/components/AutoComplete/AutoComplete.vue +404 -0
- package/src/components/Avatar/Avatar.matrix.ts +47 -0
- package/src/components/Avatar/Avatar.scss +191 -0
- package/src/components/Avatar/Avatar.tokens.theme-dark.json +220 -0
- package/src/components/Avatar/Avatar.tokens.theme-high-contrast-solarized-dark.json +224 -0
- package/src/components/Avatar/Avatar.tokens.theme-high-contrast-solarized-light.json +224 -0
- package/src/components/Avatar/Avatar.tokens.theme-light.json +220 -0
- package/src/components/Avatar/Avatar.vue +50 -0
- package/src/components/Badge/Badge.matrix.ts +38 -0
- package/src/components/Badge/Badge.scss +84 -0
- package/src/components/Badge/Badge.tokens.theme-dark.json +119 -0
- package/src/components/Badge/Badge.tokens.theme-high-contrast-solarized-dark.json +119 -0
- package/src/components/Badge/Badge.tokens.theme-high-contrast-solarized-light.json +119 -0
- package/src/components/Badge/Badge.tokens.theme-light.json +119 -0
- package/src/components/Badge/Badge.vue +43 -0
- package/src/components/BlockUI/BlockUI.matrix.ts +14 -0
- package/src/components/BlockUI/BlockUI.scss +85 -0
- package/src/components/BlockUI/BlockUI.tokens.theme-dark.json +40 -0
- package/src/components/BlockUI/BlockUI.tokens.theme-high-contrast-solarized-dark.json +40 -0
- package/src/components/BlockUI/BlockUI.tokens.theme-high-contrast-solarized-light.json +40 -0
- package/src/components/BlockUI/BlockUI.tokens.theme-light.json +40 -0
- package/src/components/BlockUI/BlockUI.vue +96 -0
- package/src/components/Breadcrumb/Breadcrumb.matrix.ts +10 -0
- package/src/components/Breadcrumb/Breadcrumb.scss +87 -0
- package/src/components/Breadcrumb/Breadcrumb.tokens.theme-dark.json +57 -0
- package/src/components/Breadcrumb/Breadcrumb.tokens.theme-high-contrast-solarized-dark.json +57 -0
- package/src/components/Breadcrumb/Breadcrumb.tokens.theme-high-contrast-solarized-light.json +57 -0
- package/src/components/Breadcrumb/Breadcrumb.tokens.theme-light.json +57 -0
- package/src/components/Breadcrumb/Breadcrumb.vue +143 -0
- package/src/components/ButtonBase/ButtonBase.scss +136 -0
- package/src/components/ButtonBase/ButtonBase.tokens.theme-dark.json +165 -0
- package/src/components/ButtonBase/ButtonBase.tokens.theme-high-contrast-solarized-dark.json +165 -0
- package/src/components/ButtonBase/ButtonBase.tokens.theme-high-contrast-solarized-light.json +165 -0
- package/src/components/ButtonBase/ButtonBase.tokens.theme-light.json +165 -0
- package/src/components/ButtonBase/ButtonBase.vue +96 -0
- package/src/components/ButtonOutlined/ButtonOutlined.matrix.ts +42 -0
- package/src/components/ButtonOutlined/ButtonOutlined.scss +29 -0
- package/src/components/ButtonOutlined/ButtonOutlined.tokens.theme-dark.json +60 -0
- package/src/components/ButtonOutlined/ButtonOutlined.tokens.theme-high-contrast-solarized-dark.json +60 -0
- package/src/components/ButtonOutlined/ButtonOutlined.tokens.theme-high-contrast-solarized-light.json +60 -0
- package/src/components/ButtonOutlined/ButtonOutlined.tokens.theme-light.json +60 -0
- package/src/components/ButtonOutlined/ButtonOutlined.vue +15 -0
- package/src/components/ButtonPrimary/ButtonPrimary.matrix.ts +42 -0
- package/src/components/ButtonPrimary/ButtonPrimary.scss +33 -0
- package/src/components/ButtonPrimary/ButtonPrimary.tokens.theme-dark.json +20 -0
- package/src/components/ButtonPrimary/ButtonPrimary.tokens.theme-high-contrast-solarized-dark.json +20 -0
- package/src/components/ButtonPrimary/ButtonPrimary.tokens.theme-high-contrast-solarized-light.json +20 -0
- package/src/components/ButtonPrimary/ButtonPrimary.tokens.theme-light.json +20 -0
- package/src/components/ButtonPrimary/ButtonPrimary.vue +15 -0
- package/src/components/ButtonSecondary/ButtonSecondary.matrix.ts +42 -0
- package/src/components/ButtonSecondary/ButtonSecondary.scss +59 -0
- package/src/components/ButtonSecondary/ButtonSecondary.tokens.theme-dark.json +60 -0
- package/src/components/ButtonSecondary/ButtonSecondary.tokens.theme-high-contrast-solarized-dark.json +60 -0
- package/src/components/ButtonSecondary/ButtonSecondary.tokens.theme-high-contrast-solarized-light.json +60 -0
- package/src/components/ButtonSecondary/ButtonSecondary.tokens.theme-light.json +60 -0
- package/src/components/ButtonSecondary/ButtonSecondary.vue +15 -0
- package/src/components/ButtonText/ButtonText.matrix.ts +42 -0
- package/src/components/ButtonText/ButtonText.scss +29 -0
- package/src/components/ButtonText/ButtonText.tokens.theme-dark.json +60 -0
- package/src/components/ButtonText/ButtonText.tokens.theme-high-contrast-solarized-dark.json +60 -0
- package/src/components/ButtonText/ButtonText.tokens.theme-high-contrast-solarized-light.json +60 -0
- package/src/components/ButtonText/ButtonText.tokens.theme-light.json +60 -0
- package/src/components/ButtonText/ButtonText.vue +15 -0
- package/src/components/Calendar/Calendar.matrix.ts +24 -0
- package/src/components/Calendar/Calendar.scss +341 -0
- package/src/components/Calendar/Calendar.tokens.theme-dark.json +262 -0
- package/src/components/Calendar/Calendar.tokens.theme-high-contrast-solarized-dark.json +262 -0
- package/src/components/Calendar/Calendar.tokens.theme-high-contrast-solarized-light.json +262 -0
- package/src/components/Calendar/Calendar.tokens.theme-light.json +262 -0
- package/src/components/Calendar/Calendar.vue +475 -0
- package/src/components/Card/Card.matrix.ts +22 -0
- package/src/components/Card/Card.scss +62 -0
- package/src/components/Card/Card.tokens.theme-dark.json +157 -0
- package/src/components/Card/Card.tokens.theme-high-contrast-solarized-dark.json +157 -0
- package/src/components/Card/Card.tokens.theme-high-contrast-solarized-light.json +157 -0
- package/src/components/Card/Card.tokens.theme-light.json +157 -0
- package/src/components/Card/Card.vue +49 -0
- package/src/components/Carousel/Carousel.matrix.ts +22 -0
- package/src/components/Carousel/Carousel.scss +123 -0
- package/src/components/Carousel/Carousel.tokens.theme-dark.json +154 -0
- package/src/components/Carousel/Carousel.tokens.theme-high-contrast-solarized-dark.json +154 -0
- package/src/components/Carousel/Carousel.tokens.theme-high-contrast-solarized-light.json +154 -0
- package/src/components/Carousel/Carousel.tokens.theme-light.json +154 -0
- package/src/components/Carousel/Carousel.vue +225 -0
- package/src/components/Carousel/navigation.ts +76 -0
- package/src/components/Chart/Chart.matrix.ts +24 -0
- package/src/components/Chart/Chart.scss +109 -0
- package/src/components/Chart/Chart.tokens.theme-dark.json +132 -0
- package/src/components/Chart/Chart.tokens.theme-high-contrast-solarized-dark.json +132 -0
- package/src/components/Chart/Chart.tokens.theme-high-contrast-solarized-light.json +132 -0
- package/src/components/Chart/Chart.tokens.theme-light.json +132 -0
- package/src/components/Chart/Chart.vue +247 -0
- package/src/components/Chart/chartLogic.ts +47 -0
- package/src/components/Checkbox/Checkbox.matrix.ts +30 -0
- package/src/components/Checkbox/Checkbox.scss +165 -0
- package/src/components/Checkbox/Checkbox.tokens.theme-dark.json +140 -0
- package/src/components/Checkbox/Checkbox.tokens.theme-high-contrast-solarized-dark.json +140 -0
- package/src/components/Checkbox/Checkbox.tokens.theme-high-contrast-solarized-light.json +140 -0
- package/src/components/Checkbox/Checkbox.tokens.theme-light.json +140 -0
- package/src/components/Checkbox/Checkbox.vue +102 -0
- package/src/components/Chip/Chip.matrix.ts +20 -0
- package/src/components/Chip/Chip.scss +87 -0
- package/src/components/Chip/Chip.tokens.theme-dark.json +100 -0
- package/src/components/Chip/Chip.tokens.theme-high-contrast-solarized-dark.json +100 -0
- package/src/components/Chip/Chip.tokens.theme-high-contrast-solarized-light.json +100 -0
- package/src/components/Chip/Chip.tokens.theme-light.json +100 -0
- package/src/components/Chip/Chip.vue +82 -0
- package/src/components/ColorPicker/ColorPicker.matrix.ts +22 -0
- package/src/components/ColorPicker/ColorPicker.scss +249 -0
- package/src/components/ColorPicker/ColorPicker.tokens.theme-dark.json +196 -0
- package/src/components/ColorPicker/ColorPicker.tokens.theme-high-contrast-solarized-dark.json +196 -0
- package/src/components/ColorPicker/ColorPicker.tokens.theme-high-contrast-solarized-light.json +196 -0
- package/src/components/ColorPicker/ColorPicker.tokens.theme-light.json +196 -0
- package/src/components/ColorPicker/ColorPicker.vue +294 -0
- package/src/components/ColorPicker/colorMath.ts +82 -0
- package/src/components/Column/Column.scss +88 -0
- package/src/components/Column/Column.tokens.theme-dark.json +109 -0
- package/src/components/Column/Column.tokens.theme-high-contrast-solarized-dark.json +109 -0
- package/src/components/Column/Column.tokens.theme-high-contrast-solarized-light.json +109 -0
- package/src/components/Column/Column.tokens.theme-light.json +109 -0
- package/src/components/Column/Column.vue +66 -0
- package/src/components/ColumnGroup/ColumnGroup.scss +41 -0
- package/src/components/ColumnGroup/ColumnGroup.tokens.theme-dark.json +45 -0
- package/src/components/ColumnGroup/ColumnGroup.tokens.theme-high-contrast-solarized-dark.json +45 -0
- package/src/components/ColumnGroup/ColumnGroup.tokens.theme-high-contrast-solarized-light.json +45 -0
- package/src/components/ColumnGroup/ColumnGroup.tokens.theme-light.json +45 -0
- package/src/components/ColumnGroup/ColumnGroup.vue +30 -0
- package/src/components/ColumnGroup/ColumnGroupRow.vue +20 -0
- package/src/components/ConfirmDialog/ConfirmDialog.matrix.ts +11 -0
- package/src/components/ConfirmDialog/ConfirmDialog.scss +182 -0
- package/src/components/ConfirmDialog/ConfirmDialog.tokens.theme-dark.json +141 -0
- package/src/components/ConfirmDialog/ConfirmDialog.tokens.theme-high-contrast-solarized-dark.json +141 -0
- package/src/components/ConfirmDialog/ConfirmDialog.tokens.theme-high-contrast-solarized-light.json +141 -0
- package/src/components/ConfirmDialog/ConfirmDialog.tokens.theme-light.json +141 -0
- package/src/components/ConfirmDialog/ConfirmDialog.vue +227 -0
- package/src/components/ConfirmPopup/ConfirmPopup.matrix.ts +11 -0
- package/src/components/ConfirmPopup/ConfirmPopup.scss +185 -0
- package/src/components/ConfirmPopup/ConfirmPopup.tokens.theme-dark.json +101 -0
- package/src/components/ConfirmPopup/ConfirmPopup.tokens.theme-high-contrast-solarized-dark.json +101 -0
- package/src/components/ConfirmPopup/ConfirmPopup.tokens.theme-high-contrast-solarized-light.json +101 -0
- package/src/components/ConfirmPopup/ConfirmPopup.tokens.theme-light.json +101 -0
- package/src/components/ConfirmPopup/ConfirmPopup.vue +192 -0
- package/src/components/ContextMenu/ContextMenu.matrix.ts +12 -0
- package/src/components/ContextMenu/ContextMenu.scss +138 -0
- package/src/components/ContextMenu/ContextMenu.tokens.theme-dark.json +168 -0
- package/src/components/ContextMenu/ContextMenu.tokens.theme-high-contrast-solarized-dark.json +168 -0
- package/src/components/ContextMenu/ContextMenu.tokens.theme-high-contrast-solarized-light.json +168 -0
- package/src/components/ContextMenu/ContextMenu.tokens.theme-light.json +168 -0
- package/src/components/ContextMenu/ContextMenu.vue +246 -0
- package/src/components/ContextMenu/computePosition.ts +109 -0
- package/src/components/CorporateFooter/CorporateFooter.matrix.ts +17 -0
- package/src/components/CorporateFooter/CorporateFooter.scss +162 -0
- package/src/components/CorporateFooter/CorporateFooter.tokens.theme-dark.json +39 -0
- package/src/components/CorporateFooter/CorporateFooter.tokens.theme-high-contrast-solarized-dark.json +39 -0
- package/src/components/CorporateFooter/CorporateFooter.tokens.theme-high-contrast-solarized-light.json +39 -0
- package/src/components/CorporateFooter/CorporateFooter.tokens.theme-light.json +39 -0
- package/src/components/CorporateFooter/CorporateFooter.vue +114 -0
- package/src/components/CorporateHeader/CorporateHeader.matrix.ts +17 -0
- package/src/components/CorporateHeader/CorporateHeader.scss +128 -0
- package/src/components/CorporateHeader/CorporateHeader.tokens.theme-dark.json +33 -0
- package/src/components/CorporateHeader/CorporateHeader.tokens.theme-high-contrast-solarized-dark.json +33 -0
- package/src/components/CorporateHeader/CorporateHeader.tokens.theme-high-contrast-solarized-light.json +33 -0
- package/src/components/CorporateHeader/CorporateHeader.tokens.theme-light.json +33 -0
- package/src/components/CorporateHeader/CorporateHeader.vue +99 -0
- package/src/components/DataTable/DataTable.matrix.ts +24 -0
- package/src/components/DataTable/DataTable.scss +166 -0
- package/src/components/DataTable/DataTable.tokens.theme-dark.json +156 -0
- package/src/components/DataTable/DataTable.tokens.theme-high-contrast-solarized-dark.json +157 -0
- package/src/components/DataTable/DataTable.tokens.theme-high-contrast-solarized-light.json +157 -0
- package/src/components/DataTable/DataTable.tokens.theme-light.json +157 -0
- package/src/components/DataTable/DataTable.vue +249 -0
- package/src/components/DataTable/tableLogic.ts +110 -0
- package/src/components/DataView/DataView.matrix.ts +19 -0
- package/src/components/DataView/DataView.scss +152 -0
- package/src/components/DataView/DataView.tokens.theme-dark.json +172 -0
- package/src/components/DataView/DataView.tokens.theme-high-contrast-solarized-dark.json +172 -0
- package/src/components/DataView/DataView.tokens.theme-high-contrast-solarized-light.json +172 -0
- package/src/components/DataView/DataView.tokens.theme-light.json +172 -0
- package/src/components/DataView/DataView.vue +215 -0
- package/src/components/DataView/viewLogic.ts +59 -0
- package/src/components/DeferredContent/DeferredContent.vue +65 -0
- package/src/components/Dialog/Dialog.matrix.ts +12 -0
- package/src/components/Dialog/Dialog.scss +159 -0
- package/src/components/Dialog/Dialog.tokens.theme-dark.json +151 -0
- package/src/components/Dialog/Dialog.tokens.theme-high-contrast-solarized-dark.json +151 -0
- package/src/components/Dialog/Dialog.tokens.theme-high-contrast-solarized-light.json +151 -0
- package/src/components/Dialog/Dialog.tokens.theme-light.json +151 -0
- package/src/components/Dialog/Dialog.vue +200 -0
- package/src/components/Divider/Divider.matrix.ts +29 -0
- package/src/components/Divider/Divider.scss +147 -0
- package/src/components/Divider/Divider.tokens.theme-dark.json +45 -0
- package/src/components/Divider/Divider.tokens.theme-high-contrast-solarized-dark.json +45 -0
- package/src/components/Divider/Divider.tokens.theme-high-contrast-solarized-light.json +45 -0
- package/src/components/Divider/Divider.tokens.theme-light.json +45 -0
- package/src/components/Divider/Divider.vue +51 -0
- package/src/components/Dock/Dock.matrix.ts +26 -0
- package/src/components/Dock/Dock.scss +223 -0
- package/src/components/Dock/Dock.tokens.theme-dark.json +173 -0
- package/src/components/Dock/Dock.tokens.theme-high-contrast-solarized-dark.json +173 -0
- package/src/components/Dock/Dock.tokens.theme-high-contrast-solarized-light.json +173 -0
- package/src/components/Dock/Dock.tokens.theme-light.json +173 -0
- package/src/components/Dock/Dock.vue +130 -0
- package/src/components/Drawer/Drawer.matrix.ts +18 -0
- package/src/components/Drawer/Drawer.scss +222 -0
- package/src/components/Drawer/Drawer.tokens.theme-dark.json +163 -0
- package/src/components/Drawer/Drawer.tokens.theme-high-contrast-solarized-dark.json +163 -0
- package/src/components/Drawer/Drawer.tokens.theme-high-contrast-solarized-light.json +163 -0
- package/src/components/Drawer/Drawer.tokens.theme-light.json +163 -0
- package/src/components/Drawer/Drawer.vue +187 -0
- package/src/components/Dropdown/Dropdown.matrix.ts +35 -0
- package/src/components/Dropdown/Dropdown.scss +221 -0
- package/src/components/Dropdown/Dropdown.tokens.theme-dark.json +230 -0
- package/src/components/Dropdown/Dropdown.tokens.theme-high-contrast-solarized-dark.json +230 -0
- package/src/components/Dropdown/Dropdown.tokens.theme-high-contrast-solarized-light.json +230 -0
- package/src/components/Dropdown/Dropdown.tokens.theme-light.json +230 -0
- package/src/components/Dropdown/Dropdown.vue +337 -0
- package/src/components/Dropdown/options.ts +38 -0
- package/src/components/DynamicDialog/DynamicDialog.matrix.ts +10 -0
- package/src/components/DynamicDialog/DynamicDialog.vue +46 -0
- package/src/components/Editor/Editor.scss +158 -0
- package/src/components/Editor/Editor.tokens.theme-dark.json +172 -0
- package/src/components/Editor/Editor.tokens.theme-high-contrast-solarized-dark.json +172 -0
- package/src/components/Editor/Editor.tokens.theme-high-contrast-solarized-light.json +172 -0
- package/src/components/Editor/Editor.tokens.theme-light.json +172 -0
- package/src/components/Editor/Editor.vue +260 -0
- package/src/components/FieldSet/FieldSet.matrix.ts +17 -0
- package/src/components/FieldSet/FieldSet.scss +99 -0
- package/src/components/FieldSet/FieldSet.tokens.theme-dark.json +115 -0
- package/src/components/FieldSet/FieldSet.tokens.theme-high-contrast-solarized-dark.json +115 -0
- package/src/components/FieldSet/FieldSet.tokens.theme-high-contrast-solarized-light.json +115 -0
- package/src/components/FieldSet/FieldSet.tokens.theme-light.json +115 -0
- package/src/components/FieldSet/FieldSet.vue +87 -0
- package/src/components/FileUpload/FileUpload.matrix.ts +17 -0
- package/src/components/FileUpload/FileUpload.scss +139 -0
- package/src/components/FileUpload/FileUpload.tokens.theme-dark.json +193 -0
- package/src/components/FileUpload/FileUpload.tokens.theme-high-contrast-solarized-dark.json +193 -0
- package/src/components/FileUpload/FileUpload.tokens.theme-high-contrast-solarized-light.json +193 -0
- package/src/components/FileUpload/FileUpload.tokens.theme-light.json +193 -0
- package/src/components/FileUpload/FileUpload.vue +202 -0
- package/src/components/FileUpload/fileValidation.ts +93 -0
- package/src/components/Galleria/Galleria.matrix.ts +13 -0
- package/src/components/Galleria/Galleria.scss +300 -0
- package/src/components/Galleria/Galleria.tokens.theme-dark.json +235 -0
- package/src/components/Galleria/Galleria.tokens.theme-high-contrast-solarized-dark.json +235 -0
- package/src/components/Galleria/Galleria.tokens.theme-high-contrast-solarized-light.json +235 -0
- package/src/components/Galleria/Galleria.tokens.theme-light.json +235 -0
- package/src/components/Galleria/Galleria.vue +336 -0
- package/src/components/Image/Image.matrix.ts +12 -0
- package/src/components/Image/Image.scss +132 -0
- package/src/components/Image/Image.tokens.theme-dark.json +71 -0
- package/src/components/Image/Image.tokens.theme-high-contrast-solarized-dark.json +71 -0
- package/src/components/Image/Image.tokens.theme-high-contrast-solarized-light.json +71 -0
- package/src/components/Image/Image.tokens.theme-light.json +71 -0
- package/src/components/Image/Image.vue +149 -0
- package/src/components/ImageCompare/ImageCompare.matrix.ts +39 -0
- package/src/components/ImageCompare/ImageCompare.scss +99 -0
- package/src/components/ImageCompare/ImageCompare.tokens.theme-dark.json +74 -0
- package/src/components/ImageCompare/ImageCompare.tokens.theme-high-contrast-solarized-dark.json +74 -0
- package/src/components/ImageCompare/ImageCompare.tokens.theme-high-contrast-solarized-light.json +74 -0
- package/src/components/ImageCompare/ImageCompare.tokens.theme-light.json +74 -0
- package/src/components/ImageCompare/ImageCompare.vue +77 -0
- package/src/components/ImageCompare/imageCompareMath.ts +51 -0
- package/src/components/InPlace/InPlace.matrix.ts +17 -0
- package/src/components/InPlace/InPlace.scss +103 -0
- package/src/components/InPlace/InPlace.tokens.theme-dark.json +100 -0
- package/src/components/InPlace/InPlace.tokens.theme-high-contrast-solarized-dark.json +100 -0
- package/src/components/InPlace/InPlace.tokens.theme-high-contrast-solarized-light.json +100 -0
- package/src/components/InPlace/InPlace.tokens.theme-light.json +100 -0
- package/src/components/InPlace/InPlace.vue +112 -0
- package/src/components/InlineMessage/InlineMessage.matrix.ts +27 -0
- package/src/components/InlineMessage/InlineMessage.scss +69 -0
- package/src/components/InlineMessage/InlineMessage.tokens.theme-dark.json +107 -0
- package/src/components/InlineMessage/InlineMessage.tokens.theme-high-contrast-solarized-dark.json +107 -0
- package/src/components/InlineMessage/InlineMessage.tokens.theme-high-contrast-solarized-light.json +107 -0
- package/src/components/InlineMessage/InlineMessage.tokens.theme-light.json +107 -0
- package/src/components/InlineMessage/InlineMessage.vue +57 -0
- package/src/components/InputChips/InputChips.matrix.ts +29 -0
- package/src/components/InputChips/InputChips.scss +176 -0
- package/src/components/InputChips/InputChips.tokens.theme-dark.json +192 -0
- package/src/components/InputChips/InputChips.tokens.theme-high-contrast-solarized-dark.json +192 -0
- package/src/components/InputChips/InputChips.tokens.theme-high-contrast-solarized-light.json +192 -0
- package/src/components/InputChips/InputChips.tokens.theme-light.json +192 -0
- package/src/components/InputChips/InputChips.vue +170 -0
- package/src/components/InputChips/parseChipInput.ts +36 -0
- package/src/components/InputGroup/InputGroup.scss +58 -0
- package/src/components/InputGroup/InputGroup.tokens.theme-dark.json +21 -0
- package/src/components/InputGroup/InputGroup.tokens.theme-high-contrast-solarized-dark.json +21 -0
- package/src/components/InputGroup/InputGroup.tokens.theme-high-contrast-solarized-light.json +21 -0
- package/src/components/InputGroup/InputGroup.tokens.theme-light.json +21 -0
- package/src/components/InputGroup/InputGroup.vue +22 -0
- package/src/components/InputGroupAddon/InputGroupAddon.scss +28 -0
- package/src/components/InputGroupAddon/InputGroupAddon.tokens.theme-dark.json +47 -0
- package/src/components/InputGroupAddon/InputGroupAddon.tokens.theme-high-contrast-solarized-dark.json +47 -0
- package/src/components/InputGroupAddon/InputGroupAddon.tokens.theme-high-contrast-solarized-light.json +47 -0
- package/src/components/InputGroupAddon/InputGroupAddon.tokens.theme-light.json +47 -0
- package/src/components/InputGroupAddon/InputGroupAddon.vue +22 -0
- package/src/components/InputIcon/InputIcon.scss +58 -0
- package/src/components/InputIcon/InputIcon.tokens.theme-dark.json +38 -0
- package/src/components/InputIcon/InputIcon.tokens.theme-high-contrast-solarized-dark.json +38 -0
- package/src/components/InputIcon/InputIcon.tokens.theme-high-contrast-solarized-light.json +38 -0
- package/src/components/InputIcon/InputIcon.tokens.theme-light.json +38 -0
- package/src/components/InputIcon/InputIcon.vue +29 -0
- package/src/components/InputMask/InputMask.matrix.ts +33 -0
- package/src/components/InputMask/InputMask.scss +68 -0
- package/src/components/InputMask/InputMask.tokens.theme-dark.json +136 -0
- package/src/components/InputMask/InputMask.tokens.theme-high-contrast-solarized-dark.json +136 -0
- package/src/components/InputMask/InputMask.tokens.theme-high-contrast-solarized-light.json +136 -0
- package/src/components/InputMask/InputMask.tokens.theme-light.json +136 -0
- package/src/components/InputMask/InputMask.vue +281 -0
- package/src/components/InputNumber/InputNumber.matrix.ts +33 -0
- package/src/components/InputNumber/InputNumber.scss +127 -0
- package/src/components/InputNumber/InputNumber.tokens.theme-dark.json +144 -0
- package/src/components/InputNumber/InputNumber.tokens.theme-high-contrast-solarized-dark.json +144 -0
- package/src/components/InputNumber/InputNumber.tokens.theme-high-contrast-solarized-light.json +144 -0
- package/src/components/InputNumber/InputNumber.tokens.theme-light.json +144 -0
- package/src/components/InputNumber/InputNumber.vue +157 -0
- package/src/components/InputNumber/clampValue.ts +20 -0
- package/src/components/InputNumber/formatValue.ts +24 -0
- package/src/components/InputNumber/parseValue.ts +50 -0
- package/src/components/InputOtp/InputOtp.matrix.ts +29 -0
- package/src/components/InputOtp/InputOtp.scss +91 -0
- package/src/components/InputOtp/InputOtp.tokens.theme-dark.json +138 -0
- package/src/components/InputOtp/InputOtp.tokens.theme-high-contrast-solarized-dark.json +138 -0
- package/src/components/InputOtp/InputOtp.tokens.theme-high-contrast-solarized-light.json +138 -0
- package/src/components/InputOtp/InputOtp.tokens.theme-light.json +138 -0
- package/src/components/InputOtp/InputOtp.vue +236 -0
- package/src/components/InputOtp/spreadPasteToSlots.ts +23 -0
- package/src/components/InputOtp/validateChar.ts +4 -0
- package/src/components/InputSwitch/InputSwitch.matrix.ts +30 -0
- package/src/components/InputSwitch/InputSwitch.scss +132 -0
- package/src/components/InputSwitch/InputSwitch.tokens.theme-dark.json +110 -0
- package/src/components/InputSwitch/InputSwitch.tokens.theme-high-contrast-solarized-dark.json +109 -0
- package/src/components/InputSwitch/InputSwitch.tokens.theme-high-contrast-solarized-light.json +108 -0
- package/src/components/InputSwitch/InputSwitch.tokens.theme-light.json +110 -0
- package/src/components/InputSwitch/InputSwitch.vue +58 -0
- package/src/components/InputText/InputText.matrix.ts +34 -0
- package/src/components/InputText/InputText.scss +68 -0
- package/src/components/InputText/InputText.tokens.theme-dark.json +136 -0
- package/src/components/InputText/InputText.tokens.theme-high-contrast-solarized-dark.json +136 -0
- package/src/components/InputText/InputText.tokens.theme-high-contrast-solarized-light.json +136 -0
- package/src/components/InputText/InputText.tokens.theme-light.json +136 -0
- package/src/components/InputText/InputText.vue +92 -0
- package/src/components/Knob/Knob.matrix.ts +23 -0
- package/src/components/Knob/Knob.scss +94 -0
- package/src/components/Knob/Knob.tokens.theme-dark.json +119 -0
- package/src/components/Knob/Knob.tokens.theme-high-contrast-solarized-dark.json +119 -0
- package/src/components/Knob/Knob.tokens.theme-high-contrast-solarized-light.json +119 -0
- package/src/components/Knob/Knob.tokens.theme-light.json +119 -0
- package/src/components/Knob/Knob.vue +263 -0
- package/src/components/Knob/knobMath.ts +97 -0
- package/src/components/ListBox/ListBox.matrix.ts +31 -0
- package/src/components/ListBox/ListBox.scss +162 -0
- package/src/components/ListBox/ListBox.tokens.theme-dark.json +167 -0
- package/src/components/ListBox/ListBox.tokens.theme-high-contrast-solarized-dark.json +166 -0
- package/src/components/ListBox/ListBox.tokens.theme-high-contrast-solarized-light.json +166 -0
- package/src/components/ListBox/ListBox.tokens.theme-light.json +166 -0
- package/src/components/ListBox/ListBox.vue +176 -0
- package/src/components/ListBox/options.ts +97 -0
- package/src/components/MegaMenu/MegaMenu.matrix.ts +17 -0
- package/src/components/MegaMenu/MegaMenu.scss +282 -0
- package/src/components/MegaMenu/MegaMenu.tokens.theme-dark.json +283 -0
- package/src/components/MegaMenu/MegaMenu.tokens.theme-high-contrast-solarized-dark.json +291 -0
- package/src/components/MegaMenu/MegaMenu.tokens.theme-high-contrast-solarized-light.json +291 -0
- package/src/components/MegaMenu/MegaMenu.tokens.theme-light.json +283 -0
- package/src/components/MegaMenu/MegaMenu.vue +239 -0
- package/src/components/Menu/Menu.matrix.ts +12 -0
- package/src/components/Menu/Menu.scss +102 -0
- package/src/components/Menu/Menu.tokens.theme-dark.json +145 -0
- package/src/components/Menu/Menu.tokens.theme-high-contrast-solarized-dark.json +145 -0
- package/src/components/Menu/Menu.tokens.theme-high-contrast-solarized-light.json +145 -0
- package/src/components/Menu/Menu.tokens.theme-light.json +145 -0
- package/src/components/Menu/Menu.vue +196 -0
- package/src/components/Menu/computePosition.ts +97 -0
- package/src/components/MenuBar/MenuBar.matrix.ts +9 -0
- package/src/components/MenuBar/MenuBar.scss +215 -0
- package/src/components/MenuBar/MenuBar.tokens.theme-dark.json +152 -0
- package/src/components/MenuBar/MenuBar.tokens.theme-high-contrast-solarized-dark.json +152 -0
- package/src/components/MenuBar/MenuBar.tokens.theme-high-contrast-solarized-light.json +152 -0
- package/src/components/MenuBar/MenuBar.tokens.theme-light.json +152 -0
- package/src/components/MenuBar/MenuBar.vue +316 -0
- package/src/components/Message/Message.matrix.ts +25 -0
- package/src/components/Message/Message.scss +128 -0
- package/src/components/Message/Message.tokens.theme-dark.json +151 -0
- package/src/components/Message/Message.tokens.theme-high-contrast-solarized-dark.json +151 -0
- package/src/components/Message/Message.tokens.theme-high-contrast-solarized-light.json +151 -0
- package/src/components/Message/Message.tokens.theme-light.json +151 -0
- package/src/components/Message/Message.vue +104 -0
- package/src/components/MeterGroup/MeterGroup.matrix.ts +18 -0
- package/src/components/MeterGroup/MeterGroup.scss +105 -0
- package/src/components/MeterGroup/MeterGroup.tokens.theme-dark.json +108 -0
- package/src/components/MeterGroup/MeterGroup.tokens.theme-high-contrast-solarized-dark.json +108 -0
- package/src/components/MeterGroup/MeterGroup.tokens.theme-high-contrast-solarized-light.json +108 -0
- package/src/components/MeterGroup/MeterGroup.tokens.theme-light.json +108 -0
- package/src/components/MeterGroup/MeterGroup.vue +66 -0
- package/src/components/MeterGroup/meterMath.ts +58 -0
- package/src/components/MultiSelect/MultiSelect.matrix.ts +33 -0
- package/src/components/MultiSelect/MultiSelect.scss +245 -0
- package/src/components/MultiSelect/MultiSelect.tokens.theme-dark.json +244 -0
- package/src/components/MultiSelect/MultiSelect.tokens.theme-high-contrast-solarized-dark.json +268 -0
- package/src/components/MultiSelect/MultiSelect.tokens.theme-high-contrast-solarized-light.json +268 -0
- package/src/components/MultiSelect/MultiSelect.tokens.theme-light.json +244 -0
- package/src/components/MultiSelect/MultiSelect.vue +302 -0
- package/src/components/MultiSelect/options.ts +52 -0
- package/src/components/OrderList/OrderList.matrix.ts +9 -0
- package/src/components/OrderList/OrderList.scss +136 -0
- package/src/components/OrderList/OrderList.tokens.theme-dark.json +193 -0
- package/src/components/OrderList/OrderList.tokens.theme-high-contrast-solarized-dark.json +193 -0
- package/src/components/OrderList/OrderList.tokens.theme-high-contrast-solarized-light.json +193 -0
- package/src/components/OrderList/OrderList.tokens.theme-light.json +193 -0
- package/src/components/OrderList/OrderList.vue +299 -0
- package/src/components/OrderList/reorder.ts +114 -0
- package/src/components/OrganizationChart/OrganizationChart.matrix.ts +11 -0
- package/src/components/OrganizationChart/OrganizationChart.scss +147 -0
- package/src/components/OrganizationChart/OrganizationChart.tokens.theme-dark.json +188 -0
- package/src/components/OrganizationChart/OrganizationChart.tokens.theme-high-contrast-solarized-dark.json +188 -0
- package/src/components/OrganizationChart/OrganizationChart.tokens.theme-high-contrast-solarized-light.json +188 -0
- package/src/components/OrganizationChart/OrganizationChart.tokens.theme-light.json +188 -0
- package/src/components/OrganizationChart/OrganizationChart.vue +259 -0
- package/src/components/OrganizationChart/orgChartUtils.ts +112 -0
- package/src/components/OverlayPanel/OverlayPanel.matrix.ts +8 -0
- package/src/components/OverlayPanel/OverlayPanel.scss +67 -0
- package/src/components/OverlayPanel/OverlayPanel.tokens.theme-dark.json +94 -0
- package/src/components/OverlayPanel/OverlayPanel.tokens.theme-high-contrast-solarized-dark.json +94 -0
- package/src/components/OverlayPanel/OverlayPanel.tokens.theme-high-contrast-solarized-light.json +94 -0
- package/src/components/OverlayPanel/OverlayPanel.tokens.theme-light.json +94 -0
- package/src/components/OverlayPanel/OverlayPanel.vue +172 -0
- package/src/components/OverlayPanel/computePosition.ts +76 -0
- package/src/components/Paginator/Paginator.matrix.ts +16 -0
- package/src/components/Paginator/Paginator.scss +134 -0
- package/src/components/Paginator/Paginator.tokens.theme-dark.json +186 -0
- package/src/components/Paginator/Paginator.tokens.theme-high-contrast-solarized-dark.json +186 -0
- package/src/components/Paginator/Paginator.tokens.theme-high-contrast-solarized-light.json +186 -0
- package/src/components/Paginator/Paginator.tokens.theme-light.json +186 -0
- package/src/components/Paginator/Paginator.vue +219 -0
- package/src/components/Paginator/pageMath.ts +126 -0
- package/src/components/Panel/Panel.matrix.ts +17 -0
- package/src/components/Panel/Panel.scss +114 -0
- package/src/components/Panel/Panel.tokens.theme-dark.json +120 -0
- package/src/components/Panel/Panel.tokens.theme-high-contrast-solarized-dark.json +120 -0
- package/src/components/Panel/Panel.tokens.theme-high-contrast-solarized-light.json +120 -0
- package/src/components/Panel/Panel.tokens.theme-light.json +120 -0
- package/src/components/Panel/Panel.vue +106 -0
- package/src/components/PanelMenu/PanelMenu.matrix.ts +17 -0
- package/src/components/PanelMenu/PanelMenu.scss +217 -0
- package/src/components/PanelMenu/PanelMenu.tokens.theme-dark.json +190 -0
- package/src/components/PanelMenu/PanelMenu.tokens.theme-high-contrast-solarized-dark.json +190 -0
- package/src/components/PanelMenu/PanelMenu.tokens.theme-high-contrast-solarized-light.json +190 -0
- package/src/components/PanelMenu/PanelMenu.tokens.theme-light.json +190 -0
- package/src/components/PanelMenu/PanelMenu.vue +320 -0
- package/src/components/PickList/PickList.matrix.ts +10 -0
- package/src/components/PickList/PickList.scss +132 -0
- package/src/components/PickList/PickList.tokens.theme-dark.json +187 -0
- package/src/components/PickList/PickList.tokens.theme-high-contrast-solarized-dark.json +187 -0
- package/src/components/PickList/PickList.tokens.theme-high-contrast-solarized-light.json +187 -0
- package/src/components/PickList/PickList.tokens.theme-light.json +187 -0
- package/src/components/PickList/PickList.vue +267 -0
- package/src/components/PickList/transfer.ts +80 -0
- package/src/components/PopOver/PopOver.matrix.ts +8 -0
- package/src/components/PopOver/PopOver.scss +108 -0
- package/src/components/PopOver/PopOver.tokens.theme-dark.json +65 -0
- package/src/components/PopOver/PopOver.tokens.theme-high-contrast-solarized-dark.json +65 -0
- package/src/components/PopOver/PopOver.tokens.theme-high-contrast-solarized-light.json +65 -0
- package/src/components/PopOver/PopOver.tokens.theme-light.json +65 -0
- package/src/components/PopOver/PopOver.vue +263 -0
- package/src/components/Portal/Portal.vue +17 -0
- package/src/components/ProgressBar/ProgressBar.matrix.ts +23 -0
- package/src/components/ProgressBar/ProgressBar.scss +58 -0
- package/src/components/ProgressBar/ProgressBar.tokens.theme-dark.json +33 -0
- package/src/components/ProgressBar/ProgressBar.tokens.theme-high-contrast-solarized-dark.json +33 -0
- package/src/components/ProgressBar/ProgressBar.tokens.theme-high-contrast-solarized-light.json +33 -0
- package/src/components/ProgressBar/ProgressBar.tokens.theme-light.json +33 -0
- package/src/components/ProgressBar/ProgressBar.vue +52 -0
- package/src/components/ProgressSpinner/ProgressSpinner.matrix.ts +16 -0
- package/src/components/ProgressSpinner/ProgressSpinner.scss +48 -0
- package/src/components/ProgressSpinner/ProgressSpinner.tokens.theme-dark.json +38 -0
- package/src/components/ProgressSpinner/ProgressSpinner.tokens.theme-high-contrast-solarized-dark.json +38 -0
- package/src/components/ProgressSpinner/ProgressSpinner.tokens.theme-high-contrast-solarized-light.json +38 -0
- package/src/components/ProgressSpinner/ProgressSpinner.tokens.theme-light.json +38 -0
- package/src/components/ProgressSpinner/ProgressSpinner.vue +68 -0
- package/src/components/PromotionFooter/PromotionFooter.matrix.ts +16 -0
- package/src/components/PromotionFooter/PromotionFooter.scss +103 -0
- package/src/components/PromotionFooter/PromotionFooter.tokens.theme-dark.json +31 -0
- package/src/components/PromotionFooter/PromotionFooter.tokens.theme-high-contrast-solarized-dark.json +31 -0
- package/src/components/PromotionFooter/PromotionFooter.tokens.theme-high-contrast-solarized-light.json +31 -0
- package/src/components/PromotionFooter/PromotionFooter.tokens.theme-light.json +31 -0
- package/src/components/PromotionFooter/PromotionFooter.vue +70 -0
- package/src/components/PromotionHeader/PromotionHeader.matrix.ts +17 -0
- package/src/components/PromotionHeader/PromotionHeader.scss +129 -0
- package/src/components/PromotionHeader/PromotionHeader.tokens.theme-dark.json +33 -0
- package/src/components/PromotionHeader/PromotionHeader.tokens.theme-high-contrast-solarized-dark.json +33 -0
- package/src/components/PromotionHeader/PromotionHeader.tokens.theme-high-contrast-solarized-light.json +33 -0
- package/src/components/PromotionHeader/PromotionHeader.tokens.theme-light.json +33 -0
- package/src/components/PromotionHeader/PromotionHeader.vue +92 -0
- package/src/components/RadioButton/RadioButton.matrix.ts +28 -0
- package/src/components/RadioButton/RadioButton.scss +161 -0
- package/src/components/RadioButton/RadioButton.tokens.theme-dark.json +135 -0
- package/src/components/RadioButton/RadioButton.tokens.theme-high-contrast-solarized-dark.json +135 -0
- package/src/components/RadioButton/RadioButton.tokens.theme-high-contrast-solarized-light.json +135 -0
- package/src/components/RadioButton/RadioButton.tokens.theme-light.json +135 -0
- package/src/components/RadioButton/RadioButton.vue +63 -0
- package/src/components/Rating/Rating.matrix.ts +23 -0
- package/src/components/Rating/Rating.scss +116 -0
- package/src/components/Rating/Rating.tokens.theme-dark.json +76 -0
- package/src/components/Rating/Rating.tokens.theme-high-contrast-solarized-dark.json +76 -0
- package/src/components/Rating/Rating.tokens.theme-high-contrast-solarized-light.json +76 -0
- package/src/components/Rating/Rating.tokens.theme-light.json +76 -0
- package/src/components/Rating/Rating.vue +120 -0
- package/src/components/Rating/computeRatingValue.ts +13 -0
- package/src/components/RelationMatrix/RelationMatrix.matrix.ts +59 -0
- package/src/components/RelationMatrix/RelationMatrix.scss +252 -0
- package/src/components/RelationMatrix/RelationMatrix.tokens.theme-dark.json +80 -0
- package/src/components/RelationMatrix/RelationMatrix.tokens.theme-high-contrast-solarized-dark.json +80 -0
- package/src/components/RelationMatrix/RelationMatrix.tokens.theme-high-contrast-solarized-light.json +80 -0
- package/src/components/RelationMatrix/RelationMatrix.tokens.theme-light.json +80 -0
- package/src/components/RelationMatrix/RelationMatrix.vue +359 -0
- package/src/components/Row/Row.scss +46 -0
- package/src/components/Row/Row.tokens.theme-dark.json +62 -0
- package/src/components/Row/Row.tokens.theme-high-contrast-solarized-dark.json +62 -0
- package/src/components/Row/Row.tokens.theme-high-contrast-solarized-light.json +62 -0
- package/src/components/Row/Row.tokens.theme-light.json +62 -0
- package/src/components/Row/Row.vue +32 -0
- package/src/components/ScrollPanel/ScrollPanel.matrix.ts +14 -0
- package/src/components/ScrollPanel/ScrollPanel.scss +94 -0
- package/src/components/ScrollPanel/ScrollPanel.tokens.theme-dark.json +69 -0
- package/src/components/ScrollPanel/ScrollPanel.tokens.theme-high-contrast-solarized-dark.json +69 -0
- package/src/components/ScrollPanel/ScrollPanel.tokens.theme-high-contrast-solarized-light.json +69 -0
- package/src/components/ScrollPanel/ScrollPanel.tokens.theme-light.json +69 -0
- package/src/components/ScrollPanel/ScrollPanel.vue +288 -0
- package/src/components/ScrollPanel/scrollbarMath.ts +77 -0
- package/src/components/ScrollTop/ScrollTop.scss +62 -0
- package/src/components/ScrollTop/ScrollTop.tokens.theme-dark.json +84 -0
- package/src/components/ScrollTop/ScrollTop.tokens.theme-high-contrast-solarized-dark.json +84 -0
- package/src/components/ScrollTop/ScrollTop.tokens.theme-high-contrast-solarized-light.json +84 -0
- package/src/components/ScrollTop/ScrollTop.tokens.theme-light.json +84 -0
- package/src/components/ScrollTop/ScrollTop.vue +102 -0
- package/src/components/Select/Select.matrix.ts +28 -0
- package/src/components/Select/Select.scss +105 -0
- package/src/components/Select/Select.tokens.theme-dark.json +190 -0
- package/src/components/Select/Select.tokens.theme-high-contrast-solarized-dark.json +190 -0
- package/src/components/Select/Select.tokens.theme-high-contrast-solarized-light.json +190 -0
- package/src/components/Select/Select.tokens.theme-light.json +190 -0
- package/src/components/Select/Select.vue +99 -0
- package/src/components/Select/normalizeOptions.ts +33 -0
- package/src/components/SelectButton/SelectButton.matrix.ts +22 -0
- package/src/components/SelectButton/SelectButton.scss +67 -0
- package/src/components/SelectButton/SelectButton.tokens.theme-dark.json +145 -0
- package/src/components/SelectButton/SelectButton.tokens.theme-high-contrast-solarized-dark.json +145 -0
- package/src/components/SelectButton/SelectButton.tokens.theme-high-contrast-solarized-light.json +145 -0
- package/src/components/SelectButton/SelectButton.tokens.theme-light.json +145 -0
- package/src/components/SelectButton/SelectButton.vue +89 -0
- package/src/components/SelectButton/options.ts +139 -0
- package/src/components/Sidebar/Sidebar.matrix.ts +16 -0
- package/src/components/Sidebar/Sidebar.scss +172 -0
- package/src/components/Sidebar/Sidebar.tokens.theme-dark.json +146 -0
- package/src/components/Sidebar/Sidebar.tokens.theme-high-contrast-solarized-dark.json +146 -0
- package/src/components/Sidebar/Sidebar.tokens.theme-high-contrast-solarized-light.json +146 -0
- package/src/components/Sidebar/Sidebar.tokens.theme-light.json +146 -0
- package/src/components/Sidebar/Sidebar.vue +186 -0
- package/src/components/Skeleton/Skeleton.matrix.ts +28 -0
- package/src/components/Skeleton/Skeleton.scss +43 -0
- package/src/components/Skeleton/Skeleton.tokens.theme-dark.json +26 -0
- package/src/components/Skeleton/Skeleton.tokens.theme-high-contrast-solarized-dark.json +26 -0
- package/src/components/Skeleton/Skeleton.tokens.theme-high-contrast-solarized-light.json +26 -0
- package/src/components/Skeleton/Skeleton.tokens.theme-light.json +26 -0
- package/src/components/Skeleton/Skeleton.vue +61 -0
- package/src/components/Slider/Slider.matrix.ts +25 -0
- package/src/components/Slider/Slider.scss +106 -0
- package/src/components/Slider/Slider.tokens.theme-dark.json +82 -0
- package/src/components/Slider/Slider.tokens.theme-high-contrast-solarized-dark.json +82 -0
- package/src/components/Slider/Slider.tokens.theme-high-contrast-solarized-light.json +82 -0
- package/src/components/Slider/Slider.tokens.theme-light.json +82 -0
- package/src/components/Slider/Slider.vue +69 -0
- package/src/components/Slider/sliderMath.ts +59 -0
- package/src/components/SpeedDial/SpeedDial.matrix.ts +19 -0
- package/src/components/SpeedDial/SpeedDial.scss +222 -0
- package/src/components/SpeedDial/SpeedDial.tokens.theme-dark.json +144 -0
- package/src/components/SpeedDial/SpeedDial.tokens.theme-high-contrast-solarized-dark.json +144 -0
- package/src/components/SpeedDial/SpeedDial.tokens.theme-high-contrast-solarized-light.json +144 -0
- package/src/components/SpeedDial/SpeedDial.tokens.theme-light.json +144 -0
- package/src/components/SpeedDial/SpeedDial.vue +205 -0
- package/src/components/SplitButton/SplitButton.matrix.ts +32 -0
- package/src/components/SplitButton/SplitButton.scss +273 -0
- package/src/components/SplitButton/SplitButton.tokens.theme-dark.json +316 -0
- package/src/components/SplitButton/SplitButton.tokens.theme-high-contrast-solarized-dark.json +316 -0
- package/src/components/SplitButton/SplitButton.tokens.theme-high-contrast-solarized-light.json +316 -0
- package/src/components/SplitButton/SplitButton.tokens.theme-light.json +316 -0
- package/src/components/SplitButton/SplitButton.vue +185 -0
- package/src/components/Splitter/Splitter.matrix.ts +17 -0
- package/src/components/Splitter/Splitter.scss +97 -0
- package/src/components/Splitter/Splitter.tokens.theme-dark.json +88 -0
- package/src/components/Splitter/Splitter.tokens.theme-high-contrast-solarized-dark.json +88 -0
- package/src/components/Splitter/Splitter.tokens.theme-high-contrast-solarized-light.json +88 -0
- package/src/components/Splitter/Splitter.tokens.theme-light.json +88 -0
- package/src/components/Splitter/Splitter.vue +197 -0
- package/src/components/Splitter/SplitterPanel.vue +139 -0
- package/src/components/Splitter/splitterMath.ts +110 -0
- package/src/components/Steps/Steps.matrix.ts +9 -0
- package/src/components/Steps/Steps.scss +169 -0
- package/src/components/Steps/Steps.tokens.theme-dark.json +154 -0
- package/src/components/Steps/Steps.tokens.theme-high-contrast-solarized-dark.json +154 -0
- package/src/components/Steps/Steps.tokens.theme-high-contrast-solarized-light.json +154 -0
- package/src/components/Steps/Steps.tokens.theme-light.json +154 -0
- package/src/components/Steps/Steps.vue +104 -0
- package/src/components/TabMenu/TabMenu.matrix.ts +18 -0
- package/src/components/TabMenu/TabMenu.scss +109 -0
- package/src/components/TabMenu/TabMenu.tokens.theme-dark.json +103 -0
- package/src/components/TabMenu/TabMenu.tokens.theme-high-contrast-solarized-dark.json +103 -0
- package/src/components/TabMenu/TabMenu.tokens.theme-high-contrast-solarized-light.json +103 -0
- package/src/components/TabMenu/TabMenu.tokens.theme-light.json +103 -0
- package/src/components/TabMenu/TabMenu.vue +147 -0
- package/src/components/TabMenu/keyboardNav.ts +62 -0
- package/src/components/Tabs/TabPanel.vue +42 -0
- package/src/components/Tabs/Tabs.matrix.ts +24 -0
- package/src/components/Tabs/Tabs.scss +89 -0
- package/src/components/Tabs/Tabs.tokens.theme-dark.json +97 -0
- package/src/components/Tabs/Tabs.tokens.theme-high-contrast-solarized-dark.json +97 -0
- package/src/components/Tabs/Tabs.tokens.theme-high-contrast-solarized-light.json +97 -0
- package/src/components/Tabs/Tabs.tokens.theme-light.json +97 -0
- package/src/components/Tabs/Tabs.vue +145 -0
- package/src/components/Tabs/keyboardNav.ts +88 -0
- package/src/components/Tag/Tag.matrix.ts +39 -0
- package/src/components/Tag/Tag.scss +73 -0
- package/src/components/Tag/Tag.tokens.theme-dark.json +118 -0
- package/src/components/Tag/Tag.tokens.theme-high-contrast-solarized-dark.json +122 -0
- package/src/components/Tag/Tag.tokens.theme-high-contrast-solarized-light.json +122 -0
- package/src/components/Tag/Tag.tokens.theme-light.json +122 -0
- package/src/components/Tag/Tag.vue +40 -0
- package/src/components/Terminal/Terminal.scss +80 -0
- package/src/components/Terminal/Terminal.tokens.theme-dark.json +100 -0
- package/src/components/Terminal/Terminal.tokens.theme-high-contrast-solarized-dark.json +100 -0
- package/src/components/Terminal/Terminal.tokens.theme-high-contrast-solarized-light.json +100 -0
- package/src/components/Terminal/Terminal.tokens.theme-light.json +100 -0
- package/src/components/Terminal/Terminal.vue +122 -0
- package/src/components/Textarea/Textarea.matrix.ts +24 -0
- package/src/components/Textarea/Textarea.scss +72 -0
- package/src/components/Textarea/Textarea.tokens.theme-dark.json +96 -0
- package/src/components/Textarea/Textarea.tokens.theme-high-contrast-solarized-dark.json +96 -0
- package/src/components/Textarea/Textarea.tokens.theme-high-contrast-solarized-light.json +96 -0
- package/src/components/Textarea/Textarea.tokens.theme-light.json +96 -0
- package/src/components/Textarea/Textarea.vue +108 -0
- package/src/components/TieredMenu/TieredMenu.matrix.ts +12 -0
- package/src/components/TieredMenu/TieredMenu.scss +149 -0
- package/src/components/TieredMenu/TieredMenu.tokens.theme-dark.json +142 -0
- package/src/components/TieredMenu/TieredMenu.tokens.theme-high-contrast-solarized-dark.json +142 -0
- package/src/components/TieredMenu/TieredMenu.tokens.theme-high-contrast-solarized-light.json +142 -0
- package/src/components/TieredMenu/TieredMenu.tokens.theme-light.json +142 -0
- package/src/components/TieredMenu/TieredMenu.vue +288 -0
- package/src/components/TieredMenu/TieredMenuSub.vue +133 -0
- package/src/components/Timeline/Timeline.matrix.ts +19 -0
- package/src/components/Timeline/Timeline.scss +190 -0
- package/src/components/Timeline/Timeline.tokens.theme-dark.json +129 -0
- package/src/components/Timeline/Timeline.tokens.theme-high-contrast-solarized-dark.json +129 -0
- package/src/components/Timeline/Timeline.tokens.theme-high-contrast-solarized-light.json +129 -0
- package/src/components/Timeline/Timeline.tokens.theme-light.json +129 -0
- package/src/components/Timeline/Timeline.vue +69 -0
- package/src/components/Timeline/timelineUtils.ts +57 -0
- package/src/components/Toast/Toast.scss +281 -0
- package/src/components/Toast/Toast.tokens.theme-dark.json +281 -0
- package/src/components/Toast/Toast.tokens.theme-high-contrast-solarized-dark.json +281 -0
- package/src/components/Toast/Toast.tokens.theme-high-contrast-solarized-light.json +281 -0
- package/src/components/Toast/Toast.tokens.theme-light.json +281 -0
- package/src/components/Toast/Toast.vue +183 -0
- package/src/components/ToggleButton/ToggleButton.matrix.ts +33 -0
- package/src/components/ToggleButton/ToggleButton.scss +102 -0
- package/src/components/ToggleButton/ToggleButton.tokens.theme-dark.json +217 -0
- package/src/components/ToggleButton/ToggleButton.tokens.theme-high-contrast-solarized-dark.json +220 -0
- package/src/components/ToggleButton/ToggleButton.tokens.theme-high-contrast-solarized-light.json +220 -0
- package/src/components/ToggleButton/ToggleButton.tokens.theme-light.json +220 -0
- package/src/components/ToggleButton/ToggleButton.vue +73 -0
- package/src/components/ToggleSwitch/ToggleSwitch.matrix.ts +28 -0
- package/src/components/ToggleSwitch/ToggleSwitch.scss +75 -0
- package/src/components/ToggleSwitch/ToggleSwitch.tokens.theme-dark.json +95 -0
- package/src/components/ToggleSwitch/ToggleSwitch.tokens.theme-high-contrast-solarized-dark.json +95 -0
- package/src/components/ToggleSwitch/ToggleSwitch.tokens.theme-high-contrast-solarized-light.json +95 -0
- package/src/components/ToggleSwitch/ToggleSwitch.tokens.theme-light.json +95 -0
- package/src/components/ToggleSwitch/ToggleSwitch.vue +55 -0
- package/src/components/Toolbar/Toolbar.matrix.ts +10 -0
- package/src/components/Toolbar/Toolbar.scss +37 -0
- package/src/components/Toolbar/Toolbar.tokens.theme-dark.json +41 -0
- package/src/components/Toolbar/Toolbar.tokens.theme-high-contrast-solarized-dark.json +41 -0
- package/src/components/Toolbar/Toolbar.tokens.theme-high-contrast-solarized-light.json +41 -0
- package/src/components/Toolbar/Toolbar.tokens.theme-light.json +41 -0
- package/src/components/Toolbar/Toolbar.vue +21 -0
- package/src/components/Tooltip/Tooltip.scss +111 -0
- package/src/components/Tooltip/Tooltip.tokens.theme-dark.json +60 -0
- package/src/components/Tooltip/Tooltip.tokens.theme-high-contrast-solarized-dark.json +60 -0
- package/src/components/Tooltip/Tooltip.tokens.theme-high-contrast-solarized-light.json +60 -0
- package/src/components/Tooltip/Tooltip.tokens.theme-light.json +60 -0
- package/src/components/Tooltip/Tooltip.vue +168 -0
- package/src/components/Tooltip/computePosition.ts +64 -0
- package/src/components/Tree/Tree.matrix.ts +18 -0
- package/src/components/Tree/Tree.scss +170 -0
- package/src/components/Tree/Tree.tokens.theme-dark.json +153 -0
- package/src/components/Tree/Tree.tokens.theme-high-contrast-solarized-dark.json +153 -0
- package/src/components/Tree/Tree.tokens.theme-high-contrast-solarized-light.json +153 -0
- package/src/components/Tree/Tree.tokens.theme-light.json +153 -0
- package/src/components/Tree/Tree.vue +256 -0
- package/src/components/Tree/treeUtils.ts +128 -0
- package/src/components/TreeSelect/TreeSelect.matrix.ts +17 -0
- package/src/components/TreeSelect/TreeSelect.scss +245 -0
- package/src/components/TreeSelect/TreeSelect.tokens.theme-dark.json +224 -0
- package/src/components/TreeSelect/TreeSelect.tokens.theme-high-contrast-solarized-dark.json +224 -0
- package/src/components/TreeSelect/TreeSelect.tokens.theme-high-contrast-solarized-light.json +224 -0
- package/src/components/TreeSelect/TreeSelect.tokens.theme-light.json +224 -0
- package/src/components/TreeSelect/TreeSelect.vue +414 -0
- package/src/components/TreeSelect/treeUtils.ts +143 -0
- package/src/components/TreeTable/TreeTable.matrix.ts +24 -0
- package/src/components/TreeTable/TreeTable.scss +179 -0
- package/src/components/TreeTable/TreeTable.tokens.theme-dark.json +155 -0
- package/src/components/TreeTable/TreeTable.tokens.theme-high-contrast-solarized-dark.json +155 -0
- package/src/components/TreeTable/TreeTable.tokens.theme-high-contrast-solarized-light.json +155 -0
- package/src/components/TreeTable/TreeTable.tokens.theme-light.json +158 -0
- package/src/components/TreeTable/TreeTable.vue +296 -0
- package/src/components/TreeTable/treeTableUtils.ts +95 -0
- package/src/components/VirtualScroller/VirtualScroller.matrix.ts +14 -0
- package/src/components/VirtualScroller/VirtualScroller.scss +109 -0
- package/src/components/VirtualScroller/VirtualScroller.tokens.theme-dark.json +95 -0
- package/src/components/VirtualScroller/VirtualScroller.tokens.theme-high-contrast-solarized-dark.json +95 -0
- package/src/components/VirtualScroller/VirtualScroller.tokens.theme-high-contrast-solarized-light.json +95 -0
- package/src/components/VirtualScroller/VirtualScroller.tokens.theme-light.json +95 -0
- package/src/components/VirtualScroller/VirtualScroller.vue +247 -0
- package/src/components/VirtualScroller/visibleWindow.ts +85 -0
- package/src/scss/fonts.scss +10 -0
- package/src/scss/mixins/accent-gradient.scss +43 -0
- package/src/scss/mixins/border.scss +28 -0
- package/src/scss/mixins/breakpoint.scss +80 -0
- package/src/scss/mixins/container.scss +43 -0
- package/src/scss/mixins/grid.scss +23 -0
- package/src/scss/mixins/levitation.scss +15 -0
- package/src/scss/mixins/list.scss +5 -0
- package/src/scss/mixins/surface.scss +19 -0
- package/src/scss/mixins/typography.scss +172 -0
- package/src/scss/utility-classes/utility-classes-spacing.scss +281 -0
- package/src/scss/utility-classes/utility-classes-typography.scss +114 -0
- package/tokens/brand.json +33 -0
- package/tokens/brand.schema.json +86 -0
- package/tokens/presets/minimalist-saas.json +30 -0
- package/tokens/presets/serious-fintech.json +30 -0
- package/tokens/presets/warm-dtc.json +30 -0
- package/tokens/primitives/color.json +137 -0
- package/tokens/primitives/radius.json +12 -0
- package/tokens/primitives/shadow.json +29 -0
- package/tokens/primitives/spacing.json +15 -0
- package/tokens/themes/theme-dark/color.json +90 -0
- package/tokens/themes/theme-dark/container.json +9 -0
- package/tokens/themes/theme-dark/radius.json +10 -0
- package/tokens/themes/theme-dark/shadow.json +9 -0
- package/tokens/themes/theme-dark/spacing.json +44 -0
- package/tokens/themes/theme-high-contrast-solarized-dark/color.json +90 -0
- package/tokens/themes/theme-high-contrast-solarized-dark/container.json +9 -0
- package/tokens/themes/theme-high-contrast-solarized-dark/radius.json +10 -0
- package/tokens/themes/theme-high-contrast-solarized-dark/shadow.json +10 -0
- package/tokens/themes/theme-high-contrast-solarized-dark/spacing.json +44 -0
- package/tokens/themes/theme-high-contrast-solarized-light/color.json +90 -0
- package/tokens/themes/theme-high-contrast-solarized-light/container.json +9 -0
- package/tokens/themes/theme-high-contrast-solarized-light/radius.json +10 -0
- package/tokens/themes/theme-high-contrast-solarized-light/shadow.json +10 -0
- package/tokens/themes/theme-high-contrast-solarized-light/spacing.json +44 -0
- package/tokens/themes/theme-light/color.json +90 -0
- package/tokens/themes/theme-light/container.json +9 -0
- package/tokens/themes/theme-light/radius.json +10 -0
- package/tokens/themes/theme-light/shadow.json +9 -0
- package/tokens/themes/theme-light/spacing.json +44 -0
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="tree" :class="additionalClasses">
|
|
3
|
+
<div v-if="filter" class="tree__filter">
|
|
4
|
+
<input
|
|
5
|
+
v-model="filterValue"
|
|
6
|
+
type="text"
|
|
7
|
+
class="tree__filter-input"
|
|
8
|
+
placeholder="Search..."
|
|
9
|
+
@input="onFilterInput"
|
|
10
|
+
/>
|
|
11
|
+
</div>
|
|
12
|
+
<div class="tree__container" role="tree" aria-label="Tree" :aria-multiselectable="selectionMode === 'multiple'">
|
|
13
|
+
<TreeNode
|
|
14
|
+
v-for="node in filteredNodes"
|
|
15
|
+
:key="getNodeKey(node)"
|
|
16
|
+
:node="node"
|
|
17
|
+
:level="0"
|
|
18
|
+
:selection-mode="selectionMode"
|
|
19
|
+
:selected-keys="selectedKeysSet"
|
|
20
|
+
:expanded-keys="expandedKeysInternal"
|
|
21
|
+
:label-field="labelField"
|
|
22
|
+
:key-field="keyField"
|
|
23
|
+
:children-field="childrenField"
|
|
24
|
+
@select="onNodeSelect"
|
|
25
|
+
@toggle="onNodeToggle"
|
|
26
|
+
/>
|
|
27
|
+
<div v-if="filteredNodes.length === 0" class="tree__empty">
|
|
28
|
+
No results found
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
</template>
|
|
33
|
+
|
|
34
|
+
<style src="./Tree.scss"></style>
|
|
35
|
+
|
|
36
|
+
<script setup lang="ts">
|
|
37
|
+
import { computed, ref, watch, h } from "vue";
|
|
38
|
+
import {
|
|
39
|
+
filterNodes as filterNodesUtil,
|
|
40
|
+
toggleExpansion,
|
|
41
|
+
nextSelection,
|
|
42
|
+
selectedKeysSet as toSelectedKeysSet,
|
|
43
|
+
} from "./treeUtils";
|
|
44
|
+
|
|
45
|
+
// TreeNode subcomponent
|
|
46
|
+
const TreeNode = {
|
|
47
|
+
name: "TreeNode",
|
|
48
|
+
props: {
|
|
49
|
+
node: Object,
|
|
50
|
+
level: Number,
|
|
51
|
+
selectionMode: String,
|
|
52
|
+
selectedKeys: Set,
|
|
53
|
+
expandedKeys: Set,
|
|
54
|
+
labelField: String,
|
|
55
|
+
keyField: String,
|
|
56
|
+
childrenField: String,
|
|
57
|
+
},
|
|
58
|
+
emits: ["select", "toggle"],
|
|
59
|
+
setup(props, { emit }) {
|
|
60
|
+
const hasChildren = computed(() => {
|
|
61
|
+
const children = props.node[props.childrenField];
|
|
62
|
+
return children && children.length > 0;
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
const isExpanded = computed(() => {
|
|
66
|
+
return props.expandedKeys.has(props.node[props.keyField]);
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
const isSelected = computed(() => {
|
|
70
|
+
return props.selectedKeys.has(props.node[props.keyField]);
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
const onToggle = (event) => {
|
|
74
|
+
event.stopPropagation();
|
|
75
|
+
emit("toggle", props.node);
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
const onSelect = () => {
|
|
79
|
+
emit("select", props.node);
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
const onKeydown = (event) => {
|
|
83
|
+
if (event.key === "Enter" || event.key === " ") {
|
|
84
|
+
event.preventDefault();
|
|
85
|
+
onSelect();
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
return () => {
|
|
90
|
+
const children = [];
|
|
91
|
+
|
|
92
|
+
// Node content
|
|
93
|
+
const nodeContent = h("div", {
|
|
94
|
+
class: [
|
|
95
|
+
"tree__node",
|
|
96
|
+
isSelected.value && "tree__node--state-selected"
|
|
97
|
+
],
|
|
98
|
+
style: { paddingLeft: `${props.level * 24 + 8}px` },
|
|
99
|
+
role: "treeitem",
|
|
100
|
+
"aria-selected": isSelected.value,
|
|
101
|
+
"aria-expanded": hasChildren.value ? isExpanded.value : undefined,
|
|
102
|
+
tabindex: 0,
|
|
103
|
+
onClick: onSelect,
|
|
104
|
+
onKeydown: onKeydown,
|
|
105
|
+
}, [
|
|
106
|
+
hasChildren.value ? h("button", {
|
|
107
|
+
type: "button",
|
|
108
|
+
class: ["tree__toggler", isExpanded.value && "tree__toggler--state-expanded"],
|
|
109
|
+
onClick: onToggle,
|
|
110
|
+
"aria-label": isExpanded.value ? "Collapse" : "Expand",
|
|
111
|
+
}, [
|
|
112
|
+
h("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none" }, [
|
|
113
|
+
h("path", {
|
|
114
|
+
d: "M6 4L10 8L6 12",
|
|
115
|
+
stroke: "currentColor",
|
|
116
|
+
"stroke-width": "1.5",
|
|
117
|
+
"stroke-linecap": "round",
|
|
118
|
+
"stroke-linejoin": "round"
|
|
119
|
+
})
|
|
120
|
+
])
|
|
121
|
+
]) : h("span", { class: "tree__toggler-spacer" }),
|
|
122
|
+
props.selectionMode === "checkbox" || props.selectionMode === "multiple" ? h("span", {
|
|
123
|
+
class: ["tree__checkbox", isSelected.value && "tree__checkbox--state-checked"]
|
|
124
|
+
}, [
|
|
125
|
+
isSelected.value ? h("svg", { width: 12, height: 12, viewBox: "0 0 12 12", fill: "none" }, [
|
|
126
|
+
h("path", {
|
|
127
|
+
d: "M10 3L4.5 8.5L2 6",
|
|
128
|
+
stroke: "currentColor",
|
|
129
|
+
"stroke-width": "2",
|
|
130
|
+
"stroke-linecap": "round",
|
|
131
|
+
"stroke-linejoin": "round"
|
|
132
|
+
})
|
|
133
|
+
]) : null
|
|
134
|
+
]) : null,
|
|
135
|
+
h("span", { class: "tree__node-label" }, props.node[props.labelField])
|
|
136
|
+
]);
|
|
137
|
+
|
|
138
|
+
children.push(nodeContent);
|
|
139
|
+
|
|
140
|
+
// Children nodes
|
|
141
|
+
if (hasChildren.value && isExpanded.value) {
|
|
142
|
+
const nodeChildren = props.node[props.childrenField];
|
|
143
|
+
children.push(h("div", { class: "tree__children", role: "group" },
|
|
144
|
+
nodeChildren.map((child) =>
|
|
145
|
+
h(TreeNode, {
|
|
146
|
+
key: child[props.keyField],
|
|
147
|
+
node: child,
|
|
148
|
+
level: props.level + 1,
|
|
149
|
+
selectionMode: props.selectionMode,
|
|
150
|
+
selectedKeys: props.selectedKeys,
|
|
151
|
+
expandedKeys: props.expandedKeys,
|
|
152
|
+
labelField: props.labelField,
|
|
153
|
+
keyField: props.keyField,
|
|
154
|
+
childrenField: props.childrenField,
|
|
155
|
+
onSelect: (n) => emit("select", n),
|
|
156
|
+
onToggle: (n) => emit("toggle", n),
|
|
157
|
+
})
|
|
158
|
+
)
|
|
159
|
+
));
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
return h("div", { class: "tree__node-wrapper" }, children);
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
interface Props {
|
|
168
|
+
modelValue?: string | number | unknown[];
|
|
169
|
+
nodes?: unknown[];
|
|
170
|
+
expandedKeys?: unknown[];
|
|
171
|
+
selectionMode?: string;
|
|
172
|
+
filter?: boolean;
|
|
173
|
+
labelField?: string;
|
|
174
|
+
keyField?: string;
|
|
175
|
+
childrenField?: string;
|
|
176
|
+
isDisabled?: boolean;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
const props = withDefaults(defineProps<Props>(), {
|
|
180
|
+
modelValue: null,
|
|
181
|
+
nodes: () => [],
|
|
182
|
+
expandedKeys: () => [],
|
|
183
|
+
selectionMode: "single",
|
|
184
|
+
filter: false,
|
|
185
|
+
labelField: "label",
|
|
186
|
+
keyField: "key",
|
|
187
|
+
childrenField: "children",
|
|
188
|
+
isDisabled: false,
|
|
189
|
+
});
|
|
190
|
+
const emit = defineEmits<{
|
|
191
|
+
(e: "update:modelValue", ...args: unknown[]): void;
|
|
192
|
+
(e: "update:expandedKeys", ...args: unknown[]): void;
|
|
193
|
+
(e: "node-select", ...args: unknown[]): void;
|
|
194
|
+
(e: "node-expand", ...args: unknown[]): void;
|
|
195
|
+
(e: "node-collapse", ...args: unknown[]): void;
|
|
196
|
+
(e: "filter", ...args: unknown[]): void;
|
|
197
|
+
}>();
|
|
198
|
+
const filterValue = ref("");
|
|
199
|
+
const expandedKeysInternal = ref(new Set(props.expandedKeys));
|
|
200
|
+
|
|
201
|
+
watch(() => props.expandedKeys, (newKeys) => {
|
|
202
|
+
expandedKeysInternal.value = new Set(newKeys);
|
|
203
|
+
}, { deep: true });
|
|
204
|
+
|
|
205
|
+
const getNodeKey = (node) => node[props.keyField];
|
|
206
|
+
|
|
207
|
+
const selectedKeysSet = computed(() => toSelectedKeysSet(props.modelValue));
|
|
208
|
+
|
|
209
|
+
const filteredNodes = computed(() => {
|
|
210
|
+
if (!filterValue.value) return props.nodes;
|
|
211
|
+
return filterNodesUtil(props.nodes as Record<string, unknown>[], filterValue.value, {
|
|
212
|
+
labelField: props.labelField,
|
|
213
|
+
keyField: props.keyField,
|
|
214
|
+
childrenField: props.childrenField,
|
|
215
|
+
});
|
|
216
|
+
});
|
|
217
|
+
|
|
218
|
+
const onNodeSelect = (node) => {
|
|
219
|
+
if (props.isDisabled || !props.selectionMode) return;
|
|
220
|
+
|
|
221
|
+
const key = node[props.keyField];
|
|
222
|
+
|
|
223
|
+
if (props.selectionMode === "single") {
|
|
224
|
+
const next = nextSelection(props.modelValue as unknown, key, "single");
|
|
225
|
+
emit("update:modelValue", next);
|
|
226
|
+
emit("node-select", { node, key });
|
|
227
|
+
} else {
|
|
228
|
+
const newValue = nextSelection(props.modelValue as unknown, key, "multiple");
|
|
229
|
+
emit("update:modelValue", newValue);
|
|
230
|
+
emit("node-select", { node, key, selectedKeys: newValue });
|
|
231
|
+
}
|
|
232
|
+
};
|
|
233
|
+
|
|
234
|
+
const onNodeToggle = (node) => {
|
|
235
|
+
const key = node[props.keyField];
|
|
236
|
+
const wasExpanded = expandedKeysInternal.value.has(key);
|
|
237
|
+
const newExpanded = toggleExpansion(expandedKeysInternal.value, key);
|
|
238
|
+
|
|
239
|
+
if (wasExpanded) {
|
|
240
|
+
emit("node-collapse", { node, key });
|
|
241
|
+
} else {
|
|
242
|
+
emit("node-expand", { node, key });
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
expandedKeysInternal.value = newExpanded;
|
|
246
|
+
emit("update:expandedKeys", Array.from(newExpanded));
|
|
247
|
+
};
|
|
248
|
+
|
|
249
|
+
const onFilterInput = () => {
|
|
250
|
+
emit("filter", { value: filterValue.value });
|
|
251
|
+
};
|
|
252
|
+
|
|
253
|
+
const additionalClasses = computed(() =>
|
|
254
|
+
[props.isDisabled && "tree--state-disabled"].filter(Boolean).join(" ")
|
|
255
|
+
);
|
|
256
|
+
</script>
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pure tree-walking helpers for the standalone Tree component.
|
|
3
|
+
*
|
|
4
|
+
* Lives next to the component (same convention as MultiSelect/options.ts vs.
|
|
5
|
+
* Dropdown/options.ts — siblings per component, not a shared module — so a
|
|
6
|
+
* change to Tree's data shape can't accidentally break TreeSelect, and
|
|
7
|
+
* vice versa).
|
|
8
|
+
*
|
|
9
|
+
* All functions are field-agnostic: caller passes `labelField`, `keyField`,
|
|
10
|
+
* `childrenField` so the helpers work with default `label/key/children`
|
|
11
|
+
* or any custom shape (e.g. `name/id/items`).
|
|
12
|
+
*
|
|
13
|
+
* No Vue, no DOM, no refs — pure data in / data out.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
export type TreeNode = Record<string, unknown>
|
|
17
|
+
|
|
18
|
+
export interface FieldConfig {
|
|
19
|
+
labelField: string
|
|
20
|
+
keyField: string
|
|
21
|
+
childrenField: string
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
const DEFAULT_FIELDS: FieldConfig = {
|
|
25
|
+
labelField: 'label',
|
|
26
|
+
keyField: 'key',
|
|
27
|
+
childrenField: 'children',
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
function children(node: TreeNode, f: FieldConfig): TreeNode[] | undefined {
|
|
31
|
+
const c = node[f.childrenField]
|
|
32
|
+
return Array.isArray(c) ? (c as TreeNode[]) : undefined
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
function label(node: TreeNode, f: FieldConfig): string {
|
|
36
|
+
return String(node[f.labelField] ?? '')
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Filter the tree by `searchTerm`, keeping any node whose label matches
|
|
41
|
+
* (case-insensitive) AND every node on the path to a matching descendant.
|
|
42
|
+
* Empty term returns the original list unchanged (not a copy).
|
|
43
|
+
*
|
|
44
|
+
* Does not mutate. Parents kept only because of descendants get a fresh
|
|
45
|
+
* `children` array containing the filtered subset.
|
|
46
|
+
*/
|
|
47
|
+
export function filterNodes(
|
|
48
|
+
nodes: TreeNode[],
|
|
49
|
+
searchTerm: string,
|
|
50
|
+
fields: Partial<FieldConfig> = {}
|
|
51
|
+
): TreeNode[] {
|
|
52
|
+
const f = { ...DEFAULT_FIELDS, ...fields }
|
|
53
|
+
const term = searchTerm.toLowerCase()
|
|
54
|
+
if (term === '') return nodes
|
|
55
|
+
|
|
56
|
+
const out: TreeNode[] = []
|
|
57
|
+
for (const node of nodes) {
|
|
58
|
+
const matchesSelf = label(node, f).toLowerCase().includes(term)
|
|
59
|
+
const kids = children(node, f)
|
|
60
|
+
if (matchesSelf) {
|
|
61
|
+
out.push(node)
|
|
62
|
+
} else if (kids && kids.length > 0) {
|
|
63
|
+
const filteredChildren = filterNodes(kids, searchTerm, fields)
|
|
64
|
+
if (filteredChildren.length > 0) {
|
|
65
|
+
out.push({ ...node, [f.childrenField]: filteredChildren })
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
return out
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Toggle expansion for a single key.
|
|
74
|
+
* - key already in set → remove (collapse)
|
|
75
|
+
* - key absent → add (expand)
|
|
76
|
+
* Returns a new Set; the input is not mutated.
|
|
77
|
+
*/
|
|
78
|
+
export function toggleExpansion<K = unknown>(
|
|
79
|
+
current: Set<K>,
|
|
80
|
+
key: K
|
|
81
|
+
): Set<K> {
|
|
82
|
+
const next = new Set(current)
|
|
83
|
+
if (next.has(key)) next.delete(key)
|
|
84
|
+
else next.add(key)
|
|
85
|
+
return next
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Compute the next selection given a click on `key`.
|
|
90
|
+
*
|
|
91
|
+
* - mode 'single': selects `key`. (Click on the same key keeps it selected;
|
|
92
|
+
* re-click does NOT clear — Tree's contract differs from Rating.)
|
|
93
|
+
* - mode 'multiple' / 'checkbox' (toggle behaviour): toggles `key` in the
|
|
94
|
+
* array. Returns a new array — input is not mutated.
|
|
95
|
+
*
|
|
96
|
+
* `current` may be:
|
|
97
|
+
* - null / undefined → starts a fresh selection
|
|
98
|
+
* - single value → wrapped in an array as needed
|
|
99
|
+
* - array of keys → toggled
|
|
100
|
+
*/
|
|
101
|
+
export function nextSelection<K = unknown>(
|
|
102
|
+
current: K | K[] | null | undefined,
|
|
103
|
+
key: K,
|
|
104
|
+
mode: 'single' | 'multiple' | 'checkbox'
|
|
105
|
+
): K | K[] {
|
|
106
|
+
if (mode === 'single') return key
|
|
107
|
+
if (Array.isArray(current)) {
|
|
108
|
+
return current.includes(key)
|
|
109
|
+
? current.filter(k => k !== key)
|
|
110
|
+
: [...current, key]
|
|
111
|
+
}
|
|
112
|
+
return [key]
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Normalise modelValue to a Set of selected keys for fast `has(key)`
|
|
117
|
+
* lookups during render.
|
|
118
|
+
* - null / undefined → empty set
|
|
119
|
+
* - single value → set of one
|
|
120
|
+
* - array of values → set
|
|
121
|
+
*/
|
|
122
|
+
export function selectedKeysSet<K = unknown>(
|
|
123
|
+
modelValue: K | K[] | null | undefined
|
|
124
|
+
): Set<K> {
|
|
125
|
+
if (modelValue === null || modelValue === undefined) return new Set()
|
|
126
|
+
if (Array.isArray(modelValue)) return new Set(modelValue)
|
|
127
|
+
return new Set([modelValue])
|
|
128
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ComponentMatrix } from '../../types/matrix'
|
|
2
|
+
|
|
3
|
+
export const matrix: ComponentMatrix = {
|
|
4
|
+
rootSelector: '.tree-select',
|
|
5
|
+
// TreeSelect closed-state — trigger button. Open tree popup uses
|
|
6
|
+
// position:fixed teleport (behavioural spec covers open interaction).
|
|
7
|
+
baseQuery: {
|
|
8
|
+
options: '[{"key":"0","label":"Documents","children":[{"key":"0-0","label":"Work"}]},{"key":"1","label":"Pictures"}]',
|
|
9
|
+
placeholder: 'Select a node'
|
|
10
|
+
},
|
|
11
|
+
variants: [],
|
|
12
|
+
states: [
|
|
13
|
+
{ name: 'hover', attr: 'hover' },
|
|
14
|
+
{ name: 'focus-visible', attr: 'focus-visible' },
|
|
15
|
+
{ name: 'disabled', props: { isDisabled: 'true' } }
|
|
16
|
+
]
|
|
17
|
+
}
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
@use "../../../dist/scss/tokens" as *;
|
|
2
|
+
|
|
3
|
+
$c: tree-select;
|
|
4
|
+
|
|
5
|
+
.#{$c} {
|
|
6
|
+
position: relative;
|
|
7
|
+
display: inline-flex;
|
|
8
|
+
width: 100%;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.#{$c}__trigger {
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
width: 100%;
|
|
15
|
+
background-color: var(--tree-select-background-default, $tree-select-background-default);
|
|
16
|
+
border: var(--tree-select-border-width, $tree-select-border-width) solid var(--tree-select-border-color-default, $tree-select-border-color-default);
|
|
17
|
+
border-radius: var(--tree-select-radius, $tree-select-radius);
|
|
18
|
+
padding: var(--tree-select-padding-y, $tree-select-padding-y) var(--tree-select-padding-x, $tree-select-padding-x);
|
|
19
|
+
padding-right: calc(var(--tree-select-padding-x, $tree-select-padding-x) + 24px);
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
transition: all 0.15s ease;
|
|
22
|
+
|
|
23
|
+
&:hover:not([aria-disabled="true"]),
|
|
24
|
+
&[data-state~="hover"]:not([aria-disabled="true"]) {
|
|
25
|
+
border-color: var(--tree-select-border-color-hover, $tree-select-border-color-hover);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&:focus,
|
|
29
|
+
&[data-state~="focus"] {
|
|
30
|
+
outline: var(--tree-select-focus-ringWidth, $tree-select-focus-ringWidth) solid var(--tree-select-focus-ringColor, $tree-select-focus-ringColor);
|
|
31
|
+
outline-offset: var(--tree-select-focus-ringOffset, $tree-select-focus-ringOffset);
|
|
32
|
+
border-color: var(--tree-select-border-color-focus, $tree-select-border-color-focus);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.#{$c}__content {
|
|
37
|
+
flex: 1;
|
|
38
|
+
min-width: 0;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.#{$c}__placeholder {
|
|
42
|
+
color: var(--tree-select-text-placeholder, $tree-select-text-placeholder);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.#{$c}__label {
|
|
46
|
+
color: var(--tree-select-text-default, $tree-select-text-default);
|
|
47
|
+
white-space: nowrap;
|
|
48
|
+
overflow: hidden;
|
|
49
|
+
text-overflow: ellipsis;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.#{$c}__icon {
|
|
53
|
+
position: absolute;
|
|
54
|
+
right: var(--tree-select-padding-x, $tree-select-padding-x);
|
|
55
|
+
top: 50%;
|
|
56
|
+
transform: translateY(-50%);
|
|
57
|
+
pointer-events: none;
|
|
58
|
+
color: var(--tree-select-icon-color-default, $tree-select-icon-color-default);
|
|
59
|
+
display: flex;
|
|
60
|
+
align-items: center;
|
|
61
|
+
justify-content: center;
|
|
62
|
+
transition: transform 0.15s ease;
|
|
63
|
+
|
|
64
|
+
&--state-open {
|
|
65
|
+
transform: translateY(-50%) rotate(180deg);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.#{$c}__dropdown {
|
|
70
|
+
background-color: var(--tree-select-dropdown-background, $tree-select-dropdown-background);
|
|
71
|
+
border: 1px solid var(--tree-select-dropdown-border, $tree-select-dropdown-border);
|
|
72
|
+
border-radius: var(--tree-select-dropdown-radius, $tree-select-dropdown-radius);
|
|
73
|
+
box-shadow: var(--tree-select-dropdown-shadow, $tree-select-dropdown-shadow);
|
|
74
|
+
overflow: hidden;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.#{$c}__filter {
|
|
78
|
+
padding: var(--tree-select-filter-padding, $tree-select-filter-padding);
|
|
79
|
+
border-bottom: 1px solid var(--tree-select-filter-borderColor, $tree-select-filter-borderColor);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.#{$c}__filter-input {
|
|
83
|
+
width: 100%;
|
|
84
|
+
padding: var(--tree-select-padding-y, $tree-select-padding-y) var(--tree-select-padding-x, $tree-select-padding-x);
|
|
85
|
+
border: var(--tree-select-border-width, $tree-select-border-width) solid var(--tree-select-border-color-default, $tree-select-border-color-default);
|
|
86
|
+
border-radius: var(--tree-select-radius, $tree-select-radius);
|
|
87
|
+
font-size: inherit;
|
|
88
|
+
|
|
89
|
+
&:focus,
|
|
90
|
+
&[data-state~="focus"] {
|
|
91
|
+
outline: none;
|
|
92
|
+
border-color: var(--tree-select-border-color-focus, $tree-select-border-color-focus);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.#{$c}__tree {
|
|
97
|
+
max-height: var(--tree-select-dropdown-maxHeight, $tree-select-dropdown-maxHeight);
|
|
98
|
+
overflow-y: auto;
|
|
99
|
+
padding: var(--tree-select-node-padding-y, $tree-select-node-padding-y) 0;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.#{$c}__node-wrapper {
|
|
103
|
+
display: flex;
|
|
104
|
+
flex-direction: column;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.#{$c}__node {
|
|
108
|
+
display: flex;
|
|
109
|
+
align-items: center;
|
|
110
|
+
gap: var(--tree-select-node-gap, $tree-select-node-gap);
|
|
111
|
+
padding: var(--tree-select-node-padding-y, $tree-select-node-padding-y) var(--tree-select-node-padding-x, $tree-select-node-padding-x);
|
|
112
|
+
background-color: var(--tree-select-node-background-default, $tree-select-node-background-default);
|
|
113
|
+
color: var(--tree-select-node-text-default, $tree-select-node-text-default);
|
|
114
|
+
cursor: pointer;
|
|
115
|
+
transition: background-color 0.15s ease;
|
|
116
|
+
|
|
117
|
+
&:hover,
|
|
118
|
+
&[data-state~="hover"] {
|
|
119
|
+
background-color: var(--tree-select-node-background-hover, $tree-select-node-background-hover);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
&--state-selected {
|
|
123
|
+
background-color: var(--tree-select-node-background-selected, $tree-select-node-background-selected);
|
|
124
|
+
color: var(--tree-select-node-text-selected, $tree-select-node-text-selected);
|
|
125
|
+
|
|
126
|
+
&:hover,
|
|
127
|
+
&[data-state~="hover"] {
|
|
128
|
+
background-color: var(--tree-select-node-background-selected, $tree-select-node-background-selected);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.#{$c}__toggler {
|
|
134
|
+
display: inline-flex;
|
|
135
|
+
align-items: center;
|
|
136
|
+
justify-content: center;
|
|
137
|
+
width: var(--tree-select-toggler-size, $tree-select-toggler-size);
|
|
138
|
+
height: var(--tree-select-toggler-size, $tree-select-toggler-size);
|
|
139
|
+
padding: 0;
|
|
140
|
+
background: transparent;
|
|
141
|
+
border: none;
|
|
142
|
+
color: var(--tree-select-toggler-color-default, $tree-select-toggler-color-default);
|
|
143
|
+
cursor: pointer;
|
|
144
|
+
transition: transform 0.15s ease, color 0.15s ease;
|
|
145
|
+
flex-shrink: 0;
|
|
146
|
+
|
|
147
|
+
&:hover,
|
|
148
|
+
&[data-state~="hover"] {
|
|
149
|
+
color: var(--tree-select-toggler-color-hover, $tree-select-toggler-color-hover);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
&--state-expanded {
|
|
153
|
+
transform: rotate(90deg);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.#{$c}__toggler-spacer {
|
|
158
|
+
width: var(--tree-select-toggler-size, $tree-select-toggler-size);
|
|
159
|
+
flex-shrink: 0;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.#{$c}__checkbox {
|
|
163
|
+
display: inline-flex;
|
|
164
|
+
align-items: center;
|
|
165
|
+
justify-content: center;
|
|
166
|
+
width: 18px;
|
|
167
|
+
height: 18px;
|
|
168
|
+
border: 2px solid var(--tree-select-border-color-default, $tree-select-border-color-default);
|
|
169
|
+
border-radius: 3px;
|
|
170
|
+
flex-shrink: 0;
|
|
171
|
+
transition: all 0.15s ease;
|
|
172
|
+
|
|
173
|
+
svg {
|
|
174
|
+
width: 12px;
|
|
175
|
+
height: 12px;
|
|
176
|
+
color: white;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
&--state-checked {
|
|
180
|
+
background-color: var(--tree-select-focus-ringColor, $tree-select-focus-ringColor);
|
|
181
|
+
border-color: var(--tree-select-focus-ringColor, $tree-select-focus-ringColor);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.#{$c}__node-label {
|
|
186
|
+
flex: 1;
|
|
187
|
+
min-width: 0;
|
|
188
|
+
white-space: nowrap;
|
|
189
|
+
overflow: hidden;
|
|
190
|
+
text-overflow: ellipsis;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.#{$c}__empty {
|
|
194
|
+
padding: var(--tree-select-node-padding-y, $tree-select-node-padding-y) var(--tree-select-node-padding-x, $tree-select-node-padding-x);
|
|
195
|
+
color: var(--tree-select-text-placeholder, $tree-select-text-placeholder);
|
|
196
|
+
text-align: center;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
// Disabled state
|
|
200
|
+
.#{$c}--state-disabled {
|
|
201
|
+
.#{$c}__trigger {
|
|
202
|
+
cursor: not-allowed;
|
|
203
|
+
background-color: var(--tree-select-background-disabled, $tree-select-background-disabled);
|
|
204
|
+
border-color: var(--tree-select-border-color-disabled, $tree-select-border-color-disabled);
|
|
205
|
+
color: var(--tree-select-text-disabled, $tree-select-text-disabled);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.#{$c}__icon {
|
|
209
|
+
color: var(--tree-select-icon-color-disabled, $tree-select-icon-color-disabled);
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
// Invalid state
|
|
214
|
+
.#{$c}--state-invalid {
|
|
215
|
+
.#{$c}__trigger {
|
|
216
|
+
border-color: var(--tree-select-border-color-error, $tree-select-border-color-error);
|
|
217
|
+
|
|
218
|
+
&:focus,
|
|
219
|
+
&[data-state~="focus"] {
|
|
220
|
+
border-color: var(--tree-select-border-color-error, $tree-select-border-color-error);
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
// Sizes
|
|
226
|
+
.#{$c}--size-sm {
|
|
227
|
+
.#{$c}__trigger {
|
|
228
|
+
height: var(--tree-select-height-sm, $tree-select-height-sm);
|
|
229
|
+
font-size: var(--tree-select-fontSize-sm, $tree-select-fontSize-sm);
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.#{$c}--size-md {
|
|
234
|
+
.#{$c}__trigger {
|
|
235
|
+
height: var(--tree-select-height-md, $tree-select-height-md);
|
|
236
|
+
font-size: var(--tree-select-fontSize-md, $tree-select-fontSize-md);
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.#{$c}--size-lg {
|
|
241
|
+
.#{$c}__trigger {
|
|
242
|
+
height: var(--tree-select-height-lg, $tree-select-height-lg);
|
|
243
|
+
font-size: var(--tree-select-fontSize-lg, $tree-select-fontSize-lg);
|
|
244
|
+
}
|
|
245
|
+
}
|