@stokelp/ui 1.36.0 → 1.38.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.
Files changed (73) hide show
  1. package/dist/components/accordion/Accordion.d.ts +1 -1
  2. package/dist/components/action-card/ActionCard.d.ts +1 -1
  3. package/dist/components/alert/Alert.d.ts +1 -1
  4. package/dist/components/app/product-card-catalog/styled.d.ts +1 -1
  5. package/dist/components/breadcrumb/Breadcrumb.d.ts +1 -1
  6. package/dist/components/button/Button.d.ts +1 -1
  7. package/dist/components/button-filter/ButtonFilter.d.ts +1 -1
  8. package/dist/components/chip/Chip.d.ts +1 -1
  9. package/dist/components/drawer/Drawer.d.ts +1 -1
  10. package/dist/components/form/FormControl.d.ts +1 -1
  11. package/dist/components/form/FormHelperText.d.ts +1 -1
  12. package/dist/components/form/FormLabel.d.ts +1 -1
  13. package/dist/components/index.d.ts +1 -0
  14. package/dist/components/input/Input.d.ts +1 -1
  15. package/dist/components/input/InputAddon.d.ts +1 -1
  16. package/dist/components/input/InputGroup.d.ts +1 -1
  17. package/dist/components/pagination/Pagination.d.ts +1 -1
  18. package/dist/components/popover/Popover.d.ts +1 -1
  19. package/dist/components/radio-button-group/RadioButtonGroup.d.ts +1 -1
  20. package/dist/components/radio-group/RadioGroup.d.ts +1 -1
  21. package/dist/components/status-tag-select/StatusTagSelect.d.ts +18 -0
  22. package/dist/components/status-tag-select/index.d.ts +1 -0
  23. package/dist/components/table/Table.d.ts +1 -1
  24. package/dist/components/tabs/Tabs.d.ts +1 -1
  25. package/dist/components/textarea/Textarea.d.ts +1 -1
  26. package/dist/components/tooltip/Tooltip.d.ts +1 -1
  27. package/dist/preset.d.ts +1 -1
  28. package/dist/style.css +1 -1
  29. package/dist/theme/keyframes.d.ts +1 -1
  30. package/dist/theme/recipes/accordion.d.ts +1 -1
  31. package/dist/theme/recipes/action-card.d.ts +1 -1
  32. package/dist/theme/recipes/alert.d.ts +1 -1
  33. package/dist/theme/recipes/app/product-card-catalog.d.ts +1 -1
  34. package/dist/theme/recipes/breadcrumb.d.ts +1 -1
  35. package/dist/theme/recipes/button-filter.d.ts +1 -1
  36. package/dist/theme/recipes/button.d.ts +1 -1
  37. package/dist/theme/recipes/checkbox.d.ts +1 -1
  38. package/dist/theme/recipes/chip.d.ts +1 -1
  39. package/dist/theme/recipes/datepicker.d.ts +1 -1
  40. package/dist/theme/recipes/drawer.d.ts +1 -1
  41. package/dist/theme/recipes/form/control.d.ts +1 -1
  42. package/dist/theme/recipes/form/helper-text.d.ts +1 -1
  43. package/dist/theme/recipes/form/label.d.ts +1 -1
  44. package/dist/theme/recipes/heading.d.ts +1 -1
  45. package/dist/theme/recipes/illustration.d.ts +1 -1
  46. package/dist/theme/recipes/index.d.ts +1 -0
  47. package/dist/theme/recipes/input-addon.d.ts +1 -1
  48. package/dist/theme/recipes/input-group.d.ts +1 -1
  49. package/dist/theme/recipes/input.d.ts +1 -1
  50. package/dist/theme/recipes/pagination.d.ts +1 -1
  51. package/dist/theme/recipes/popover.d.ts +1 -1
  52. package/dist/theme/recipes/radio-button-group.d.ts +1 -1
  53. package/dist/theme/recipes/radio-group.d.ts +1 -1
  54. package/dist/theme/recipes/select.d.ts +1 -1
  55. package/dist/theme/recipes/status-tag-select.d.ts +2 -0
  56. package/dist/theme/recipes/switch.d.ts +1 -1
  57. package/dist/theme/recipes/table-container.d.ts +1 -1
  58. package/dist/theme/recipes/table-empty-row.d.ts +1 -1
  59. package/dist/theme/recipes/table-group-title.d.ts +1 -1
  60. package/dist/theme/recipes/table.d.ts +1 -1
  61. package/dist/theme/recipes/tabs.d.ts +1 -1
  62. package/dist/theme/recipes/tag.d.ts +1 -1
  63. package/dist/theme/recipes/text.d.ts +1 -1
  64. package/dist/theme/recipes/textarea.d.ts +1 -1
  65. package/dist/theme/recipes/tooltip.d.ts +1 -1
  66. package/dist/theme/text-styles.d.ts +1 -1
  67. package/dist/theme/tokens/index.d.ts +3 -0
  68. package/dist/theme/tokens/sizes.d.ts +3 -0
  69. package/dist/ui.cjs +3 -3
  70. package/dist/ui.cjs.map +1 -1
  71. package/dist/ui.js +887 -586
  72. package/dist/ui.js.map +1 -1
  73. package/package.json +17 -17
