enefit-design-system 0.2.15 → 0.4.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/Accordion/Accordion.js +52 -46
- package/dist/AccordionGroup/AccordionGroup.js +1 -1
- package/dist/ActionList/ActionList.js +20 -0
- package/dist/ActionListGroup/ActionListGroup.js +8 -0
- package/dist/ActionListItem/ActionListItem.js +80 -0
- package/dist/Autocomplete/Autocomplete.js +36 -30
- package/dist/Avatar/Avatar.js +30 -0
- package/dist/Badge/Badge.js +92 -0
- package/dist/Button/Button.js +1 -1
- package/dist/Calendar/Calendar.js +36 -30
- package/dist/Calendar/CalendarCell.js +36 -30
- package/dist/Calendar/CalendarGrid.js +32 -26
- package/dist/Chart/Chart.js +211 -175
- package/dist/Chart/ChartDarken.js +11 -0
- package/dist/Chart/ChartTooltip.js +13 -12
- package/dist/Chart/ChartUnit.js +10 -8
- package/dist/Checkbox/Checkbox.js +100 -90
- package/dist/CheckboxGroup/CheckboxGroup.js +29 -23
- package/dist/Choice/Choice.js +34 -28
- package/dist/ChoiceCard/ChoiceCard.js +36 -30
- package/dist/DatePicker/DatePicker.js +116 -107
- package/dist/DatePicker/DatePickerButton.js +1 -1
- package/dist/DatePicker/DatePickerField.js +1 -1
- package/dist/DatePicker/DatePickerSegment.js +34 -28
- package/dist/Dialog/Dialog.js +14 -15
- package/dist/InfoHint/InfoHint.js +29 -23
- package/dist/Map/Map.js +121 -0
- package/dist/Modal/CustomTrigger.js +1 -1
- package/dist/Modal/Modal.js +1 -1
- package/dist/Modal/ModalDialog.js +115 -66
- package/dist/Notification/Notification.js +34 -29
- package/dist/Notification/NotificationAction.js +1 -1
- package/dist/Notification/NotificationDescription.js +31 -25
- package/dist/Notification/NotificationTitle.js +32 -26
- package/dist/Phone/Phone.js +36 -30
- package/dist/Phone/PhoneSelect.js +33 -27
- package/dist/Phone/PhoneTrigger.js +30 -24
- package/dist/Popover/Popover.js +11 -11
- package/dist/Radio/Radio.js +90 -77
- package/dist/RadioGroup/RadioGroup.js +39 -33
- package/dist/Searchfield/ClearButton.js +1 -1
- package/dist/Searchfield/Searchfield.js +32 -26
- package/dist/SegmentedControl/SegmentedControl.js +57 -0
- package/dist/SegmentedControlPanel/SegmentedControlPanel.js +18 -0
- package/dist/SegmentedControls/SegmentedControls.js +66 -0
- package/dist/Select/Select.js +121 -104
- package/dist/Select/SelectList.js +1 -1
- package/dist/Select/SelectListOption.js +37 -31
- package/dist/Slider/Slider.js +56 -48
- package/dist/Slider/SliderThumb.js +53 -44
- package/dist/Stack/Stack.js +1 -1
- package/dist/Switch/Switch.js +73 -63
- package/dist/SwitchGroup/SwitchGroup.js +29 -23
- package/dist/Tab/Tab.js +59 -43
- package/dist/Table/Table.js +1 -1
- package/dist/Table/TableCell.js +31 -25
- package/dist/Table/TableFooterCell.js +31 -25
- package/dist/Table/TableHeaderCell.js +31 -25
- package/dist/Table/TableRow.js +1 -1
- package/dist/Tabs/Tabs.js +39 -22
- package/dist/Textarea/Textarea.js +59 -52
- package/dist/Textfield/Textfield.js +34 -28
- package/dist/Toast/Toast.js +40 -34
- package/dist/Toast/ToastButton.js +1 -1
- package/dist/Toast/ToastRegion.js +1 -1
- package/dist/Tooltip/Tooltip.js +1 -1
- package/dist/Tooltip/TooltipContent.js +12 -12
- package/dist/_virtual/_commonjsHelpers.js +24 -4
- package/dist/_virtual/index2.js +4 -2
- package/dist/_virtual/index3.js +2 -2
- package/dist/_virtual/index7.js +4 -0
- package/dist/_virtual/leaflet-src.js +8 -0
- package/dist/_virtual/leaflet-src2.js +4 -0
- package/dist/_virtual/proj4leaflet.js +4 -0
- package/dist/_virtual/react-dom-server-legacy.browser.development.js +4 -0
- package/dist/_virtual/react-dom-server-legacy.browser.production.min.js +4 -0
- package/dist/_virtual/react-dom-server.browser.development.js +4 -0
- package/dist/_virtual/react-dom-server.browser.production.min.js +4 -0
- package/dist/_virtual/server.browser.js +4 -0
- package/dist/experimental.d.ts +24 -0
- package/dist/experimental.js +4 -0
- package/dist/external/@babel/runtime/helpers/esm/extends.js +1 -2
- package/dist/external/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +5 -8
- package/dist/external/@internationalized/date/dist/CalendarDate.js +22 -23
- package/dist/external/@internationalized/date/dist/DateFormatter.js +8 -16
- package/dist/external/@internationalized/date/dist/HebrewCalendar.js +2 -4
- package/dist/external/@internationalized/date/dist/IslamicCalendar.js +3 -6
- package/dist/external/@internationalized/date/dist/JapaneseCalendar.js +1 -2
- package/dist/external/@internationalized/date/dist/conversion.js +20 -29
- package/dist/external/@internationalized/date/dist/manipulation.js +3 -6
- package/dist/external/@internationalized/date/dist/queries.js +3 -3
- package/dist/external/@internationalized/number/dist/NumberFormatter.js +9 -18
- package/dist/external/@internationalized/number/dist/NumberParser.js +5 -8
- package/dist/external/@internationalized/string/dist/LocalizedStringDictionary.js +10 -18
- package/dist/external/@internationalized/string/dist/LocalizedStringFormatter.js +1 -2
- package/dist/external/@react-aria/calendar/dist/useCalendarCell.js +1 -2
- package/dist/external/@react-aria/calendar/dist/utils.js +4 -8
- package/dist/external/@react-aria/combobox/dist/useComboBox.js +6 -9
- package/dist/external/@react-aria/datepicker/dist/useDatePickerGroup.js +2 -4
- package/dist/external/@react-aria/datepicker/dist/useDateSegment.js +12 -25
- package/dist/external/@react-aria/focus/dist/FocusScope.js +37 -69
- package/dist/external/@react-aria/focus/dist/focusSafely.js +1 -2
- package/dist/external/@react-aria/focus/dist/isElementVisible.js +1 -2
- package/dist/external/@react-aria/form/dist/useFormValidation.js +2 -4
- package/dist/external/@react-aria/i18n/dist/useCollator.js +1 -2
- package/dist/external/@react-aria/i18n/dist/useDateFormatter.js +3 -6
- package/dist/external/@react-aria/i18n/dist/useDefaultLocale.js +1 -2
- package/dist/external/@react-aria/i18n/dist/useFilter.js +2 -4
- package/dist/external/@react-aria/i18n/dist/utils.js +2 -4
- package/dist/external/@react-aria/interactions/dist/createEventHandler.js +1 -2
- package/dist/external/@react-aria/interactions/dist/textSelection.js +2 -4
- package/dist/external/@react-aria/interactions/dist/useFocusVisible.js +2 -4
- package/dist/external/@react-aria/interactions/dist/useHover.js +2 -4
- package/dist/external/@react-aria/interactions/dist/useInteractOutside.js +3 -6
- package/dist/external/@react-aria/interactions/dist/useMove.js +1 -2
- package/dist/external/@react-aria/interactions/dist/usePress.js +14 -28
- package/dist/external/@react-aria/landmark/dist/useLandmark.js +17 -28
- package/dist/external/@react-aria/listbox/dist/utils.js +1 -2
- package/dist/external/@react-aria/live-announcer/dist/LiveAnnouncer.js +1 -2
- package/dist/external/@react-aria/menu/dist/useMenuTrigger.js +1 -2
- package/dist/external/@react-aria/overlays/dist/Overlay.js +1 -2
- package/dist/external/@react-aria/overlays/dist/ariaHideOutside.js +4 -8
- package/dist/external/@react-aria/overlays/dist/calculatePosition.js +3 -6
- package/dist/external/@react-aria/overlays/dist/useCloseOnScroll.js +2 -4
- package/dist/external/@react-aria/overlays/dist/useModalOverlay.js +3 -4
- package/dist/external/@react-aria/overlays/dist/useOverlayPosition.js +1 -2
- package/dist/external/@react-aria/overlays/dist/usePopover.js +3 -4
- package/dist/external/@react-aria/overlays/dist/usePreventScroll.js +1 -2
- package/dist/external/@react-aria/select/dist/HiddenSelect.js +4 -5
- package/dist/external/@react-aria/selection/dist/ListKeyboardDelegate.js +11 -22
- package/dist/external/@react-aria/selection/dist/useSelectableCollection.js +8 -13
- package/dist/external/@react-aria/selection/dist/useSelectableItem.js +5 -10
- package/dist/external/@react-aria/selection/dist/useTypeSelect.js +1 -2
- package/dist/external/@react-aria/selection/dist/utils.js +3 -3
- package/dist/external/@react-aria/slider/dist/useSlider.js +2 -4
- package/dist/external/@react-aria/slider/dist/utils.js +1 -2
- package/dist/external/@react-aria/ssr/dist/SSRProvider.js +1 -1
- package/dist/external/@react-aria/utils/dist/chain.js +1 -2
- package/dist/external/@react-aria/utils/dist/filterDOMProps.js +1 -2
- package/dist/external/@react-aria/utils/dist/focusWithoutScrolling.js +3 -4
- package/dist/external/@react-aria/utils/dist/getScrollParent.js +1 -2
- package/dist/external/@react-aria/utils/dist/openLink.js +2 -3
- package/dist/external/@react-aria/utils/dist/runAfterTransition.js +4 -8
- package/dist/external/@react-aria/utils/dist/scrollIntoView.js +1 -2
- package/dist/external/@react-aria/utils/dist/useDescription.js +1 -2
- package/dist/external/@react-aria/utils/dist/useEvent.js +1 -2
- package/dist/external/@react-aria/utils/dist/useId.js +1 -2
- package/dist/external/@react-aria/utils/dist/useValueEffect.js +1 -2
- package/dist/external/@react-leaflet/core/lib/attribution.js +13 -0
- package/dist/external/@react-leaflet/core/lib/component.js +39 -0
- package/dist/external/@react-leaflet/core/lib/context.js +29 -0
- package/dist/external/@react-leaflet/core/lib/div-overlay.js +13 -0
- package/dist/external/@react-leaflet/core/lib/element.js +29 -0
- package/dist/external/@react-leaflet/core/lib/events.js +15 -0
- package/dist/external/@react-leaflet/core/lib/generic.js +21 -0
- package/dist/external/@react-leaflet/core/lib/grid-layer.js +7 -0
- package/dist/external/@react-leaflet/core/lib/layer.js +26 -0
- package/dist/external/@react-leaflet/core/lib/pane.js +10 -0
- package/dist/external/@react-stately/calendar/dist/useCalendarState.js +8 -13
- package/dist/external/@react-stately/calendar/dist/utils.js +6 -9
- package/dist/external/@react-stately/collections/dist/CollectionBuilder.js +16 -28
- package/dist/external/@react-stately/collections/dist/Item.js +4 -6
- package/dist/external/@react-stately/collections/dist/getChildNodes.js +1 -2
- package/dist/external/@react-stately/collections/dist/getItemCount.js +2 -4
- package/dist/external/@react-stately/collections/dist/useCollection.js +1 -2
- package/dist/external/@react-stately/combobox/dist/useComboBoxState.js +5 -6
- package/dist/external/@react-stately/datepicker/dist/useDateFieldState.js +69 -77
- package/dist/external/@react-stately/datepicker/dist/useDatePickerState.js +5 -7
- package/dist/external/@react-stately/datepicker/dist/utils.js +4 -8
- package/dist/external/@react-stately/form/dist/useFormValidationState.js +7 -11
- package/dist/external/@react-stately/list/dist/ListCollection.js +2 -5
- package/dist/external/@react-stately/selection/dist/SelectionManager.js +21 -40
- package/dist/external/@react-stately/selection/dist/useMultipleSelectionState.js +2 -4
- package/dist/external/@react-stately/slider/dist/useSliderState.js +2 -4
- package/dist/external/@react-stately/toast/dist/useToastState.js +8 -13
- package/dist/external/@react-stately/tooltip/dist/useTooltipTriggerState.js +1 -2
- package/dist/external/@swc/helpers/esm/_class_apply_descriptor_set.js +1 -2
- package/dist/external/@swc/helpers/esm/_class_extract_field_descriptor.js +1 -2
- package/dist/external/clsx/dist/clsx.js +6 -12
- package/dist/external/d3-array/src/bisector.js +2 -4
- package/dist/external/d3-array/src/quantile.js +4 -8
- package/dist/external/d3-array/src/quickselect.js +3 -6
- package/dist/external/d3-array/src/sort.js +2 -4
- package/dist/external/d3-array/src/ticks.js +7 -18
- package/dist/external/d3-color/src/color.js +3 -6
- package/dist/external/d3-color/src/define.js +1 -2
- package/dist/external/d3-format/src/formatDecimal.js +1 -2
- package/dist/external/d3-format/src/formatPrefixAuto.js +1 -2
- package/dist/external/d3-format/src/formatRounded.js +1 -2
- package/dist/external/d3-format/src/formatSpecifier.js +1 -2
- package/dist/external/d3-format/src/formatTrim.js +13 -15
- package/dist/external/d3-interpolate/src/array.js +3 -6
- package/dist/external/d3-interpolate/src/numberArray.js +1 -2
- package/dist/external/d3-interpolate/src/object.js +1 -2
- package/dist/external/d3-interpolate/src/piecewise.js +1 -2
- package/dist/external/d3-interpolate/src/string.js +1 -2
- package/dist/external/d3-path/src/path.js +10 -15
- package/dist/external/d3-scale/src/continuous.js +4 -4
- package/dist/external/d3-scale/src/log.js +8 -12
- package/dist/external/d3-scale/src/ordinal.js +2 -4
- package/dist/external/d3-scale/src/quantile.js +3 -6
- package/dist/external/d3-scale/src/quantize.js +1 -2
- package/dist/external/d3-scale/src/sequentialQuantile.js +3 -6
- package/dist/external/d3-shape/src/area.js +1 -2
- package/dist/external/d3-shape/src/curve/natural.js +4 -8
- package/dist/external/d3-shape/src/line.js +1 -2
- package/dist/external/d3-shape/src/offset/expand.js +2 -5
- package/dist/external/d3-shape/src/offset/silhouette.js +1 -2
- package/dist/external/d3-shape/src/order/none.js +1 -2
- package/dist/external/d3-shape/src/path.js +2 -4
- package/dist/external/d3-shape/src/symbol/circle.js +3 -3
- package/dist/external/d3-shape/src/symbol/star.js +1 -1
- package/dist/external/d3-shape/src/symbol.js +1 -2
- package/dist/external/d3-time/src/interval.js +8 -13
- package/dist/external/d3-time/src/ticks.js +3 -5
- package/dist/external/d3-time/src/week.js +1 -1
- package/dist/external/d3-time-format/src/locale.js +21 -28
- package/dist/external/decimal.js-light/decimal.js +59 -118
- package/dist/external/eventemitter3/index.js +8 -14
- package/dist/external/internmap/src/index.js +1 -3
- package/dist/external/leaflet/dist/leaflet-src.js +6319 -0
- package/dist/external/lodash/_baseToString.js +6 -6
- package/dist/external/lodash/_baseUniq.js +1 -2
- package/dist/external/lodash/_toKey.js +6 -6
- package/dist/external/lodash/toFinite.js +8 -8
- package/dist/external/mgrs/mgrs.js +222 -0
- package/dist/external/object-assign/index.js +1 -2
- package/dist/external/proj4/lib/Point.js +24 -0
- package/dist/external/proj4/lib/Proj.js +46 -0
- package/dist/external/proj4/lib/adjust_axis.js +31 -0
- package/dist/external/proj4/lib/checkSanity.js +15 -0
- package/dist/external/proj4/lib/common/adjust_lat.js +8 -0
- package/dist/external/proj4/lib/common/adjust_lon.js +8 -0
- package/dist/external/proj4/lib/common/adjust_zone.js +13 -0
- package/dist/external/proj4/lib/common/asinhy.js +9 -0
- package/dist/external/proj4/lib/common/asinz.js +6 -0
- package/dist/external/proj4/lib/common/clens.js +8 -0
- package/dist/external/proj4/lib/common/clens_cmplx.js +10 -0
- package/dist/external/proj4/lib/common/cosh.js +7 -0
- package/dist/external/proj4/lib/common/e0fn.js +6 -0
- package/dist/external/proj4/lib/common/e1fn.js +6 -0
- package/dist/external/proj4/lib/common/e2fn.js +6 -0
- package/dist/external/proj4/lib/common/e3fn.js +6 -0
- package/dist/external/proj4/lib/common/gN.js +7 -0
- package/dist/external/proj4/lib/common/gatg.js +8 -0
- package/dist/external/proj4/lib/common/hypot.js +8 -0
- package/dist/external/proj4/lib/common/imlfn.js +11 -0
- package/dist/external/proj4/lib/common/iqsfnz.js +13 -0
- package/dist/external/proj4/lib/common/log1py.js +7 -0
- package/dist/external/proj4/lib/common/mlfn.js +6 -0
- package/dist/external/proj4/lib/common/msfnz.js +7 -0
- package/dist/external/proj4/lib/common/phi2z.js +10 -0
- package/dist/external/proj4/lib/common/pj_enfn.js +10 -0
- package/dist/external/proj4/lib/common/pj_inv_mlfn.js +14 -0
- package/dist/external/proj4/lib/common/pj_mlfn.js +6 -0
- package/dist/external/proj4/lib/common/qsfnz.js +7 -0
- package/dist/external/proj4/lib/common/sign.js +6 -0
- package/dist/external/proj4/lib/common/sinh.js +7 -0
- package/dist/external/proj4/lib/common/srat.js +6 -0
- package/dist/external/proj4/lib/common/toPoint.js +10 -0
- package/dist/external/proj4/lib/common/tsfnz.js +8 -0
- package/dist/external/proj4/lib/constants/Datum.js +99 -0
- package/dist/external/proj4/lib/constants/Ellipsoid.js +226 -0
- package/dist/external/proj4/lib/constants/PrimeMeridian.js +17 -0
- package/dist/external/proj4/lib/constants/units.js +25 -0
- package/dist/external/proj4/lib/constants/values.js +22 -0
- package/dist/external/proj4/lib/core.js +32 -0
- package/dist/external/proj4/lib/datum.js +8 -0
- package/dist/external/proj4/lib/datumUtils.js +82 -0
- package/dist/external/proj4/lib/datum_transform.js +94 -0
- package/dist/external/proj4/lib/defs.js +24 -0
- package/dist/external/proj4/lib/deriveConstants.js +29 -0
- package/dist/external/proj4/lib/extend.js +12 -0
- package/dist/external/proj4/lib/global.js +9 -0
- package/dist/external/proj4/lib/index.js +23 -0
- package/dist/external/proj4/lib/match.js +11 -0
- package/dist/external/proj4/lib/nadgrid.js +95 -0
- package/dist/external/proj4/lib/parseCode.js +51 -0
- package/dist/external/proj4/lib/projString.js +116 -0
- package/dist/external/proj4/lib/projections/aea.js +43 -0
- package/dist/external/proj4/lib/projections/aeqd.js +36 -0
- package/dist/external/proj4/lib/projections/bonne.js +55 -0
- package/dist/external/proj4/lib/projections/cass.js +52 -0
- package/dist/external/proj4/lib/projections/cea.js +36 -0
- package/dist/external/proj4/lib/projections/eqc.js +27 -0
- package/dist/external/proj4/lib/projections/eqdc.js +48 -0
- package/dist/external/proj4/lib/projections/eqearth.js +30 -0
- package/dist/external/proj4/lib/projections/etmerc.js +54 -0
- package/dist/external/proj4/lib/projections/gauss.js +27 -0
- package/dist/external/proj4/lib/projections/geocent.js +26 -0
- package/dist/external/proj4/lib/projections/geos.js +49 -0
- package/dist/external/proj4/lib/projections/gnom.js +28 -0
- package/dist/external/proj4/lib/projections/krovak.js +31 -0
- package/dist/external/proj4/lib/projections/laea.js +134 -0
- package/dist/external/proj4/lib/projections/lcc.js +61 -0
- package/dist/external/proj4/lib/projections/longlat.js +19 -0
- package/dist/external/proj4/lib/projections/merc.js +49 -0
- package/dist/external/proj4/lib/projections/mill.js +26 -0
- package/dist/external/proj4/lib/projections/moll.js +36 -0
- package/dist/external/proj4/lib/projections/nzmg.js +48 -0
- package/dist/external/proj4/lib/projections/omerc.js +57 -0
- package/dist/external/proj4/lib/projections/ortho.js +28 -0
- package/dist/external/proj4/lib/projections/poly.js +68 -0
- package/dist/external/proj4/lib/projections/qsc.js +67 -0
- package/dist/external/proj4/lib/projections/robin.js +104 -0
- package/dist/external/proj4/lib/projections/sinu.js +47 -0
- package/dist/external/proj4/lib/projections/somerc.js +34 -0
- package/dist/external/proj4/lib/projections/stere.js +46 -0
- package/dist/external/proj4/lib/projections/sterea.js +33 -0
- package/dist/external/proj4/lib/projections/tmerc.js +60 -0
- package/dist/external/proj4/lib/projections/tpers.js +110 -0
- package/dist/external/proj4/lib/projections/utm.js +22 -0
- package/dist/external/proj4/lib/projections/vandg.js +34 -0
- package/dist/external/proj4/lib/projections.js +30 -0
- package/dist/external/proj4/lib/transform.js +48 -0
- package/dist/external/proj4/projs.js +37 -0
- package/dist/external/proj4leaflet/src/proj4leaflet.js +120 -0
- package/dist/external/prop-types/checkPropTypes.js +1 -2
- package/dist/external/prop-types/external/react-is/cjs/react-is.production.min.js +1 -2
- package/dist/external/prop-types/external/react-is/index.js +1 -1
- package/dist/external/prop-types/factoryWithThrowingShims.js +1 -2
- package/dist/external/prop-types/factoryWithTypeCheckers.js +1 -2
- package/dist/external/prop-types/index.js +1 -1
- package/dist/external/prop-types/lib/ReactPropTypesSecret.js +1 -2
- package/dist/external/react/cjs/react-jsx-runtime.development.js +172 -176
- package/dist/external/react/cjs/react-jsx-runtime.production.min.js +6 -10
- package/dist/external/react-dom/cjs/react-dom-server-legacy.browser.development.js +3579 -0
- package/dist/external/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +1234 -0
- package/dist/external/react-dom/cjs/react-dom-server.browser.development.js +3558 -0
- package/dist/external/react-dom/cjs/react-dom-server.browser.production.min.js +1255 -0
- package/dist/external/react-dom/server.browser.js +16 -0
- package/dist/external/react-leaflet/lib/MapContainer.js +44 -0
- package/dist/external/react-leaflet/lib/Marker.js +15 -0
- package/dist/external/react-leaflet/lib/Popup.js +36 -0
- package/dist/external/react-leaflet/lib/TileLayer.js +16 -0
- package/dist/external/react-smooth/es6/Animate.js +16 -28
- package/dist/external/react-smooth/es6/AnimateManager.js +6 -12
- package/dist/external/react-smooth/es6/configUpdate.js +23 -36
- package/dist/external/react-smooth/es6/easing.js +49 -60
- package/dist/external/react-smooth/es6/util.js +3 -5
- package/dist/external/react-transition-group/esm/Transition.js +3 -4
- package/dist/external/recharts/es6/cartesian/Area.js +6 -11
- package/dist/external/recharts/es6/cartesian/Bar.js +8 -13
- package/dist/external/recharts/es6/cartesian/Brush.js +9 -11
- package/dist/external/recharts/es6/cartesian/CartesianAxis.js +7 -12
- package/dist/external/recharts/es6/cartesian/CartesianGrid.js +6 -15
- package/dist/external/recharts/es6/cartesian/ErrorBar.js +29 -43
- package/dist/external/recharts/es6/cartesian/Line.js +22 -33
- package/dist/external/recharts/es6/cartesian/ReferenceArea.js +5 -8
- package/dist/external/recharts/es6/cartesian/ReferenceDot.js +4 -6
- package/dist/external/recharts/es6/cartesian/ReferenceLine.js +12 -23
- package/dist/external/recharts/es6/cartesian/Scatter.js +3 -5
- package/dist/external/recharts/es6/cartesian/XAxis.js +8 -10
- package/dist/external/recharts/es6/cartesian/YAxis.js +4 -6
- package/dist/external/recharts/es6/cartesian/ZAxis.js +5 -7
- package/dist/external/recharts/es6/cartesian/getEquidistantTicks.js +1 -2
- package/dist/external/recharts/es6/cartesian/getTicks.js +51 -53
- package/dist/external/recharts/es6/chart/AccessibilityManager.js +2 -4
- package/dist/external/recharts/es6/chart/generateCategoricalChart.js +41 -58
- package/dist/external/recharts/es6/component/Cursor.js +5 -7
- package/dist/external/recharts/es6/component/DefaultLegendContent.js +26 -28
- package/dist/external/recharts/es6/component/DefaultTooltipContent.js +11 -22
- package/dist/external/recharts/es6/component/Label.js +15 -26
- package/dist/external/recharts/es6/component/LabelList.js +12 -23
- package/dist/external/recharts/es6/component/Legend.js +14 -19
- package/dist/external/recharts/es6/component/ResponsiveContainer.js +174 -0
- package/dist/external/recharts/es6/component/Text.js +12 -25
- package/dist/external/recharts/es6/component/Tooltip.js +10 -12
- package/dist/external/recharts/es6/component/TooltipBoundingBox.js +14 -17
- package/dist/external/recharts/es6/container/Layer.js +3 -6
- package/dist/external/recharts/es6/container/Surface.js +3 -6
- package/dist/external/recharts/es6/shape/Cross.js +14 -19
- package/dist/external/recharts/es6/shape/Curve.js +23 -25
- package/dist/external/recharts/es6/shape/Rectangle.js +11 -22
- package/dist/external/recharts/es6/shape/Sector.js +44 -46
- package/dist/external/recharts/es6/shape/Symbols.js +20 -25
- package/dist/external/recharts/es6/shape/Trapezoid.js +11 -22
- package/dist/external/recharts/es6/util/ActiveShapeUtils.js +23 -28
- package/dist/external/recharts/es6/util/BarUtils.js +7 -13
- package/dist/external/recharts/es6/util/CartesianUtils.js +3 -5
- package/dist/external/recharts/es6/util/ChartUtils.js +30 -43
- package/dist/external/recharts/es6/util/CssPrefixUtils.js +7 -9
- package/dist/external/recharts/es6/util/DOMUtils.js +8 -10
- package/dist/external/recharts/es6/util/DetectReferenceElementsDomain.js +6 -12
- package/dist/external/recharts/es6/util/Global.js +4 -17
- package/dist/external/recharts/es6/util/PolarUtils.js +9 -11
- package/dist/external/recharts/es6/util/ReactUtils.js +4 -7
- package/dist/external/recharts/es6/util/ReduceCSSCalc.js +69 -81
- package/dist/external/recharts/es6/util/ScatterUtils.js +3 -6
- package/dist/external/recharts/es6/util/getLegendProps.js +34 -36
- package/dist/external/recharts/es6/util/tooltip/translate.js +12 -14
- package/dist/external/recharts/external/react-is/cjs/react-is.production.min.js +7 -8
- package/dist/external/recharts/external/react-is/index.js +1 -1
- package/dist/external/recharts-scale/es6/getNiceTickValues.js +15 -23
- package/dist/external/recharts-scale/es6/util/utils.js +10 -17
- package/dist/external/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js +1 -2
- package/dist/external/use-sync-external-store/shim/index.js +1 -1
- package/dist/external/victory-vendor/es/d3-scale.js +45 -45
- package/dist/external/wkt-parser/index.js +95 -0
- package/dist/external/wkt-parser/parser.js +117 -0
- package/dist/external/wkt-parser/process.js +87 -0
- package/dist/index.d.ts +141 -720
- package/dist/index.js +1701 -1663
- package/dist/llms.txt +1608 -306
- package/dist/output/icons/IconAlertTriangleXs.js +22 -0
- package/dist/output/icons/IconBasketSm.js +3 -3
- package/dist/output/icons/IconCalendarSm.js +10 -13
- package/dist/output/icons/IconChartBarSm.js +22 -0
- package/dist/output/icons/IconChartSm.js +18 -0
- package/dist/output/icons/IconCheckCircleSm.js +2 -2
- package/dist/output/icons/IconCheckSm.js +1 -1
- package/dist/output/icons/IconChevronDownAltSm.js +1 -1
- package/dist/output/icons/IconChevronDownSm.js +1 -1
- package/dist/output/icons/IconChevronLeftAltSm.js +1 -1
- package/dist/output/icons/IconChevronRightAltSm.js +1 -1
- package/dist/output/icons/IconChevronUpAltSm.js +1 -1
- package/dist/output/icons/IconChevronUpSm.js +1 -1
- package/dist/output/icons/IconCircleCheckXs.js +22 -0
- package/dist/output/icons/IconClockHourXs.js +22 -0
- package/dist/output/icons/IconColumnsSm.js +22 -0
- package/dist/output/icons/IconCrossCircleSm.js +20 -10
- package/dist/output/icons/IconCrossSm.js +12 -5
- package/dist/output/icons/IconCursorSm.js +1 -1
- package/dist/output/icons/IconCurveArrowRightSm.js +5 -5
- package/dist/output/icons/IconDashboardSm.js +6 -6
- package/dist/output/icons/IconDotXs.js +15 -0
- package/dist/output/icons/IconExternalLinkSm.js +11 -7
- package/dist/output/icons/IconEyeHideSm.js +10 -13
- package/dist/output/icons/IconEyeSm.js +8 -8
- package/dist/output/icons/IconFilterSm.js +3 -3
- package/dist/output/icons/IconHelpSm.js +30 -12
- package/dist/output/icons/IconHomeSm.js +5 -5
- package/dist/output/icons/IconInfoSm.js +4 -4
- package/dist/output/icons/IconLinkedinSm.js +1 -1
- package/dist/output/icons/IconLogoCitadelColorSm.js +1 -1
- package/dist/output/icons/IconLogoCoopColorSm.js +21 -0
- package/dist/output/icons/IconLogoSwedbankColorSm.js +116 -116
- package/dist/output/icons/IconMapPinColorMd.js +25 -0
- package/dist/output/icons/IconMapPinMd.js +22 -0
- package/dist/output/icons/IconMapSm.js +1 -1
- package/dist/output/icons/IconMaruColorLg.js +22 -0
- package/dist/output/icons/IconMaruColorMd.js +21 -0
- package/dist/output/icons/IconMaruColorXl.js +22 -0
- package/dist/output/icons/IconMenuSm.js +1 -1
- package/dist/output/icons/IconNotificationBellSm.js +5 -5
- package/dist/output/icons/IconSearchSm.js +1 -1
- package/dist/output/icons/IconSettingsSm.js +22 -12
- package/dist/output/icons/IconStackSm.js +12 -15
- package/dist/output/icons/IconTimeSm.js +4 -4
- package/dist/output/icons/IconUserSm.js +2 -2
- package/dist/output/icons/IconWarningSm.js +14 -7
- package/dist/output/icons/IconXSm.js +5 -12
- package/dist/output/variables/tailwind.json.js +95 -44
- package/dist/styles.css +1 -1
- package/package.json +19 -7
- package/dist/Accordion/Accordion.css.js +0 -1
- package/dist/AccordionGroup/AccordionGroup.css.js +0 -1
- package/dist/Autocomplete/Autocomplete.css.js +0 -1
- package/dist/Button/Button.css.js +0 -1
- package/dist/Calendar/Calendar.css.js +0 -1
- package/dist/Calendar/CalendarCell.css.js +0 -1
- package/dist/Calendar/CalendarGrid.css.js +0 -1
- package/dist/Chart/ChartTooltip.css.js +0 -1
- package/dist/Checkbox/Checkbox.css.js +0 -1
- package/dist/CheckboxGroup/CheckboxGroup.css.js +0 -1
- package/dist/Choice/Choice.css.js +0 -1
- package/dist/ChoiceCard/ChoiceCard.css.js +0 -1
- package/dist/Color/Color.css.js +0 -1
- package/dist/Color/Color.js +0 -95
- package/dist/DatePicker/DatePicker.css.js +0 -1
- package/dist/DatePicker/DatePickerButton.css.js +0 -1
- package/dist/DatePicker/DatePickerField.css.js +0 -1
- package/dist/DatePicker/DatePickerSegment.css.js +0 -1
- package/dist/Dialog/Dialog.css.js +0 -1
- package/dist/InfoHint/InfoHint.css.js +0 -1
- package/dist/Modal/Modal.css.js +0 -1
- package/dist/Notification/Notification.css.js +0 -1
- package/dist/Phone/Phone.css.js +0 -1
- package/dist/Phone/PhoneSelect.css.js +0 -1
- package/dist/Phone/PhoneTrigger.css.js +0 -1
- package/dist/Popover/Popover.css.js +0 -1
- package/dist/Radio/Radio.css.js +0 -1
- package/dist/RadioGroup/RadioGroup.css.js +0 -1
- package/dist/Searchfield/Searchfield.css.js +0 -1
- package/dist/Select/Select.css.js +0 -1
- package/dist/Select/SelectList.css.js +0 -1
- package/dist/Select/SelectListOption.css.js +0 -1
- package/dist/Slider/Slider.css.js +0 -1
- package/dist/Slider/SliderThumb.css.js +0 -1
- package/dist/Stack/Stack.css.js +0 -1
- package/dist/Switch/Switch.css.js +0 -1
- package/dist/SwitchGroup/SwitchGroup.css.js +0 -1
- package/dist/Tab/Tab.css.js +0 -1
- package/dist/Table/Table.css.js +0 -1
- package/dist/Tabs/Tabs.css.js +0 -1
- package/dist/Textarea/Textarea.css.js +0 -1
- package/dist/Textfield/Textfield.css.js +0 -1
- package/dist/Toast/Toast.css.js +0 -1
- package/dist/Toast/ToastButton.css.js +0 -1
- package/dist/Toast/ToastRegion.css.js +0 -1
- package/dist/Tooltip/Tooltip.css.js +0 -1
- package/dist/output/variables/animations.css.js +0 -1
- package/dist/output/variables/focus.css.js +0 -1
- package/dist/output/variables/forms.css.js +0 -1
- package/dist/output/variables/shadows.css.js +0 -1
- package/dist/output/variables/transitions.css.js +0 -1
- package/dist/output/variables/typography.css.js +0 -1
- package/dist/output/variables/variables.css.js +0 -1
- package/dist/output/variables/variables.json.js +0 -1405
|
@@ -1,60 +1,66 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { j as
|
|
2
|
+
import { j as e } from "../external/react/jsx-runtime.js";
|
|
3
3
|
import { useContext as z, useRef as _, useState as g, useEffect as d } from "react";
|
|
4
4
|
import p from "../external/classnames/index.js";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
/* empty css */
|
|
6
|
+
/* empty css */
|
|
7
|
+
/* empty css */
|
|
8
|
+
/* empty css */
|
|
9
|
+
/* empty css */
|
|
10
|
+
/* empty css */
|
|
11
|
+
/* empty css */
|
|
12
12
|
import T from "../output/icons/IconChevronDownAltSm.js";
|
|
13
|
-
|
|
13
|
+
/* empty css */
|
|
14
14
|
import { AccordionContext as k } from "../AccordionGroup/AccordionGroup.js";
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
/* empty css */
|
|
16
|
+
/* empty css */
|
|
17
|
+
/* empty css */
|
|
18
|
+
/* empty css */
|
|
19
19
|
import "../Button/Button.js";
|
|
20
20
|
import "../Calendar/Calendar.js";
|
|
21
21
|
import "../Checkbox/Checkbox.js";
|
|
22
22
|
import "../CheckboxGroup/CheckboxGroup.js";
|
|
23
23
|
import "../Choice/Choice.js";
|
|
24
24
|
import "../ChoiceCard/ChoiceCard.js";
|
|
25
|
-
import "../Color/Color.js";
|
|
26
25
|
import "../DatePicker/DatePicker.js";
|
|
27
26
|
import "../Dialog/Dialog.js";
|
|
28
27
|
import y from "../Heading/Heading.js";
|
|
29
28
|
import "../InfoHint/InfoHint.js";
|
|
30
|
-
|
|
29
|
+
/* empty css */
|
|
31
30
|
import "react-dom";
|
|
32
31
|
import { useFocusRing as B } from "../external/@react-aria/focus/dist/useFocusRing.js";
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
/* empty css */
|
|
33
|
+
/* empty css */
|
|
35
34
|
import "../Phone/PhoneSelect.js";
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
/* empty css */
|
|
36
|
+
/* empty css */
|
|
38
37
|
import "../Radio/Radio.js";
|
|
39
38
|
import "../RadioGroup/RadioGroup.js";
|
|
40
39
|
import "../Searchfield/Searchfield.js";
|
|
40
|
+
import "../SegmentedControls/SegmentedControls.js";
|
|
41
|
+
/* empty css */
|
|
41
42
|
import "../Select/Select.js";
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
/* empty css */
|
|
44
|
+
/* empty css */
|
|
45
|
+
/* empty css */
|
|
45
46
|
import "../Switch/Switch.js";
|
|
46
47
|
import "../SwitchGroup/SwitchGroup.js";
|
|
47
48
|
import "../Tabs/Tabs.js";
|
|
48
|
-
|
|
49
|
+
/* empty css */
|
|
49
50
|
import "../Textarea/Textarea.js";
|
|
50
51
|
import "../Textfield/Textfield.js";
|
|
51
52
|
import "../Toast/Toast.js";
|
|
52
|
-
|
|
53
|
+
/* empty css */
|
|
53
54
|
import "../Chart/Chart.js";
|
|
55
|
+
/* empty css */
|
|
56
|
+
/* empty css */
|
|
57
|
+
/* empty css */
|
|
58
|
+
import "../ActionList/ActionList.js";
|
|
59
|
+
import "../ActionListItem/ActionListItem.js";
|
|
54
60
|
import { useId as $ } from "../external/@react-aria/utils/dist/useId.js";
|
|
55
61
|
import { mergeProps as G } from "../external/@react-aria/utils/dist/mergeProps.js";
|
|
56
62
|
import { usePress as J } from "../external/@react-aria/interactions/dist/usePress.js";
|
|
57
|
-
const
|
|
63
|
+
const or = (j) => {
|
|
58
64
|
const n = z(k), { mode: f, selectedKeys: o, setSelectedKeys: c } = n ?? {}, {
|
|
59
65
|
id: t = "",
|
|
60
66
|
title: N,
|
|
@@ -64,7 +70,7 @@ const Uo = (j) => {
|
|
|
64
70
|
"aria-label": H,
|
|
65
71
|
"aria-labelledby": L,
|
|
66
72
|
"aria-describedby": P
|
|
67
|
-
} = j,
|
|
73
|
+
} = j, m = _(null), l = _(null), { isFocusVisible: R, focusProps: A } = B(), [i, s] = g(v), [S, u] = g(0), b = $(), h = $();
|
|
68
74
|
d(() => {
|
|
69
75
|
n && (o != null && o.includes(t) && s(!0), !(o != null && o.includes(t)) && s(!1));
|
|
70
76
|
}, [n]);
|
|
@@ -76,13 +82,13 @@ const Uo = (j) => {
|
|
|
76
82
|
onPress: w
|
|
77
83
|
});
|
|
78
84
|
d(() => {
|
|
79
|
-
|
|
85
|
+
m.current && m.current.querySelectorAll(
|
|
80
86
|
'a[href], button, input, select, textarea, [tabindex]:not([tabindex="-1"])'
|
|
81
87
|
).forEach((a) => {
|
|
82
|
-
a.setAttribute("tabindex",
|
|
88
|
+
a.setAttribute("tabindex", i ? "0" : "-1");
|
|
83
89
|
});
|
|
84
|
-
}, [
|
|
85
|
-
const r =
|
|
90
|
+
}, [i]), d(() => {
|
|
91
|
+
const r = l.current;
|
|
86
92
|
if (!r)
|
|
87
93
|
return;
|
|
88
94
|
u(r.scrollHeight);
|
|
@@ -92,49 +98,49 @@ const Uo = (j) => {
|
|
|
92
98
|
return x.observe(r), () => {
|
|
93
99
|
x.unobserve(r);
|
|
94
100
|
};
|
|
95
|
-
}, [
|
|
101
|
+
}, [l]);
|
|
96
102
|
const O = p("eds-accordion", E), D = p("eds-accordion__button", {
|
|
97
|
-
"eds-accordion__button--open":
|
|
103
|
+
"eds-accordion__button--open": i,
|
|
98
104
|
"eds-accordion__button--focused": R,
|
|
99
|
-
"eds-accordion__button--closed": !
|
|
105
|
+
"eds-accordion__button--closed": !i
|
|
100
106
|
}), F = p("eds-accordion__icon", {
|
|
101
|
-
"eds-accordion__icon--rotate":
|
|
107
|
+
"eds-accordion__icon--rotate": i
|
|
102
108
|
}), V = p("eds-accordion__panel", {
|
|
103
|
-
"eds-accordion__panel--closed": !
|
|
109
|
+
"eds-accordion__panel--closed": !i
|
|
104
110
|
});
|
|
105
|
-
return /* @__PURE__ */
|
|
106
|
-
/* @__PURE__ */
|
|
111
|
+
return /* @__PURE__ */ e.jsxs("div", { className: O, children: [
|
|
112
|
+
/* @__PURE__ */ e.jsx(y, { variant: "h5", as: "h3", className: "eds-accordion__header", children: /* @__PURE__ */ e.jsxs(
|
|
107
113
|
"button",
|
|
108
114
|
{
|
|
109
115
|
...G(A, I),
|
|
110
116
|
id: b,
|
|
111
117
|
className: D,
|
|
112
|
-
"aria-expanded":
|
|
118
|
+
"aria-expanded": i,
|
|
113
119
|
"aria-controls": h,
|
|
114
120
|
"aria-label": H,
|
|
115
121
|
"aria-labelledby": L,
|
|
116
122
|
"aria-describedby": P,
|
|
117
123
|
children: [
|
|
118
|
-
/* @__PURE__ */
|
|
119
|
-
/* @__PURE__ */
|
|
124
|
+
/* @__PURE__ */ e.jsx("span", { className: "eds-accordion__title", children: N }),
|
|
125
|
+
/* @__PURE__ */ e.jsx("span", { className: F, children: /* @__PURE__ */ e.jsx(T, { "aria-hidden": !0 }) })
|
|
120
126
|
]
|
|
121
127
|
}
|
|
122
128
|
) }),
|
|
123
|
-
/* @__PURE__ */
|
|
129
|
+
/* @__PURE__ */ e.jsx(
|
|
124
130
|
"div",
|
|
125
131
|
{
|
|
126
132
|
role: "region",
|
|
127
133
|
id: h,
|
|
128
134
|
className: V,
|
|
129
|
-
ref:
|
|
130
|
-
style:
|
|
135
|
+
ref: m,
|
|
136
|
+
style: i ? { height: S } : { height: 0 },
|
|
131
137
|
"aria-labelledby": b,
|
|
132
|
-
"aria-hidden": !
|
|
133
|
-
children: /* @__PURE__ */
|
|
138
|
+
"aria-hidden": !i,
|
|
139
|
+
children: /* @__PURE__ */ e.jsx("div", { className: "eds-accordion__panel-wrapper", ref: l, children: C })
|
|
134
140
|
}
|
|
135
141
|
)
|
|
136
142
|
] });
|
|
137
143
|
};
|
|
138
144
|
export {
|
|
139
|
-
|
|
145
|
+
or as default
|
|
140
146
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { j as o } from "../external/react/jsx-runtime.js";
|
|
3
3
|
import { createContext as d, useState as m, useEffect as u } from "react";
|
|
4
4
|
import p from "../external/classnames/index.js";
|
|
5
|
-
|
|
5
|
+
/* empty css */
|
|
6
6
|
const f = d(null), v = (c) => {
|
|
7
7
|
const { mode: s = "single", selectedKeys: e = [], children: r, className: n } = c, [l, t] = m(e), i = {
|
|
8
8
|
mode: s,
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as s } from "../external/react/jsx-runtime.js";
|
|
3
|
+
import { createContext as c, useContext as r } from "react";
|
|
4
|
+
/* empty css */
|
|
5
|
+
import a from "../external/classnames/index.js";
|
|
6
|
+
const e = c("default"), x = () => r(e);
|
|
7
|
+
function f({
|
|
8
|
+
children: o,
|
|
9
|
+
className: i,
|
|
10
|
+
variant: t = "default"
|
|
11
|
+
}) {
|
|
12
|
+
const n = a("eds-action-list", i, {
|
|
13
|
+
[`eds-action-list-${t}`]: t
|
|
14
|
+
});
|
|
15
|
+
return /* @__PURE__ */ s.jsx(e.Provider, { value: t, children: /* @__PURE__ */ s.jsx("div", { className: n, children: o }) });
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
f as default,
|
|
19
|
+
x as useActionListVariant
|
|
20
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as e } from "../external/react/jsx-runtime.js";
|
|
3
|
+
import { forwardRef as A, useRef as P } from "react";
|
|
4
|
+
/* empty css */
|
|
5
|
+
import n from "../external/classnames/index.js";
|
|
6
|
+
import { useActionListVariant as C } from "../ActionList/ActionList.js";
|
|
7
|
+
import { useFocusRing as F } from "../external/@react-aria/focus/dist/useFocusRing.js";
|
|
8
|
+
import { useObjectRef as w } from "../external/@react-aria/utils/dist/useObjectRef.js";
|
|
9
|
+
import { mergeProps as y } from "../external/@react-aria/utils/dist/mergeProps.js";
|
|
10
|
+
import { useButton as B } from "../external/@react-aria/button/dist/useButton.js";
|
|
11
|
+
const I = A((o, _) => {
|
|
12
|
+
const {
|
|
13
|
+
label: h,
|
|
14
|
+
labelWeight: c = "bold",
|
|
15
|
+
description: l,
|
|
16
|
+
iconLeft: r,
|
|
17
|
+
iconRight: m,
|
|
18
|
+
className: d,
|
|
19
|
+
element: t = "div"
|
|
20
|
+
} = o, f = C(), p = t === "button", u = t === "a", b = t === "label", { isFocusVisible: j, focusProps: $ } = F(), i = n("eds-action-list-item", d, {
|
|
21
|
+
[`eds-action-list-item-${f}`]: f,
|
|
22
|
+
"eds-action-list-item__focus": j,
|
|
23
|
+
"eds-action-list-item__interactive": p || u || b
|
|
24
|
+
}), N = n(
|
|
25
|
+
"eds-action-list-item__label",
|
|
26
|
+
d,
|
|
27
|
+
{
|
|
28
|
+
"eds-label-default-600": c === "bold",
|
|
29
|
+
"eds-label-default-400": c === "regular"
|
|
30
|
+
}
|
|
31
|
+
), g = n(
|
|
32
|
+
"eds-action-list-item__description",
|
|
33
|
+
"eds-text-line-small-400"
|
|
34
|
+
), a = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
35
|
+
r && /* @__PURE__ */ e.jsx("span", { className: "eds-action-list-item__leading", children: r }),
|
|
36
|
+
/* @__PURE__ */ e.jsxs("span", { className: "eds-action-list-item__text-section", children: [
|
|
37
|
+
/* @__PURE__ */ e.jsx("span", { className: N, children: h }),
|
|
38
|
+
l && /* @__PURE__ */ e.jsx("span", { className: g, children: l })
|
|
39
|
+
] }),
|
|
40
|
+
m && /* @__PURE__ */ e.jsx("span", { className: "eds-action-list-item__trailing", children: m })
|
|
41
|
+
] }), R = w(_), L = P(null), s = R || L, { buttonProps: v } = B(
|
|
42
|
+
{ elementType: t, ...o },
|
|
43
|
+
s
|
|
44
|
+
), x = y(v, $);
|
|
45
|
+
return p ? /* @__PURE__ */ e.jsx(
|
|
46
|
+
"button",
|
|
47
|
+
{
|
|
48
|
+
...x,
|
|
49
|
+
ref: s,
|
|
50
|
+
className: i,
|
|
51
|
+
children: a
|
|
52
|
+
}
|
|
53
|
+
) : u ? /* @__PURE__ */ e.jsx(
|
|
54
|
+
"a",
|
|
55
|
+
{
|
|
56
|
+
...x,
|
|
57
|
+
ref: s,
|
|
58
|
+
className: i,
|
|
59
|
+
children: a
|
|
60
|
+
}
|
|
61
|
+
) : b ? /* @__PURE__ */ e.jsx(
|
|
62
|
+
"label",
|
|
63
|
+
{
|
|
64
|
+
ref: s,
|
|
65
|
+
className: i,
|
|
66
|
+
children: a
|
|
67
|
+
}
|
|
68
|
+
) : /* @__PURE__ */ e.jsx(
|
|
69
|
+
"div",
|
|
70
|
+
{
|
|
71
|
+
ref: s,
|
|
72
|
+
className: i,
|
|
73
|
+
children: a
|
|
74
|
+
}
|
|
75
|
+
);
|
|
76
|
+
});
|
|
77
|
+
I.displayName = "ActionListItem";
|
|
78
|
+
export {
|
|
79
|
+
I as default
|
|
80
|
+
};
|
|
@@ -2,55 +2,61 @@
|
|
|
2
2
|
import { j as e } from "../external/react/jsx-runtime.js";
|
|
3
3
|
import { useRef as s, useEffect as Q } from "react";
|
|
4
4
|
import r from "../external/classnames/index.js";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
/* empty css */
|
|
6
|
+
/* empty css */
|
|
7
|
+
/* empty css */
|
|
8
|
+
/* empty css */
|
|
9
|
+
/* empty css */
|
|
10
|
+
/* empty css */
|
|
11
|
+
/* empty css */
|
|
12
12
|
import U from "../output/icons/IconCrossSm.js";
|
|
13
|
-
|
|
13
|
+
/* empty css */
|
|
14
14
|
import "../AccordionGroup/AccordionGroup.js";
|
|
15
|
-
|
|
15
|
+
/* empty css */
|
|
16
16
|
import W from "../Select/SelectList.js";
|
|
17
|
-
|
|
17
|
+
/* empty css */
|
|
18
18
|
import "../Button/Button.js";
|
|
19
19
|
import "../Calendar/Calendar.js";
|
|
20
20
|
import "../Checkbox/Checkbox.js";
|
|
21
21
|
import "../CheckboxGroup/CheckboxGroup.js";
|
|
22
22
|
import "../Choice/Choice.js";
|
|
23
23
|
import "../ChoiceCard/ChoiceCard.js";
|
|
24
|
-
import "../Color/Color.js";
|
|
25
24
|
import "../DatePicker/DatePicker.js";
|
|
26
25
|
import "../Dialog/Dialog.js";
|
|
27
26
|
import "../InfoHint/InfoHint.js";
|
|
28
27
|
import X from "../Label/Label.js";
|
|
29
|
-
|
|
28
|
+
/* empty css */
|
|
30
29
|
import "react-dom";
|
|
31
30
|
import { useFocusRing as v } from "../external/@react-aria/focus/dist/useFocusRing.js";
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
/* empty css */
|
|
32
|
+
/* empty css */
|
|
34
33
|
import "../Phone/PhoneSelect.js";
|
|
35
|
-
|
|
34
|
+
/* empty css */
|
|
36
35
|
import Y from "../Popover/Popover.js";
|
|
37
36
|
import "../Radio/Radio.js";
|
|
38
37
|
import "../RadioGroup/RadioGroup.js";
|
|
39
38
|
import "../Searchfield/Searchfield.js";
|
|
39
|
+
import "../SegmentedControls/SegmentedControls.js";
|
|
40
|
+
/* empty css */
|
|
40
41
|
import "../Select/Select.js";
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
/* empty css */
|
|
43
|
+
/* empty css */
|
|
43
44
|
import N from "../Stack/Stack.js";
|
|
44
45
|
import "../Switch/Switch.js";
|
|
45
46
|
import "../SwitchGroup/SwitchGroup.js";
|
|
46
47
|
import "../Tabs/Tabs.js";
|
|
47
|
-
|
|
48
|
-
import
|
|
48
|
+
/* empty css */
|
|
49
|
+
import m from "../Text/Text.js";
|
|
49
50
|
import "../Textarea/Textarea.js";
|
|
50
51
|
import "../Textfield/Textfield.js";
|
|
51
52
|
import "../Toast/Toast.js";
|
|
52
|
-
|
|
53
|
+
/* empty css */
|
|
53
54
|
import "../Chart/Chart.js";
|
|
55
|
+
/* empty css */
|
|
56
|
+
/* empty css */
|
|
57
|
+
/* empty css */
|
|
58
|
+
import "../ActionList/ActionList.js";
|
|
59
|
+
import "../ActionListItem/ActionListItem.js";
|
|
54
60
|
import { useFilter as Z } from "../external/@react-aria/i18n/dist/useFilter.js";
|
|
55
61
|
import { useComboBoxState as ee } from "../external/@react-stately/combobox/dist/useComboBoxState.js";
|
|
56
62
|
import { useComboBox as te } from "../external/@react-aria/combobox/dist/useComboBox.js";
|
|
@@ -58,8 +64,8 @@ import { useSearchFieldState as oe } from "../external/@react-stately/searchfiel
|
|
|
58
64
|
import { useSearchField as se } from "../external/@react-aria/searchfield/dist/useSearchField.js";
|
|
59
65
|
import { useButton as re } from "../external/@react-aria/button/dist/useButton.js";
|
|
60
66
|
import { mergeProps as P } from "../external/@react-aria/utils/dist/mergeProps.js";
|
|
61
|
-
const
|
|
62
|
-
const { contains: B } = Z({ sensitivity: "base" }), t = ee({ ...o, defaultFilter: B }), i = s(null),
|
|
67
|
+
const xt = (o) => {
|
|
68
|
+
const { contains: B } = Z({ sensitivity: "base" }), t = ee({ ...o, defaultFilter: B }), i = s(null), p = s(null), c = s(null), n = s(null), u = s(null), d = s(null), { isOpen: F = !1, isNonModal: R = !1, isDisabled: S = !1 } = o, {
|
|
63
69
|
descriptionProps: f,
|
|
64
70
|
inputProps: C,
|
|
65
71
|
listBoxProps: I,
|
|
@@ -71,8 +77,8 @@ const pt = (o) => {
|
|
|
71
77
|
{
|
|
72
78
|
...o,
|
|
73
79
|
inputRef: i,
|
|
74
|
-
listBoxRef:
|
|
75
|
-
popoverRef:
|
|
80
|
+
listBoxRef: p,
|
|
81
|
+
popoverRef: c
|
|
76
82
|
},
|
|
77
83
|
t
|
|
78
84
|
);
|
|
@@ -127,7 +133,7 @@ const pt = (o) => {
|
|
|
127
133
|
j && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
128
134
|
/* @__PURE__ */ e.jsx("span", { className: "eds-autocomplete__label-suffix-separator" }),
|
|
129
135
|
/* @__PURE__ */ e.jsx(
|
|
130
|
-
|
|
136
|
+
m,
|
|
131
137
|
{
|
|
132
138
|
variant: "line",
|
|
133
139
|
italic: !0,
|
|
@@ -178,14 +184,14 @@ const pt = (o) => {
|
|
|
178
184
|
"div",
|
|
179
185
|
{
|
|
180
186
|
...M,
|
|
181
|
-
children: /* @__PURE__ */ e.jsx(
|
|
187
|
+
children: /* @__PURE__ */ e.jsx(m, { variant: "line", size: "small", className: "eds-autocomplete__messages-error", children: l })
|
|
182
188
|
}
|
|
183
189
|
),
|
|
184
190
|
a && /* @__PURE__ */ e.jsx(
|
|
185
191
|
"div",
|
|
186
192
|
{
|
|
187
193
|
...f,
|
|
188
|
-
children: /* @__PURE__ */ e.jsx(
|
|
194
|
+
children: /* @__PURE__ */ e.jsx(m, { variant: "line", size: "small", className: G, children: a })
|
|
189
195
|
}
|
|
190
196
|
)
|
|
191
197
|
] })
|
|
@@ -193,7 +199,7 @@ const pt = (o) => {
|
|
|
193
199
|
t.isOpen && /* @__PURE__ */ e.jsx(
|
|
194
200
|
Y,
|
|
195
201
|
{
|
|
196
|
-
popoverRef:
|
|
202
|
+
popoverRef: c,
|
|
197
203
|
triggerRef: n,
|
|
198
204
|
portalContainer: d.current,
|
|
199
205
|
state: t,
|
|
@@ -205,7 +211,7 @@ const pt = (o) => {
|
|
|
205
211
|
W,
|
|
206
212
|
{
|
|
207
213
|
...I,
|
|
208
|
-
listBoxRef:
|
|
214
|
+
listBoxRef: p,
|
|
209
215
|
state: t
|
|
210
216
|
}
|
|
211
217
|
)
|
|
@@ -214,5 +220,5 @@ const pt = (o) => {
|
|
|
214
220
|
] });
|
|
215
221
|
};
|
|
216
222
|
export {
|
|
217
|
-
|
|
223
|
+
xt as default
|
|
218
224
|
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { j as s } from "../external/react/jsx-runtime.js";
|
|
2
|
+
import t from "../external/classnames/index.js";
|
|
3
|
+
/* empty css */
|
|
4
|
+
import o from "../output/icons/IconUserSm.js";
|
|
5
|
+
function u({
|
|
6
|
+
label: l,
|
|
7
|
+
className: r = "",
|
|
8
|
+
variant: e = "a",
|
|
9
|
+
size: a = "default"
|
|
10
|
+
}) {
|
|
11
|
+
const n = t(
|
|
12
|
+
"eds-avatar",
|
|
13
|
+
{
|
|
14
|
+
[`eds-avatar-${a}`]: a,
|
|
15
|
+
[`eds-avatar-${e}`]: e,
|
|
16
|
+
"eds-avatar__icon-only": !l
|
|
17
|
+
},
|
|
18
|
+
r
|
|
19
|
+
), d = t("eds-avatar__label", {
|
|
20
|
+
[`eds-avatar__label-${a}`]: a,
|
|
21
|
+
"eds-label-minimum-600": a === "icon-sm",
|
|
22
|
+
"eds-label-tiny-600": a === "small",
|
|
23
|
+
"eds-label-default-600": a === "default" || "icon-lg",
|
|
24
|
+
"eds-label-large-600": a === "icon-xl"
|
|
25
|
+
});
|
|
26
|
+
return /* @__PURE__ */ s.jsx("span", { className: n, children: l ? /* @__PURE__ */ s.jsx("span", { className: d, children: l }) : /* @__PURE__ */ s.jsx("span", { className: "eds-avatar__icon", children: /* @__PURE__ */ s.jsx(o, { "aria-hidden": "true" }) }) });
|
|
27
|
+
}
|
|
28
|
+
export {
|
|
29
|
+
u as default
|
|
30
|
+
};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as r } from "../external/react/jsx-runtime.js";
|
|
3
|
+
import m from "../external/classnames/index.js";
|
|
4
|
+
/* empty css */
|
|
5
|
+
/* empty css */
|
|
6
|
+
/* empty css */
|
|
7
|
+
/* empty css */
|
|
8
|
+
/* empty css */
|
|
9
|
+
/* empty css */
|
|
10
|
+
/* empty css */
|
|
11
|
+
/* empty css */
|
|
12
|
+
import p from "../output/icons/IconAlertTriangleXs.js";
|
|
13
|
+
import n from "../output/icons/IconCircleCheckXs.js";
|
|
14
|
+
import c from "../output/icons/IconClockHourXs.js";
|
|
15
|
+
/* empty css */
|
|
16
|
+
import "react";
|
|
17
|
+
import "../AccordionGroup/AccordionGroup.js";
|
|
18
|
+
/* empty css */
|
|
19
|
+
/* empty css */
|
|
20
|
+
/* empty css */
|
|
21
|
+
/* empty css */
|
|
22
|
+
import "../Button/Button.js";
|
|
23
|
+
import "../Calendar/Calendar.js";
|
|
24
|
+
import "../Checkbox/Checkbox.js";
|
|
25
|
+
import "../CheckboxGroup/CheckboxGroup.js";
|
|
26
|
+
import "../Choice/Choice.js";
|
|
27
|
+
import "../ChoiceCard/ChoiceCard.js";
|
|
28
|
+
import "../DatePicker/DatePicker.js";
|
|
29
|
+
import "../Dialog/Dialog.js";
|
|
30
|
+
import "../InfoHint/InfoHint.js";
|
|
31
|
+
/* empty css */
|
|
32
|
+
import "react-dom";
|
|
33
|
+
/* empty css */
|
|
34
|
+
/* empty css */
|
|
35
|
+
import "../Phone/PhoneSelect.js";
|
|
36
|
+
/* empty css */
|
|
37
|
+
/* empty css */
|
|
38
|
+
import "../Radio/Radio.js";
|
|
39
|
+
import "../RadioGroup/RadioGroup.js";
|
|
40
|
+
import "../Searchfield/Searchfield.js";
|
|
41
|
+
import "../SegmentedControls/SegmentedControls.js";
|
|
42
|
+
/* empty css */
|
|
43
|
+
import "../Select/Select.js";
|
|
44
|
+
/* empty css */
|
|
45
|
+
/* empty css */
|
|
46
|
+
/* empty css */
|
|
47
|
+
import "../Switch/Switch.js";
|
|
48
|
+
import "../SwitchGroup/SwitchGroup.js";
|
|
49
|
+
import "../Tabs/Tabs.js";
|
|
50
|
+
/* empty css */
|
|
51
|
+
import "../Textarea/Textarea.js";
|
|
52
|
+
import "../Textfield/Textfield.js";
|
|
53
|
+
import "../Toast/Toast.js";
|
|
54
|
+
/* empty css */
|
|
55
|
+
import "../Chart/Chart.js";
|
|
56
|
+
/* empty css */
|
|
57
|
+
/* empty css */
|
|
58
|
+
import "../ActionList/ActionList.js";
|
|
59
|
+
import "../ActionListItem/ActionListItem.js";
|
|
60
|
+
const s = {
|
|
61
|
+
success: /* @__PURE__ */ r.jsx(n, { "aria-hidden": "true" }),
|
|
62
|
+
warning: /* @__PURE__ */ r.jsx(p, { "aria-hidden": "true" }),
|
|
63
|
+
alert: /* @__PURE__ */ r.jsx(p, { "aria-hidden": "true" }),
|
|
64
|
+
info: /* @__PURE__ */ r.jsx(c, { "aria-hidden": "true" })
|
|
65
|
+
};
|
|
66
|
+
function gr({
|
|
67
|
+
label: e,
|
|
68
|
+
iconLeft: i,
|
|
69
|
+
className: a = "",
|
|
70
|
+
variant: o = "neutral",
|
|
71
|
+
size: t = "default"
|
|
72
|
+
}) {
|
|
73
|
+
const l = m(
|
|
74
|
+
"eds-badge",
|
|
75
|
+
{
|
|
76
|
+
[`eds-badge-${t}`]: t,
|
|
77
|
+
[`eds-badge-${o}`]: o
|
|
78
|
+
},
|
|
79
|
+
a
|
|
80
|
+
), d = m("eds-badge__label", {
|
|
81
|
+
[`eds-badge__label-${t}`]: t,
|
|
82
|
+
"eds-label-small-400": t === "default",
|
|
83
|
+
"eds-label-tiny-400": t === "small"
|
|
84
|
+
});
|
|
85
|
+
return /* @__PURE__ */ r.jsxs("span", { className: l, children: [
|
|
86
|
+
i !== !1 && (i ?? s[o]) && /* @__PURE__ */ r.jsx("span", { className: "eds-badge__icon", children: i ?? s[o] }),
|
|
87
|
+
/* @__PURE__ */ r.jsx("span", { className: d, children: e })
|
|
88
|
+
] });
|
|
89
|
+
}
|
|
90
|
+
export {
|
|
91
|
+
gr as default
|
|
92
|
+
};
|
package/dist/Button/Button.js
CHANGED
|
@@ -5,7 +5,7 @@ import { mergeProps as b } from "../external/@react-aria/utils/dist/mergeProps.j
|
|
|
5
5
|
import { useObjectRef as E } from "../external/@react-aria/utils/dist/useObjectRef.js";
|
|
6
6
|
import x from "../external/classnames/index.js";
|
|
7
7
|
import z from "../Tooltip/Tooltip.js";
|
|
8
|
-
|
|
8
|
+
/* empty css */
|
|
9
9
|
import { useButton as D } from "../external/@react-aria/button/dist/useButton.js";
|
|
10
10
|
import { useFocusRing as O } from "../external/@react-aria/focus/dist/useFocusRing.js";
|
|
11
11
|
const U = I((d, $) => {
|