@caspeco/casper-ui-library 4.1.0 → 4.1.1

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.
Files changed (53) hide show
  1. package/dist/components/box/box.d.ts +3 -3
  2. package/dist/components/box/box.d.ts.map +1 -1
  3. package/dist/components/button/button.d.ts +3 -2
  4. package/dist/components/button/button.d.ts.map +1 -1
  5. package/dist/components/checkbox/checkbox.d.ts +1 -1
  6. package/dist/components/checkbox-group/checkbox-group.d.ts +1 -1
  7. package/dist/components/combobox/combobox.d.ts +1 -1
  8. package/dist/components/date-picker/date-picker.d.ts +1 -1
  9. package/dist/components/date-picker/date-range-picker.d.ts +1 -1
  10. package/dist/components/date-picker/date-week-picker.d.ts +1 -1
  11. package/dist/components/divider/divider.d.ts +1 -1
  12. package/dist/components/drawer/drawer.d.ts +1 -1
  13. package/dist/components/form-control/form-control.d.ts +1 -1
  14. package/dist/components/form-control/form-error-message.d.ts +1 -1
  15. package/dist/components/form-control/form-helper-text.d.ts +1 -1
  16. package/dist/components/form-control/form-label.d.ts +1 -1
  17. package/dist/components/grid/grid-item.d.ts +1 -1
  18. package/dist/components/grid/grid.d.ts +1 -1
  19. package/dist/components/heading/heading.d.ts +1 -1
  20. package/dist/components/icon-button/icon-button.d.ts +1 -1
  21. package/dist/components/image/image.d.ts +1 -1
  22. package/dist/components/input/input.d.ts +1 -1
  23. package/dist/components/link/link.d.ts +1 -1
  24. package/dist/components/list/list.d.ts +1 -1
  25. package/dist/components/message/message.d.ts +1 -1
  26. package/dist/components/modal/modal-body.d.ts +1 -1
  27. package/dist/components/modal/modal-close-button.d.ts +1 -1
  28. package/dist/components/modal/modal-footer.d.ts +1 -1
  29. package/dist/components/modal/modal-header.d.ts +1 -1
  30. package/dist/components/navigation-list/navigation-list-item.d.ts +2 -2
  31. package/dist/components/navigation-list/navigation-list.d.ts +1 -1
  32. package/dist/components/radio/radio-addon.d.ts +1 -1
  33. package/dist/components/radio/radio-card.d.ts +1 -1
  34. package/dist/components/radio/radio.d.ts +1 -1
  35. package/dist/components/radio-group/radio-group.d.ts +1 -1
  36. package/dist/components/segmented-control/segmented-control.d.ts +1 -1
  37. package/dist/components/skeleton/skeleton-text.d.ts +1 -1
  38. package/dist/components/skeleton/skeleton.d.ts +1 -1
  39. package/dist/components/stack/stack.d.ts +3 -3
  40. package/dist/components/stack/stack.d.ts.map +1 -1
  41. package/dist/components/stepper/stepper.d.ts +1 -1
  42. package/dist/components/tabs/tab-list.d.ts +1 -1
  43. package/dist/components/tabs/tab-panel.d.ts +1 -1
  44. package/dist/components/tabs/tab-panels.d.ts +1 -1
  45. package/dist/components/tabs/tab.d.ts +1 -1
  46. package/dist/components/tabs/tabs.d.ts +1 -1
  47. package/dist/components/text/text.d.ts +1 -1
  48. package/dist/components/toast/toast.d.ts +1 -1
  49. package/dist/components/toggle-button/toggle-button.d.ts +1 -1
  50. package/dist/components/tooltip/tooltip.d.ts +1 -1
  51. package/dist/theme/theme-provider.d.ts +1 -1
  52. package/dist/theme/theme-style-props.d.ts +1 -1
  53. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  import { ThemeStyleProps } from '../../theme/index.js';
2
- import { BoxProps as ChakraBoxProps } from '@chakra-ui/react';
2
+ import { BoxProps as ChakraBoxProps, ComponentWithAs } from '@chakra-ui/react';
3
3
  export type BoxProps = ThemeStyleProps & Pick<ChakraBoxProps, "children" | "as">;
4
4
  /**
5
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/box
5
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/box
6
6
  */