@@ -1,7 +1,7 @@
1
1
  import { Accordion as ArkAccordion } from '@ark-ui/react';
2
2
  import { ComponentProps, ForwardRefExoticComponent, RefAttributes } from 'react';
3
3
  import { ComponentVariants } from '../../utils/slots';
4
- import { StyledComponent } from '@stokelp/styled-system/jsx';
4
+ import { StyledComponent } from '@stokelp/styled-system/types';
5
5
  import { AccordionRecipe } from '@stokelp/styled-system/recipes';
6
6
 
7
7
  export declare const Accordion: ComponentVariants<StyledComponent<ForwardRefExoticComponent<ArkAccordion.RootProps & RefAttributes<HTMLDivElement>>, {}>, AccordionRecipe>;
@@ -1,6 +1,6 @@
1
1
  import { ComponentProps, ForwardRefExoticComponent, DetailedHTMLProps, ButtonHTMLAttributes, DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES, RefObject, HTMLAttributes } from 'react';
2
2
  import { ComponentVariants } from '../../utils/slots.tsx';
3
- import { StyledComponent } from '@stokelp/styled-system/jsx';
3
+ import { StyledComponent } from '@stokelp/styled-system/types';
4
4
  import { PolymorphicProps } from '@ark-ui/react';
5
5
  import { ActionCardRecipe } from '@stokelp/styled-system/recipes';
6
6
 
@@ -1,7 +1,7 @@
1
1
  import { ComponentProps, ReactNode, ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes, DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES, RefObject, RefAttributes } from 'react';
2
2
  import { IconButtonProps } from '../icon-button/IconButton';
3
3
  import { ComponentVariants } from '../../utils/slots';
4
- import { StyledComponent } from '@stokelp/styled-system/jsx';
4
+ import { StyledComponent } from '@stokelp/styled-system/types';
5
5
  import { PolymorphicProps } from '@ark-ui/react';
6
6
  import { AlertRecipe } from '@stokelp/styled-system/recipes';
7
7
 
@@ -1,5 +1,5 @@
1
1
  import { ComponentVariants } from '../../../utils/slots';
2
- import { StyledComponent } from '@stokelp/styled-system/jsx';
2
+ import { StyledComponent } from '@stokelp/styled-system/types';
3
3
  import { ProductCardCatalogRecipe } from '@stokelp/styled-system/recipes';
4
4
  import { ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes, DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES, RefObject, ImgHTMLAttributes } from 'react';
5
5
  import { PolymorphicProps } from '@ark-ui/react';
@@ -1,6 +1,6 @@
1
1
  import { ComponentProps, FC, ReactNode, ForwardRefExoticComponent, DetailedHTMLProps, AnchorHTMLAttributes, DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES, RefObject } from 'react';
