@raystack/apsara 0.43.0 → 0.44.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 (39) hide show
  1. package/dist/style.css +1 -1
  2. package/dist/v1/components/select/select-content.cjs +15 -0
  3. package/dist/v1/components/select/select-content.cjs.map +1 -0
  4. package/dist/v1/components/select/select-content.d.ts +3 -0
  5. package/dist/v1/components/select/select-content.d.ts.map +1 -0
  6. package/dist/v1/components/select/select-content.js +13 -0
  7. package/dist/v1/components/select/select-content.js.map +1 -0
  8. package/dist/v1/components/select/select-item.cjs +26 -0
  9. package/dist/v1/components/select/select-item.cjs.map +1 -0
  10. package/dist/v1/components/select/select-item.d.ts +7 -0
  11. package/dist/v1/components/select/select-item.d.ts.map +1 -0
  12. package/dist/v1/components/select/select-item.js +24 -0
  13. package/dist/v1/components/select/select-item.js.map +1 -0
  14. package/dist/v1/components/select/select-root.cjs +44 -0
  15. package/dist/v1/components/select/select-root.cjs.map +1 -0
  16. package/dist/v1/components/select/select-root.d.ts +15 -0
  17. package/dist/v1/components/select/select-root.d.ts.map +1 -0
  18. package/dist/v1/components/select/select-root.js +41 -0
  19. package/dist/v1/components/select/select-root.js.map +1 -0
  20. package/dist/v1/components/select/select-trigger.cjs +38 -0
  21. package/dist/v1/components/select/select-trigger.cjs.map +1 -0
  22. package/dist/v1/components/select/select-trigger.d.ts +26 -0
  23. package/dist/v1/components/select/select-trigger.d.ts.map +1 -0
  24. package/dist/v1/components/select/select-trigger.js +36 -0
  25. package/dist/v1/components/select/select-trigger.js.map +1 -0
  26. package/dist/v1/components/select/select-value.cjs +18 -0
  27. package/dist/v1/components/select/select-value.cjs.map +1 -0
  28. package/dist/v1/components/select/select-value.d.ts +3 -0
  29. package/dist/v1/components/select/select-value.d.ts.map +1 -0
  30. package/dist/v1/components/select/select-value.js +16 -0
  31. package/dist/v1/components/select/select-value.js.map +1 -0
  32. package/dist/v1/components/select/select.cjs +11 -81
  33. package/dist/v1/components/select/select.cjs.map +1 -1
  34. package/dist/v1/components/select/select.d.ts +16 -43
  35. package/dist/v1/components/select/select.d.ts.map +1 -1
  36. package/dist/v1/components/select/select.js +7 -58
  37. package/dist/v1/components/select/select.js.map +1 -1
  38. package/dist/v1/style.css +1 -1
  39. package/package.json +1 -1
@@ -1,50 +1,23 @@
1
1
  import * as SelectPrimitive from "@radix-ui/react-select";
