@studiolxd/brand 50.0.0 → 51.0.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/_shared/alert.js +98 -0
- package/dist/_shared/asyncmultiselect.js +133 -0
- package/dist/_shared/asyncselect.js +122 -0
- package/dist/_shared/brandmessagescontext.js +27 -11
- package/dist/_shared/{calendargrid.js → calendar.js} +11 -1
- package/dist/_shared/closebutton.js +34 -0
- package/dist/_shared/colorpicker.js +141 -122
- package/dist/_shared/connectorrequestsummary.js +46 -0
- package/dist/_shared/{copy-to-clipboard.js → copy.js} +8 -1
- package/dist/_shared/datepicker.js +80 -67
- package/dist/_shared/default-render-link.js +6 -1
- package/dist/_shared/dotsbutton.js +31 -0
- package/dist/_shared/env.js +13 -2
- package/dist/_shared/field-optional.js +9 -0
- package/dist/_shared/fieldshell.js +85 -0
- package/dist/_shared/fileupload.js +237 -0
- package/dist/_shared/focusable-when-disabled.js +10 -0
- package/dist/_shared/imagecropdialog.js +65 -57
- package/dist/_shared/inputfield.js +92 -0
- package/dist/_shared/inputphone.js +91 -0
- package/dist/_shared/legalfooter.js +42 -0
- package/dist/_shared/logo.js +10 -9
- package/dist/_shared/menubutton.js +31 -0
- package/dist/_shared/modal.js +69 -0
- package/dist/_shared/multiselect.js +128 -0
- package/dist/_shared/notificationbutton.js +35 -0
- package/dist/_shared/numberinput.js +104 -0
- package/dist/_shared/otpinput.js +119 -0
- package/dist/_shared/pagination.js +198 -0
- package/dist/_shared/prevnextnav.js +93 -0
- package/dist/_shared/progressbar.js +25 -23
- package/dist/_shared/publicpageshell.js +39 -0
- package/dist/_shared/requiredinput.js +23 -0
- package/dist/_shared/searchform.js +65 -0
- package/dist/_shared/select.js +163 -0
- package/dist/_shared/sheet.js +58 -0
- package/dist/_shared/slider.js +43 -0
- package/dist/_shared/spinner.js +5 -0
- package/dist/_shared/table.js +140 -0
- package/dist/_shared/timeselect.js +91 -0
- package/dist/_shared/tokens.js +116 -11
- package/dist/_shared/typingindicator.js +32 -0
- package/dist/_shared/untrustedtext.js +27 -23
- package/dist/_types/atoms/AsyncMultiSelect/AsyncMultiSelect.d.ts +6 -1
- package/dist/_types/atoms/AsyncSelect/AsyncSelect.d.ts +6 -1
- package/dist/_types/atoms/Autocomplete/Autocomplete.d.ts +6 -1
- package/dist/_types/atoms/Button/Button.d.ts +13 -0
- package/dist/_types/atoms/CloseButton/CloseButton.d.ts +9 -0
- package/dist/_types/atoms/DescriptionList/DescriptionList.d.ts +4 -4
- package/dist/_types/atoms/EmbedFrame/EmbedFrame.d.ts +13 -1
- package/dist/_types/atoms/Fieldset/Fieldset.d.ts +11 -5
- package/dist/_types/atoms/FileUpload/FileUpload.d.ts +7 -2
- package/dist/_types/atoms/Input/Input.d.ts +1 -1
- package/dist/_types/atoms/InputPhone/InputPhone.d.ts +6 -1
- package/dist/_types/atoms/Link/Link.d.ts +7 -3
- package/dist/_types/atoms/List/List.d.ts +4 -2
- package/dist/_types/atoms/Logo/Logo.d.ts +11 -5
- package/dist/_types/atoms/Logo/index.d.ts +1 -1
- package/dist/_types/atoms/MultiSelect/MultiSelect.d.ts +11 -1
- package/dist/_types/atoms/NumberBadge/NumberBadge.d.ts +14 -2
- package/dist/_types/atoms/NumberInput/NumberInput.d.ts +1 -1
- package/dist/_types/atoms/OtpInput/OtpInput.d.ts +2 -0
- package/dist/_types/atoms/Paragraph/Paragraph.d.ts +14 -2
- package/dist/_types/atoms/Popover/Popover.d.ts +5 -1
- package/dist/_types/atoms/ProgressBar/ProgressBar.d.ts +12 -4
- package/dist/_types/atoms/Sparkline/Sparkline.d.ts +2 -0
- package/dist/_types/atoms/StepMarker/StepMarker.d.ts +9 -4
- package/dist/_types/atoms/Tag/Tag.d.ts +13 -2
- package/dist/_types/atoms/Text/Text.d.ts +11 -5
- package/dist/_types/atoms/TimeSelect/TimeSelect.d.ts +6 -1
- package/dist/_types/atoms/Toggle/Toggle.d.ts +9 -0
- package/dist/_types/atoms/Tooltip/Tooltip.d.ts +11 -13
- package/dist/_types/constants/default-render-link.d.ts +8 -1
- package/dist/_types/constants/env.d.ts +9 -5
- package/dist/_types/constants/field-optional.d.ts +14 -0
- package/dist/_types/constants/focusable-when-disabled.d.ts +2 -0
- package/dist/_types/messages/BrandMessages.d.ts +53 -14
- package/dist/_types/messages/BrandMessagesContext.d.ts +534 -12
- package/dist/_types/messages/BrandMessagesProvider.d.ts +33 -11
- package/dist/_types/messages/brandMessagesEs.d.ts +18 -0
- package/dist/_types/messages/es/alert.d.ts +3 -0
- package/dist/_types/messages/es/annotationThread.d.ts +3 -0
- package/dist/_types/messages/es/appHeader.d.ts +3 -0
- package/dist/_types/messages/es/appLauncher.d.ts +3 -0
- package/dist/_types/messages/es/appRoot.d.ts +3 -0
- package/dist/_types/messages/es/appShell.d.ts +3 -0
- package/dist/_types/messages/es/asyncMultiSelect.d.ts +3 -0
- package/dist/_types/messages/es/asyncSelect.d.ts +3 -0
- package/dist/_types/messages/es/avatarUpload.d.ts +3 -0
- package/dist/_types/messages/es/banner.d.ts +3 -0
- package/dist/_types/messages/es/breadcrumb.d.ts +3 -0
- package/dist/_types/messages/es/calendar.d.ts +3 -0
- package/dist/_types/messages/es/calendarPlanner.d.ts +3 -0
- package/dist/_types/messages/es/calendarRoster.d.ts +3 -0
- package/dist/_types/messages/es/carousel.d.ts +3 -0
- package/dist/_types/messages/es/chart.d.ts +3 -0
- package/dist/_types/messages/es/chatShell.d.ts +3 -0
- package/dist/_types/messages/es/clockWidget.d.ts +3 -0
- package/dist/_types/messages/es/closeButton.d.ts +3 -0
- package/dist/_types/messages/es/codeBlock.d.ts +3 -0
- package/dist/_types/messages/es/colorPicker.d.ts +3 -0
- package/dist/_types/messages/es/commandPalette.d.ts +3 -0
- package/dist/_types/messages/es/confirmDialog.d.ts +3 -0
- package/dist/_types/messages/es/connectorConsent.d.ts +3 -0
- package/dist/_types/messages/es/connectorExternalSignIn.d.ts +3 -0
- package/dist/_types/messages/es/connectorRejection.d.ts +3 -0
- package/dist/_types/messages/es/connectorRequestSummary.d.ts +3 -0
- package/dist/_types/messages/es/connectorSignIn.d.ts +3 -0
- package/dist/_types/messages/es/consent.d.ts +3 -0
- package/dist/_types/messages/es/conversationList.d.ts +3 -0
- package/dist/_types/messages/es/conversationThread.d.ts +3 -0
- package/dist/_types/messages/es/copy.d.ts +3 -0
- package/dist/_types/messages/es/dataTable.d.ts +3 -0
- package/dist/_types/messages/es/datePicker.d.ts +3 -0
- package/dist/_types/messages/es/docsSearch.d.ts +3 -0
- package/dist/_types/messages/es/dotsButton.d.ts +3 -0
- package/dist/_types/messages/es/field.d.ts +3 -0
- package/dist/_types/messages/es/fileUpload.d.ts +3 -0
- package/dist/_types/messages/es/filterBar.d.ts +3 -0
- package/dist/_types/messages/es/floatingDock.d.ts +3 -0
- package/dist/_types/messages/es/heatmap.d.ts +3 -0
- package/dist/_types/messages/es/imageCropDialog.d.ts +3 -0
- package/dist/_types/messages/es/inputField.d.ts +3 -0
- package/dist/_types/messages/es/inputPhone.d.ts +3 -0
- package/dist/_types/messages/es/languageSwitcher.d.ts +3 -0
- package/dist/_types/messages/es/legalFooter.d.ts +3 -0
- package/dist/_types/messages/es/menuButton.d.ts +3 -0
- package/dist/_types/messages/es/messageComposer.d.ts +3 -0
- package/dist/_types/messages/es/modal.d.ts +3 -0
- package/dist/_types/messages/es/multiSelect.d.ts +3 -0
- package/dist/_types/messages/es/notificationButton.d.ts +3 -0
- package/dist/_types/messages/es/notificationList.d.ts +3 -0
- package/dist/_types/messages/es/notificationPanel.d.ts +3 -0
- package/dist/_types/messages/es/numberInput.d.ts +3 -0
- package/dist/_types/messages/es/onboardingShell.d.ts +3 -0
- package/dist/_types/messages/es/orgChart.d.ts +3 -0
- package/dist/_types/messages/es/orgSwitcher.d.ts +3 -0
- package/dist/_types/messages/es/otpInput.d.ts +3 -0
- package/dist/_types/messages/es/pagination.d.ts +3 -0
- package/dist/_types/messages/es/passwordField.d.ts +3 -0
- package/dist/_types/messages/es/planningGrid.d.ts +3 -0
- package/dist/_types/messages/es/prevNextNav.d.ts +3 -0
- package/dist/_types/messages/es/progressBar.d.ts +3 -0
- package/dist/_types/messages/es/projectCard.d.ts +3 -0
- package/dist/_types/messages/es/publicPageShell.d.ts +3 -0
- package/dist/_types/messages/es/recurrenceField.d.ts +3 -0
- package/dist/_types/messages/es/searchForm.d.ts +3 -0
- package/dist/_types/messages/es/select.d.ts +3 -0
- package/dist/_types/messages/es/sheet.d.ts +3 -0
- package/dist/_types/messages/es/sidebar.d.ts +3 -0
- package/dist/_types/messages/es/sidebarNav.d.ts +3 -0
- package/dist/_types/messages/es/siteHeader.d.ts +3 -0
- package/dist/_types/messages/es/siteNav.d.ts +3 -0
- package/dist/_types/messages/es/siteSearch.d.ts +3 -0
- package/dist/_types/messages/es/slider.d.ts +3 -0
- package/dist/_types/messages/es/spinner.d.ts +3 -0
- package/dist/_types/messages/es/statTile.d.ts +3 -0
- package/dist/_types/messages/es/stepper.d.ts +3 -0
- package/dist/_types/messages/es/table.d.ts +3 -0
- package/dist/_types/messages/es/tableOfContents.d.ts +3 -0
- package/dist/_types/messages/es/themeSwitcher.d.ts +3 -0
- package/dist/_types/messages/es/timeSelect.d.ts +3 -0
- package/dist/_types/messages/es/timeline.d.ts +3 -0
- package/dist/_types/messages/es/toaster.d.ts +3 -0
- package/dist/_types/messages/es/treeView.d.ts +3 -0
- package/dist/_types/messages/es/typingIndicator.d.ts +3 -0
- package/dist/_types/messages/es/untrustedText.d.ts +3 -0
- package/dist/_types/messages/es/uptimeBars.d.ts +3 -0
- package/dist/_types/messages/es/userMenu.d.ts +3 -0
- package/dist/_types/messages/index.d.ts +1 -1
- package/dist/_types/molecules/Alert/Alert.d.ts +11 -2
- package/dist/_types/molecules/AsyncMultiSelectField/AsyncMultiSelectField.d.ts +2 -1
- package/dist/_types/molecules/AsyncSelectField/AsyncSelectField.d.ts +2 -1
- package/dist/_types/molecules/AutocompleteField/AutocompleteField.d.ts +2 -1
- package/dist/_types/molecules/Banner/Banner.d.ts +11 -3
- package/dist/_types/molecules/Breadcrumb/Breadcrumb.d.ts +3 -1
- package/dist/_types/molecules/CalendarPlanner/CalendarPlanner.d.ts +7 -1
- package/dist/_types/molecules/CalendarRoster/CalendarRoster.d.ts +14 -2
- package/dist/_types/molecules/Card/Card.d.ts +10 -2
- package/dist/_types/molecules/CheckboxField/CheckboxField.d.ts +8 -1
- package/dist/_types/molecules/ColorPicker/ColorPicker.d.ts +15 -1
- package/dist/_types/molecules/ColorPickerField/ColorPickerField.d.ts +10 -1
- package/dist/_types/molecules/CommandPalette/CommandPalette.d.ts +5 -0
- package/dist/_types/molecules/ConfirmDialog/ConfirmDialog.d.ts +6 -1
- package/dist/_types/molecules/ContextMenu/ContextMenu.d.ts +3 -3
- package/dist/_types/molecules/CopyButton/CopyButton.d.ts +8 -0
- package/dist/_types/molecules/DatePicker/DatePicker.d.ts +12 -1
- package/dist/_types/molecules/DatePickerField/DatePickerField.d.ts +2 -1
- package/dist/_types/molecules/DateTimeField/DateTimeField.d.ts +8 -1
- package/dist/_types/molecules/DropdownField/DropdownField.d.ts +11 -1
- package/dist/_types/molecules/FileUploadField/FileUploadField.d.ts +2 -1
- package/dist/_types/molecules/FilterBar/FilterBar.d.ts +3 -1
- package/dist/_types/molecules/FloatingToolbar/FloatingToolbar.d.ts +19 -1
- package/dist/_types/molecules/Form/Form.d.ts +8 -0
- package/dist/_types/molecules/Heatmap/Heatmap.d.ts +42 -5
- package/dist/_types/molecules/Heatmap/heatmapScale.d.ts +50 -0
- package/dist/_types/molecules/ImageCropDialog/ImageCropDialog.d.ts +18 -2
- package/dist/_types/molecules/InputField/InputField.d.ts +2 -1
- package/dist/_types/molecules/InputPhoneField/InputPhoneField.d.ts +2 -1
- package/dist/_types/molecules/Menu/Menu.d.ts +5 -0
- package/dist/_types/molecules/Modal/Modal.d.ts +14 -2
- package/dist/_types/molecules/MultiSelectField/MultiSelectField.d.ts +4 -1
- package/dist/_types/molecules/NotificationPanel/NotificationPanel.d.ts +6 -1
- package/dist/_types/molecules/NumberInputField/NumberInputField.d.ts +2 -1
- package/dist/_types/molecules/OrgSwitcher/OrgSwitcher.d.ts +3 -2
- package/dist/_types/molecules/OtpField/OtpField.d.ts +4 -1
- package/dist/_types/molecules/PageIntro/PageIntro.d.ts +1 -1
- package/dist/_types/molecules/Pagination/Pagination.d.ts +26 -5
- package/dist/_types/molecules/PasswordField/PasswordField.d.ts +4 -3
- package/dist/_types/molecules/PrevNextNav/PrevNextNav.d.ts +20 -4
- package/dist/_types/molecules/ProjectCard/ProjectCard.d.ts +8 -2
- package/dist/_types/molecules/RadioField/RadioField.d.ts +8 -0
- package/dist/_types/molecules/RecoveryCodes/RecoveryCodes.d.ts +1 -1
- package/dist/_types/molecules/RecurrenceField/RecurrenceField.d.ts +19 -1
- package/dist/_types/molecules/SelectField/SelectField.d.ts +2 -1
- package/dist/_types/molecules/Sheet/Sheet.d.ts +5 -0
- package/dist/_types/molecules/Table/Table.d.ts +6 -1
- package/dist/_types/molecules/TableOfContents/TableOfContents.d.ts +3 -1
- package/dist/_types/molecules/TextareaField/TextareaField.d.ts +2 -1
- package/dist/_types/molecules/TimeField/TimeField.d.ts +2 -1
- package/dist/_types/molecules/Timeline/Timeline.d.ts +6 -3
- package/dist/_types/molecules/UserMenu/UserMenu.d.ts +3 -2
- package/dist/_types/molecules/_shared/FieldShell.d.ts +130 -0
- package/dist/_types/molecules/_shared/requiredInput.d.ts +8 -0
- package/dist/_types/organisms/AnnotationThread/AnnotationThread.d.ts +3 -2
- package/dist/_types/organisms/DataTable/DataTable.d.ts +1 -1
- package/dist/_types/organisms/PlanningGrid/PlanningGrid.d.ts +12 -1
- package/dist/_types/organisms/Steps/Steps.d.ts +3 -3
- package/dist/_types/sections/Hero/Hero.d.ts +1 -1
- package/dist/_types/sections/SiteHeader/SiteHeader.d.ts +3 -3
- package/dist/accordion.css +1 -1
- package/dist/alert.css +1 -1
- package/dist/alert.js +2 -94
- package/dist/annotation-thread.css +1 -1
- package/dist/annotation-thread.js +38 -31
- package/dist/app-header.css +1 -1
- package/dist/app-header.js +24 -21
- package/dist/app-launcher.css +1 -1
- package/dist/app-launcher.js +42 -35
- package/dist/app-root.js +9 -6
- package/dist/app-shell.js +46 -46
- package/dist/assistant-message.js +1 -1
- package/dist/async-multi-select-field.js +46 -51
- package/dist/async-multi-select.js +2 -128
- package/dist/async-select-field.js +45 -50
- package/dist/async-select.js +2 -117
- package/dist/asyncmultiselect.css +1 -0
- package/dist/autocomplete-field.js +45 -50
- package/dist/avatar-upload.js +82 -69
- package/dist/banner.js +33 -30
- package/dist/brand.css +464 -223
- package/dist/breadcrumb.css +1 -1
- package/dist/breadcrumb.js +25 -20
- package/dist/button.css +1 -1
- package/dist/button.js +44 -41
- package/dist/calendar-planner.css +1 -1
- package/dist/calendar-planner.js +108 -90
- package/dist/calendar-roster.js +84 -69
- package/dist/calendar.css +1 -1
- package/dist/calendar.js +95 -95
- package/dist/card.css +1 -1
- package/dist/card.js +75 -73
- package/dist/carousel.css +1 -1
- package/dist/carousel.js +66 -52
- package/dist/chart.js +213 -206
- package/dist/chat-shell.css +1 -1
- package/dist/chat-shell.js +39 -36
- package/dist/checkbox-field.js +40 -49
- package/dist/checkbox.css +1 -1
- package/dist/clock-widget.js +49 -33
- package/dist/close-button.js +2 -23
- package/dist/code-block.js +45 -39
- package/dist/collapsible.css +1 -1
- package/dist/color-picker-field.js +38 -39
- package/dist/colorpicker.css +1 -1
- package/dist/command-palette.css +1 -1
- package/dist/command-palette.js +39 -31
- package/dist/confirm-dialog.js +29 -22
- package/dist/connector-auth-shell.js +1 -1
- package/dist/connector-consent-page.js +56 -50
- package/dist/connector-external-sign-in-page.js +40 -33
- package/dist/connector-rejection-page.js +28 -25
- package/dist/connector-request-summary.js +2 -37
- package/dist/connector-sign-in-page.js +44 -37
- package/dist/consent.css +1 -1
- package/dist/consent.js +55 -44
- package/dist/container.css +1 -1
- package/dist/context-menu.js +1 -1
- package/dist/conversation-list.css +1 -1
- package/dist/conversation-list.js +42 -33
- package/dist/conversation-thread.js +23 -20
- package/dist/copy-button.js +35 -33
- package/dist/copyable-value.js +40 -40
- package/dist/data-table.js +71 -65
- package/dist/date-picker-field.js +32 -37
- package/dist/date-time-field.js +78 -80
- package/dist/datepicker.css +1 -1
- package/dist/description-list.js +5 -5
- package/dist/docs-search.css +1 -1
- package/dist/docs-search.js +32 -23
- package/dist/dots-button.js +2 -29
- package/dist/dropdown-field.css +1 -1
- package/dist/dropdown-field.js +52 -51
- package/dist/embed-frame.css +1 -1
- package/dist/embed-frame.js +5 -4
- package/dist/error-page.js +2 -2
- package/dist/fieldset.css +1 -1
- package/dist/fieldset.js +6 -6
- package/dist/file-upload-field.js +31 -36
- package/dist/file-upload.js +2 -223
- package/dist/{file-upload.css → fileupload.css} +1 -1
- package/dist/filter-bar.css +1 -1
- package/dist/filter-bar.js +22 -17
- package/dist/floating-dock.css +1 -1
- package/dist/floating-dock.js +35 -29
- package/dist/floating-toolbar.js +22 -15
- package/dist/form.js +56 -52
- package/dist/heatmap.css +1 -1
- package/dist/heatmap.js +96 -36
- package/dist/hero.js +1 -1
- package/dist/highlight.js +1 -1
- package/dist/input-field.js +2 -100
- package/dist/input-phone-field.js +43 -48
- package/dist/input-phone.js +2 -88
- package/dist/input.js +14 -13
- package/dist/inputphone.css +1 -0
- package/dist/label.css +1 -1
- package/dist/language-switcher.css +1 -1
- package/dist/language-switcher.js +28 -25
- package/dist/legal-footer.js +2 -39
- package/dist/link.css +1 -1
- package/dist/list.js +8 -8
- package/dist/loading-region.js +34 -33
- package/dist/loading-state.css +1 -1
- package/dist/loading-state.js +29 -28
- package/dist/logo.css +1 -1
- package/dist/menu-button.js +2 -28
- package/dist/menu.css +1 -1
- package/dist/message-composer.js +32 -29
- package/dist/messages.js +10 -7
- package/dist/modal.css +1 -1
- package/dist/modal.js +2 -61
- package/dist/multi-select-field.js +43 -47
- package/dist/multi-select.js +2 -124
- package/dist/not-found-page.js +1 -1
- package/dist/notification-button.js +2 -32
- package/dist/notification-list.js +23 -16
- package/dist/notification-panel.css +1 -1
- package/dist/notification-panel.js +54 -46
- package/dist/notificationbutton.css +1 -0
- package/dist/number-badge.css +1 -1
- package/dist/number-badge.js +15 -11
- package/dist/number-input-field.js +44 -48
- package/dist/number-input.js +2 -99
- package/dist/onboarding-shell.css +1 -1
- package/dist/onboarding-shell.js +37 -34
- package/dist/org-chart.css +1 -1
- package/dist/org-chart.js +46 -35
- package/dist/org-switcher.css +1 -1
- package/dist/org-switcher.js +26 -23
- package/dist/otp-field.js +44 -47
- package/dist/otp-input.js +2 -115
- package/dist/otpinput.css +1 -0
- package/dist/page-intro.js +1 -1
- package/dist/pagination.css +1 -1
- package/dist/pagination.js +2 -179
- package/dist/paragraph.css +1 -1
- package/dist/paragraph.js +16 -10
- package/dist/password-field.css +1 -1
- package/dist/password-field.js +56 -57
- package/dist/planning-grid.css +1 -1
- package/dist/planning-grid.js +89 -75
- package/dist/prev-next-nav.js +2 -84
- package/dist/prevnextnav.css +1 -0
- package/dist/project-card.css +1 -1
- package/dist/project-card.js +41 -32
- package/dist/public-page-shell.js +2 -39
- package/dist/radio-field.js +29 -39
- package/dist/recurrence-field.css +1 -1
- package/dist/recurrence-field.js +129 -94
- package/dist/search-form.js +2 -61
- package/dist/searchform.css +1 -0
- package/dist/select-field.js +49 -54
- package/dist/select.js +2 -159
- package/dist/sheet.css +1 -1
- package/dist/sheet.js +2 -54
- package/dist/sidebar-nav.css +1 -1
- package/dist/sidebar-nav.js +33 -26
- package/dist/sidebar.css +1 -1
- package/dist/sidebar.js +66 -59
- package/dist/site-footer.js +2 -2
- package/dist/site-header.css +1 -1
- package/dist/site-header.js +37 -34
- package/dist/site-nav.css +1 -1
- package/dist/site-nav.js +17 -14
- package/dist/site-search.css +1 -1
- package/dist/site-search.js +70 -54
- package/dist/skip-link.css +1 -1
- package/dist/slider.css +1 -1
- package/dist/slider.js +2 -34
- package/dist/sparkline.js +37 -35
- package/dist/spinner.js +19 -18
- package/dist/star-rating.js +2 -2
- package/dist/stat-tile.js +27 -23
- package/dist/step-marker.css +1 -1
- package/dist/step-marker.js +19 -16
- package/dist/stepper.css +1 -1
- package/dist/stepper.js +25 -16
- package/dist/switcher-field.js +39 -55
- package/dist/switcher.css +1 -1
- package/dist/table-of-contents.css +1 -1
- package/dist/table-of-contents.js +33 -28
- package/dist/table.css +1 -1
- package/dist/table.js +2 -133
- package/dist/tabs.css +1 -1
- package/dist/tag.css +1 -1
- package/dist/tag.js +16 -10
- package/dist/text.css +1 -1
- package/dist/textarea-field.js +41 -45
- package/dist/theme-switcher.css +1 -1
- package/dist/theme-switcher.js +47 -41
- package/dist/time-field.js +42 -47
- package/dist/time-select.js +2 -84
- package/dist/timeline.js +14 -11
- package/dist/toaster.css +1 -1
- package/dist/toaster.js +32 -29
- package/dist/toggle.js +33 -13
- package/dist/tokens.css +379 -197
- package/dist/tooltip.js +48 -34
- package/dist/tree-view.css +1 -1
- package/dist/tree-view.js +60 -60
- package/dist/typing-indicator.js +2 -29
- package/dist/{typing-indicator.css → typingindicator.css} +1 -1
- package/dist/uptime-bars.js +36 -33
- package/dist/user-menu.css +1 -1
- package/dist/user-menu.js +29 -26
- package/package.json +2 -2
- package/src/tokens/colors.ts +6 -6
- package/src/tokens/components/accordion.css +1 -1
- package/src/tokens/components/app-header.css +2 -2
- package/src/tokens/components/async-multi-select.css +1 -1
- package/src/tokens/components/breadcrumb.css +2 -2
- package/src/tokens/components/button.css +9 -2
- package/src/tokens/components/card.css +3 -3
- package/src/tokens/components/checkbox.css +5 -5
- package/src/tokens/components/collapsible.css +1 -0
- package/src/tokens/components/embed-frame.css +8 -0
- package/src/tokens/components/file-upload.css +5 -5
- package/src/tokens/components/floating-dock.css +2 -2
- package/src/tokens/components/floating-panel.css +2 -2
- package/src/tokens/components/input.css +2 -2
- package/src/tokens/components/kbd.css +1 -1
- package/src/tokens/components/label.css +2 -0
- package/src/tokens/components/link.css +20 -6
- package/src/tokens/components/logo.css +1 -1
- package/src/tokens/components/message-bubble.css +2 -2
- package/src/tokens/components/multi-select.css +2 -2
- package/src/tokens/components/number-badge.css +3 -3
- package/src/tokens/components/otp-input.css +1 -1
- package/src/tokens/components/select.css +2 -2
- package/src/tokens/components/sidebar.css +2 -2
- package/src/tokens/components/site-header.css +5 -5
- package/src/tokens/components/slider.css +1 -1
- package/src/tokens/components/spinner.css +3 -3
- package/src/tokens/components/step.css +4 -4
- package/src/tokens/components/switcher.css +3 -3
- package/src/tokens/components/tabs.css +5 -4
- package/src/tokens/components/tag.css +4 -4
- package/src/tokens/components/text-inline.css +3 -1
- package/src/tokens/components/text.css +2 -2
- package/src/tokens/components/textarea.css +2 -2
- package/src/tokens/components/tooltip.css +2 -2
- package/src/tokens/components/typing-indicator.css +1 -1
- package/src/tokens/deprecated-aliases.css +74 -0
- package/src/tokens/global/colors.css +2 -2
- package/src/tokens/global/shadow.css +4 -4
- package/src/tokens/index.css +6 -0
- package/src/tokens/molecules/alert.css +1 -0
- package/src/tokens/molecules/annotation-thread.css +0 -2
- package/src/tokens/molecules/app-launcher.css +1 -1
- package/src/tokens/molecules/calendar-planner.css +2 -1
- package/src/tokens/molecules/calendar-roster.css +9 -9
- package/src/tokens/molecules/calendar.css +5 -4
- package/src/tokens/molecules/carousel.css +3 -3
- package/src/tokens/molecules/chart.css +3 -3
- package/src/tokens/molecules/chat-shell.css +2 -2
- package/src/tokens/molecules/color-picker.css +2 -2
- package/src/tokens/molecules/command-palette.css +1 -0
- package/src/tokens/molecules/consent.css +3 -3
- package/src/tokens/molecules/conversation-list.css +1 -0
- package/src/tokens/molecules/date-picker.css +1 -1
- package/src/tokens/molecules/docs-search.css +1 -1
- package/src/tokens/molecules/dropdown-field.css +2 -1
- package/src/tokens/molecules/filter-bar.css +1 -1
- package/src/tokens/molecules/heatmap.css +33 -6
- package/src/tokens/molecules/loading-state.css +2 -2
- package/src/tokens/molecules/menu.css +2 -1
- package/src/tokens/molecules/message-composer.css +1 -1
- package/src/tokens/molecules/modal.css +5 -5
- package/src/tokens/molecules/notification-panel.css +2 -2
- package/src/tokens/molecules/org-chart.css +4 -4
- package/src/tokens/molecules/pagination.css +1 -0
- package/src/tokens/molecules/password-field.css +2 -2
- package/src/tokens/molecules/planning-grid.css +7 -7
- package/src/tokens/molecules/recurrence-field.css +5 -0
- package/src/tokens/molecules/search-form.css +1 -1
- package/src/tokens/molecules/sheet.css +2 -2
- package/src/tokens/molecules/site-nav.css +3 -1
- package/src/tokens/molecules/site-search.css +4 -4
- package/src/tokens/molecules/table-of-contents.css +1 -1
- package/src/tokens/molecules/table.css +3 -3
- package/src/tokens/molecules/toast.css +1 -0
- package/src/tokens/scss/_index.legacy.scss +1 -0
- package/src/tokens/scss/_index.scss +1 -0
- package/src/tokens/scss/components/_accordion.scss +4 -1
- package/src/tokens/scss/components/_async-multi-select.scss +4 -1
- package/src/tokens/scss/components/_breadcrumb.scss +4 -1
- package/src/tokens/scss/components/_button.scss +7 -2
- package/src/tokens/scss/components/_card.scss +1 -1
- package/src/tokens/scss/components/_checkbox.scss +6 -2
- package/src/tokens/scss/components/_collapsible.scss +1 -0
- package/src/tokens/scss/components/_embed-frame.scss +9 -0
- package/src/tokens/scss/components/_file-upload.scss +4 -1
- package/src/tokens/scss/components/_floating-dock.scss +6 -2
- package/src/tokens/scss/components/_label.scss +1 -0
- package/src/tokens/scss/components/_link.scss +16 -6
- package/src/tokens/scss/components/_logo.scss +4 -1
- package/src/tokens/scss/components/_number-badge.scss +6 -2
- package/src/tokens/scss/components/_otp-input.scss +4 -1
- package/src/tokens/scss/components/_site-header.scss +1 -1
- package/src/tokens/scss/components/_slider.scss +4 -1
- package/src/tokens/scss/components/_spinner.scss +3 -3
- package/src/tokens/scss/components/_step.scss +6 -2
- package/src/tokens/scss/components/_switcher.scss +5 -2
- package/src/tokens/scss/components/_tabs.scss +7 -2
- package/src/tokens/scss/components/_tag.scss +6 -2
- package/src/tokens/scss/components/_text-inline.scss +2 -1
- package/src/tokens/scss/components/_text.scss +4 -1
- package/src/tokens/scss/components/_typing-indicator.scss +4 -1
- package/src/tokens/scss/global/_colors.scss +6 -2
- package/src/tokens/scss/global/_shadow.scss +4 -4
- package/src/tokens/scss/molecules/_alert.scss +1 -0
- package/src/tokens/scss/molecules/_annotation-thread.scss +0 -2
- package/src/tokens/scss/molecules/_app-launcher.scss +4 -1
- package/src/tokens/scss/molecules/_calendar-planner.scss +1 -0
- package/src/tokens/scss/molecules/_calendar.scss +9 -3
- package/src/tokens/scss/molecules/_carousel.scss +8 -3
- package/src/tokens/scss/molecules/_chart.scss +1 -1
- package/src/tokens/scss/molecules/_color-picker.scss +6 -2
- package/src/tokens/scss/molecules/_command-palette.scss +1 -0
- package/src/tokens/scss/molecules/_consent.scss +4 -1
- package/src/tokens/scss/molecules/_conversation-list.scss +1 -0
- package/src/tokens/scss/molecules/_date-picker.scss +4 -1
- package/src/tokens/scss/molecules/_docs-search.scss +4 -1
- package/src/tokens/scss/molecules/_dropdown-field.scss +1 -0
- package/src/tokens/scss/molecules/_filter-bar.scss +4 -1
- package/src/tokens/scss/molecules/_heatmap.scss +15 -2
- package/src/tokens/scss/molecules/_loading-state.scss +6 -2
- package/src/tokens/scss/molecules/_menu.scss +2 -1
- package/src/tokens/scss/molecules/_modal.scss +7 -3
- package/src/tokens/scss/molecules/_notification-panel.scss +6 -2
- package/src/tokens/scss/molecules/_org-chart.scss +6 -2
- package/src/tokens/scss/molecules/_pagination.scss +1 -0
- package/src/tokens/scss/molecules/_password-field.scss +4 -1
- package/src/tokens/scss/molecules/_planning-grid.scss +3 -2
- package/src/tokens/scss/molecules/_recurrence-field.scss +5 -0
- package/src/tokens/scss/molecules/_search-form.scss +4 -1
- package/src/tokens/scss/molecules/_sheet.scss +6 -2
- package/src/tokens/scss/molecules/_site-nav.scss +2 -1
- package/src/tokens/scss/molecules/_site-search.scss +10 -4
- package/src/tokens/scss/molecules/_table-of-contents.scss +4 -1
- package/src/tokens/scss/molecules/_table.scss +4 -1
- package/src/tokens/scss/molecules/_toast.scss +1 -0
- package/src/tokens/surface-dark-derived.css +1 -0
- package/src/tokens/surface-invert.css +57 -34
- package/src/tokens/surface-public.css +4 -2
- package/src/tokens/tokens.json +116 -11
- package/dist/async-multi-select.css +0 -1
- package/dist/input-phone.css +0 -1
- package/dist/notification-button.css +0 -1
- package/dist/otp-input.css +0 -1
- package/dist/prev-next-nav.css +0 -1
- package/dist/search-form.css +0 -1
- /package/dist/{async-select.css → asyncselect.css} +0 -0
- /package/dist/{close-button.css → closebutton.css} +0 -0
- /package/dist/{connector-request-summary.css → connectorrequestsummary.css} +0 -0
- /package/dist/{dots-button.css → dotsbutton.css} +0 -0
- /package/dist/{input-field.css → inputfield.css} +0 -0
- /package/dist/{legal-footer.css → legalfooter.css} +0 -0
- /package/dist/{menu-button.css → menubutton.css} +0 -0
- /package/dist/{multi-select.css → multiselect.css} +0 -0
- /package/dist/{number-input.css → numberinput.css} +0 -0
- /package/dist/{public-page-shell.css → publicpageshell.css} +0 -0
- /package/dist/{time-select.css → timeselect.css} +0 -0
package/dist/number-badge.js
CHANGED
|
@@ -1,19 +1,23 @@
|
|
|
1
1
|
import './number-badge.css';
|
|
2
|
-
import {
|
|
2
|
+
import { n as e } from "./_shared/env.js";
|
|
3
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
4
|
//#region src/stories/atoms/NumberBadge/NumberBadge.tsx
|
|
4
|
-
function
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
function n({ count: n, tone: r, variant: i, max: a = 99, "aria-label": o, "aria-hidden": s, className: c }) {
|
|
6
|
+
i !== void 0 && e("NumberBadge", "variant", "`tone`");
|
|
7
|
+
let l = r ?? i ?? "primary";
|
|
8
|
+
l === "danger" && (e("NumberBadge", "variant=\"danger\"", "`tone=\"error\"`"), l = "error");
|
|
9
|
+
let u = n > a ? `${a}+` : String(n), d = s === !0 || s === "true";
|
|
10
|
+
return /* @__PURE__ */ t("span", {
|
|
7
11
|
className: [
|
|
8
12
|
"number-badge",
|
|
9
|
-
`number-badge--${
|
|
10
|
-
|
|
13
|
+
`number-badge--${l}`,
|
|
14
|
+
c
|
|
11
15
|
].filter(Boolean).join(" "),
|
|
12
|
-
"aria-hidden":
|
|
13
|
-
"aria-label":
|
|
14
|
-
"aria-atomic":
|
|
15
|
-
children:
|
|
16
|
+
"aria-hidden": d || void 0,
|
|
17
|
+
"aria-label": d ? void 0 : o ?? u,
|
|
18
|
+
"aria-atomic": d ? void 0 : !0,
|
|
19
|
+
children: u
|
|
16
20
|
});
|
|
17
21
|
}
|
|
18
22
|
//#endregion
|
|
19
|
-
export {
|
|
23
|
+
export { n as NumberBadge };
|
|
@@ -1,55 +1,51 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import './number-input-field.css';
|
|
3
3
|
import { n as e } from "./_shared/form-size.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { forwardRef as
|
|
9
|
-
import { jsx as s
|
|
4
|
+
import { t } from "./_shared/numberinput.js";
|
|
5
|
+
import { n } from "./_shared/field-optional.js";
|
|
6
|
+
import { n as r } from "./_shared/field-labels.js";
|
|
7
|
+
import { a as i, n as a } from "./_shared/fieldshell.js";
|
|
8
|
+
import { forwardRef as o } from "react";
|
|
9
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
10
10
|
//#region src/stories/molecules/NumberInputField/NumberInputField.tsx
|
|
11
|
-
var
|
|
12
|
-
let
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
className: "number-input-field__helper",
|
|
49
|
-
children: w
|
|
50
|
-
})
|
|
51
|
-
]
|
|
11
|
+
var c = o(function({ id: o, label: c, optional: l, optionalLabel: u, labelHidden: d, value: f, defaultValue: p, min: m, max: h, step: g = 1, decimal: _, disabled: v, readOnly: y, size: b, compact: x, commitMode: S, error: C = !1, errorMessage: w, helperText: T, className: E, onChange: D, onEmpty: O, "aria-describedby": k, ...A }, j) {
|
|
12
|
+
let M = r(d), N = e(b), P = n(l, A.required), F = i({
|
|
13
|
+
id: o,
|
|
14
|
+
error: C,
|
|
15
|
+
errorMessage: w,
|
|
16
|
+
helperText: T,
|
|
17
|
+
describedBy: k
|
|
18
|
+
}), { id: I } = F;
|
|
19
|
+
return /* @__PURE__ */ s(a, {
|
|
20
|
+
field: F,
|
|
21
|
+
block: "number-input-field",
|
|
22
|
+
className: E,
|
|
23
|
+
label: c,
|
|
24
|
+
optional: P,
|
|
25
|
+
optionalLabel: u,
|
|
26
|
+
labelHidden: M,
|
|
27
|
+
size: N,
|
|
28
|
+
children: /* @__PURE__ */ s(t, {
|
|
29
|
+
ref: j,
|
|
30
|
+
...A,
|
|
31
|
+
id: I,
|
|
32
|
+
value: f,
|
|
33
|
+
defaultValue: p,
|
|
34
|
+
min: m,
|
|
35
|
+
max: h,
|
|
36
|
+
step: g,
|
|
37
|
+
decimal: _,
|
|
38
|
+
disabled: v,
|
|
39
|
+
readOnly: y,
|
|
40
|
+
size: N,
|
|
41
|
+
compact: x,
|
|
42
|
+
commitMode: S,
|
|
43
|
+
error: F.hasError,
|
|
44
|
+
"aria-describedby": F.describedBy,
|
|
45
|
+
onChange: D,
|
|
46
|
+
onEmpty: O
|
|
47
|
+
})
|
|
52
48
|
});
|
|
53
49
|
});
|
|
54
50
|
//#endregion
|
|
55
|
-
export {
|
|
51
|
+
export { c as NumberInputField };
|
package/dist/number-input.js
CHANGED
|
@@ -1,100 +1,3 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
import { Icon as t } from "./icon.js";
|
|
5
|
-
import { forwardRef as n, useCallback as r, useState as i } from "react";
|
|
6
|
-
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
7
|
-
//#region src/stories/atoms/NumberInput/NumberInput.tsx
|
|
8
|
-
var s = n(function({ value: n, defaultValue: s = 0, min: c, max: l, step: u = 1, decimal: d = !1, disabled: f = !1, readOnly: p = !1, size: m = "md", compact: h = !1, commitMode: g = "change", error: _ = !1, id: v, name: y, describedBy: b, ariaLabel: x, decrementLabel: S, incrementLabel: C, className: w, onChange: T, onEmpty: E, onBlur: D, onFocus: O, onKeyDown: k, ...A }, j) {
|
|
9
|
-
let M = e("numberInput"), N = n !== void 0, [P, F] = i(s), [I, L] = i(!1), [R, z] = i(null), B = N ? n : P, V = R === null ? B === null ? "" : String(B) : R, H = B ?? 0, U = r((e) => {
|
|
10
|
-
let t = e;
|
|
11
|
-
return c !== void 0 && (t = Math.max(c, t)), l !== void 0 && (t = Math.min(l, t)), t;
|
|
12
|
-
}, [c, l]), W = r((e) => {
|
|
13
|
-
let t = U(e);
|
|
14
|
-
N || F(t), T?.(t);
|
|
15
|
-
}, [
|
|
16
|
-
U,
|
|
17
|
-
N,
|
|
18
|
-
T
|
|
19
|
-
]), G = () => {
|
|
20
|
-
f || p || (z(null), W(H - u));
|
|
21
|
-
}, K = () => {
|
|
22
|
-
f || p || (z(null), W(H + u));
|
|
23
|
-
}, q = (e) => {
|
|
24
|
-
let t = d ? e.replace(",", ".") : e, n = parseFloat(t);
|
|
25
|
-
if (!isNaN(n)) {
|
|
26
|
-
if (g === "blur" && U(n) === B) return;
|
|
27
|
-
W(n);
|
|
28
|
-
} else if (E && e.trim() === "") {
|
|
29
|
-
if (g === "blur" && B === null) return;
|
|
30
|
-
N || F(null), E();
|
|
31
|
-
}
|
|
32
|
-
}, J = (e) => {
|
|
33
|
-
let t = e.target.value;
|
|
34
|
-
z(t), g === "change" && q(t);
|
|
35
|
-
}, Y = (e) => {
|
|
36
|
-
k?.(e), !(e.defaultPrevented || g !== "blur" || R === null) && (e.key === "Enter" ? (q(R), z(null)) : e.key === "Escape" && (e.preventDefault(), z(null)));
|
|
37
|
-
}, X = (e) => {
|
|
38
|
-
L(!0), O?.(e);
|
|
39
|
-
}, Z = (e) => {
|
|
40
|
-
L(!1), g === "blur" && R !== null && q(R), z(null), D?.(e);
|
|
41
|
-
}, Q = [
|
|
42
|
-
"number-input",
|
|
43
|
-
h ? "number-input--compact" : m === "md" ? "" : `number-input--${m}`,
|
|
44
|
-
_ ? "number-input--error" : "",
|
|
45
|
-
f ? "number-input--disabled" : "",
|
|
46
|
-
I ? "number-input--focused" : "",
|
|
47
|
-
w ?? ""
|
|
48
|
-
].filter(Boolean).join(" "), $ = f || p || B !== null && c !== void 0 && B <= c, ee = f || p || B !== null && l !== void 0 && B >= l;
|
|
49
|
-
return /* @__PURE__ */ o("div", {
|
|
50
|
-
className: Q,
|
|
51
|
-
children: [
|
|
52
|
-
/* @__PURE__ */ a("button", {
|
|
53
|
-
className: "number-input__btn number-input__btn--decrement",
|
|
54
|
-
type: "button",
|
|
55
|
-
onClick: G,
|
|
56
|
-
disabled: $,
|
|
57
|
-
"aria-label": M("decrement", S),
|
|
58
|
-
tabIndex: -1,
|
|
59
|
-
children: /* @__PURE__ */ a(t, {
|
|
60
|
-
name: "minus",
|
|
61
|
-
size: "sm"
|
|
62
|
-
})
|
|
63
|
-
}),
|
|
64
|
-
/* @__PURE__ */ a("input", {
|
|
65
|
-
ref: j,
|
|
66
|
-
className: "number-input__field",
|
|
67
|
-
type: "text",
|
|
68
|
-
inputMode: d ? "decimal" : "numeric",
|
|
69
|
-
pattern: d ? "[0-9]*[.,]?[0-9]*" : "[0-9]*",
|
|
70
|
-
"aria-invalid": _ || void 0,
|
|
71
|
-
"aria-describedby": b,
|
|
72
|
-
"aria-label": x,
|
|
73
|
-
...A,
|
|
74
|
-
id: v,
|
|
75
|
-
name: y,
|
|
76
|
-
value: V,
|
|
77
|
-
disabled: f,
|
|
78
|
-
readOnly: p,
|
|
79
|
-
onChange: J,
|
|
80
|
-
onKeyDown: Y,
|
|
81
|
-
onFocus: X,
|
|
82
|
-
onBlur: Z
|
|
83
|
-
}),
|
|
84
|
-
/* @__PURE__ */ a("button", {
|
|
85
|
-
className: "number-input__btn number-input__btn--increment",
|
|
86
|
-
type: "button",
|
|
87
|
-
onClick: K,
|
|
88
|
-
disabled: ee,
|
|
89
|
-
"aria-label": M("increment", C),
|
|
90
|
-
tabIndex: -1,
|
|
91
|
-
children: /* @__PURE__ */ a(t, {
|
|
92
|
-
name: "plus",
|
|
93
|
-
size: "sm"
|
|
94
|
-
})
|
|
95
|
-
})
|
|
96
|
-
]
|
|
97
|
-
});
|
|
98
|
-
});
|
|
99
|
-
//#endregion
|
|
100
|
-
export { s as NumberInput };
|
|
2
|
+
import { t as e } from "./_shared/numberinput.js";
|
|
3
|
+
export { e as NumberInput };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.onboarding-shell{gap:var(--onboarding-shell-gap);display:grid}.onboarding-shell__bar{align-items:center;display:flex}.onboarding-shell__top.onboarding-shell__top--band{padding-block:var(--onboarding-shell-brand-padding-block)}.onboarding-shell__step{inline-size:100%;max-inline-size:var(--onboarding-shell-max-width);margin-inline:auto;display:grid}.onboarding-shell__step.onboarding-shell__step--wide{max-inline-size:var(--onboarding-shell-max-width-wide)}.onboarding-shell__brand{--logo-height-sm:var(--onboarding-shell-brand-height);--logo-height-md:var(--onboarding-shell-brand-height);--logo-height-lg:var(--onboarding-shell-brand-height);--logo-height-xl:var(--onboarding-shell-brand-height);--logo-height-
|
|
1
|
+
.onboarding-shell{gap:var(--onboarding-shell-gap);display:grid}.onboarding-shell__bar{align-items:center;display:flex}.onboarding-shell__top.onboarding-shell__top--band{padding-block:var(--onboarding-shell-brand-padding-block)}.onboarding-shell__step{inline-size:100%;max-inline-size:var(--onboarding-shell-max-width);margin-inline:auto;display:grid}.onboarding-shell__step.onboarding-shell__step--wide{max-inline-size:var(--onboarding-shell-max-width-wide)}.onboarding-shell__brand{--logo-height-sm:var(--onboarding-shell-brand-height);--logo-height-md:var(--onboarding-shell-brand-height);--logo-height-lg:var(--onboarding-shell-brand-height);--logo-height-xl:var(--onboarding-shell-brand-height);--logo-height-2xl:var(--onboarding-shell-brand-height);margin-inline-start:var(--onboarding-shell-brand-margin-inline-start)}.onboarding-shell__brand>*{block-size:var(--onboarding-shell-brand-height);inline-size:auto}@media (width<=767.98px){.onboarding-shell__top{--onboarding-shell-brand-height:var(--onboarding-shell-brand-height-compact)}}@media (width<=479.98px){.onboarding-shell__top{--onboarding-shell-brand-height:var(--onboarding-shell-brand-height-narrow)}}.onboarding-shell__settings{align-items:flex-end;gap:var(--onboarding-shell-switchers-gap);flex-wrap:wrap;display:flex}.onboarding-shell__progress{margin-block-end:var(--onboarding-shell-gap)}.onboarding-shell__progress:empty{display:none}.onboarding-shell__actions{align-items:stretch;gap:var(--onboarding-shell-actions-gap);flex-direction:column;margin-block-start:var(--onboarding-shell-actions-margin-block-start);padding-block-start:var(--onboarding-shell-actions-padding-block-start);display:flex}.onboarding-shell__decisions{align-items:stretch;gap:var(--onboarding-shell-actions-gap);flex-direction:column-reverse;display:flex}.onboarding-shell__exit{justify-content:center;display:flex}@media (width>=768px){.onboarding-shell__actions,.onboarding-shell__decisions{flex-direction:row;justify-content:flex-end;align-items:center}}
|
package/dist/onboarding-shell.js
CHANGED
|
@@ -1,70 +1,73 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import './onboarding-shell.css';
|
|
3
|
-
import {
|
|
3
|
+
import { r as e } from "./_shared/brandmessagescontext.js";
|
|
4
4
|
import { t } from "./_shared/form-size.js";
|
|
5
5
|
import { Container as n } from "./container.js";
|
|
6
|
-
import {
|
|
7
|
-
import { jsx as
|
|
6
|
+
import { n as r, t as i } from "./_shared/publicpageshell.js";
|
|
7
|
+
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
8
|
+
//#region src/stories/messages/es/onboardingShell.ts
|
|
9
|
+
var s = { actions: "Acciones del paso" };
|
|
10
|
+
//#endregion
|
|
8
11
|
//#region src/stories/templates/OnboardingShell/OnboardingShell.tsx
|
|
9
|
-
function
|
|
10
|
-
let
|
|
12
|
+
function c({ children: c, brand: l, preferences: u, switchers: d, preferencesLabel: f, stepper: p, primaryAction: m, backAction: h, exitAction: g, actionsLabel: _, id: v = "main-content", shell: y = !0, width: b = "md", className: x }) {
|
|
13
|
+
let S = e("onboardingShell", s), C = e("publicPageShell", r), w = !!(m || h || g), T = u ?? d, E = l && /* @__PURE__ */ a("div", {
|
|
11
14
|
className: "onboarding-shell__brand",
|
|
12
|
-
children:
|
|
15
|
+
children: l
|
|
13
16
|
});
|
|
14
|
-
return /* @__PURE__ */ i
|
|
15
|
-
id:
|
|
16
|
-
shell:
|
|
17
|
-
header:
|
|
17
|
+
return /* @__PURE__ */ a(i, {
|
|
18
|
+
id: v,
|
|
19
|
+
shell: y,
|
|
20
|
+
header: E && /* @__PURE__ */ a(n, {
|
|
18
21
|
as: "header",
|
|
19
22
|
className: "onboarding-shell__top onboarding-shell__top--band",
|
|
20
23
|
innerClassName: "onboarding-shell__bar",
|
|
21
|
-
children:
|
|
24
|
+
children: E
|
|
22
25
|
}),
|
|
23
|
-
preferences:
|
|
24
|
-
preferencesLabel:
|
|
25
|
-
children: /* @__PURE__ */
|
|
26
|
-
className: ["onboarding-shell",
|
|
26
|
+
preferences: T,
|
|
27
|
+
preferencesLabel: f,
|
|
28
|
+
children: /* @__PURE__ */ o("div", {
|
|
29
|
+
className: ["onboarding-shell", x].filter(Boolean).join(" "),
|
|
27
30
|
children: [
|
|
28
|
-
!
|
|
31
|
+
!y && E && /* @__PURE__ */ a("header", {
|
|
29
32
|
className: "onboarding-shell__top onboarding-shell__bar",
|
|
30
|
-
children:
|
|
33
|
+
children: E
|
|
31
34
|
}),
|
|
32
|
-
/* @__PURE__ */
|
|
35
|
+
/* @__PURE__ */ a(t.Provider, {
|
|
33
36
|
value: "lg",
|
|
34
|
-
children: /* @__PURE__ */
|
|
35
|
-
className: ["onboarding-shell__step",
|
|
37
|
+
children: /* @__PURE__ */ o("div", {
|
|
38
|
+
className: ["onboarding-shell__step", b === "wide" ? "onboarding-shell__step--wide" : ""].filter(Boolean).join(" "),
|
|
36
39
|
children: [
|
|
37
|
-
|
|
40
|
+
p && /* @__PURE__ */ a("div", {
|
|
38
41
|
className: "onboarding-shell__progress",
|
|
39
|
-
children:
|
|
42
|
+
children: p
|
|
40
43
|
}),
|
|
41
|
-
/* @__PURE__ */
|
|
44
|
+
/* @__PURE__ */ a("div", {
|
|
42
45
|
className: "onboarding-shell__body",
|
|
43
|
-
children:
|
|
46
|
+
children: c
|
|
44
47
|
}),
|
|
45
|
-
|
|
48
|
+
w && /* @__PURE__ */ o("div", {
|
|
46
49
|
className: "onboarding-shell__actions",
|
|
47
50
|
role: "group",
|
|
48
|
-
"aria-label":
|
|
49
|
-
children: [
|
|
51
|
+
"aria-label": S("actions", _),
|
|
52
|
+
children: [h, (g || m) && /* @__PURE__ */ o("div", {
|
|
50
53
|
className: "onboarding-shell__decisions",
|
|
51
|
-
children: [
|
|
54
|
+
children: [g && /* @__PURE__ */ a("div", {
|
|
52
55
|
className: "onboarding-shell__exit",
|
|
53
|
-
children:
|
|
54
|
-
}),
|
|
56
|
+
children: g
|
|
57
|
+
}), m]
|
|
55
58
|
})]
|
|
56
59
|
})
|
|
57
60
|
]
|
|
58
61
|
})
|
|
59
62
|
}),
|
|
60
|
-
!
|
|
63
|
+
!y && T && /* @__PURE__ */ a("section", {
|
|
61
64
|
className: "onboarding-shell__settings",
|
|
62
|
-
"aria-label":
|
|
63
|
-
children:
|
|
65
|
+
"aria-label": C("preferences", f),
|
|
66
|
+
children: T
|
|
64
67
|
})
|
|
65
68
|
]
|
|
66
69
|
})
|
|
67
70
|
});
|
|
68
71
|
}
|
|
69
72
|
//#endregion
|
|
70
|
-
export {
|
|
73
|
+
export { c as OnboardingShell };
|
package/dist/org-chart.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.org-chart{gap:var(--org-chart-gap);font-family:var(--org-chart-font-family);flex-direction:column;display:flex}.org-chart__toolbar{align-items:center;gap:var(--org-chart-gap);display:flex}.org-chart__viewport{max-block-size:var(--org-chart-viewport-
|
|
1
|
+
.org-chart{gap:var(--org-chart-gap);font-family:var(--org-chart-font-family);flex-direction:column;display:flex}.org-chart__toolbar{align-items:center;gap:var(--org-chart-gap);display:flex}.org-chart__viewport{max-block-size:var(--org-chart-viewport-height);padding-block:var(--org-chart-viewport-padding);padding-inline:var(--org-chart-viewport-padding);background-color:var(--org-chart-viewport-bg);border:var(--org-chart-viewport-border-width) solid var(--org-chart-viewport-border-color);border-radius:var(--org-chart-viewport-radius);overflow:auto}.org-chart__viewport:focus-visible{outline:var(--org-chart-focus-ring-width) solid var(--org-chart-focus-ring-color);outline-offset:var(--org-chart-focus-ring-offset)}.org-chart__canvas{zoom:var(--org-chart-zoom,1);justify-content:center;min-inline-size:max-content;display:flex}.org-chart__level{justify-content:center;gap:var(--org-chart-sibling-gap);margin-block:0;margin-inline:0;padding-block:0;padding-inline:0;list-style:none;display:flex}.org-chart__level--children{padding-block-start:var(--org-chart-connector-length);position:relative}.org-chart__level--children:before{content:"";inline-size:var(--org-chart-connector-width);block-size:calc(var(--org-chart-connector-length) / 2);background-color:var(--org-chart-connector-color);position:absolute;inset-block-start:0;inset-inline-start:50%;transform:translate(-50%)}.org-chart__node{flex-direction:column;align-items:center;display:flex;position:relative}.org-chart__level--children>.org-chart__node:before{content:"";inline-size:var(--org-chart-connector-width);block-size:calc(var(--org-chart-connector-length) / 2);background-color:var(--org-chart-connector-color);position:absolute;inset-block-start:calc(-1 * var(--org-chart-connector-length) / 2);inset-inline-start:50%;transform:translate(-50%)}.org-chart__level--children>.org-chart__node:after{content:"";inline-size:100%;block-size:var(--org-chart-connector-width);background-color:var(--org-chart-connector-color);position:absolute;inset-block-start:calc(-1 * var(--org-chart-connector-length) / 2);inset-inline-start:0}.org-chart__level--children>.org-chart__node:first-child:after{inline-size:50%;inset-inline-start:50%}.org-chart__level--children>.org-chart__node:last-child:after{inline-size:50%;inset-inline-start:0}.org-chart__level--children>.org-chart__node:only-child:after{content:none}.org-chart__card{gap:var(--org-chart-card-gap);inline-size:var(--org-chart-card-width);padding-block:var(--org-chart-card-padding-block);padding-inline:var(--org-chart-card-padding-inline);background-color:var(--org-chart-card-bg);border:var(--org-chart-card-border-width) solid var(--org-chart-card-border-color);border-radius:var(--org-chart-card-radius);text-align:start;flex-direction:column;display:flex}.org-chart__header{justify-content:space-between;align-items:center;gap:var(--org-chart-group-gap);display:flex}.org-chart__name{font-size:var(--org-chart-name-font-size);font-weight:var(--org-chart-name-font-weight);color:var(--org-chart-name-color);margin-block:0}.org-chart__group+.org-chart__group{margin-block-start:var(--org-chart-group-margin-block-start)}.org-chart__group-label{font-size:var(--org-chart-group-font-size);color:var(--org-chart-group-color);margin-block-end:var(--org-chart-group-gap);display:block}.org-chart__people{gap:var(--org-chart-person-gap);flex-direction:column;margin-block:0;margin-inline:0;padding-block:0;padding-inline:0;list-style:none;display:flex}.org-chart__person{font-size:var(--org-chart-person-font-size);color:var(--org-chart-person-color)}.org-chart__role{font-size:var(--org-chart-person-role-font-size);color:var(--org-chart-person-role-color);display:block}.org-chart__empty{font-size:var(--org-chart-person-font-size);color:var(--org-chart-empty-color)}
|
package/dist/org-chart.js
CHANGED
|
@@ -1,20 +1,31 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import './org-chart.css';
|
|
3
|
-
import {
|
|
3
|
+
import { r as e } from "./_shared/brandmessagescontext.js";
|
|
4
4
|
import { Icon as t } from "./icon.js";
|
|
5
5
|
import { Button as n } from "./button.js";
|
|
6
6
|
import { t as r } from "./_shared/css-properties.js";
|
|
7
7
|
import { forwardRef as i, useState as a } from "react";
|
|
8
8
|
import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
9
|
-
//#region src/stories/
|
|
10
|
-
var l =
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
9
|
+
//#region src/stories/messages/es/orgChart.ts
|
|
10
|
+
var l = {
|
|
11
|
+
label: "Organigrama",
|
|
12
|
+
managers: "Responsables",
|
|
13
|
+
members: "Equipo",
|
|
14
|
+
noManagers: "Sin responsable",
|
|
15
|
+
noMembers: "Sin equipo",
|
|
16
|
+
collapse: (e) => `Plegar ${e}`,
|
|
17
|
+
expand: (e) => `Desplegar ${e}`,
|
|
18
|
+
zoomIn: "Acercar",
|
|
19
|
+
zoomOut: "Alejar",
|
|
20
|
+
zoomReset: "Tamaño natural"
|
|
21
|
+
}, u = (e, t, n) => Math.min(n, Math.max(t, e)), d = i(function({ nodes: i, collapsed: d, defaultCollapsed: f, onCollapsedChange: p, zoom: m, defaultZoom: h = 1, onZoomChange: g, minZoom: _ = .5, maxZoom: v = 1.5, zoomStep: y = .1, showZoom: b = !0, toolbar: x, showPeople: S = !0, label: C, managersLabel: w, membersLabel: T, className: E, ...D }, O) {
|
|
22
|
+
let k = e("orgChart", l), [A, j] = a(f ?? []), M = d ?? A, [N, P] = a(h), F = u(m ?? N, _, v), I = r({ "--org-chart-zoom": String(F) }), L = (e) => {
|
|
23
|
+
let t = M.includes(e) ? M.filter((t) => t !== e) : [...M, e];
|
|
24
|
+
d === void 0 && j(t), p?.(t);
|
|
25
|
+
}, R = (e) => {
|
|
26
|
+
let t = u(Number(e.toFixed(4)), _, v);
|
|
27
|
+
m === void 0 && P(t), g?.(t);
|
|
28
|
+
}, z = (e, t, n) => /* @__PURE__ */ c("div", {
|
|
18
29
|
className: "org-chart__group",
|
|
19
30
|
children: [/* @__PURE__ */ s("span", {
|
|
20
31
|
className: "org-chart__group-label",
|
|
@@ -32,10 +43,10 @@ var l = (e, t, n) => Math.min(n, Math.max(t, e)), u = i(function({ nodes: i, col
|
|
|
32
43
|
className: "org-chart__empty",
|
|
33
44
|
children: n
|
|
34
45
|
})]
|
|
35
|
-
}),
|
|
46
|
+
}), B = (e, r) => /* @__PURE__ */ s("ul", {
|
|
36
47
|
className: ["org-chart__level", r ? "org-chart__level--root" : "org-chart__level--children"].join(" "),
|
|
37
48
|
children: e.map((e) => {
|
|
38
|
-
let r = e.children ?? [], i =
|
|
49
|
+
let r = e.children ?? [], i = M.includes(e.id), a = r.length > 0 && !i;
|
|
39
50
|
return /* @__PURE__ */ c("li", {
|
|
40
51
|
className: "org-chart__node",
|
|
41
52
|
children: [/* @__PURE__ */ c("div", {
|
|
@@ -50,34 +61,34 @@ var l = (e, t, n) => Math.min(n, Math.max(t, e)), u = i(function({ nodes: i, col
|
|
|
50
61
|
variant: "ghost",
|
|
51
62
|
size: "sm",
|
|
52
63
|
iconOnly: !0,
|
|
53
|
-
"aria-label": i ?
|
|
64
|
+
"aria-label": i ? k("expand")(e.name) : k("collapse")(e.name),
|
|
54
65
|
"aria-expanded": !i,
|
|
55
|
-
onClick: () =>
|
|
66
|
+
onClick: () => L(e.id),
|
|
56
67
|
children: /* @__PURE__ */ s(t, {
|
|
57
68
|
name: i ? "chevron-right" : "chevron-down",
|
|
58
69
|
size: "sm"
|
|
59
70
|
})
|
|
60
71
|
}) : null]
|
|
61
|
-
}),
|
|
62
|
-
}), a ?
|
|
72
|
+
}), S ? /* @__PURE__ */ c("div", { children: [z(e.managers, k("managers", w), k("noManagers")), z(e.members, k("members", T), k("noMembers"))] }) : null]
|
|
73
|
+
}), a ? B(r, !1) : null]
|
|
63
74
|
}, e.id);
|
|
64
75
|
})
|
|
65
76
|
});
|
|
66
77
|
return /* @__PURE__ */ c("div", {
|
|
67
|
-
ref:
|
|
68
|
-
className: ["org-chart",
|
|
69
|
-
...
|
|
70
|
-
children: [
|
|
78
|
+
ref: O,
|
|
79
|
+
className: ["org-chart", E].filter(Boolean).join(" "),
|
|
80
|
+
...D,
|
|
81
|
+
children: [b || x ? /* @__PURE__ */ c("div", {
|
|
71
82
|
className: "org-chart__toolbar",
|
|
72
|
-
children: [
|
|
83
|
+
children: [b ? /* @__PURE__ */ c(o, { children: [
|
|
73
84
|
/* @__PURE__ */ s(n, {
|
|
74
85
|
type: "button",
|
|
75
86
|
variant: "outline",
|
|
76
87
|
size: "sm",
|
|
77
88
|
iconOnly: !0,
|
|
78
|
-
"aria-label":
|
|
79
|
-
disabled:
|
|
80
|
-
onClick: () =>
|
|
89
|
+
"aria-label": k("zoomOut"),
|
|
90
|
+
disabled: F <= _,
|
|
91
|
+
onClick: () => R(F - y),
|
|
81
92
|
children: /* @__PURE__ */ s(t, {
|
|
82
93
|
name: "zoom-out",
|
|
83
94
|
size: "sm"
|
|
@@ -88,9 +99,9 @@ var l = (e, t, n) => Math.min(n, Math.max(t, e)), u = i(function({ nodes: i, col
|
|
|
88
99
|
variant: "outline",
|
|
89
100
|
size: "sm",
|
|
90
101
|
iconOnly: !0,
|
|
91
|
-
"aria-label":
|
|
92
|
-
disabled:
|
|
93
|
-
onClick: () =>
|
|
102
|
+
"aria-label": k("zoomIn"),
|
|
103
|
+
disabled: F >= v,
|
|
104
|
+
onClick: () => R(F + y),
|
|
94
105
|
children: /* @__PURE__ */ s(t, {
|
|
95
106
|
name: "zoom-in",
|
|
96
107
|
size: "sm"
|
|
@@ -100,23 +111,23 @@ var l = (e, t, n) => Math.min(n, Math.max(t, e)), u = i(function({ nodes: i, col
|
|
|
100
111
|
type: "button",
|
|
101
112
|
variant: "text",
|
|
102
113
|
size: "sm",
|
|
103
|
-
disabled:
|
|
104
|
-
onClick: () =>
|
|
105
|
-
children:
|
|
114
|
+
disabled: F === 1,
|
|
115
|
+
onClick: () => R(1),
|
|
116
|
+
children: k("zoomReset")
|
|
106
117
|
})
|
|
107
|
-
] }) : null,
|
|
118
|
+
] }) : null, x]
|
|
108
119
|
}) : null, /* @__PURE__ */ s("div", {
|
|
109
120
|
className: "org-chart__viewport",
|
|
110
121
|
tabIndex: 0,
|
|
111
122
|
role: "group",
|
|
112
|
-
"aria-label":
|
|
123
|
+
"aria-label": k("label", C),
|
|
113
124
|
children: /* @__PURE__ */ s("div", {
|
|
114
125
|
className: "org-chart__canvas",
|
|
115
|
-
ref:
|
|
116
|
-
children:
|
|
126
|
+
ref: I,
|
|
127
|
+
children: B(i, !0)
|
|
117
128
|
})
|
|
118
129
|
})]
|
|
119
130
|
});
|
|
120
131
|
});
|
|
121
132
|
//#endregion
|
|
122
|
-
export {
|
|
133
|
+
export { d as OrgChart };
|
package/dist/org-switcher.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.org-switcher__trigger{all:unset;box-sizing:border-box;align-items:center;gap:var(--org-switcher-trigger-gap);inline-size:auto;max-inline-size:100%;padding-block:var(--org-switcher-trigger-padding-block);padding-inline:var(--org-switcher-trigger-padding-inline);border-radius:var(--org-switcher-trigger-border-radius);cursor:pointer;transition:background-color var(--org-switcher-transition-duration) var(--org-switcher-transition-easing);display:flex}.org-switcher__trigger.org-switcher__trigger--block{inline-size:100%}.org-switcher__trigger.org-switcher__trigger--compact{justify-content:center;padding-inline:0}.org-switcher__trigger:focus-visible{outline:var(--org-switcher-focus-ring-width) solid var(--org-switcher-focus-ring-color);outline-offset:var(--org-switcher-focus-ring-offset)}.org-switcher__name{text-overflow:ellipsis;white-space:nowrap;min-inline-size:0;font-size:var(--org-switcher-name-font-size);font-weight:var(--org-switcher-name-font-weight);color:var(--org-switcher-name-color);flex:1;overflow:hidden}.org-switcher__chevron{transition:transform var(--org-switcher-transition-duration) var(--org-switcher-transition-easing);flex-shrink:0;transform:rotate(90deg)}.org-switcher__trigger[data-popup-open] .org-switcher__chevron{transform:rotate(-90deg)}@keyframes org-switcher-open{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes org-switcher-close{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.95)}}.org-switcher__content{box-sizing:border-box;background-color:var(--org-switcher-content-bg);border-width:var(--org-switcher-content-border-width);border-style:solid;border-color:var(--org-switcher-content-border-color);border-radius:var(--org-switcher-content-border-radius);box-shadow:var(--org-switcher-content-shadow);padding-block:var(--org-switcher-content-padding-block);padding-inline:var(--org-switcher-content-padding-inline);min-inline-size:var(--org-switcher-content-min-width);transform-origin:var(--transform-origin);max-block-size:var(--org-switcher-content-max-height,var(--available-height));overscroll-behavior:contain;outline:none;overflow-y:auto}.org-switcher__content[data-open]{animation:org-switcher-open var(--org-switcher-transition-duration) var(--org-switcher-transition-easing)}.org-switcher__content[data-closed]{animation:org-switcher-close var(--org-switcher-transition-duration) var(--org-switcher-transition-easing)}.org-switcher__item{align-items:center;gap:var(--org-switcher-trigger-gap);padding-block:var(--org-switcher-item-padding-block);padding-inline:var(--org-switcher-item-padding-inline);border-radius:var(--org-switcher-item-border-radius);font-size:var(--org-switcher-item-font-size);font-weight:var(--org-switcher-item-font-weight);color:var(--org-switcher-item-color);
|
|
1
|
+
.org-switcher__trigger{all:unset;box-sizing:border-box;align-items:center;gap:var(--org-switcher-trigger-gap);inline-size:auto;max-inline-size:100%;padding-block:var(--org-switcher-trigger-padding-block);padding-inline:var(--org-switcher-trigger-padding-inline);border-radius:var(--org-switcher-trigger-border-radius);cursor:pointer;transition:background-color var(--org-switcher-transition-duration) var(--org-switcher-transition-easing);display:flex}.org-switcher__trigger.org-switcher__trigger--block{inline-size:100%}.org-switcher__trigger.org-switcher__trigger--compact{justify-content:center;padding-inline:0}.org-switcher__trigger:focus-visible{outline:var(--org-switcher-focus-ring-width) solid var(--org-switcher-focus-ring-color);outline-offset:var(--org-switcher-focus-ring-offset)}.org-switcher__name{text-overflow:ellipsis;white-space:nowrap;min-inline-size:0;font-size:var(--org-switcher-name-font-size);font-weight:var(--org-switcher-name-font-weight);color:var(--org-switcher-name-color);flex:1;overflow:hidden}.org-switcher__chevron{transition:transform var(--org-switcher-transition-duration) var(--org-switcher-transition-easing);flex-shrink:0;transform:rotate(90deg)}.org-switcher__trigger[data-popup-open] .org-switcher__chevron{transform:rotate(-90deg)}@keyframes org-switcher-open{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes org-switcher-close{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.95)}}.org-switcher__content{box-sizing:border-box;background-color:var(--org-switcher-content-bg);border-width:var(--org-switcher-content-border-width);border-style:solid;border-color:var(--org-switcher-content-border-color);border-radius:var(--org-switcher-content-border-radius);box-shadow:var(--org-switcher-content-shadow);padding-block:var(--org-switcher-content-padding-block);padding-inline:var(--org-switcher-content-padding-inline);min-inline-size:var(--org-switcher-content-min-width);transform-origin:var(--transform-origin);max-block-size:var(--org-switcher-content-max-height,var(--available-height));overscroll-behavior:contain;outline:none;overflow-y:auto}.org-switcher__content[data-open]{animation:org-switcher-open var(--org-switcher-transition-duration) var(--org-switcher-transition-easing)}.org-switcher__content[data-closed]{animation:org-switcher-close var(--org-switcher-transition-duration) var(--org-switcher-transition-easing)}.org-switcher__item{align-items:center;gap:var(--org-switcher-trigger-gap);padding-block:var(--org-switcher-item-padding-block);padding-inline:var(--org-switcher-item-padding-inline);border-radius:var(--org-switcher-item-border-radius);font-size:var(--org-switcher-item-font-size);font-weight:var(--org-switcher-item-font-weight);color:var(--org-switcher-item-color);cursor:pointer;transition:background-color var(--org-switcher-transition-duration) var(--org-switcher-transition-easing), color var(--org-switcher-transition-duration) var(--org-switcher-transition-easing);outline:none;text-decoration:none;display:flex}.org-switcher__item:focus-visible{outline:none}.org-switcher__item[data-highlighted]{background-color:var(--org-switcher-item-highlighted-bg);color:var(--org-switcher-item-highlighted-color)}.org-switcher__item--active,.org-switcher__item--active[data-highlighted]{font-weight:var(--org-switcher-name-font-weight)}.org-switcher__separator{block-size:var(--org-switcher-separator-height);background-color:var(--org-switcher-separator-color);margin-block:var(--org-switcher-separator-margin-block);border:none}.org-switcher__item.org-switcher__item--destructive{color:var(--org-switcher-item-destructive-color)}.org-switcher__item.org-switcher__item--destructive[data-highlighted]{background-color:var(--org-switcher-item-destructive-highlighted-bg);color:var(--org-switcher-item-destructive-highlighted-color)}.org-switcher__positioner{z-index:var(--org-switcher-content-z-index)}
|