2
2
  import { ComponentVariants } from '../../utils/slots';
3
- import { StyledComponent } from '@stokelp/styled-system/jsx';
3
+ import { StyledComponent } from '@stokelp/styled-system/types';
4
4
  import { BreadcrumbRecipe } from '@stokelp/styled-system/recipes';
5
5
  import { PolymorphicProps } from '@ark-ui/react';
6
6
 
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps, ForwardRefExoticComponent, DetailedHTMLProps, ButtonHTMLAttributes, DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES, RefObject } from 'react';
2
- import { StyledComponent } from '@stokelp/styled-system/jsx';
2
+ import { StyledComponent } from '@stokelp/styled-system/types';
3
3
  import { PolymorphicProps } from '@ark-ui/react';
4
4
  import { ButtonVariantProps } from '@stokelp/styled-system/recipes';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps, ForwardRefExoticComponent, DetailedHTMLProps, ButtonHTMLAttributes, DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES, RefObject } from 'react';
2
- import { StyledComponent } from '@stokelp/styled-system/jsx';
2
+ import { StyledComponent } from '@stokelp/styled-system/types';
3
3
  import { PolymorphicProps } from '@ark-ui/react';
4
4
  import { ButtonFilterVariantProps } from '@stokelp/styled-system/recipes';
5
5
 
@@ -1,6 +1,6 @@
1
1
  import { ComponentProps, ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes, DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES, RefObject, ButtonHTMLAttributes } from 'react';
2
2
  import { ComponentVariants } from '../../utils/slots';
3
- import { StyledComponent } from '@stokelp/styled-system/jsx';
3
+ import { StyledComponent } from '@stokelp/styled-system/types';
4
4
  import { PolymorphicProps } from '@ark-ui/react';
5
5
  import { ChipRecipe } from '@stokelp/styled-system/recipes';
6
6
 
@@ -2,7 +2,7 @@ import { Dialog as ArkDrawer, PolymorphicProps } from '@ark-ui/react';
2
2
  import { ComponentProps, ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes, DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES, RefObject, RefAttributes, ReactNode } from 'react';
3
3
  import { ComponentVariants } from '../../utils/slots';
4
4
  import { DrawerRecipe } from '@stokelp/styled-system/recipes';
5
- import { StyledComponent } from '@stokelp/styled-system/jsx';
5
+ import { StyledComponent } from '@stokelp/styled-system/types';
6
6
 
7
7
  export declare const Drawer: ComponentVariants<(props: ArkDrawer.RootProps) => import("react/jsx-runtime").JSX.Element, DrawerRecipe>;
8
8
  export declare const DrawerBody: StyledComponent<ForwardRefExoticComponent<Omit< DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps, FC } from 'react';
2
- import { StyledComponent } from '@stokelp/styled-system/jsx';
2
+ import { StyledComponent } from '@stokelp/styled-system/types';
3
3
  import { FormControlVariantProps } from '@stokelp/styled-system/recipes';
4
4
 
5
5
  declare const StyledFormControl: StyledComponent<"div", FormControlVariantProps>;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { StyledComponent } from '@stokelp/styled-system/jsx';
2
+ import { StyledComponent } from '@stokelp/styled-system/types';
3
3
  import { FormHelperTextVariantProps } from '@stokelp/styled-system/recipes';
4
4
 
5
5
  export declare const FormHelperText: StyledComponent<"p", FormHelperTextVariantProps>;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps, FC, ReactNode } from 'react';
2
- import { StyledComponent } from '@stokelp/styled-system/jsx';
2
+ import { StyledComponent } from '@stokelp/styled-system/types';
3
3
  import { FormLabelVariantProps } from '@stokelp/styled-system/recipes';
4
4
 
5
5
  declare const StyledFormLabel: StyledComponent<"label", FormLabelVariantProps>;
@@ -26,4 +26,5 @@ export * from './popover';
26
26
  export * from './pagination';