2
- import { VariantProps } from "class-variance-authority";
3
- import * as React from "react";
4
- interface AriaProps {
5
- 'aria-label'?: string;
6
- 'aria-describedby'?: string;
7
- 'aria-required'?: boolean;
8
- 'aria-invalid'?: boolean;
9
- }
10
- interface TriggerStyleProps {
11
- style?: React.CSSProperties;
12
- className?: string;
13
- stopPropagation?: boolean;
14
- }
15
- export interface IconProps extends React.SVGAttributes<SVGElement> {
16
- children?: never;
17
- color?: string;
18
- }
19
- interface SelectValueProps extends SelectPrimitive.SelectValueProps {
20
- leadingIcon?: React.ReactNode;
21
- placeholder?: string;
22
- }
23
- interface SelectRootProps extends SelectPrimitive.SelectProps {
24
- disabled?: boolean;
25
- }
26
- export declare const Select: (({ children, disabled, ...props }: SelectRootProps) => import("react/jsx-runtime").JSX.Element) & {
27
- Group: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
28
- Value: React.ForwardRefExoticComponent<SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
29
- ScrollUpButton: React.ForwardRefExoticComponent<SelectPrimitive.SelectScrollDownButtonProps & React.RefAttributes<HTMLDivElement>>;
30
- ScrollDownButton: React.ForwardRefExoticComponent<SelectPrimitive.SelectScrollDownButtonProps & React.RefAttributes<HTMLDivElement>>;
31
- Viewport: React.ForwardRefExoticComponent<SelectPrimitive.SelectViewportProps & React.RefAttributes<HTMLDivElement>>;
32
- Trigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
2
+ export declare const Select: (({ children, value, onValueChange, defaultValue, ...props }: SelectPrimitive.SelectProps) => import("react/jsx-runtime").JSX.Element) & {
3
+ Group: import("react").ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & import("react").RefAttributes<HTMLDivElement>>;
4
+ Value: import("react").ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & import("react").RefAttributes<HTMLSpanElement>>;
5
+ ScrollUpButton: import("react").ForwardRefExoticComponent<SelectPrimitive.SelectScrollDownButtonProps & import("react").RefAttributes<HTMLDivElement>>;
6
+ ScrollDownButton: import("react").ForwardRefExoticComponent<SelectPrimitive.SelectScrollDownButtonProps & import("react").RefAttributes<HTMLDivElement>>;
7
+ Viewport: import("react").ForwardRefExoticComponent<SelectPrimitive.SelectViewportProps & import("react").RefAttributes<HTMLDivElement>>;
8
+ Trigger: import("react").ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("class-variance-authority").VariantProps<(props?: ({
33
9
  size?: "small" | "medium" | null | undefined;
34
10
  variant?: "text" | "outline" | null | undefined;
35
11
  } & import("class-variance-authority/types").ClassProp) | undefined) => string> & {
36
- children?: React.ReactNode;
12
+ children?: import("react").ReactNode;
37
13
  } & {
38
- iconProps?: IconProps | undefined;
39
- } & AriaProps & TriggerStyleProps & React.RefAttributes<HTMLButtonElement>>;
40
- Content: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/types").ClassProp | undefined) => string> & {
41
- children?: React.ReactNode;
42
- } & React.RefAttributes<HTMLDivElement>>;
43
- Item: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
44
- textProps?: any;
45
- leadingIcon?: React.ReactNode;
46
- } & React.RefAttributes<HTMLDivElement>>;
47
- Separator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
14
+ iconProps?: import("./select-trigger").IconProps | undefined;
15
+ } & import("./select-trigger").AriaProps & import("./select-trigger").TriggerStyleProps & import("react").RefAttributes<HTMLButtonElement>>;
16
+ Content: import("react").ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
17
+ Item: import("react").ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
18
+ textProps?: import("../text").TextBaseProps | undefined;
19
+ leadingIcon?: import("react").ReactNode;
20
+ } & import("react").RefAttributes<HTMLDivElement>>;
21
+ Separator: import("react").ForwardRefExoticComponent<SelectPrimitive.SelectSeparatorProps & import("react").RefAttributes<HTMLDivElement>>;
48
22
  };
49
- export {};
50
23
  //# sourceMappingURL=select.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../../v1/components/select/select.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,UAAU,SAAS;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,UAAU,iBAAiB;IACzB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,MAAM,WAAW,SAAU,SAAQ,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC;IAChE,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,gBAAiB,SAAQ,eAAe,CAAC,gBAAgB;IACjE,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAuGD,UAAU,eAAgB,SAAQ,eAAe,CAAC,WAAW;IAC3D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAwED,eAAO,MAAM,MAAM,sCAtEmC,eAAe;;;;;;;;;;;;;;;;;;;sBAoBnD,MAAM,SAAS;;;CA4D/B,CAAC"}