7
- export declare const Box: import('@chakra-ui/system').ComponentWithAs<"div", BoxProps>;
7
+ export declare const Box: ComponentWithAs<"div", BoxProps>;
8
8
  //# sourceMappingURL=box.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"box.d.ts","sourceRoot":"","sources":["../../../lib/components/box/box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAoB,KAAK,QAAQ,IAAI,cAAc,EAAc,MAAM,kBAAkB,CAAC;AAEjG,MAAM,MAAM,QAAQ,GAAG,eAAe,GAAG,IAAI,CAAC,cAAc,EAAE,UAAU,GAAG,IAAI,CAAC,CAAC;AAEjF;;GAEG;AACH,eAAO,MAAM,GAAG,8DAMd,CAAC"}
1
+ {"version":3,"file":"box.d.ts","sourceRoot":"","sources":["../../../lib/components/box/box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAEN,KAAK,QAAQ,IAAI,cAAc,EAC/B,KAAK,eAAe,EAEpB,MAAM,kBAAkB,CAAC;AAE1B,MAAM,MAAM,QAAQ,GAAG,eAAe,GAAG,IAAI,CAAC,cAAc,EAAE,UAAU,GAAG,IAAI,CAAC,CAAC;AAEjF;;GAEG;AAGH,eAAO,MAAM,GAAG,EAMV,eAAe,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC"}
@@ -1,10 +1,11 @@
1
+ import { ComponentWithAs } from '@chakra-ui/react';
1
2
  import { ButtonProps } from './types.js';
2
3
  /**
3
4
  * Button component is used to trigger an action or event,
4
5
  * such as submitting a form, opening a Dialog, canceling an action, or performing a delete operation.
5
6
  *
6
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/button
7
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/button
7
8
  * @see WAI-ARIA https://www.w3.org/WAI/ARIA/apg/patterns/button
8
9
  */
9
- export declare const Button: import('@chakra-ui/system').ComponentWithAs<"button", ButtonProps>;
10
+ export declare const Button: ComponentWithAs<"button", ButtonProps>;
10
11
  //# sourceMappingURL=button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../lib/components/button/button.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C;;;;;;GAMG;AACH,eAAO,MAAM,MAAM,oEAqCjB,CAAC"}
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../lib/components/button/button.tsx"],"names":[],"mappings":"AACA,OAAO,EAAsC,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAG5F,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C;;;;;;GAMG;AAGH,eAAO,MAAM,MAAM,EAqCb,eAAe,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC"}
@@ -3,7 +3,7 @@ import { CheckboxProps } from './types.js';
3
3
  /**
4
4
  * Used in forms when a user needs to select multiple values from several options.
5
5
  *
6
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/checkbox
6
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/checkbox
7
7
  * @see WAI-ARIA https://www.w3.org/WAI/ARIA/apg/patterns/checkbox/
8
8
  */
9
9
  export declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
@@ -3,7 +3,7 @@ import { CheckboxGroupProps } from './types.js';
3
3
  * Used for multiple checkboxes which are bound in one group,
4
4
  * and it indicates whether one or more options are selected.
5
5
  *
6
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/checkbox-group
6
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/checkbox-group
7
7
  */
8
8
  export declare function CheckboxGroup({ children, ...props }: CheckboxGroupProps): import("react/jsx-runtime").JSX.Element;
9
9
  //# sourceMappingURL=checkbox-group.d.ts.map
@@ -4,7 +4,7 @@ import { ComboboxProps } from './types.js';
4
4
  * are many and can benefit from having a search filter. Can be used as both single select
5
5
  * and multiselect.
6
6
  *
7
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/combobox
7
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/combobox
8
8
  */
9
9
  export declare function Combobox({ id, label, isSingleSelect, selectedItems, locale, size, variant, asPlainText, onSearch, items, maxVisibleItems, onChange, onBlur, isDisabled, isReadOnly, isRequired, placeholder, isInvalid, footerContent, popoverWidth, popoverPlacement, collapsed, ...props }: ComboboxProps): import("react/jsx-runtime").JSX.Element;
10
10
  //# sourceMappingURL=combobox.d.ts.map
@@ -2,7 +2,7 @@ import { DatePickerProps } from './types.js';
2
2
  /**
3
3
  * A datepicker that selects a single date
4
4
  *
5
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/datepicker
5
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/date-picker
6
6
  */
7
7
  export declare const DatePicker: ({ localeString, canSelectPastDates, dots, isExpanded, markSundayRed, onMonthChange, weekNumbers, showDaysOutsideMonth, selectedMonth, onDateChange, selectedDate, shouldDisableDate, strikeThroughDates, isDisabled, redDays, disablePastMonths, disableBackwardNavigation, disableForwardNavigation, }: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
8
8
  //# sourceMappingURL=date-picker.d.ts.map
@@ -2,7 +2,7 @@ import { DateRangePickerProps } from './types.js';
2
2
  /**
3
3
  * A datepicker that selects a range of dates
4
4
  *
5
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/datepicker
5
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/date-picker#daterangepicker
6
6
  */
7
7
  export declare const DateRangePicker: ({ localeString, canSelectPastDates, dateRange, dots, isExpanded, markSundayRed, onMonthChange, onRangeChange, weekNumbers, showDaysOutsideMonth, selectedMonth, isDisabled, redDays, }: DateRangePickerProps) => import("react/jsx-runtime").JSX.Element;
8
8
  //# sourceMappingURL=date-range-picker.d.ts.map
@@ -2,7 +2,7 @@ import { DateWeekPickerProps } from './types.js';
2
2
  /**
3
3
  * A datepicker that selects a week
4
4
  *
5
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/datepicker
5
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/date-picker#dateweekpicker
6
6
  */
7
7
  export declare const DateWeekPicker: ({ localeString, canSelectPastDates, dots, isExpanded, markSundayRed, onMonthChange, selectedMonth, onDateChange, selectedDate, isDisabled, redDays, }: DateWeekPickerProps) => import("react/jsx-runtime").JSX.Element;
8
8
  //# sourceMappingURL=date-week-picker.d.ts.map
@@ -5,7 +5,7 @@ export type DividerProps = Pick<ChakraDividerProps, "orientation"> & ThemeStyleP
5
5
  * Layout component used to visually separate content in a list or group.
6
6
  * It displays a thin horizontal or vertical line, and renders a hr tag.
7
7
  *
8
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/divider
8
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/divider
9
9
  */
10
10
  export declare function Divider({ borderColor, orientation, ...props }: DividerProps): import("react/jsx-runtime").JSX.Element;
11
11
  //# sourceMappingURL=divider.d.ts.map
@@ -4,7 +4,7 @@ import { DrawerProps } from './types.js';
4
4
  * It can be useful when you need users to complete a task
5
5
  * or view some details without leaving the current page.
6
6
  *
7
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/drawer
7
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/drawer
8
8
  * @see Inspiration https://v2.chakra-ui.com/community/recipes/horizontal-collapse
9
9
  */
10
10
  export declare function Drawer({ children, isOpen, onClose, isInline, closeOnEsc, closeOnOverlayClick, autoFocus, placement, size, ...props }: DrawerProps): import("react/jsx-runtime").JSX.Element;
@@ -6,7 +6,7 @@ export type FormControlProps = ChakraFormControlProperties & ThemeStyleProps;
6
6
  * FormControl provides context such as isInvalid, isDisabled, and isRequired to form elements.
7
7
  * Commonly used in form elements such as input, select, textarea, etc.
8
8
  *
9
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/formcontrol
9
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/form-control
10
10
  */
11
11
  export declare function FormControl({ children, ...props }: FormControlProps): import("react/jsx-runtime").JSX.Element;
12
12
  //# sourceMappingURL=form-control.d.ts.map
@@ -5,7 +5,7 @@ export type FormErrorMessageProps = ChakraFormLabelProperties & ThemeStyleProps;
5
5
  /**
6
6
  * Used to provide feedback about an invalid input, and suggest clear instructions on how to fix it.
7
7
  *
8
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/formcontrol
8
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/form-control
9
9
  */
10
10
  export declare function FormErrorMessage({ children, ...props }: FormErrorMessageProps): import("react/jsx-runtime").JSX.Element;
11
11
  export {};
@@ -6,7 +6,7 @@ export type FormHelperTextProperties = ChakraFormHelpTextProperties & ThemeStyle
6
6
  * Assistive component that conveys additional guidance about the field,
7
7
  * such as how it will be used and what types in values should be provided.
8
8
  *
9
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/formcontrol
9
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/form-control
10
10
  */
11
11
  export declare function FormHelperText({ children, ...props }: FormHelperTextProperties): import("react/jsx-runtime").JSX.Element;
12
12
  export {};
@@ -12,7 +12,7 @@ export type FormLabelProps = ChakraFormLabelProperties & ThemeStyleProps & Custo
12
12
  * It is used to inform users as to what information is requested for a form field.
13
13
  * Every form field should have a form label.
14
14
  *
15
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/formcontrol
15
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/form-control
16
16
  */
17
17
  export declare function FormLabel({ children, icon, ...props }: FormLabelProps): import("react/jsx-runtime").JSX.Element;
18
18
  export {};
@@ -2,7 +2,7 @@ import { ThemeStyleProps } from '../../theme/index.js';
2
2
  import { GridItemProps as ChakraGridItemProps } from '@chakra-ui/react';
3
3
  export type GridItemProps = Pick<ChakraGridItemProps, "children" | "area" | "rowSpan" | "rowStart" | "rowEnd" | "colSpan" | "colStart" | "colEnd" | "placeContent"> & ThemeStyleProps;
4
4
  /**
5
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/grid
5
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/grid
6
6
  */
7
7
  export declare function GridItem({ children, ...props }: GridItemProps): import("react/jsx-runtime").JSX.Element;
8
8
  //# sourceMappingURL=grid-item.d.ts.map
@@ -5,7 +5,7 @@ export type GridProps = Pick<ChakraGridProps, "children" | "autoColumns" | "auto
5
5
  * Used to create grid layouts.
6
6
  * It renders a div with display: grid and comes with helpful style shorthand.
7
7
  *
8
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/grid
8
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/grid
9
9
  */
10
10
  export declare function Grid({ children, ...props }: GridProps): import("react/jsx-runtime").JSX.Element;
11
11
  //# sourceMappingURL=grid.d.ts.map
@@ -9,7 +9,7 @@ export type HeadingProps = ThemeStyleProps & ChakraHeadingProperties & CustomPro
9
9
  /**
10
10
  * Heading is used to render semantic HTML heading elements.
11
11
  *
12
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/heading
12
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/heading
13
13
  */
14
14
  export declare function Heading({ color, fontSize, fontWeight, children, fontFamily, ...props }: HeadingProps): import("react/jsx-runtime").JSX.Element;
15
15
  export {};
@@ -2,7 +2,7 @@
2
2
  * Button component with only an icon visible, used to trigger an action or event,
3
3
  * such as submitting a form, opening a Dialog, canceling an action, or performing a delete operation.
4
4
  *
5
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/icon-button
5
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/icon-button
6
6
  * @see WAI-ARIA https://www.w3.org/WAI/ARIA/apg/patterns/button
7
7
  */
8
8
  export declare const IconButton: import('react').ForwardRefExoticComponent<{
@@ -4,7 +4,7 @@ export type ImageProps = Pick<ChakraImageProps, "alt" | "src" | "srcSet" | "fit"
4
4
  /**
5
5
  * Renders an image with support for fallbacks.
6
6
  *
7
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/image
7
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/image
8
8
  */
9
9
  export declare function Image({ ...props }: ImageProps): import("react/jsx-runtime").JSX.Element;
10
10
  //# sourceMappingURL=image.d.ts.map
@@ -2,7 +2,7 @@ import { default as React } from 'react';
2
2
  /**
3
3
  * Element that allows users enter single valued data.
4
4
  *
5
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/input
5
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/input
6
6
  */
7
7
  export declare const Input: React.ForwardRefExoticComponent<import('./types.js').CustomProperties & {
8
8
  value?: string | number | readonly string[] | undefined;
@@ -6,7 +6,7 @@ export type LinkProps = ThemeStyleProps & Pick<ChakraLinkProps, "children" | "hr
6
6
  * Can be integrated with other routing libraries like React Router and Reach Router
7
7
  * using the 'as' property. See docs for examples.
8
8
  *
9
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/link
9
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/link
10
10
  * @see WAI-ARIA https://www.w3.org/WAI/ARIA/apg/patterns/link/
11
11
  */
12
12
  export declare function Link({ children, ...props }: LinkProps): import("react/jsx-runtime").JSX.Element;
@@ -9,7 +9,7 @@ export type ListProps = CustomListProps & ChakraListProperties & ThemeStyleProps
9
9
  /**
10
10
  * List is used to display list items.
11
11
  *
12
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/list
12
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/list
13
13
  */
14
14
  export declare function List({ fontFamily, children, ...props }: ListProps): import("react/jsx-runtime").JSX.Element;
15
15
  export {};
@@ -20,7 +20,7 @@ export type MessageProps = {
20
20
  /**
21
21
  * Shows a container appearing as a message "chat bubble" with text content.
22
22
  *
23
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/message
23
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/message
24
24
  */
25
25
  export declare function Message({ children, time, from, author, autoFloat, errorState, errorMessage, ...props }: MessageProps): import("react/jsx-runtime").JSX.Element;
26
26
  export {};
@@ -4,7 +4,7 @@ export type ModalBodyProps = Pick<ChakraModalBodyProps, "children"> & ThemeStyle
4
4
  /**
5
5
  * React component that houses the main content of the modal.
6
6
  *
7
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/modal
7
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/modal
8
8
  */
9
9
  export declare function ModalBody({ children, ...props }: ModalBodyProps): import("react/jsx-runtime").JSX.Element;
10
10
  //# sourceMappingURL=modal-body.d.ts.map
@@ -7,7 +7,7 @@ export type ModalCloseButtonProps = {
7
7
  * ModalCloseButton is used closes the modal.
8
8
  * You don't need to pass the onClick to it, it reads the onClose action from the modal context.
9
9
  *
10
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/modal
10
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/modal
11
11
  */
12
12
  export declare function ModalCloseButton({ isAbsolutePositioned }: ModalCloseButtonProps): import("react/jsx-runtime").JSX.Element;
13
13
  //# sourceMappingURL=modal-close-button.d.ts.map
@@ -6,7 +6,7 @@ export type ModalFooterProps = Pick<ChakraModalFooterProps, "children"> & ThemeS
6
6
  * When sibling element ModalBody is overflowing the ModalFooter will be
7
7
  * displayed with a box shadow indicating the overflow of the ModalBody.
8
8
  *
9
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/modal
9
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/modal
10
10
  */
11
11
  export declare function ModalFooter({ children, ...props }: ModalFooterProps): import("react/jsx-runtime").JSX.Element;
12
12
  //# sourceMappingURL=modal-footer.d.ts.map
@@ -9,7 +9,7 @@ export type ModalHeaderProps = Pick<ChakraModalHeaderProps, "children"> & Custom
9
9
  /**
10
10
  * React component that houses the title of the modal.
11
11
  *
12
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/modal
12
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/modal
13
13
  */
14
14
  export declare function ModalHeader({ children, sticky, ...props }: ModalHeaderProps): import("react/jsx-runtime").JSX.Element;
15
15
  export {};
@@ -2,13 +2,13 @@ import { NavigationButtonProps, NavigationLinkProps } from './types.js';
2
2
  /**
3
3
  * Link element to be used within NavigationList.
4
4
  *
5
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/navigation-list
5
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/navigation-list
6
6
  */
7
7
  export declare function NavigationListLink({ children, display, w, minW, minH, to, href, isDisabled, ...props }: NavigationLinkProps): import("react/jsx-runtime").JSX.Element;
8
8
  /**
9
9
  * Button element to be used within NavigationList.
10
10
  *
11
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/navigation-list
11
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/navigation-list
12
12
  */
13
13
  export declare function NavigationListButton({ children, display, w, minW, minH, ...props }: NavigationButtonProps): import("react/jsx-runtime").JSX.Element;
14
14
  //# sourceMappingURL=navigation-list-item.d.ts.map
@@ -2,7 +2,7 @@ import { NavigationLinkProps } from './types.js';
2
2
  /**
3
3
  * Navigation element used for listing links or navigation-related actions.
4
4
  *
5
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/navigation-list
5
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/navigation-list
6
6
  */
7
7
  export declare function NavigationList({ children, ...props }: NavigationLinkProps): import("react/jsx-runtime").JSX.Element;
8
8
  //# sourceMappingURL=navigation-list.d.ts.map
@@ -8,7 +8,7 @@ export type RadioAddonProps = CustomProperties & UseRadioProps & ThemeStyleProps
8
8
  * Internally uses Chakras useRadio-hook to provide the elements within with the
9
9
  * props required for it to work as a real radio, compatible with FormControl etc.
10
10
  *
11
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/radio
11
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/radio
12
12
  */
13
13
  export declare const RadioAddon: React.ForwardRefExoticComponent<CustomProperties & UseRadioProps & ThemeStyleProps & React.RefAttributes<HTMLInputElement>>;
14
14
  export {};
@@ -8,7 +8,7 @@ export type RadioCardProps = CustomProperties & UseRadioProps & CustomChakraBoxP
8
8
  * Internally uses Chakras useRadio-hook to provide the elements within with the
9
9
  * props required for it to work as a real radio, compatible with FormControl etc.
10
10
  *
11
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/radio
11
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/radio#custom-radios
12
12
  */
13
13
  export declare const RadioCard: React.ForwardRefExoticComponent<CustomProperties & UseRadioProps & CustomChakraBoxProps & LayoutProps & MarginProps & PaddingProps & React.RefAttributes<HTMLInputElement>>;
14
14
  export {};
@@ -5,7 +5,7 @@ export type RadioProps = Pick<ChakraRadioProps, "defaultChecked" | "isChecked" |
5
5
  /**
6
6
  * Radio component is used in forms when a user needs to select a single value from several options.
7
7
  *
8
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/radio
8
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/radio
9
9
  */
10
10
  export declare const Radio: React.ForwardRefExoticComponent<Pick<ChakraRadioProps, "children" | "value" | "defaultChecked" | "onChange" | "isDisabled" | "isChecked" | "isInvalid"> & ThemeStyleProps & React.RefAttributes<HTMLInputElement>>;
11
11
  //# sourceMappingURL=radio.d.ts.map
@@ -5,7 +5,7 @@ export type RadioGroupProps = ChakraRadioGroupProperties & ThemeStyleProps;
5
5
  /**
6
6
  * Used for multiple radios which are bound in one group, and it indicates which option is selected.
7
7
  *
8
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/radio-group
8
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/radio-group
9
9
  */
10
10
  export declare function RadioGroup({ children, name, isDisabled, defaultValue, value, onChange, display, flexDirection, gap, ...props }: RadioGroupProps): import("react/jsx-runtime").JSX.Element;
11
11
  export {};
@@ -3,7 +3,7 @@ import { SegmentedControlProps } from './types.js';
3
3
  * Used for switching between a set of equal options,
4
4
  * with one choice always being the active one.
5
5
  *
6
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/segmented-control
6
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/segmented-control
7
7
  */
8
8
  export declare function SegmentedControl({ items, activeItemId, onChange, isDisabled, size, ...props }: SegmentedControlProps): import("react/jsx-runtime").JSX.Element;
9
9
  //# sourceMappingURL=segmented-control.d.ts.map
@@ -2,7 +2,7 @@ import { SkeletonTextProps } from './types.js';
2
2
  /**
3
3
  * Used to display the loading state of some component.
4
4
  *
5
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/skelton
5
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/skeleton
6
6
  */
7
7
  export declare function SkeletonText({ startColor, endColor, ...props }: SkeletonTextProps): import("react/jsx-runtime").JSX.Element;
8
8
  //# sourceMappingURL=skeleton-text.d.ts.map
@@ -2,7 +2,7 @@ import { SkeletonProps } from './types.js';
2
2
  /**
3
3
  * Used to display the loading state of some component.
4
4
  *
5
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/skelton
5
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/skeleton
6
6
  */
7
7
  export declare function Skeleton({ startColor, endColor, children, ...props }: SkeletonProps): import("react/jsx-runtime").JSX.Element;
8
8
  //# sourceMappingURL=skeleton.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { ThemeSpaceVariable, ThemeStyleProps } from '../../theme/index.js';
2
- import { StackProps as ChakraStackProps, ResponsiveValue } from '@chakra-ui/react';
2
+ import { StackProps as ChakraStackProps, ComponentWithAs, ResponsiveValue } from '@chakra-ui/react';
3
3
  type CustomStackProps = {
4
4
  spacing?: ResponsiveValue<ThemeSpaceVariable | (string & {})> | undefined;
5
5
  };
@@ -9,8 +9,8 @@ export type StackProps = Pick<ChakraStackProps, "direction" | "children" | "divi
9
9
  * You can stack elements in the horizontal or vertical direction, and apply a space or/and divider between each element.
10
10
  * It uses display: flex internally and renders a div.
11
11
  *
12
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/stack
12
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/stack
13
13
  */
14
- export declare const Stack: import('@chakra-ui/system').ComponentWithAs<"div", StackProps>;
14
+ export declare const Stack: ComponentWithAs<"div", StackProps>;
15
15
  export {};
16
16
  //# sourceMappingURL=stack.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"stack.d.ts","sourceRoot":"","sources":["../../../lib/components/stack/stack.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AACnE,OAAO,EAEN,KAAK,UAAU,IAAI,gBAAgB,EAEnC,KAAK,eAAe,EACpB,MAAM,kBAAkB,CAAC;AAE1B,KAAK,gBAAgB,GAAG;IACvB,OAAO,CAAC,EAAE,eAAe,CAAC,kBAAkB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC,GAAG,SAAS,CAAC;CAC1E,CAAC;AACF,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,gBAAgB,EAAE,WAAW,GAAG,UAAU,GAAG,SAAS,CAAC,GACpF,gBAAgB,GAChB,eAAe,CAAC;AAEjB;;;;;;GAMG;AACH,eAAO,MAAM,KAAK,gEAMhB,CAAC"}
1
+ {"version":3,"file":"stack.d.ts","sourceRoot":"","sources":["../../../lib/components/stack/stack.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AACnE,OAAO,EAEN,KAAK,UAAU,IAAI,gBAAgB,EACnC,KAAK,eAAe,EAEpB,KAAK,eAAe,EACpB,MAAM,kBAAkB,CAAC;AAE1B,KAAK,gBAAgB,GAAG;IACvB,OAAO,CAAC,EAAE,eAAe,CAAC,kBAAkB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC,GAAG,SAAS,CAAC;CAC1E,CAAC;AACF,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,gBAAgB,EAAE,WAAW,GAAG,UAAU,GAAG,SAAS,CAAC,GACpF,gBAAgB,GAChB,eAAe,CAAC;AAEjB;;;;;;GAMG;AAGH,eAAO,MAAM,KAAK,EAMZ,eAAe,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC"}
@@ -2,7 +2,7 @@ import { StepperProps } from './types.js';
2
2
  /**
3
3
  * A representation of a progress through a series of steps.
4
4
  *
5
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/stepper
5
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/stepper
6
6
  */
7
7
  export declare function Stepper({ activeStep, orientation, steps, ...props }: StepperProps): import("react/jsx-runtime").JSX.Element;
8
8
  //# sourceMappingURL=stepper.d.ts.map
@@ -3,7 +3,7 @@ import { TabListProps } from './types.js';
3
3
  * TabList is used to manage a list of tab buttons.
4
4
  * It renders a div by default, and is responsible the keyboard interaction between tabs.
5
5
  *
6
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/tabs
6
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/tabs
7
7
  */
8
8
  export declare function TabList({ alignItems, children, ...props }: TabListProps): import("react/jsx-runtime").JSX.Element;
9
9
  //# sourceMappingURL=tab-list.d.ts.map
@@ -2,7 +2,7 @@ import { TabPanelProps } from './types.js';
2
2
  /**
3
3
  * TabPanel Used to render the content for a specific tab.
4
4
  *
5
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/tabs
5
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/tabs
6
6
  */
7
7
  export declare function TabPanel({ children, ...props }: TabPanelProps): import("react/jsx-runtime").JSX.Element;
8
8
  //# sourceMappingURL=tab-panel.d.ts.map
@@ -3,7 +3,7 @@ import { TabPanelsProps } from './types.js';
3
3
  * Used to manage the rendering of multiple tab panels. It uses cloneElement to hide/show tab panels.
4
4
  * It renders a div by default.
5
5
  *
6
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/tabs
6
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/tabs
7
7
  */
8
8
  export declare function TabPanels({ children, ...props }: TabPanelsProps): import("react/jsx-runtime").JSX.Element;
9
9
  //# sourceMappingURL=tab-panels.d.ts.map
@@ -3,7 +3,7 @@ import { TabProps } from './types.js';
3
3
  * Tab button used to activate a specific tab panel.
4
4
  * It renders a button, and is responsible for automatic and manual selection modes.
5
5
  *
6
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/tabs
6
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/tabs
7
7
  */
8
8
  export declare function Tab({ imgSrc, imgAlt, imgFallbackColor, children, ...props }: TabProps): import("react/jsx-runtime").JSX.Element;
9
9
  //# sourceMappingURL=tab.d.ts.map
@@ -2,7 +2,7 @@ import { TabsProps } from './types.js';
2
2
  /**
3
3
  * Provides context and logic for all tabs components.
4
4
  *
5
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/tabs
5
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/tabs
6
6
  * @see WAI-ARIA https://www.w3.org/WAI/ARIA/apg/patterns/tabpanel/
7
7
  */
8
8
  export declare function Tabs({ children, variant, ...props }: TabsProps): import("react/jsx-runtime").JSX.Element;
@@ -9,7 +9,7 @@ export type TextProps = ThemeStyleProps & ChakraTextProperties & CustomPropertie
9
9
  /**
10
10
  * Used to render texts or paragraphs.
11
11
  *
12
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/text
12
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/text
13
13
  */
14
14
  export declare function Text({ as, fontFamily, fontSize, fontWeight, color, children, ...props }: TextProps): import("react/jsx-runtime").JSX.Element;
15
15
  export {};
@@ -18,7 +18,7 @@ export type ShowToastOptions = {
18
18
  /**
19
19
  * React hook used to create a function that can be used to show toasts in an application.
20
20
  *
21
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/toast
21
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/toast
22
22
  */
23
23
  export declare function useToast(): {
24
24
  showToast: ({ type, duration, description, title, distanceToBottom, }: ShowToastOptions) => void;
@@ -3,7 +3,7 @@ import { ToggleButtonProps } from './types.js';
3
3
  * A button with a pressed/not pressed state.
4
4
  *
5
5
  * @see Toggle button role on MDN: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/button_role#toggle_buttons
6
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/toggle-button
6
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/toggle-button
7
7
  */
8
8
  export declare function ToggleButton({ isPressed, children, ...props }: ToggleButtonProps): import("react/jsx-runtime").JSX.Element;
9
9
  //# sourceMappingURL=toggle-button.d.ts.map
@@ -4,7 +4,7 @@ export type TooltipProps = Pick<ChakraTooltipProps, "children" | "placement" | "
4
4
  /**
5
5
  * Tooltips display informative text when users hover, focus on, or tap an element.
6
6
  *
7
- * @see Docs https://bit.cloud/caspeco/casper-ui-library/components/tooltip
7
+ * @see Docs https://caspeco.github.io/casper-ui-library/components/tooltip
8
8
  * @see WAI-ARIA https://www.w3.org/WAI/ARIA/apg/patterns/tooltip/
9
9
  */
10
10
  export declare function Tooltip({ children, label, placement, p, fontSize, fontFamily, ...props }: TooltipProps): import("react/jsx-runtime").JSX.Element;
@@ -31,7 +31,7 @@ export declare function ThemeProvider({ colors, fonts, fontStyleSheet, globalSty
31
31
  * Custom Casper UI wrapper for Chakra ColorModeScript to handle color mode throughout the app,
32
32
  * currently always set to light as initial color mode.
33
33
  *
34
- * @see https://bit.cloud/caspeco/casper-ui-library/base-ui/theme
34
+ * @see Docs https://caspeco.github.io/casper-ui-library/getting-started/theme/
35
35
  */
36
36
  export declare function ThemeColorModeScript(): import("react/jsx-runtime").JSX.Element;
37
37
  export {};
@@ -239,7 +239,7 @@ export type CustomChakraBoxProps = Pick<BoxProps, "flex" | "alignItems" | "align
239
239
  | "aria-label" | "aria-labelledby" | "aria-describedby" | "aria-details" | "aria-busy" | "aria-current" | "aria-autocomplete" | "aria-activedescendant" | "aria-atomic" | "aria-checked" | "aria-controls" | "aria-disabled" | "aria-haspopup" | "aria-expanded" | "aria-hidden" | "aria-orientation" | "aria-selected" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-errormessage" | "aria-flowto" | "aria-keyshortcuts" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-roledescription" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext">;
240
240
  /**
241
241
  * A custom set of the Chakra Style Props with support for Casper UI Theme variables.
242
- * @see Docs reference: {@link https://bit.cloud/caspeco/casper-ui-library/base-ui/theme/~api-reference?selectedAPI=ThemeStyleProps | Casper UI Theme Style Props}
242
+ * @see Docs reference: {@link https://caspeco.github.io/casper-ui-library/reference/interfaces/themestyleprops | Casper UI Theme Style Props}
243
243
  */
244
244
  export interface ThemeStyleProps extends CustomChakraBoxProps, ColorProps, MarginProps, PaddingProps, GridProps, TypographyProps, LayoutProps, ShadowProps, BorderProps {
245
245
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caspeco/casper-ui-library",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
4
4
  "prettier": "@caspeco/prettier-config",
5
5
  "type": "module",
6
6
  "sideEffects": false,