27
27
  export * from './illustration';
28
28
  export * from './button-filter';
29
+ export * from './status-tag-select';
29
30
  export * from './app';
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { StyledComponent } from '@stokelp/styled-system/jsx';
2
+ import { StyledComponent } from '@stokelp/styled-system/types';
3
3
  import { InputVariantProps } from '@stokelp/styled-system/recipes';
4
4
 
5
5
  export declare const Input: StyledComponent<"input", InputVariantProps>;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps, ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes, DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES, RefObject } from 'react';
2
- import { StyledComponent } from '@stokelp/styled-system/jsx';
2
+ import { StyledComponent } from '@stokelp/styled-system/types';
3
3
  import { PolymorphicProps } from '@ark-ui/react';
4
4
  import { InputAddonVariantProps } from '@stokelp/styled-system/recipes';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- import { StyledComponent } from '@stokelp/styled-system/jsx';
2
+ import { StyledComponent } from '@stokelp/styled-system/types';
3
3
  import { InputGroupVariantProps } from '@stokelp/styled-system/recipes';
4
4
 
5
5
  export declare const InputGroup: StyledComponent<"div", InputGroupVariantProps>;
@@ -1,6 +1,6 @@
1
1
  import { ComponentProps, FC } from 'react';
2
2
  import { ComponentVariants } from '../../utils/slots';
3
- import { StyledComponent } from '@stokelp/styled-system/jsx';
3
+ import { StyledComponent } from '@stokelp/styled-system/types';
4
4
  import { PaginationRecipe } from '@stokelp/styled-system/recipes';
5
5
 
6
6
  declare const StyledPagination: ComponentVariants<StyledComponent<"div", {}>, PaginationRecipe>;
@@ -2,7 +2,7 @@ import { Popover as ArkPopover } from '@ark-ui/react';
2
2
  import { ComponentProps, ForwardRefExoticComponent, RefAttributes, ReactNode } from 'react';
3
3
  import { ComponentVariants } from '../../utils/slots';
4
4
  import { PopoverRecipe } from '@stokelp/styled-system/recipes';
5
- import { StyledComponent } from '@stokelp/styled-system/jsx';
5
+ import { StyledComponent } from '@stokelp/styled-system/types';
6
6
 
7
7
  export declare const Popover: ComponentVariants<(props: ArkPopover.RootProps) => import("react/jsx-runtime").JSX.Element, PopoverRecipe>;
8
8
  export declare const PopoverCloseTrigger: StyledComponent<ForwardRefExoticComponent<ArkPopover.CloseTriggerProps & RefAttributes<HTMLButtonElement>>, {}>;
@@ -1,7 +1,7 @@
1
1
  import { RadioGroup as ArkRadioGroup } from '@ark-ui/react';
2
2
  import { ComponentProps, ForwardRefExoticComponent, RefAttributes } from 'react';
3
3
  import { ComponentVariants } from '../../utils/slots';
4
- import { StyledComponent } from '@stokelp/styled-system/jsx';
4
+ import { StyledComponent } from '@stokelp/styled-system/types';
5
5
  import { RadioButtonGroupRecipe } from '@stokelp/styled-system/recipes';
6
6
 
7
7
  export declare const RadioButtonGroup: ComponentVariants<StyledComponent<ForwardRefExoticComponent<ArkRadioGroup.RootProps & RefAttributes<HTMLDivElement>>, {}>, RadioButtonGroupRecipe>;
@@ -1,7 +1,7 @@
1
1
  import { RadioGroup as ArkRadioGroup } from '@ark-ui/react';
2
2
  import { ComponentProps, ForwardRefExoticComponent, RefAttributes } from 'react';
3
3
  import { ComponentVariants } from '../../utils/slots';
4
- import { StyledComponent } from '@stokelp/styled-system/jsx';
4
+ import { StyledComponent } from '@stokelp/styled-system/types';
5
5
  import { RadioGroupRecipe } from '@stokelp/styled-system/recipes';
6
6
 