1
+ {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../../v1/components/select/select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAO1D,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;CAUjB,CAAC"}
@@ -1,61 +1,10 @@
1
- import { j as jsxRuntimeExports } from '../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js';
2
- import { ChevronDownIcon } from '../../node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js';
3
- import { Trigger, Icon, Portal, Content as Content2, Item, ItemText, Separator, Value, Group, ScrollDownButton, Viewport, Root as Root2 } from '../../node_modules/.pnpm/@radix-ui_react-select@2.1.1_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-select/dist/index.js';
4
- import { cva } from '../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js';
5
- import * as React from 'react';
6
- import { Text } from '../text/text.js';
7
- import styles from './select.module.css.js';
1
+ import { Group, ScrollDownButton, Viewport, Separator } from '../../node_modules/.pnpm/@radix-ui_react-select@2.1.1_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-select/dist/index.js';
2
+ import { SelectTrigger } from './select-trigger.js';
3
+ import { SelectContent } from './select-content.js';
4
+ import { SelectItem } from './select-item.js';
5
+ import { SelectValue } from './select-value.js';
6
+ import { SelectRoot } from './select-root.js';
8
7
 
9
- const trigger = cva(styles.trigger, {
10
- variants: {
11
- size: {
12
- small: styles["trigger-small"],
13
- medium: styles["trigger-medium"],
14
- },
15
- variant: {
16
- outline: styles["trigger-outline"],
17
- text: styles["trigger-text"],
18
- }
19
- },
20
- defaultVariants: {
21
- size: "medium",
22
- variant: "outline",
23
- },
24
- });
25
- const SelectTrigger = React.forwardRef(({ size, variant, className, children, iconProps = {}, 'aria-label': ariaLabel, style, stopPropagation = false, ...props }, ref) => (jsxRuntimeExports.jsxs(Trigger, { ref: ref, className: trigger({ size, variant, className }), "aria-label": ariaLabel || 'Select option', role: "combobox", style: {
26
- ...style,
27
- display: 'flex',
28
- justifyContent: 'space-between'
29
- }, onPointerDown: (e) => {
30
- if (stopPropagation) {
31
- e.stopPropagation();
32
- }
33
- }, ...props, children: [jsxRuntimeExports.jsx("div", { className: styles.triggerContent, children: children }), jsxRuntimeExports.jsx(Icon, { asChild: true, children: jsxRuntimeExports.jsx(ChevronDownIcon, { className: styles.triggerIcon, "aria-hidden": "true", ...iconProps }) })] })));
34
- SelectTrigger.displayName = Trigger.displayName;
35
- const content = cva(styles.content);
36
- const SelectContent = React.forwardRef(({ className, children, position = "popper", ...props }, ref) => (jsxRuntimeExports.jsx(Portal, { children: jsxRuntimeExports.jsx(Content2, { ref: ref, className: content({ className }), position: position, role: "listbox", onPointerDownOutside: (e) => {
37
- e.stopPropagation();
38
- }, ...props, children: children }) })));
39
- SelectContent.displayName = Content2.displayName;
40
- const menuitem = cva(styles.menuitem);
41
- const SelectIconContext = React.createContext({
42
- icons: {},
43
- registerIcon: () => { }
44
- });
45
- const SelectRoot = ({ children, disabled, ...props }) => {
46
- const [icons, setIcons] = React.useState({});
47
- const registerIcon = React.useCallback((value, icon) => {
48
- setIcons(prev => ({ ...prev, [value]: icon }));
49
- }, []);
50
- return (jsxRuntimeExports.jsx(SelectIconContext.Provider, { value: { icons, registerIcon }, children: jsxRuntimeExports.jsx(Root2, { disabled: disabled, ...props, children: children }) }));
51
- };
52
- const SelectItem = React.forwardRef(({ className, textProps = {}, children, leadingIcon, ...props }, ref) => (jsxRuntimeExports.jsxs(Item, { ref: ref, className: menuitem({ className }), role: "option", ...props, children: [leadingIcon && jsxRuntimeExports.jsx("div", { className: styles.itemIcon, children: leadingIcon }), jsxRuntimeExports.jsx(ItemText, { children: jsxRuntimeExports.jsx(Text, { ...textProps, children: children }) })] })));
53
- SelectItem.displayName = Item.displayName;
54
- const separator = cva(styles.separator);
55
- const SelectSeparator = React.forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports.jsx(Separator, { ref: ref, className: separator({ className }), ...props })));
56
- SelectSeparator.displayName = Separator.displayName;
57
- const SelectValue = React.forwardRef(({ leadingIcon, children, placeholder, ...props }, ref) => (jsxRuntimeExports.jsx(Value, { ref: ref, placeholder: placeholder, ...props, children: jsxRuntimeExports.jsxs("div", { className: styles.valueContent, title: typeof children === 'string' ? children : undefined, children: [leadingIcon && jsxRuntimeExports.jsx("div", { className: styles.leadingIcon, children: leadingIcon }), children] }) })));
58
- SelectValue.displayName = Value.displayName;
59
8
  const Select = Object.assign(SelectRoot, {
60
9
  Group: Group,
61
10
  Value: SelectValue,
@@ -65,7 +14,7 @@ const Select = Object.assign(SelectRoot, {
65
14
  Trigger: SelectTrigger,
66
15
  Content: SelectContent,
67
16
  Item: SelectItem,
68
- Separator: SelectSeparator,
17
+ Separator: Separator,
69
18
  });
70
19
 
71
20
  export { Select };
@@ -1 +1 @@
1
- {"version":3,"file":"select.js","sources":["../../../../v1/components/select/select.tsx"],"sourcesContent":["import { ChevronDownIcon } from \"@radix-ui/react-icons\";\nimport * as SelectPrimitive from \"@radix-ui/react-select\";\nimport { cva, VariantProps } from \"class-variance-authority\";\nimport * as React from \"react\";\n\nimport { Text } from \"../text\";\nimport { TextProps } from \"../text/text\";\nimport styles from \"./select.module.css\";\n\ninterface AriaProps {\n 'aria-label'?: string;\n 'aria-describedby'?: string;\n 'aria-required'?: boolean;\n 'aria-invalid'?: boolean;\n}\n\ninterface TriggerStyleProps {\n style?: React.CSSProperties;\n className?: string;\n stopPropagation?: boolean;\n}\n\nexport interface IconProps extends React.SVGAttributes<SVGElement> {\n children?: never;\n color?: string;\n}\n\ninterface SelectValueProps extends SelectPrimitive.SelectValueProps {\n leadingIcon?: React.ReactNode;\n placeholder?: string;\n}\n\nconst trigger = cva(styles.trigger, {\n variants: {\n size: {\n small: styles[\"trigger-small\"],\n medium: styles[\"trigger-medium\"],\n },\n variant: {\n outline: styles[\"trigger-outline\"],\n text: styles[\"trigger-text\"],\n }\n },\n defaultVariants: {\n size: \"medium\",\n variant: \"outline\",\n },\n});\n\nconst SelectTrigger = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger> &\n React.PropsWithChildren<VariantProps<typeof trigger>> & {\n iconProps?: IconProps;\n } &\n AriaProps &\n TriggerStyleProps\n>(({ \n size, \n variant, \n className, \n children, \n iconProps = {}, \n 'aria-label': ariaLabel,\n style,\n stopPropagation = false,\n ...props \n}, ref) => (\n <SelectPrimitive.Trigger\n ref={ref}\n className={trigger({ size, variant, className })}\n aria-label={ariaLabel || 'Select option'}\n role=\"combobox\"\n style={{\n ...style,\n display: 'flex',\n justifyContent: 'space-between'\n }}\n onPointerDown={(e) => {\n if (stopPropagation) {\n e.stopPropagation();\n }\n }}\n {...props}\n >\n <div className={styles.triggerContent}>\n {children}\n </div>\n <SelectPrimitive.Icon asChild>\n <ChevronDownIcon \n className={styles.triggerIcon} \n aria-hidden=\"true\"\n {...iconProps} \n />\n </SelectPrimitive.Icon>\n </SelectPrimitive.Trigger>\n));\nSelectTrigger.displayName = SelectPrimitive.Trigger.displayName;\n\nconst content = cva(styles.content);\n\nconst SelectContent = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content> &\n React.PropsWithChildren<VariantProps<typeof content>>\n>(({ className, children, position = \"popper\", ...props }, ref) => (\n <SelectPrimitive.Portal>\n <SelectPrimitive.Content\n ref={ref}\n className={content({ className })}\n position={position}\n role=\"listbox\"\n onPointerDownOutside={(e) => {\n e.stopPropagation();\n }}\n {...props}\n >\n {children}\n </SelectPrimitive.Content>\n </SelectPrimitive.Portal>\n));\nSelectContent.displayName = SelectPrimitive.Content.displayName;\n\nconst menuitem = cva(styles.menuitem);\n\nconst SelectIconContext = React.createContext<{\n icons: Record<string, React.ReactNode>;\n registerIcon: (value: string, icon: React.ReactNode) => void;\n}>({\n icons: {},\n registerIcon: () => {}\n});\n\ninterface SelectRootProps extends SelectPrimitive.SelectProps {\n disabled?: boolean;\n}\n\nconst SelectRoot = ({ children, disabled, ...props }: SelectRootProps) => {\n const [icons, setIcons] = React.useState<Record<string, React.ReactNode>>({});\n \n const registerIcon = React.useCallback((value: string, icon: React.ReactNode) => {\n setIcons(prev => ({ ...prev, [value]: icon }));\n }, []);\n \n return (\n <SelectIconContext.Provider value={{ icons, registerIcon }}>\n <SelectPrimitive.Root disabled={disabled} {...props}>\n {children}\n </SelectPrimitive.Root>\n </SelectIconContext.Provider>\n );\n};\n\nconst SelectItem = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Item> & {\n textProps?: TextProps;\n leadingIcon?: React.ReactNode;\n }\n>(({ className, textProps = {}, children, leadingIcon, ...props }, ref) => (\n <SelectPrimitive.Item\n ref={ref}\n className={menuitem({ className })}\n role=\"option\"\n {...props}\n >\n {leadingIcon && <div className={styles.itemIcon}>{leadingIcon}</div>}\n <SelectPrimitive.ItemText>\n <Text {...textProps}>{children}</Text>\n </SelectPrimitive.ItemText>\n </SelectPrimitive.Item>\n));\nSelectItem.displayName = SelectPrimitive.Item.displayName;\n\nconst separator = cva(styles.separator);\nconst SelectSeparator = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <SelectPrimitive.Separator\n ref={ref}\n className={separator({ className })}\n {...props}\n />\n));\nSelectSeparator.displayName = SelectPrimitive.Separator.displayName;\n\nconst SelectValue = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Value>,\n SelectValueProps\n>(({ leadingIcon, children, placeholder, ...props }, ref) => (\n <SelectPrimitive.Value \n ref={ref} \n placeholder={placeholder}\n {...props}\n >\n <div \n className={styles.valueContent}\n title={typeof children === 'string' ? children : undefined}\n >\n {leadingIcon && <div className={styles.leadingIcon}>{leadingIcon}</div>}\n {children}\n </div>\n </SelectPrimitive.Value>\n));\nSelectValue.displayName = SelectPrimitive.Value.displayName;\n\nexport const Select = Object.assign(SelectRoot, {\n Group: SelectPrimitive.Group,\n Value: SelectValue,\n ScrollUpButton: SelectPrimitive.ScrollDownButton,\n ScrollDownButton: SelectPrimitive.ScrollDownButton,\n Viewport: SelectPrimitive.Viewport,\n Trigger: SelectTrigger,\n Content: SelectContent,\n Item: SelectItem,\n Separator: SelectSeparator,\n});\n"],"names":["_jsxs","SelectPrimitive.Trigger","_jsx","SelectPrimitive.Icon","SelectPrimitive.Portal","SelectPrimitive.Content","SelectPrimitive.Root","SelectPrimitive.Item","SelectPrimitive.ItemText","SelectPrimitive.Separator","SelectPrimitive.Value","SelectPrimitive.Group","SelectPrimitive.ScrollDownButton","SelectPrimitive.Viewport"],"mappings":";;;;;;;;AAgCA,MAAM,OAAO,GAAG,GAAG,CAAC,MAAM,CAAC,OAAO,EAAE;AAClC,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE;AACJ,YAAA,KAAK,EAAE,MAAM,CAAC,eAAe,CAAC;AAC9B,YAAA,MAAM,EAAE,MAAM,CAAC,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xB,EAAA,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,SAAS,CAAC,EAAE,SAAS,EAAE,CAAC,EAAA,GAC/B,KAAK,EACT,CAAA,CACH,CAAC,CAAC;AACH,eAAe,CAAC,WAAW,GAAGA,SAAyB,CAAC,WAAW,CAAC;AAEpE,MAAM,WAAW,GAAG,KAAK,CAAC,UAAU,CAGlC,CAAC,EAAE,WAAW,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,MACtDP,qBAAC,CAAAQ,KAAqB,EAAA,EACpB,GAAG,EAAE,GAAG,EACR,WAAW,EAAE,WAAW,KACpB,KAAK,EAAA,QAAA,EAETV,sBACE,CAAA,KAAA,EAAA,EAAA,SAAS,EAAE,MAAM,CAAC,YAAY,EAC9B,KAAK,EAAE,OAAO,QAAQ,KAAK,QAAQ,GAAG,QAAQ,GAAG,SAAS,EAAA,QAAA,EAAA,CAEzD,WAAW,IAAIE,qBAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAE,MAAM,CAAC,WAAW,EAAG,QAAA,EAAA,WAAW,GAAO,EACtE,QAAQ,IACL,EACgB,CAAA,CACzB,CAAC,CAAC;AACH,WAAW,CAAC,WAAW,GAAGQ,KAAqB,CAAC,WAAW,CAAC;MAE/C,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE;IAC9C,KAAK,EAAEC,KAAqB;AAC5B,IAAA,KAAK,EAAE,WAAW;IAClB,cAAc,EAAEC,gBAAgC;IAChD,gBAAgB,EAAEA,gBAAgC;IAClD,QAAQ,EAAEC,QAAwB;AAClC,IAAA,OAAO,EAAE,aAAa;AACtB,IAAA,OAAO,EAAE,aAAa;AACtB,IAAA,IAAI,EAAE,UAAU;AAChB,IAAA,SAAS,EAAE,eAAe;AAC3B,CAAA;;;;"}
1
+ {"version":3,"file":"select.js","sources":["../../../../v1/components/select/select.tsx"],"sourcesContent":["import * as SelectPrimitive from \"@radix-ui/react-select\";\nimport { SelectTrigger } from \"./select-trigger\";\nimport { SelectContent } from \"./select-content\";\nimport { SelectItem } from \"./select-item\";\nimport { SelectValue } from \"./select-value\";\nimport { SelectRoot } from \"./select-root\";\n\nexport const Select = Object.assign(SelectRoot, {\n Group: SelectPrimitive.Group,\n Value: SelectValue,\n ScrollUpButton: SelectPrimitive.ScrollDownButton,\n ScrollDownButton: SelectPrimitive.ScrollDownButton,\n Viewport: SelectPrimitive.Viewport,\n Trigger: SelectTrigger,\n Content: SelectContent,\n Item: SelectItem,\n Separator: SelectPrimitive.Separator,\n});\n"],"names":["SelectPrimitive.Group","SelectPrimitive.ScrollDownButton","SelectPrimitive.Viewport","SelectPrimitive.Separator"],"mappings":";;;;;;;MAOa,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE;IAC9C,KAAK,EAAEA,KAAqB;AAC5B,IAAA,KAAK,EAAE,WAAW;IAClB,cAAc,EAAEC,gBAAgC;IAChD,gBAAgB,EAAEA,gBAAgC;IAClD,QAAQ,EAAEC,QAAwB;AAClC,IAAA,OAAO,EAAE,aAAa;AACtB,IAAA,OAAO,EAAE,aAAa;AACtB,IAAA,IAAI,EAAE,UAAU;IAChB,SAAS,EAAEC,SAAyB;AACrC,CAAA;;;;"}