@strapi/design-system 2.0.0-beta.3 → 2.0.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Accordion/Accordion.d.ts +38 -53
- package/dist/components/Accordion/Accordion.d.ts.map +1 -1
- package/dist/components/Accordion/index.d.ts +1 -6
- package/dist/components/Accordion/index.d.ts.map +1 -1
- package/dist/components/Avatar/Avatar.d.ts +19 -15
- package/dist/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/components/Avatar/index.d.ts +1 -2
- package/dist/components/Avatar/index.d.ts.map +1 -1
- package/dist/components/Badge/Badge.d.ts +8 -3
- package/dist/components/Badge/Badge.d.ts.map +1 -1
- package/dist/components/Box/Box.d.ts +7 -7
- package/dist/components/Box/Box.d.ts.map +1 -1
- package/dist/components/Button/Button.d.ts +3 -3
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Button/constants.d.ts +2 -2
- package/dist/components/Button/constants.d.ts.map +1 -1
- package/dist/components/Button/utils.d.ts +5 -5
- package/dist/components/Button/utils.d.ts.map +1 -1
- package/dist/components/Card/CardAsset.d.ts +6 -3
- package/dist/components/Card/CardAsset.d.ts.map +1 -1
- package/dist/components/Card/CardCheckbox.d.ts +6 -3
- package/dist/components/Card/CardCheckbox.d.ts.map +1 -1
- package/dist/components/Card/CardTitle.d.ts +1 -1
- package/dist/components/Card/CardTitle.d.ts.map +1 -1
- package/dist/components/CarouselInput/CarouselActions.d.ts +1 -6
- package/dist/components/CarouselInput/CarouselActions.d.ts.map +1 -1
- package/dist/components/Checkbox/Checkbox.d.ts +8 -7
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/Combobox/Combobox.d.ts +13 -26
- package/dist/components/Combobox/Combobox.d.ts.map +1 -1
- package/dist/components/Combobox/index.d.ts +1 -3
- package/dist/components/Combobox/index.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePicker.d.ts +3 -19
- package/dist/components/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/components/DateTimePicker/DateTimePicker.d.ts +2 -2
- package/dist/components/DateTimePicker/DateTimePicker.d.ts.map +1 -1
- package/dist/components/Dialog/Dialog.d.ts +45 -7
- package/dist/components/Dialog/Dialog.d.ts.map +1 -1
- package/dist/components/Dialog/index.d.ts +1 -3
- package/dist/components/Dialog/index.d.ts.map +1 -1
- package/dist/components/Divider/Divider.d.ts +6 -7
- package/dist/components/Divider/Divider.d.ts.map +1 -1
- package/dist/components/Field/Field.d.ts +1 -3
- package/dist/components/Field/Field.d.ts.map +1 -1
- package/dist/components/Grid/Grid.d.ts +14 -5
- package/dist/components/Grid/Grid.d.ts.map +1 -1
- package/dist/components/Grid/index.d.ts +1 -2
- package/dist/components/Grid/index.d.ts.map +1 -1
- package/dist/components/IconButton/IconButton.d.ts +18 -29
- package/dist/components/IconButton/IconButton.d.ts.map +1 -1
- package/dist/components/JSONInput/utils/decorationExtension.d.ts +1 -1
- package/dist/components/JSONInput/utils/decorationExtension.d.ts.map +1 -1
- package/dist/components/LinkButton/LinkButton.d.ts +3 -3
- package/dist/components/LinkButton/LinkButton.d.ts.map +1 -1
- package/dist/components/Modal/Modal.d.ts +46 -0
- package/dist/components/Modal/Modal.d.ts.map +1 -0
- package/dist/components/Modal/index.d.ts +2 -0
- package/dist/components/Modal/index.d.ts.map +1 -0
- package/dist/components/NumberInput/NumberInput.d.ts.map +1 -1
- package/dist/components/Popover/Popover.d.ts +16 -16
- package/dist/components/Popover/Popover.d.ts.map +1 -1
- package/dist/components/Popover/index.d.ts +1 -3
- package/dist/components/Popover/index.d.ts.map +1 -1
- package/dist/components/Radio/Radio.d.ts +11 -5
- package/dist/components/Radio/Radio.d.ts.map +1 -1
- package/dist/components/Radio/index.d.ts +1 -2
- package/dist/components/Radio/index.d.ts.map +1 -1
- package/dist/components/RawTable/RawCell.d.ts.map +1 -1
- package/dist/components/Searchbar/Searchbar.d.ts.map +1 -1
- package/dist/components/Select/MultiSelect.d.ts +2 -14
- package/dist/components/Select/MultiSelect.d.ts.map +1 -1
- package/dist/components/Select/SelectParts.d.ts +5 -9
- package/dist/components/Select/SelectParts.d.ts.map +1 -1
- package/dist/components/Select/SingleSelect.d.ts +2 -2
- package/dist/components/Select/SingleSelect.d.ts.map +1 -1
- package/dist/components/SimpleMenu/Menu.d.ts +3 -4
- package/dist/components/SimpleMenu/Menu.d.ts.map +1 -1
- package/dist/components/SimpleMenu/SimpleMenu.d.ts +1 -1
- package/dist/components/SimpleMenu/SimpleMenu.d.ts.map +1 -1
- package/dist/components/SubNav/SubNavHeader.d.ts.map +1 -1
- package/dist/components/Table/Cell.d.ts +3 -0
- package/dist/components/Table/Cell.d.ts.map +1 -1
- package/dist/components/Tabs/Tabs.d.ts +36 -14
- package/dist/components/Tabs/Tabs.d.ts.map +1 -1
- package/dist/components/Tabs/index.d.ts +1 -3
- package/dist/components/Tabs/index.d.ts.map +1 -1
- package/dist/components/TimePicker/TimePicker.d.ts.map +1 -1
- package/dist/components/Toggle/Toggle.d.ts +0 -2
- package/dist/components/Toggle/Toggle.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +24 -9
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/components/Typography/Typography.d.ts +4 -4
- package/dist/components/Typography/Typography.d.ts.map +1 -1
- package/dist/components/index.d.ts +2 -9
- package/dist/components/index.d.ts.map +1 -1
- package/dist/hooks/useControllableState.d.ts +9 -19
- package/dist/hooks/useControllableState.d.ts.map +1 -1
- package/dist/hooks/useId.d.ts.map +1 -1
- package/dist/hooks/useIntersection.d.ts +3 -0
- package/dist/hooks/useIntersection.d.ts.map +1 -1
- package/dist/hooks/useIsomorphicLayoutEffect.d.ts +12 -0
- package/dist/hooks/useIsomorphicLayoutEffect.d.ts.map +1 -0
- package/dist/hooks/useMeasure.d.ts +7 -0
- package/dist/hooks/useMeasure.d.ts.map +1 -0
- package/dist/index.d.ts +10 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1931 -2353
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1925 -2356
- package/dist/index.mjs.map +1 -1
- package/dist/styles/global.d.ts +4 -0
- package/dist/styles/global.d.ts.map +1 -0
- package/dist/styles/motion.d.ts +55 -0
- package/dist/styles/motion.d.ts.map +1 -0
- package/dist/themes/common-theme.d.ts +15 -1
- package/dist/themes/common-theme.d.ts.map +1 -1
- package/dist/themes/sizes.d.ts +0 -9
- package/dist/themes/sizes.d.ts.map +1 -1
- package/dist/utilities/DesignSystemProvider.d.ts +16 -0
- package/dist/utilities/DesignSystemProvider.d.ts.map +1 -0
- package/dist/utilities/DismissibleLayer/index.d.ts.map +1 -0
- package/dist/utilities/FocusTrap/FocusTrap.d.ts.map +1 -0
- package/dist/utilities/FocusTrap/index.d.ts.map +1 -0
- package/dist/{components → utilities}/KeyboardNavigable/KeyboardNavigable.d.ts +1 -1
- package/dist/utilities/KeyboardNavigable/KeyboardNavigable.d.ts.map +1 -0
- package/dist/utilities/KeyboardNavigable/index.d.ts.map +1 -0
- package/dist/utilities/Portal/Portal.d.ts +13 -0
- package/dist/utilities/Portal/Portal.d.ts.map +1 -0
- package/dist/utilities/Portal/index.d.ts.map +1 -0
- package/dist/utilities/ScrollArea/ScrollArea.d.ts +15 -0
- package/dist/utilities/ScrollArea/ScrollArea.d.ts.map +1 -0
- package/dist/utilities/ScrollArea/index.d.ts +2 -0
- package/dist/utilities/ScrollArea/index.d.ts.map +1 -0
- package/package.json +27 -17
- package/dist/DesignSystemProvider.d.ts +0 -11
- package/dist/DesignSystemProvider.d.ts.map +0 -1
- package/dist/components/Accordion/AccordionContent.d.ts +0 -6
- package/dist/components/Accordion/AccordionContent.d.ts.map +0 -1
- package/dist/components/Accordion/AccordionContext.d.ts +0 -14
- package/dist/components/Accordion/AccordionContext.d.ts.map +0 -1
- package/dist/components/Accordion/AccordionGroup.d.ts +0 -13
- package/dist/components/Accordion/AccordionGroup.d.ts.map +0 -1
- package/dist/components/Accordion/AccordionToggle.d.ts +0 -31
- package/dist/components/Accordion/AccordionToggle.d.ts.map +0 -1
- package/dist/components/Avatar/AvatarGroup.d.ts +0 -6
- package/dist/components/Avatar/AvatarGroup.d.ts.map +0 -1
- package/dist/components/Avatar/constants.d.ts +0 -3
- package/dist/components/Avatar/constants.d.ts.map +0 -1
- package/dist/components/BaseCheckbox/BaseCheckbox.d.ts +0 -27
- package/dist/components/BaseCheckbox/BaseCheckbox.d.ts.map +0 -1
- package/dist/components/BaseCheckbox/index.d.ts +0 -2
- package/dist/components/BaseCheckbox/index.d.ts.map +0 -1
- package/dist/components/BaseCheckbox/utils.d.ts +0 -5
- package/dist/components/BaseCheckbox/utils.d.ts.map +0 -1
- package/dist/components/BaseRadio/BaseRadio.d.ts +0 -9
- package/dist/components/BaseRadio/BaseRadio.d.ts.map +0 -1
- package/dist/components/BaseRadio/RadioGroup.d.ts +0 -13
- package/dist/components/BaseRadio/RadioGroup.d.ts.map +0 -1
- package/dist/components/BaseRadio/context.d.ts +0 -10
- package/dist/components/BaseRadio/context.d.ts.map +0 -1
- package/dist/components/BaseRadio/index.d.ts +0 -3
- package/dist/components/BaseRadio/index.d.ts.map +0 -1
- package/dist/components/BaseRadio/utils.d.ts +0 -5
- package/dist/components/BaseRadio/utils.d.ts.map +0 -1
- package/dist/components/Combobox/ComboboxList.d.ts +0 -11
- package/dist/components/Combobox/ComboboxList.d.ts.map +0 -1
- package/dist/components/Combobox/ComboboxOption.d.ts +0 -5
- package/dist/components/Combobox/ComboboxOption.d.ts.map +0 -1
- package/dist/components/Dialog/DialogBody.d.ts +0 -7
- package/dist/components/Dialog/DialogBody.d.ts.map +0 -1
- package/dist/components/Dialog/DialogFooter.d.ts +0 -7
- package/dist/components/Dialog/DialogFooter.d.ts.map +0 -1
- package/dist/components/DismissibleLayer/index.d.ts.map +0 -1
- package/dist/components/EmptyStateLayout/story-assets/Illo.d.ts +0 -2
- package/dist/components/EmptyStateLayout/story-assets/Illo.d.ts.map +0 -1
- package/dist/components/FocusTrap/FocusTrap.d.ts.map +0 -1
- package/dist/components/FocusTrap/index.d.ts.map +0 -1
- package/dist/components/Grid/GridItem.d.ts +0 -9
- package/dist/components/Grid/GridItem.d.ts.map +0 -1
- package/dist/components/KeyboardNavigable/KeyboardNavigable.d.ts.map +0 -1
- package/dist/components/KeyboardNavigable/index.d.ts.map +0 -1
- package/dist/components/Layout/Layout.d.ts +0 -8
- package/dist/components/Layout/Layout.d.ts.map +0 -1
- package/dist/components/MainNav/MainNav.d.ts +0 -6
- package/dist/components/MainNav/MainNav.d.ts.map +0 -1
- package/dist/components/MainNav/MainNavContext.d.ts +0 -4
- package/dist/components/MainNav/MainNavContext.d.ts.map +0 -1
- package/dist/components/MainNav/NavBrand.d.ts +0 -10
- package/dist/components/MainNav/NavBrand.d.ts.map +0 -1
- package/dist/components/MainNav/NavCondense.d.ts +0 -6
- package/dist/components/MainNav/NavCondense.d.ts.map +0 -1
- package/dist/components/MainNav/NavFooter.d.ts +0 -6
- package/dist/components/MainNav/NavFooter.d.ts.map +0 -1
- package/dist/components/MainNav/NavLink.d.ts +0 -12
- package/dist/components/MainNav/NavLink.d.ts.map +0 -1
- package/dist/components/MainNav/NavSection.d.ts +0 -10
- package/dist/components/MainNav/NavSection.d.ts.map +0 -1
- package/dist/components/MainNav/NavSections.d.ts +0 -9
- package/dist/components/MainNav/NavSections.d.ts.map +0 -1
- package/dist/components/MainNav/NavUser.d.ts +0 -9
- package/dist/components/MainNav/NavUser.d.ts.map +0 -1
- package/dist/components/MainNav/index.d.ts +0 -9
- package/dist/components/MainNav/index.d.ts.map +0 -1
- package/dist/components/ModalLayout/ModalBody.d.ts +0 -3
- package/dist/components/ModalLayout/ModalBody.d.ts.map +0 -1
- package/dist/components/ModalLayout/ModalContext.d.ts +0 -4
- package/dist/components/ModalLayout/ModalContext.d.ts.map +0 -1
- package/dist/components/ModalLayout/ModalFooter.d.ts +0 -7
- package/dist/components/ModalLayout/ModalFooter.d.ts.map +0 -1
- package/dist/components/ModalLayout/ModalHeader.d.ts +0 -8
- package/dist/components/ModalLayout/ModalHeader.d.ts.map +0 -1
- package/dist/components/ModalLayout/ModalLayout.d.ts +0 -7
- package/dist/components/ModalLayout/ModalLayout.d.ts.map +0 -1
- package/dist/components/ModalLayout/index.d.ts +0 -5
- package/dist/components/ModalLayout/index.d.ts.map +0 -1
- package/dist/components/Popover/primitives.d.ts +0 -4
- package/dist/components/Popover/primitives.d.ts.map +0 -1
- package/dist/components/Portal/Portal.d.ts +0 -7
- package/dist/components/Portal/Portal.d.ts.map +0 -1
- package/dist/components/Portal/index.d.ts.map +0 -1
- package/dist/components/Tabs/TabGroup.d.ts +0 -15
- package/dist/components/Tabs/TabGroup.d.ts.map +0 -1
- package/dist/components/Tabs/TabPanels.d.ts +0 -10
- package/dist/components/Tabs/TabPanels.d.ts.map +0 -1
- package/dist/components/Tabs/TabsContext.d.ts +0 -12
- package/dist/components/Tabs/TabsContext.d.ts.map +0 -1
- package/dist/components/Tabs/components.d.ts +0 -23
- package/dist/components/Tabs/components.d.ts.map +0 -1
- package/dist/components/ThemeProvider/ThemeProvider.d.ts +0 -11
- package/dist/components/ThemeProvider/ThemeProvider.d.ts.map +0 -1
- package/dist/components/ThemeProvider/hooks.d.ts +0 -2
- package/dist/components/ThemeProvider/hooks.d.ts.map +0 -1
- package/dist/components/ThemeProvider/index.d.ts +0 -3
- package/dist/components/ThemeProvider/index.d.ts.map +0 -1
- package/dist/components/Tooltip/hooks/useTooltipHandlers.d.ts +0 -8
- package/dist/components/Tooltip/hooks/useTooltipHandlers.d.ts.map +0 -1
- package/dist/components/Tooltip/hooks/useTooltipLayout.d.ts +0 -7
- package/dist/components/Tooltip/hooks/useTooltipLayout.d.ts.map +0 -1
- package/dist/components/Tooltip/utils/positionTooltip.d.ts +0 -6
- package/dist/components/Tooltip/utils/positionTooltip.d.ts.map +0 -1
- package/dist/helpers/getDefaultLocale.d.ts +0 -6
- package/dist/helpers/getDefaultLocale.d.ts.map +0 -1
- package/dist/hooks/useLockScroll.d.ts +0 -3
- package/dist/hooks/useLockScroll.d.ts.map +0 -1
- package/dist/hooks/usePrevious.d.ts +0 -2
- package/dist/hooks/usePrevious.d.ts.map +0 -1
- package/dist/styles/inputs.d.ts +0 -1
- package/dist/styles/inputs.d.ts.map +0 -1
- /package/dist/{components → utilities}/DismissibleLayer/index.d.ts +0 -0
- /package/dist/{components → utilities}/FocusTrap/FocusTrap.d.ts +0 -0
- /package/dist/{components → utilities}/FocusTrap/index.d.ts +0 -0
- /package/dist/{components → utilities}/KeyboardNavigable/index.d.ts +0 -0
- /package/dist/{components → utilities}/Portal/index.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/DatePicker.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAOL,YAAY,EAMb,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/DatePicker.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAOL,YAAY,EAMb,MAAM,yBAAyB,CAAC;AAoBjC,OAAO,EAAE,KAAK,EAAY,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAuB,SAAS,EAAE,MAAM,SAAS,CAAC;AAWzD,UAAU,sBAAsB;IAC9B,YAAY,EAAE,YAAY,CAAC;IAC3B,OAAO,EAAE,wBAAwB,GAAG,IAAI,CAAC;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IAIf,OAAO,EAAE,YAAY,CAAC;IAItB,OAAO,EAAE,YAAY,CAAC;IACtB,IAAI,EAAE,OAAO,CAAC;IACd,oBAAoB,EAAE,CAAC,IAAI,EAAE,YAAY,K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U,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IAC9F,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,IAAI,CAAC;CACd;AAED,QAAA,MAAM,UAAU,0FAkMf,CAAC;AAsCF,KAAK,wBAAwB,GAAG,cAAc,CAAC;AA6H/C,KAAK,0BAA0B,GAAG,gBAAgB,CAAC;AAEnD,UAAU,cAAe,SAAQ,KAAK,CAAC,qBAAqB,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,UAAU,CAAC;CAAG;AAkS5G,KAAK,wBAAwB,GAAG,4BAA4B,CAAC;AAiC7D,KAAK,4BAA4B,GAAG,cAAc,CAAC;AA6FnD,UAAU,aAAc,SAAQ,SAAS,CAAC,KAAK,CAAC;IAC9C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAqUD,KAAK,iBAAiB,GAAG,0BAA0B,CAAC;AAEpD,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import { CalendarDateTime } from '@internationalized/date';
|
|
3
3
|
import { DatePickerProps } from '../DatePicker/DatePicker';
|
|
4
4
|
import { TimePickerProps } from '../TimePicker';
|
|
5
|
-
export interface DateTimePickerProps extends Omit<DatePickerProps, 'step' | 'onChange' | '
|
|
5
|
+
export interface DateTimePickerProps extends Omit<DatePickerProps, 'step' | 'onChange' | 'value'>, Pick<TimePickerProps, 'step'> {
|
|
6
6
|
/**
|
|
7
7
|
* Label for the DatePicker field
|
|
8
8
|
* @default "Date"
|
|
@@ -20,5 +20,5 @@ export interface DateTimePickerProps extends Omit<DatePickerProps, 'step' | 'onC
|
|
|
20
20
|
value?: Date | null;
|
|
21
21
|
}
|
|
22
22
|
export declare const DateTimePicker: React.ForwardRefExoticComponent<DateTimePickerProps & React.RefAttributes<HTMLInputElement>>;
|
|
23
|
-
export declare const convertUTCDateToCalendarDateTime: (date: Date
|
|
23
|
+
export declare const convertUTCDateToCalendarDateTime: (date: Date, resetTime?: boolean) => CalendarDateTime;
|
|
24
24
|
//# sourceMappingURL=DateTimePicker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateTimePicker.d.ts","sourceRoot":"","sources":["../../../src/components/DateTimePicker/DateTimePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,gBAAgB,EAA8D,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"DateTimePicker.d.ts","sourceRoot":"","sources":["../../../src/components/DateTimePicker/DateTimePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,gBAAgB,EAA8D,MAAM,yBAAyB,CAAC;AAOvH,OAAO,EAAiC,eAAe,EAAqB,MAAM,0BAA0B,CAAC;AAG7G,OAAO,EAAgC,eAAe,EAAE,MAAM,eAAe,CAAC;AAY9E,MAAM,WAAW,mBACf,SAAQ,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,UAAU,GAAG,OAAO,CAAC,EAC1D,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC;IAC/B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;IAC5C;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,cAAc,8FAmI1B,CAAC;AAEF,eAAO,MAAM,gCAAgC,SAAU,IAAI,0BAAqB,gBAa/E,CAAC"}
|
|
@@ -1,10 +1,48 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as AlertDialog from '@radix-ui/react-alert-dialog';
|
|
3
|
+
import { FlexProps } from '../Flex';
|
|
2
4
|
import { TypographyProps } from '../Typography';
|
|
3
|
-
|
|
4
|
-
onClose: () => void;
|
|
5
|
-
title: string;
|
|
6
|
-
isOpen: boolean;
|
|
7
|
-
as?: TypographyProps<any>['tag'];
|
|
5
|
+
interface Props extends AlertDialog.AlertDialogProps {
|
|
8
6
|
}
|
|
9
|
-
|
|
7
|
+
declare const Root: React.FC<AlertDialog.AlertDialogProps>;
|
|
8
|
+
type TriggerElement = HTMLButtonElement;
|
|
9
|
+
interface TriggerProps extends Omit<AlertDialog.AlertDialogTriggerProps, 'asChild'> {
|
|
10
|
+
}
|
|
11
|
+
declare const Trigger: React.ForwardRefExoticComponent<TriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
12
|
+
type ContentElement = HTMLDivElement;
|
|
13
|
+
interface ContentProps extends AlertDialog.AlertDialogContentProps {
|
|
14
|
+
}
|
|
15
|
+
declare const Content: React.ForwardRefExoticComponent<ContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
+
type HeaderElement = HTMLHeadingElement;
|
|
17
|
+
interface HeaderProps extends TypographyProps<'h2'> {
|
|
18
|
+
}
|
|
19
|
+
declare const Header: React.ForwardRefExoticComponent<HeaderProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
20
|
+
type BodyElement = HTMLDivElement;
|
|
21
|
+
interface BodyProps extends Omit<FlexProps<'div'>, 'tag'> {
|
|
22
|
+
/**
|
|
23
|
+
* @description optional icon to display, only rendered if
|
|
24
|
+
* children is a string. If provided, it is given the height
|
|
25
|
+
* & width of 24px.
|
|
26
|
+
*/
|
|
27
|
+
icon?: React.ReactElement;
|
|
28
|
+
}
|
|
29
|
+
declare const Body: React.ForwardRefExoticComponent<Omit<BodyProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
30
|
+
type DescriptionElement = HTMLParagraphElement;
|
|
31
|
+
interface DescriptionProps extends Omit<TypographyProps<'p'>, 'tag'> {
|
|
32
|
+
}
|
|
33
|
+
declare const Description: React.ForwardRefExoticComponent<DescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
34
|
+
type FooterElement = HTMLDivElement;
|
|
35
|
+
interface FooterProps extends Omit<FlexProps<'footer'>, 'tag'> {
|
|
36
|
+
}
|
|
37
|
+
declare const Footer: React.ForwardRefExoticComponent<Omit<FooterProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
38
|
+
type CancelElement = HTMLButtonElement;
|
|
39
|
+
interface CancelProps extends Omit<AlertDialog.AlertDialogCancelProps, 'asChild'> {
|
|
40
|
+
}
|
|
41
|
+
declare const Cancel: React.ForwardRefExoticComponent<CancelProps & React.RefAttributes<HTMLButtonElement>>;
|
|
42
|
+
type ActionElement = HTMLButtonElement;
|
|
43
|
+
interface ActionProps extends Omit<AlertDialog.AlertDialogActionProps, 'asChild'> {
|
|
44
|
+
}
|
|
45
|
+
declare const Action: React.ForwardRefExoticComponent<ActionProps & React.RefAttributes<HTMLButtonElement>>;
|
|
46
|
+
export { Root, Trigger, Content, Header, Body, Description, Footer, Cancel, Action };
|
|
47
|
+
export type { Props, TriggerElement, TriggerProps, ContentElement, ContentProps, HeaderElement, HeaderProps, BodyElement, BodyProps, DescriptionElement, DescriptionProps, FooterElement, FooterProps, CancelElement, CancelProps, ActionElement, ActionProps, };
|
|
10
48
|
//# sourceMappingURL=Dialog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/Dialog.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/Dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO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AAa,GAAG,iBAAiB,CAAC;AAEvC,UAAU,WAAY,SAAQ,IAAI,CAAC,WAAW,CAAC,sBAAsB,EAAE,SAAS,CAAC;CAAG;AAEpF,QAAA,MAAM,MAAM,uFAEV,CAAC;AAMH,KAAK,aAAa,GAAG,iBAAiB,CAAC;AAEvC,UAAU,WAAY,SAAQ,IAAI,CAAC,WAAW,CAAC,sBAAsB,EAAE,SAAS,CAAC;CAAG;AAEpF,QAAA,MAAM,MAAM,uFAEV,CAAC;AAEH,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;AACrF,YAAY,EACV,KAAK,EACL,cAAc,EACd,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,aAAa,EACb,WAAW,EACX,WAAW,EACX,SAAS,EACT,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,WAAW,EACX,aAAa,EACb,WAAW,EACX,aAAa,EACb,WAAW,GACZ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import { BoxProps } from '../Box';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* @preserve
|
|
5
|
-
* @deprecated use `margin` style props instead
|
|
6
|
-
*/
|
|
7
|
-
unsetMargin?: boolean;
|
|
3
|
+
type DividerElement = HTMLDivElement;
|
|
4
|
+
interface DividerProps extends Omit<BoxProps<'div'>, 'tag'> {
|
|
8
5
|
}
|
|
9
|
-
|
|
6
|
+
declare const Divider: React.ForwardRefExoticComponent<Omit<DividerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export { Divider };
|
|
8
|
+
export type { DividerElement, DividerProps };
|
|
10
9
|
//# sourceMappingURL=Divider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../src/components/Divider/Divider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../src/components/Divider/Divider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAqB,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAErD,KAAK,cAAc,GAAG,cAAc,CAAC;AAErC,UAAU,YAAa,SAAQ,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC;CAAG;AAE9D,QAAA,MAAM,OAAO,kGAWX,CAAC;AASH,OAAO,EAAE,OAAO,EAAE,CAAC;AACnB,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DefaultTheme } from 'styled-components';
|
|
3
2
|
import { FlexProps } from '../Flex';
|
|
4
3
|
import { TypographyProps } from '../Typography';
|
|
5
4
|
interface FieldContextValue {
|
|
@@ -28,7 +27,7 @@ declare const Root: React.ForwardRefExoticComponent<Omit<RootProps, "ref"> & Rea
|
|
|
28
27
|
interface LabelProps extends Omit<TypographyProps<'label'>, 'tag' | 'htmlFor'> {
|
|
29
28
|
action?: React.ReactNode;
|
|
30
29
|
}
|
|
31
|
-
declare const Label: React.ForwardRefExoticComponent<
|
|
30
|
+
declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<HTMLLabelElement>>;
|
|
32
31
|
interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'> {
|
|
33
32
|
disabled?: boolean;
|
|
34
33
|
endAction?: React.ReactNode;
|
|
@@ -38,7 +37,6 @@ interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, '
|
|
|
38
37
|
*/
|
|
39
38
|
hasError?: boolean;
|
|
40
39
|
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
41
|
-
size?: keyof DefaultTheme['sizes']['input'];
|
|
42
40
|
startAction?: React.ReactNode;
|
|
43
41
|
}
|
|
44
42
|
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../src/components/Field/Field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../src/components/Field/Field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,EAAuB,SAAS,EAAE,MAAM,SAAS,CAAC;AACzD,OAAO,EAAc,eAAe,EAAE,MAAM,eAAe,CAAC;AAM5D,UAAU,iBAAiB;IACzB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACzB;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;CACjD;AAED,QAAA,MAAsB,QAAQ,6CAAiD,CAAC;AAEhF,UAAU,SAAU,SAAQ,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,EAAE,WAAW,GAAG,cAAc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react';
|
|
2
2
|
import { ResponsiveValue } from '../../helpers/handleResponsiveValues';
|
|
3
3
|
import { BoxProps } from '../Box';
|
|
4
|
-
type
|
|
4
|
+
type Element = HTMLDivElement;
|
|
5
|
+
type Props<C extends React.ElementType = 'div'> = Omit<BoxProps<C>, 'gap'> & {
|
|
5
6
|
gridCols?: number;
|
|
6
7
|
gap?: ResponsiveValue;
|
|
7
8
|
};
|
|
8
|
-
declare const
|
|
9
|
-
type
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
declare const Root: Component<"div">;
|
|
10
|
+
type Component<C extends React.ElementType = 'div'> = <T extends React.ElementType = C>(props: Props<T>) => JSX.Element;
|
|
11
|
+
type ItemElement = HTMLDivElement;
|
|
12
|
+
type ItemProps<C extends React.ElementType = 'div'> = BoxProps<C> & {
|
|
13
|
+
col?: number;
|
|
14
|
+
s?: number;
|
|
15
|
+
xs?: number;
|
|
16
|
+
};
|
|
17
|
+
declare const ItemImpl: ItemComponent<"div">;
|
|
18
|
+
type ItemComponent<C extends React.ElementType = 'div'> = <T extends React.ElementType = C>(props: ItemProps<T>) => JSX.Element;
|
|
19
|
+
export { Root, ItemImpl as Item };
|
|
20
|
+
export type { Props, Component, Element, ItemProps, ItemElement, ItemComponent };
|
|
12
21
|
//# sourceMappingURL=Grid.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/Grid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAA0B,eAAe,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/Grid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAA0B,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAG/F,OAAO,EAAqB,QAAQ,EAAE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src/components/Grid/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC"}
|
|
@@ -5,42 +5,31 @@ declare const SIZES: readonly ["S", "M", "L"];
|
|
|
5
5
|
declare const VARIANTS: readonly ["tertiary", "secondary"];
|
|
6
6
|
type IconButtonSize = (typeof SIZES)[number];
|
|
7
7
|
type IconButtonVariant = (typeof VARIANTS)[number];
|
|
8
|
-
type
|
|
8
|
+
type IconButtonProps<C extends React.ElementType = 'button'> = BaseButtonProps<C> & {
|
|
9
|
+
children: React.ReactNode;
|
|
9
10
|
/**
|
|
10
|
-
*
|
|
11
|
-
* @deprecated use `borderWidth={0}` instead
|
|
11
|
+
* This isn't visually rendererd, but required for accessibility.
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
label: string;
|
|
14
14
|
onClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
15
|
+
/**
|
|
16
|
+
* @default 'S'
|
|
17
|
+
*/
|
|
15
18
|
size?: IconButtonSize;
|
|
19
|
+
/**
|
|
20
|
+
* @default 'tertiary'
|
|
21
|
+
*/
|
|
16
22
|
variant?: IconButtonVariant;
|
|
23
|
+
/**
|
|
24
|
+
* @default true
|
|
25
|
+
*/
|
|
26
|
+
withTooltip?: boolean;
|
|
17
27
|
};
|
|
18
|
-
|
|
19
|
-
label: string;
|
|
20
|
-
['aria-label']?: never;
|
|
21
|
-
};
|
|
22
|
-
type AriaLabelOnlyProps<C extends React.ElementType = 'button'> = SharedIconButtonProps<C> & {
|
|
23
|
-
label?: never;
|
|
24
|
-
['aria-label']: string;
|
|
25
|
-
};
|
|
26
|
-
interface IconOnlyProps {
|
|
27
|
-
icon: React.ReactNode;
|
|
28
|
-
children?: never;
|
|
29
|
-
}
|
|
30
|
-
interface ChildrenOnlyProps {
|
|
31
|
-
icon?: never;
|
|
32
|
-
children: React.ReactNode;
|
|
33
|
-
}
|
|
34
|
-
type ChildrenWithLabel<C extends React.ElementType = 'button'> = LabelOnlyProps<C> & ChildrenOnlyProps;
|
|
35
|
-
type ChildrenWithAriaLabel<C extends React.ElementType = 'button'> = AriaLabelOnlyProps<C> & ChildrenOnlyProps;
|
|
36
|
-
type IconWithLabel<C extends React.ElementType = 'button'> = LabelOnlyProps<C> & IconOnlyProps;
|
|
37
|
-
type IconWithAriaLabel<C extends React.ElementType = 'button'> = AriaLabelOnlyProps<C> & IconOnlyProps;
|
|
38
|
-
type IconButtonProps<C extends React.ElementType = 'button'> = ChildrenWithLabel<C> | ChildrenWithAriaLabel<C> | IconWithLabel<C> | IconWithAriaLabel<C>;
|
|
39
|
-
declare const IconButton: <C extends React.ElementType<any, keyof React.JSX.IntrinsicElements> = "button">(props: (React.PropsWithoutRef<ChildrenWithLabel<C>> | React.PropsWithoutRef<ChildrenWithAriaLabel<C>> | React.PropsWithoutRef<IconWithLabel<C>> | React.PropsWithoutRef<IconWithAriaLabel<C>>) & React.RefAttributes<unknown>) => React.ReactNode;
|
|
28
|
+
declare const IconButton: <C extends React.ElementType<any, keyof React.JSX.IntrinsicElements> = "button">(props: React.PropsWithoutRef<IconButtonProps<C>> & React.RefAttributes<unknown>) => React.ReactNode;
|
|
40
29
|
type IconButtonComponent<C extends React.ElementType = 'button'> = (props: IconButtonProps<C>) => React.ReactNode;
|
|
41
|
-
declare const IconButtonGroup: import("styled-components").
|
|
30
|
+
declare const IconButtonGroup: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<Omit<import("../Flex").FlexProps<"div">, "ref"> & React.RefAttributes<unknown>, "ref"> & {
|
|
42
31
|
ref?: ((instance: unknown) => void) | React.RefObject<unknown> | null | undefined;
|
|
43
|
-
}, never>> & Omit<FlexComponent, keyof React.Component<any, {}, any>>;
|
|
32
|
+
}, never>> & string & Omit<FlexComponent, keyof React.Component<any, {}, any>>;
|
|
44
33
|
export { IconButton, IconButtonGroup };
|
|
45
|
-
export type { IconButtonProps, IconButtonComponent, IconButtonSize, IconButtonVariant
|
|
34
|
+
export type { IconButtonProps, IconButtonComponent, IconButtonSize, IconButtonVariant };
|
|
46
35
|
//# sourceMappingURL=IconButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../src/components/IconButton/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,EAAmC,eAAe,EAAE,MAAM,eAAe,CAAC;AACjF,OAAO,EAAQ,aAAa,EAAE,MAAM,SAAS,CAAC;AAQ9C,QAAA,MAAM,KAAK,0BAA2B,CAAC;AACvC,QAAA,MAAM,QAAQ,oCAAgD,CAAC;AAE/D,KAAK,cAAc,GAAG,CAAC,OAAO,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC;AAC7C,KAAK,iBAAiB,GAAG,CAAC,OAAO,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC;AAEnD,KAAK,
|
|
1
|
+
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../src/components/IconButton/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,EAAmC,eAAe,EAAE,MAAM,eAAe,CAAC;AACjF,OAAO,EAAQ,aAAa,EAAE,MAAM,SAAS,CAAC;AAQ9C,QAAA,MAAM,KAAK,0BAA2B,CAAC;AACvC,QAAA,MAAM,QAAQ,oCAAgD,CAAC;AAE/D,KAAK,cAAc,GAAG,CAAC,OAAO,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC;AAC7C,KAAK,iBAAiB,GAAG,CAAC,OAAO,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC;AAEnD,KAAK,eAAe,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,QAAQ,IAAI,eAAe,CAAC,CAAC,CAAC,GAAG;IAClF,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;IACrD;;OAEG;IACH,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB;;OAEG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,QAAA,MAAM,UAAU,sLAsCf,CAAC;AAEF,KAAK,mBAAmB,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,QAAQ,IAAI,CAAC,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;AA6ClH,QAAA,MAAM,eAAe;;8EA+BpB,CAAC;AAEF,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,CAAC;AACvC,YAAY,EAAE,eAAe,EAAE,mBAAmB,EAAE,cAAc,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StateField, type Range } from '@codemirror/state';
|
|
2
2
|
import { Decoration } from '@codemirror/view';
|
|
3
3
|
declare const addMarks: import("@codemirror/state").StateEffectType<Range<Decoration>[]>;
|
|
4
|
-
declare const filterMarks: import("@codemirror/state").StateEffectType<(
|
|
4
|
+
declare const filterMarks: import("@codemirror/state").StateEffectType<(_from: number, _to: number, _value: Decoration) => boolean>;
|
|
5
5
|
declare const lineHighlightMark: Decoration;
|
|
6
6
|
declare const markField: StateField<import("@codemirror/view").DecorationSet>;
|
|
7
7
|
export { addMarks, filterMarks, lineHighlightMark, markField };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decorationExtension.d.ts","sourceRoot":"","sources":["../../../../src/components/JSONInput/utils/decorationExtension.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAe,KAAK,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACxE,OAAO,EAAc,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAG1D,QAAA,MAAM,QAAQ,kEAA4C,CAAC;AAC3D,QAAA,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"decorationExtension.d.ts","sourceRoot":"","sources":["../../../../src/components/JSONInput/utils/decorationExtension.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAe,KAAK,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACxE,OAAO,EAAc,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAG1D,QAAA,MAAM,QAAQ,kEAA4C,CAAC;AAC3D,QAAA,MAAM,WAAW,sDAA8B,MAAM,OAAO,MAAM,UAAU,UAAU,KAAK,OAAO,CAAG,CAAC;AAEtG,QAAA,MAAM,iBAAiB,YAErB,CAAC;AAEH,QAAA,MAAM,SAAS,sDAwBb,CAAC;AAEH,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,iBAAiB,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { BaseLinkProps } from '../BaseLink';
|
|
3
|
-
import {
|
|
3
|
+
import { ButtonSize, ButtonVariant } from '../Button/constants';
|
|
4
4
|
type LinkButtonProps<C extends React.ElementType = 'a'> = BaseLinkProps<C> & {
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
endIcon?: React.ReactNode;
|
|
7
|
-
size?:
|
|
7
|
+
size?: ButtonSize;
|
|
8
8
|
startIcon?: React.ReactNode;
|
|
9
|
-
variant?:
|
|
9
|
+
variant?: ButtonVariant;
|
|
10
10
|
};
|
|
11
11
|
declare const LinkButton: <C extends React.ElementType<any, keyof React.JSX.IntrinsicElements> = "a">(props: React.PropsWithoutRef<LinkButtonProps<C>> & React.RefAttributes<unknown>) => React.ReactNode;
|
|
12
12
|
type LinkButtonComponent<C extends React.ElementType = 'a'> = (props: LinkButtonProps<C>) => React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkButton.d.ts","sourceRoot":"","sources":["../../../src/components/LinkButton/LinkButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,EAA+B,aAAa,EAAE,MAAM,aAAa,CAAC;AACzE,OAAO,
|
|
1
|
+
{"version":3,"file":"LinkButton.d.ts","sourceRoot":"","sources":["../../../src/components/LinkButton/LinkButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,EAA+B,aAAa,EAAE,MAAM,aAAa,CAAC;AACzE,OAAO,EAAY,UAAU,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAK1E,KAAK,eAAe,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,GAAG,IAAI,aAAa,CAAC,CAAC,CAAC,GAAG;IAC3E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB,CAAC;AAEF,QAAA,MAAM,UAAU,iLAkCf,CAAC;AAEF,KAAK,mBAAmB,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,GAAG,IAAI,CAAC,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;AA+B7G,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB,YAAY,EAAE,eAAe,EAAE,mBAAmB,EAAE,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as Dialog from '@radix-ui/react-dialog';
|
|
3
|
+
import { ScrollAreaProps } from '../../utilities/ScrollArea';
|
|
4
|
+
import { type FlexProps } from '../Flex';
|
|
5
|
+
import { TypographyProps } from '../Typography';
|
|
6
|
+
interface Props extends Dialog.DialogProps {
|
|
7
|
+
}
|
|
8
|
+
declare const Root: React.FC<Dialog.DialogProps>;
|
|
9
|
+
type TriggerElement = HTMLButtonElement;
|
|
10
|
+
interface TriggerProps extends Omit<Dialog.DialogTriggerProps, 'asChild'> {
|
|
11
|
+
}
|
|
12
|
+
declare const Trigger: React.ForwardRefExoticComponent<TriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
13
|
+
type ContentElement = HTMLDivElement;
|
|
14
|
+
interface ContentProps extends Dialog.DialogContentProps {
|
|
15
|
+
}
|
|
16
|
+
declare const Content: React.ForwardRefExoticComponent<ContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
17
|
+
type CloseElement = HTMLButtonElement;
|
|
18
|
+
interface CloseProps extends Omit<Dialog.DialogCloseProps, 'asChild'> {
|
|
19
|
+
}
|
|
20
|
+
declare const Close: React.ForwardRefExoticComponent<CloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
21
|
+
type HeaderElement = HTMLDivElement;
|
|
22
|
+
interface HeaderProps extends Omit<FlexProps<'header'>, 'tag'> {
|
|
23
|
+
/**
|
|
24
|
+
* @default 'Close modal'
|
|
25
|
+
* @description The label for the close button,
|
|
26
|
+
* useful if you want the button to be translated
|
|
27
|
+
* to other languages.
|
|
28
|
+
*/
|
|
29
|
+
closeLabel?: string;
|
|
30
|
+
}
|
|
31
|
+
declare const Header: React.ForwardRefExoticComponent<Omit<HeaderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
32
|
+
type TitleElement = HTMLHeadingElement;
|
|
33
|
+
interface TitleProps extends TypographyProps<'h2'> {
|
|
34
|
+
}
|
|
35
|
+
declare const Title: React.ForwardRefExoticComponent<TitleProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
36
|
+
type BodyElement = HTMLDivElement;
|
|
37
|
+
interface BodyProps extends ScrollAreaProps {
|
|
38
|
+
}
|
|
39
|
+
declare const Body: React.ForwardRefExoticComponent<BodyProps & React.RefAttributes<HTMLDivElement>>;
|
|
40
|
+
type FooterElement = HTMLDivElement;
|
|
41
|
+
interface FooterProps extends Omit<FlexProps<'footer'>, 'tag'> {
|
|
42
|
+
}
|
|
43
|
+
declare const Footer: React.ForwardRefExoticComponent<Omit<FooterProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
44
|
+
export { Root, Trigger, Close, Content, Header, Title, Body, Footer };
|
|
45
|
+
export type { Props, TriggerElement, TriggerProps, CloseElement, CloseProps, ContentProps, ContentElement, HeaderElement, HeaderProps, TitleElement, TitleProps, BodyElement, BodyProps, FooterElement, FooterProps, };
|
|
46
|
+
//# sourceMappingURL=Modal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AAKjD,OAAO,EAAc,eAAe,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAA4B,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC;AAEnE,OAAO,EAAc,eAAe,EAAE,MAAM,eAAe,CAAC;AAM5D,UAAU,KAAM,SAAQ,MAAM,CAAC,WAAW;CAAG;AAE7C,QAAA,MAAM,IAAI,8BAAc,CAAC;AAMzB,KAAK,cAAc,GAAG,iBAAiB,CAAC;AAExC,UAAU,YAAa,SAAQ,IAAI,CAAC,MAAM,CAAC,kBAAkB,EAAE,SAAS,CAAC;CAAG;AAE5E,QAAA,MAAM,OAAO,wFAEX,CAAC;AAMH,KAAK,cAAc,GAAG,cAAc,CAAC;AAErC,UAAU,YAAa,SAAQ,MAAM,CAAC,kBAAkB;CAAG;AAE3D,QAAA,MAAM,OAAO,qFAOX,CAAC;AAsDH,KAAK,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|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../src/components/NumberInput/NumberInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../src/components/NumberInput/NumberInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,UAAU,gBAAiB,SAAQ,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,UAAU,GAAG,OAAO,CAAC;IAC7E,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;IACnD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAID,QAAA,MAAM,WAAW,2FAoJhB,CAAC;AA4DF,OAAO,EAAE,WAAW,EAAE,CAAC;AACvB,YAAY,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
export declare const POPOVER_PLACEMENTS: readonly ["top", "top-start", "top-end", "right", "right-start", "right-end", "bottom", "bottom-start", "bottom-end", "left", "left-start", "left-end"];
|
|
6
|
-
export interface ContentProps extends BoxProps<'div'>, Pick<DismissibleLayerProps, 'onEscapeKeyDown' | 'onPointerDownOutside' | 'onDismiss' | 'onFocusOutside'> {
|
|
7
|
-
source: React.MutableRefObject<HTMLElement>;
|
|
8
|
-
placement?: Placement;
|
|
9
|
-
fullWidth?: boolean;
|
|
10
|
-
centered?: boolean;
|
|
11
|
-
spacing?: number;
|
|
12
|
-
hideAria?: boolean;
|
|
2
|
+
import * as Popover from '@radix-ui/react-popover';
|
|
3
|
+
import { ScrollAreaProps } from '../../utilities/ScrollArea';
|
|
4
|
+
interface Props extends Popover.PopoverProps {
|
|
13
5
|
}
|
|
14
|
-
|
|
15
|
-
|
|
6
|
+
declare const Root: React.FC<Popover.PopoverProps>;
|
|
7
|
+
type TriggerElement = HTMLButtonElement;
|
|
8
|
+
interface TriggerProps extends Omit<Popover.PopoverTriggerProps, 'asChild'> {
|
|
9
|
+
}
|
|
10
|
+
declare const Trigger: React.ForwardRefExoticComponent<TriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
11
|
+
type ContentElement = HTMLDivElement;
|
|
12
|
+
interface ContentProps extends Popover.PopoverContentProps {
|
|
13
|
+
}
|
|
14
|
+
declare const Content: React.ForwardRefExoticComponent<ContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
interface ScrollAreaImplProps extends ScrollAreaProps {
|
|
16
16
|
intersectionId?: string;
|
|
17
17
|
onReachEnd?: (entry: IntersectionObserverEntry) => void;
|
|
18
18
|
}
|
|
19
|
-
|
|
20
|
-
export
|
|
21
|
-
export
|
|
19
|
+
declare const ScrollAreaImpl: ({ children, intersectionId, onReachEnd, ...props }: ScrollAreaImplProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export { Root, Trigger, Content, ScrollAreaImpl as ScrollArea };
|
|
21
|
+
export type { Props, TriggerElement, TriggerProps, ContentProps, ContentElement, ScrollAreaImplProps as ScrollAreaProps, };
|
|
22
22
|
//# sourceMappingURL=Popover.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,
|
|
1
|
+
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,OAAO,MAAM,yBAAyB,CAAC;AAOnD,OAAO,EAAc,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAOzE,UAAU,KAAM,SAAQ,OAAO,CAAC,YAAY;CAAG;AAE/C,QAAA,MAAM,IAAI,gCAAe,CAAC;AAM1B,KAAK,cAAc,GAAG,iBAAiB,CAAC;AAExC,UAAU,YAAa,SAAQ,IAAI,CAAC,OAAO,CAAC,mBAAmB,EAAE,SAAS,CAAC;CAAG;AAE9E,QAAA,MAAM,OAAO,wFAEX,CAAC;AAMH,KAAK,cAAc,GAAG,cAAc,CAAC;AAErC,UAAU,YAAa,SAAQ,OAAO,CAAC,mBAAmB;CAAG;AAE7D,QAAA,MAAM,OAAO,qFAMX,CAAC;AAqCH,UAAU,mBAAoB,SAAQ,eAAe;IACnD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,yBAAyB,KAAK,IAAI,CAAC;CACzD;AAED,QAAA,MAAM,cAAc,uDAAwD,mBAAmB,4CAiB9F,CAAC;AAMF,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,cAAc,IAAI,UAAU,EAAE,CAAC;AAChE,YAAY,EACV,KAAK,EACL,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,cAAc,EACd,mBAAmB,IAAI,eAAe,GACvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC"}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as RadioGroup from '@radix-ui/react-radio-group';
|
|
3
|
+
type GroupElement = HTMLDivElement;
|
|
4
|
+
interface GroupProps extends RadioGroup.RadioGroupProps {
|
|
5
5
|
}
|
|
6
|
-
|
|
6
|
+
declare const Group: React.ForwardRefExoticComponent<GroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
type ItemElement = HTMLButtonElement;
|
|
8
|
+
interface ItemProps extends RadioGroup.RadioGroupItemProps {
|
|
9
|
+
}
|
|
10
|
+
declare const Item: React.ForwardRefExoticComponent<ItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
11
|
+
export { Group, Item };
|
|
12
|
+
export type { GroupElement, GroupProps, ItemElement, ItemProps };
|
|
7
13
|
//# sourceMappingURL=Radio.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../../src/components/Radio/Radio.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../../src/components/Radio/Radio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,UAAU,MAAM,6BAA6B,CAAC;AAY1D,KAAK,YAAY,GAAG,cAAc,CAAC;AAEnC,UAAU,UAAW,SAAQ,UAAU,CAAC,eAAe;CAAG;AAE1D,QAAA,MAAM,KAAK,mFAET,CAAC;AAYH,KAAK,WAAW,GAAG,iBAAiB,CAAC;AAErC,UAAU,SAAU,SAAQ,UAAU,CAAC,mBAAmB;CAAG;AAE7D,QAAA,MAAM,IAAI,qFAaR,CAAC;AA+DH,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;AACvB,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Radio/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Radio/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RawCell.d.ts","sourceRoot":"","sources":["../../../src/components/RawTable/RawCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"RawCell.d.ts","sourceRoot":"","sources":["../../../src/components/RawTable/RawCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAO,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAQvC,UAAU,UAAW,SAAQ,QAAQ,CAAC,IAAI,GAAG,IAAI,CAAC;IAChD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE;QACP,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;CACH;AAED,QAAA,MAAM,KAAK,8BAA2D,UAAU,4CA2J/E,CAAC;AAMF,KAAK,UAAU,GAAG,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;AAEzC,QAAA,MAAM,KAAK,UAAW,UAAU,4CAAkC,CAAC;AAEnE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;AACxB,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Searchbar.d.ts","sourceRoot":"","sources":["../../../src/components/Searchbar/Searchbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAmCjC,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,UAAU;IACtD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,KAAK,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC;IACtC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"Searchbar.d.ts","sourceRoot":"","sources":["../../../src/components/Searchbar/Searchbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAmCjC,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,UAAU;IACtD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,KAAK,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC;IACtC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,SAAS,yFAoCrB,CAAC"}
|
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import * as SelectParts from './SelectParts';
|
|
3
|
-
type MultiSelectPropsWithoutLabel = Omit<SelectParts.MultiSelectProps, 'value' | 'multi'> & Pick<SelectParts.ContentProps, 'onCloseAutoFocus'> & Pick<SelectParts.TriggerProps, 'clearLabel' | 'onClear' | '
|
|
3
|
+
type MultiSelectPropsWithoutLabel = Omit<SelectParts.MultiSelectProps, 'value' | 'multi'> & Pick<SelectParts.ContentProps, 'onCloseAutoFocus'> & Pick<SelectParts.TriggerProps, 'clearLabel' | 'onClear' | 'startIcon' | 'hasError' | 'id' | 'name'> & Pick<SelectParts.ValueProps, 'placeholder'> & {
|
|
4
4
|
/**
|
|
5
5
|
* @default (value) => value.join(',')
|
|
6
6
|
*/
|
|
7
7
|
customizeContent?(value?: string[]): string;
|
|
8
8
|
onChange?: (value: string[]) => void;
|
|
9
9
|
onReachEnd?: (entry: IntersectionObserverEntry) => void;
|
|
10
|
-
/**
|
|
11
|
-
* @preserve
|
|
12
|
-
* @deprecated This prop is no longer required and will be removed in v2 of the DS.
|
|
13
|
-
* It has no effect on the component.
|
|
14
|
-
*/
|
|
15
|
-
selectButtonTitle?: string;
|
|
16
10
|
value?: string[] | null;
|
|
17
11
|
withTags?: boolean;
|
|
18
12
|
};
|
|
@@ -20,19 +14,13 @@ export type MultiSelectProps = MultiSelectPropsWithoutLabel & {
|
|
|
20
14
|
'aria-label'?: string;
|
|
21
15
|
'aria-describedby'?: string;
|
|
22
16
|
};
|
|
23
|
-
export declare const MultiSelect: React.ForwardRefExoticComponent<Omit<import("@strapi/ui-primitives/dist/components/Select/Select").MultiSelectProps, "value" | "multi"> & Pick<import("@strapi/ui-primitives/dist/components/Select/Select").SelectContentImplProps, "onCloseAutoFocus"> & Pick<SelectParts.TriggerProps, "
|
|
17
|
+
export declare const MultiSelect: React.ForwardRefExoticComponent<Omit<import("@strapi/ui-primitives/dist/components/Select/Select").MultiSelectProps, "value" | "multi"> & Pick<import("@strapi/ui-primitives/dist/components/Select/Select").SelectContentImplProps, "onCloseAutoFocus"> & Pick<SelectParts.TriggerProps, "id" | "name" | "startIcon" | "hasError" | "clearLabel" | "onClear"> & Pick<SelectParts.ValueProps, "placeholder"> & {
|
|
24
18
|
/**
|
|
25
19
|
* @default (value) => value.join(',')
|
|
26
20
|
*/
|
|
27
21
|
customizeContent?(value?: string[]): string;
|
|
28
22
|
onChange?: ((value: string[]) => void) | undefined;
|
|
29
23
|
onReachEnd?: ((entry: IntersectionObserverEntry) => void) | undefined;
|
|
30
|
-
/**
|
|
31
|
-
* @preserve
|
|
32
|
-
* @deprecated This prop is no longer required and will be removed in v2 of the DS.
|
|
33
|
-
* It has no effect on the component.
|
|
34
|
-
*/
|
|
35
|
-
selectButtonTitle?: string | undefined;
|
|
36
24
|
value?: string[] | null | undefined;
|
|
37
25
|
withTags?: boolean | undefined;
|
|
38
26
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiSelect.d.ts","sourceRoot":"","sources":["../../../src/components/Select/MultiSelect.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MultiSelect.d.ts","sourceRoot":"","sources":["../../../src/components/Select/MultiSelect.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAa/B,OAAO,KAAK,WAAW,MAAM,eAAe,CAAC;AAE7C,KAAK,4BAA4B,GAAG,IAAI,CAAC,WAAW,CAAC,gBAAgB,EAAE,OAAO,GAAG,OAAO,CAAC,GACvF,IAAI,CAAC,WAAW,CAAC,YAAY,EAAE,kBAAkB,CAAC,GAClD,IAAI,CAAC,WAAW,CAAC,YAAY,EAAE,YAAY,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,IAAI,GAAG,MAAM,CAAC,GACnG,IAAI,CAAC,WAAW,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG;IAC5C;;OAEG;IACH,gBAAgB,CAAC,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;IAC5C,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACrC,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,yBAAyB,KAAK,IAAI,CAAC;IACxD,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEJ,MAAM,MAAM,gBAAgB,GAAG,4BAA4B,GAAG;IAAE,YAAY,CAAC,EAAE,MAAM,CAAC;IAAC,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAAE,C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