7
7
  export declare const RadioGroup: ComponentVariants<StyledComponent<ForwardRefExoticComponent<ArkRadioGroup.RootProps & RefAttributes<HTMLDivElement>>, {}>, RadioGroupRecipe>;
@@ -0,0 +1,18 @@
1
+ import { StatusTagSelectVariantProps } from '@stokelp/styled-system/recipes';
2
+ import { HTMLStyledProps } from '@stokelp/styled-system/types';
3
+ import { FC } from 'react';
4
+ import { SelectRootProps } from '@ark-ui/react';
5
+
6
+ type Severity = StatusTagSelectVariantProps['severity'];
7
+ export type StatusTagSelectItem = {
8
+ value: string | number;
9
+ label: string;
10
+ disabled?: boolean;
11
+ severity?: Severity;
12
+ };
13
+ export type StatusTagSelectProps = Omit<SelectRootProps<string | object>, 'items' | 'multiple' | 'asChild'> & {
14
+ items: StatusTagSelectItem[];
15
+ usePortal?: boolean;
16
+ } & HTMLStyledProps<'button'> & StatusTagSelectVariantProps;
17
+ export declare const StatusTagSelect: FC<StatusTagSelectProps>;
18
+ export {};
@@ -0,0 +1 @@
1
+ export * from './StatusTagSelect';
@@ -1,6 +1,6 @@
1
1
  import { ComponentProps, FC, ReactNode } from 'react';
2
2
  import { TableProviderProps } from './TableProvider';
3
- import { StyledComponent } from '@stokelp/styled-system/jsx';
3
+ import { StyledComponent } from '@stokelp/styled-system/types';
4
4
  import { TableContainerVariantProps, TableRecipe, TableGroupTitleVariantProps, TableEmptyRowVariantProps } from '@stokelp/styled-system/recipes';
5
5
  import { ComponentVariants } from '../../utils/slots';
6
6
 
@@ -1,7 +1,7 @@
1
1
  import { Tabs as ArkTab } from '@ark-ui/react';
2
2
  import { ComponentProps, ForwardRefExoticComponent, RefAttributes } from 'react';
3
3
  import { ComponentVariants } from '../../utils/slots.tsx';
4
- import { StyledComponent } from '@stokelp/styled-system/jsx';
4
+ import { StyledComponent } from '@stokelp/styled-system/types';
5
5
  import { TabsRecipe } from '@stokelp/styled-system/recipes';
6
6
 
7
7
  export declare const Tabs: ComponentVariants<StyledComponent<ForwardRefExoticComponent<ArkTab.RootProps & RefAttributes<HTMLDivElement>>, {}>, TabsRecipe>;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps, ForwardRefExoticComponent, DetailedHTMLProps, TextareaHTMLAttributes, DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES, RefObject } from 'react';
2
- import { StyledComponent } from '@stokelp/styled-system/jsx';
2
+ import { StyledComponent } from '@stokelp/styled-system/types';
3
3
  import { PolymorphicProps } from '@ark-ui/react';
4
4
  import { TextareaVariantProps } from '@stokelp/styled-system/recipes';
5
5
 
@@ -1,7 +1,7 @@
1
1
  import { Tooltip as ArkTooltip } from '@ark-ui/react';
2
2
  import { ComponentProps, FC, ReactNode } from 'react';
3
3
  import { ComponentVariants } from '../../utils/slots';
4
- import { StyledComponent } from '@stokelp/styled-system/jsx';
4
+ import { StyledComponent } from '@stokelp/styled-system/types';
5
5
  import { TooltipRecipe } from '@stokelp/styled-system/recipes';
6
6
 
7
7
  declare const TooltipRoot: ComponentVariants<StyledComponent<(props: ArkTooltip.RootProps) => import("react/jsx-runtime").JSX.Element, {}>, TooltipRecipe>;
package/dist/preset.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { Preset } from '@pandacss/dev';
1
+ import { Preset } from '@pandacss/types';
2
2
  export declare const preset: Preset;