sate-lib 2.8.0 → 2.9.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 (45) hide show
  1. package/README.md +2 -0
  2. package/lib/assets/styles/typography.css +1 -1
  3. package/lib/components/avatar/avatar.d.ts +1 -1
  4. package/lib/components/avatar/avatar.d.ts.map +1 -1
  5. package/lib/components/button/button-icon.d.ts +2 -2
  6. package/lib/components/button/button-icon.d.ts.map +1 -1
  7. package/lib/components/button/button-link.d.ts +2 -2
  8. package/lib/components/button/button-link.d.ts.map +1 -1
  9. package/lib/components/button/button.d.ts +2 -2
  10. package/lib/components/button/button.d.ts.map +1 -1
  11. package/lib/components/button/button.js +1 -1
  12. package/lib/components/drawer/drawer-gallery.d.ts +2 -1
  13. package/lib/components/drawer/drawer-gallery.d.ts.map +1 -1
  14. package/lib/components/drawer/drawer-menu.d.ts +2 -1
  15. package/lib/components/drawer/drawer-menu.d.ts.map +1 -1
  16. package/lib/components/drawer/drawer.d.ts +2 -1
  17. package/lib/components/drawer/drawer.d.ts.map +1 -1
  18. package/lib/components/filter-chip/filter-chip.d.ts.map +1 -1
  19. package/lib/components/filter-chip/filter-chip.js +1 -1
  20. package/lib/components/logo/logo.d.ts +4 -3
  21. package/lib/components/logo/logo.d.ts.map +1 -1
  22. package/lib/components/map-marker/map-marker.d.ts +1 -1
  23. package/lib/components/map-marker/map-marker.d.ts.map +1 -1
  24. package/lib/components/progress-indicator/progress-indicator.d.ts +2 -2
  25. package/lib/components/progress-indicator/progress-indicator.d.ts.map +1 -1
  26. package/lib/components/progress-indicator/progress-indicator.js +1 -1
  27. package/lib/components/skeleton/skeleton.d.ts +2 -1
  28. package/lib/components/skeleton/skeleton.d.ts.map +1 -1
  29. package/lib/components/text-fields/text-area/text-area.d.ts +2 -2
  30. package/lib/components/text-fields/text-area/text-area.d.ts.map +1 -1
  31. package/lib/components/text-fields/text-area/text-area.js +1 -1
  32. package/lib/components/text-fields/text-field-group/text-field-group.d.ts +2 -2
  33. package/lib/components/text-fields/text-field-group/text-field-group.d.ts.map +1 -1
  34. package/lib/components/text-fields/text-field-group/text-field-group.js +1 -1
  35. package/lib/components/text-fields/text-field-password/password-check.js +1 -1
  36. package/lib/components/text-fields/text-field-profile/text-field-profile.d.ts +2 -1
  37. package/lib/components/text-fields/text-field-profile/text-field-profile.d.ts.map +1 -1
  38. package/lib/components/text-fields/text-field-profile/text-field-profile.js +1 -1
  39. package/lib/components/typography/typography.d.ts +3 -2
  40. package/lib/components/typography/typography.d.ts.map +1 -1
  41. package/lib/index.d.ts +1 -0
  42. package/lib/index.d.ts.map +1 -1
  43. package/lib/util.d.ts +2 -1
  44. package/lib/util.d.ts.map +1 -1
  45. package/package.json +188 -186
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # SATE - Design System
2
2
 
3
+ [![React Doctor](https://www.react.doctor/share/badge?p=sate-lib&s=96&e=9&w=5&f=6)](https://www.react.doctor/share?p=sate-lib&s=96&e=9&w=5&f=6)
4
+
3
5
  A lightweight and modular React component library designed for modern web interfaces.
4
6
  **SATE Lib** powers the [sate.menu](https://sate.menu) platform with reusable, scalable, and themeable UI components.
5
7
 
@@ -1 +1 @@
1
- @font-face{font-family:Author;src:url(../../assets/fonts/author-bold.woff2)format("woff2");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Golos UI;src:url(../../assets/fonts/golos-ui-medium.woff2)format("woff2");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Golos UI;src:url(../../assets/fonts/golos-ui-regular.woff2)format("woff2");font-weight:400;font-style:normal;font-display:swap}.displayLarge,.displayMedium,.displaySmall,.titleScreen,.titleSection,.titleSubsection,.titleBody,.titleGroup{font-family:var(--typeface-brand,"Author");font-weight:700}.displayLarge{font-size:var(--typescale-display-large-font-size,6rem);line-height:var(--typescale-display-large-line-height,5.125rem);letter-spacing:var(--typescale-display-large-letter-spacing,0)}.displayMedium{font-size:var(--typescale-display-medium-font-size,4rem);line-height:var(--typescale-display-medium-line-height,3.375rem);letter-spacing:var(--typescale-display-medium-letter-spacing,0)}.displaySmall{font-size:var(--typescale-display-small-font-size,2.5rem);line-height:var(--typescale-display-small-line-height,2.125rem);letter-spacing:var(--typescale-display-small-letter-spacing,0)}.titleScreen{font-size:var(--typescale-title-screen-font-size,2.5rem);line-height:var(--typescale-title-screen-line-height,2.125rem);letter-spacing:var(--typescale-title-screen-letter-spacing,0)}.titleSection{font-size:var(--typescale-title-section-font-size,1.75rem);line-height:var(--typescale-title-section-line-height,2.25rem);letter-spacing:var(--typescale-title-section-letter-spacing,-.025rem)}.titleSubsection{font-size:var(--typescale-title-subsection-font-size,1.25rem);line-height:var(--typescale-title-subsection-line-height,1.75rem);letter-spacing:var(--typescale-title-subsection-letter-spacing,-.01875rem)}.titleBody{font-size:var(--typescale-title-body-font-size,1.125rem);line-height:var(--typescale-title-body-line-height,1.5rem);letter-spacing:var(--typescale-title-body-letter-spacing,-.0125rem)}.titleGroup{font-size:var(--typescale-title-group-font-size,1.125rem);line-height:var(--typescale-title-group-line-height,1.625rem);letter-spacing:var(--typescale-title-group-letter-spacing,-.00625rem)}.bodyXLargeEmphasis,.bodyXLarge,.bodyLargeEmphasis,.bodyLarge,.bodyDefaultEmphasis,.bodyDefault,.bodySmallEmphasis,.bodySmall,.linkLarge,.linkDefault,.linkSmall{font-family:var(--typeface-interface,"Golos UI")}.bodyXLargeEmphasis{font-size:var(--typescale-body-x-large-emphasis-font-size,1.125rem);font-weight:500;line-height:var(--typescale-body-x-large-emphasis-line-height,1.625rem);letter-spacing:var(--typescale-body-x-large-emphasis-letter-spacing,-.0125rem)}.bodyXLarge{font-size:var(--typescale-body-x-large-font-size,1.125rem);font-weight:400;line-height:var(--typescale-body-x-large-line-height,1.625rem);letter-spacing:var(--typescale-body-x-large-letter-spacing,-.0125rem)}.bodyLargeEmphasis{font-size:var(--typescale-body-large-emphasis-font-size,1rem);font-weight:500;line-height:var(--typescale-body-large-emphasis-line-height,1.5rem);letter-spacing:var(--typescale-body-large-emphasis-letter-spacing,-.0125rem)}.bodyLarge{font-size:var(--typescale-body-large-font-size,1rem);font-weight:400;line-height:var(--typescale-body-large-line-height,1.5rem);letter-spacing:var(--typescale-body-large-letter-spacing,-.0125rem)}.bodyDefaultEmphasis{font-size:var(--typescale-body-default-emphasis-font-size,.875rem);font-weight:500;line-height:var(--typescale-body-default-emphasis-line-height,1.25rem);letter-spacing:var(--typescale-body-default-emphasis-letter-spacing,0)}.bodyDefault{font-size:var(--typescale-body-default-font-size,.875rem);font-weight:400;line-height:var(--typescale-body-default-line-height,1.25rem);letter-spacing:var(--typescale-body-default-letter-spacing,0)}.bodySmallEmphasis{font-size:var(--typescale-body-small-emphasis-font-size,.75rem);font-weight:500;line-height:var(--typescale-body-small-emphasis-line-height,1rem);letter-spacing:var(--typescale-body-small-emphasis-letter-spacing,-.0125rem)}.bodySmall{font-size:var(--typescale-body-small-font-size,.75rem);font-weight:400;line-height:var(--typescale-body-small-line-height,1rem);letter-spacing:var(--typescale-body-small-letter-spacing,-.0125rem)}.linkLarge,.linkDefault,.linkSmall{text-decoration-skip-ink:none;text-underline-offset:auto;text-underline-position:from-font;font-weight:500;text-decoration-line:underline;text-decoration-style:solid;text-decoration-thickness:auto}.linkLarge{font-size:var(--typescale-link-large-font-size,1rem);line-height:var(--typescale-link-large-line-height,1.5rem);letter-spacing:var(--typescale-link-large-letter-spacing,-.0125rem)}.linkDefault{font-size:var(--typescale-link-default-font-size,.875rem);line-height:var(--typescale-link-default-line-height,1.375rem);letter-spacing:var(--typescale-link-default-letter-spacing,0)}.linkSmall{font-size:var(--typescale-link-small-font-size,.75rem);line-height:var(--typescale-link-small-line-height,1rem);letter-spacing:var(--typescale-link-small-letter-spacing,-.0125rem)}
1
+ @font-face{font-family:Author;src:url(../../assets/fonts/author-bold.woff2)format("woff2");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Golos UI;src:url(../../assets/fonts/golos-ui-medium.woff2)format("woff2");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Golos UI;src:url(../../assets/fonts/golos-ui-regular.woff2)format("woff2");font-weight:400;font-style:normal;font-display:swap}.displayLarge,.displayMedium,.displaySmall,.titleScreen,.titleSection,.titleSubsection,.titleBody,.titleGroup{font-family:var(--typeface-brand,"Author");font-weight:700}.displayLarge{font-size:var(--typescale-display-large-font-size,6rem);line-height:var(--typescale-display-large-line-height,5.125rem);letter-spacing:var(--typescale-display-large-letter-spacing,0)}.displayMedium{font-size:var(--typescale-display-medium-font-size,4rem);line-height:var(--typescale-display-medium-line-height,3.375rem);letter-spacing:var(--typescale-display-medium-letter-spacing,0)}.displaySmall{font-size:var(--typescale-display-small-font-size,2.5rem);line-height:var(--typescale-display-small-line-height,2.125rem);letter-spacing:var(--typescale-display-small-letter-spacing,0)}.titleScreen{font-size:var(--typescale-title-screen-font-size,2.5rem);line-height:var(--typescale-title-screen-line-height,2.125rem);letter-spacing:var(--typescale-title-screen-letter-spacing,0)}.titleSection{font-size:var(--typescale-title-section-font-size,1.75rem);line-height:var(--typescale-title-section-line-height,2.25rem);letter-spacing:var(--typescale-title-section-letter-spacing,-.025rem)}.titleSubsection{font-size:var(--typescale-title-subsection-font-size,1.25rem);line-height:var(--typescale-title-subsection-line-height,1.75rem);letter-spacing:var(--typescale-title-subsection-letter-spacing,-.01875rem)}.titleBody{font-size:var(--typescale-title-body-font-size,1.125rem);line-height:var(--typescale-title-body-line-height,1.5rem);letter-spacing:var(--typescale-title-body-letter-spacing,-.0125rem)}.titleGroup{font-size:var(--typescale-title-group-font-size,1.125rem);line-height:var(--typescale-title-group-line-height,1.625rem);letter-spacing:var(--typescale-title-group-letter-spacing,-.00625rem)}.bodyXLargeEmphasis,.bodyXLarge,.bodyLargeEmphasis,.bodyLarge,.bodyDefaultEmphasis,.bodyDefault,.bodySmallEmphasis,.bodySmall,.linkLarge,.linkDefault,.linkSmall{font-family:var(--typeface-interface,"Golos UI")}.bodyXLargeEmphasis{font-size:var(--typescale-body-x-large-emphasis-font-size,1.125rem);font-weight:500;line-height:var(--typescale-body-x-large-emphasis-line-height,1.625rem);letter-spacing:var(--typescale-body-x-large-emphasis-letter-spacing,-.0125rem)}.bodyXLarge{font-size:var(--typescale-body-x-large-font-size,1.125rem);font-weight:400;line-height:var(--typescale-body-x-large-line-height,1.625rem);letter-spacing:var(--typescale-body-x-large-letter-spacing,-.0125rem)}.bodyLargeEmphasis{font-size:var(--typescale-body-large-emphasis-font-size,1rem);font-weight:500;line-height:var(--typescale-body-large-emphasis-line-height,1.5rem);letter-spacing:var(--typescale-body-large-emphasis-letter-spacing,-.0125rem)}.bodyLarge{font-size:var(--typescale-body-large-font-size,1rem);font-weight:400;line-height:var(--typescale-body-large-line-height,1.5rem);letter-spacing:var(--typescale-body-large-letter-spacing,-.0125rem)}.bodyDefaultEmphasis{font-size:var(--typescale-body-default-emphasis-font-size,.875rem);font-weight:500;line-height:var(--typescale-body-default-emphasis-line-height,1.25rem);letter-spacing:var(--typescale-body-default-emphasis-letter-spacing,0)}.bodyDefault{font-size:var(--typescale-body-default-font-size,.875rem);font-weight:400;line-height:var(--typescale-body-default-line-height,1.25rem);letter-spacing:var(--typescale-body-default-letter-spacing,0)}.bodySmallEmphasis{font-size:var(--typescale-body-small-emphasis-font-size,.75rem);font-weight:500;line-height:var(--typescale-body-small-emphasis-line-height,1rem);letter-spacing:var(--typescale-body-small-emphasis-letter-spacing,-.0125rem)}.bodySmall{font-size:var(--typescale-body-small-font-size,.75rem);font-weight:400;line-height:var(--typescale-body-small-line-height,1rem);letter-spacing:var(--typescale-body-small-letter-spacing,-.0125rem)}.linkLarge,.linkDefault,.linkSmall{text-decoration-skip-ink:none;text-underline-position:from-font;text-underline-offset:auto;font-weight:500;text-decoration-line:underline;text-decoration-style:solid;text-decoration-thickness:auto}.linkLarge{font-size:var(--typescale-link-large-font-size,1rem);line-height:var(--typescale-link-large-line-height,1.5rem);letter-spacing:var(--typescale-link-large-letter-spacing,-.0125rem)}.linkDefault{font-size:var(--typescale-link-default-font-size,.875rem);line-height:var(--typescale-link-default-line-height,1.375rem);letter-spacing:var(--typescale-link-default-letter-spacing,0)}.linkSmall{font-size:var(--typescale-link-small-font-size,.75rem);line-height:var(--typescale-link-small-line-height,1rem);letter-spacing:var(--typescale-link-small-letter-spacing,-.0125rem)}
@@ -13,7 +13,7 @@ type AvatarOwnProps<T extends ElementType> = {
13
13
  className?: string;
14
14
  testId?: string;
15
15
  };
16
- export type AvatarProps<T extends ElementType = "img"> = AvatarOwnProps<T> & Omit<ComponentPropsWithoutRef<T>, keyof AvatarOwnProps<T>>;
16
+ type AvatarProps<T extends ElementType = "img"> = AvatarOwnProps<T> & Omit<ComponentPropsWithoutRef<T>, keyof AvatarOwnProps<T>>;
17
17
  export declare function Avatar<T extends ElementType = "img">({ as, src, alt, name, size, shape, border, className, testId, ...rest }: AvatarProps<T>): import("react/jsx-runtime").JSX.Element;
18
18
  export {};
19
19
  //# sourceMappingURL=avatar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../src/components/avatar/avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAInE,wBAAgB,WAAW,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAcjD;AAED,KAAK,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAC/C,KAAK,WAAW,GAAG,QAAQ,GAAG,SAAS,CAAC;AAExC,KAAK,cAAc,CAAC,CAAC,SAAS,WAAW,IAAI;IAC5C,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,MAAM,CAAC,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F,KAAK,WAAW,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,IAAI,cAAc,CAAC,CAAC,CAAC,GAClE,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,MAAM,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;AAE5D,wBAAgB,MAAM,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,EAAE,EACrD,EAAE,EACF,GAAG,EACH,GAAG,EACH,IAAI,EACJ,IAAe,EACf,KAAgB,EAChB,MAAc,EACd,SAAS,EACT,MAAiB,EACjB,GAAG,IAAI,EACP,EAAE,WAAW,CAAC,CAAC,CAAC,2CA4BhB"}
@@ -1,5 +1,5 @@
1
1
  import type { AnchorHTMLAttributes, ButtonHTMLAttributes, ReactNode } from "react";
2
- export type Variant = "filled" | "outlined" | "text" | "toned" | "lightOnContent" | "darkOnContent";
2
+ type Variant = "filled" | "outlined" | "text" | "toned" | "lightOnContent" | "darkOnContent";
3
3
  type Size = "xSmall" | "small" | "medium";
4
4
  interface CommonProps {
5
5
  as?: "button" | "a" | React.ElementType;
@@ -8,7 +8,7 @@ interface CommonProps {
8
8
  icon: ReactNode;
9
9
  disabled?: boolean;
10
10
  }
11
- export type ButtonProps = CommonProps & ButtonHTMLAttributes<HTMLButtonElement> & AnchorHTMLAttributes<HTMLAnchorElement>;
11
+ type ButtonProps = CommonProps & ButtonHTMLAttributes<HTMLButtonElement> & AnchorHTMLAttributes<HTMLAnchorElement>;
12
12
  export declare function ButtonIcon({ as: Tag, variant, icon, disabled, size, className, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
13
13
  export {};
14
14
  //# sourceMappingURL=button-icon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"button-icon.d.ts","sourceRoot":"","sources":["../../../src/components/button/button-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,oBAAoB,EACpB,oBAAoB,EACpB,SAAS,EACT,MAAM,OAAO,CAAC;AAIf,MAAM,MAAM,OAAO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,GAC7B,oBAAoB,CAAC,iBAAiB,CAAC,GACvC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAEzC,wBAAgB,UAAU,CAAC,EAC1B,EAAE,EAAE,GAAc,EAClB,OAAkB,EAClB,IAAI,EACJ,QAAQ,EACR,IAAe,EACf,SAAc,EACd,GAAG,KAAK,EACR,EAAE,WAAW,2CAeb"}
@@ -1,5 +1,5 @@
1
1
  import type { AnchorHTMLAttributes, ElementType, ReactNode } from "react";
2
- export type Variant = "outlined";
2
+ type Variant = "outlined";
3
3
  type Size = "small" | "medium" | "large";
4
4
  interface CommonProps {
5
5
  label: string;
@@ -12,7 +12,7 @@ interface CommonProps {
12
12
  loading?: boolean;
13
13
  disabled?: boolean;
14
14
  }
15
- export type ButtonProps = CommonProps & AnchorHTMLAttributes<HTMLAnchorElement>;
15
+ type ButtonProps = CommonProps & AnchorHTMLAttributes<HTMLAnchorElement>;
16
16
  export declare function ButtonLink({ label, href, as: Tag, variant, size, iconLeft, iconRight, loading, disabled, className, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
17
17
  export {};
18
18
  //# sourceMappingURL=button-link.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"button-link.d.ts","sourceRoot":"","sources":["../../../src/components/button/button-link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAI1E,MAAM,MAAM,OAAO,GAAG,UAAU,CAAC;AAEjC,KAAK,IAAI,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEzC,UAAU,WAAW;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,CAAC,EAAE,GAAG,GAAG,WAAW,CAAC;IACvB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAEhF,wBAAgB,UAAU,CAAC,EAC1B,KAAK,EACL,IAAI,EACJ,EAAE,EAAE,GAAS,EACb,OAAoB,EACpB,IAAc,EACd,QAAQ,EACR,SAAS,EACT,OAAO,EACP,QAAQ,EACR,SAAc,EACd,GAAG,KAAK,EACR,EAAE,WAAW,2CAgCb"}
1
+ {"version":3,"file":"button-link.d.ts","sourceRoot":"","sources":["../../../src/components/button/button-link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAI1E,KAAK,OAAO,GAAG,UAAU,CAAC;AAE1B,KAAK,IAAI,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEzC,UAAU,WAAW;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,CAAC,EAAE,GAAG,GAAG,WAAW,CAAC;IACvB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,KAAK,WAAW,GAAG,WAAW,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAEzE,wBAAgB,UAAU,CAAC,EAC1B,KAAK,EACL,IAAI,EACJ,EAAE,EAAE,GAAS,EACb,OAAoB,EACpB,IAAc,EACd,QAAQ,EACR,SAAS,EACT,OAAO,EACP,QAAQ,EACR,SAAc,EACd,GAAG,KAAK,EACR,EAAE,WAAW,2CAgCb"}
@@ -1,5 +1,5 @@
1
1
  import type { AnchorHTMLAttributes, ButtonHTMLAttributes, ElementType, ReactNode } from "react";
2
- export type Variant = "filled" | "outlined" | "text" | "toned" | "lightOnContent" | "darkOnContent";
2
+ type Variant = "filled" | "outlined" | "text" | "toned" | "lightOnContent" | "darkOnContent";
3
3
  type Size = "small" | "medium" | "large";
4
4
  interface CommonProps {
5
5
  as?: "button" | "a" | ElementType;
@@ -11,7 +11,7 @@ interface CommonProps {
11
11
  loading?: boolean;
12
12
  disabled?: boolean;
13
13
  }
14
- export type ButtonProps = CommonProps & ButtonHTMLAttributes<HTMLButtonElement> & AnchorHTMLAttributes<HTMLAnchorElement>;
14
+ type ButtonProps = CommonProps & ButtonHTMLAttributes<HTMLButtonElement> & AnchorHTMLAttributes<HTMLAnchorElement>;
15
15
  export declare function Button({ as: Tag, variant, size, icon, iconPosition, label, loading, disabled, className, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
16
16
  export {};
17
17
  //# sourceMappingURL=button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/button/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,oBAAoB,EACpB,oBAAoB,EACpB,WAAW,EACX,SAAS,EACT,MAAM,OAAO,CAAC;AAKf,MAAM,MAAM,OAAO,GAChB,QAAQ,GACR,UAAU,GACV,MAAM,GACN,OAAO,GACP,gBAAgB,GAChB,eAAe,CAAC;AAEnB,KAAK,IAAI,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEzC,UAAU,WAAW;IACpB,EAAE,CAAC,EAAE,QAAQ,GAAG,GAAG,GAAG,WAAW,CAAC;IAClC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,MAAM,WAAW,GAAG,WAAW,GACpC,oBAAoB,CAAC,iBAAiB,CAAC,GACvC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAEzC,wBAAgB,MAAM,CAAC,EACtB,EAAE,EAAE,GAAc,EAClB,OAAkB,EAClB,IAAc,EACd,IAAI,EACJ,YAAqB,EACrB,KAAK,EACL,OAAO,EACP,QAAQ,EACR,SAAc,EACd,GAAG,KAAK,EACR,EAAE,WAAW,2CAsCb"}
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/button/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,oBAAoB,EACpB,oBAAoB,EACpB,WAAW,EACX,SAAS,EACT,MAAM,OAAO,CAAC;AAKf,KAAK,OAAO,GACT,QAAQ,GACR,UAAU,GACV,MAAM,GACN,OAAO,GACP,gBAAgB,GAChB,eAAe,CAAC;AAEnB,KAAK,IAAI,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEzC,UAAU,WAAW;IACpB,EAAE,CAAC,EAAE,QAAQ,GAAG,GAAG,GAAG,WAAW,CAAC;IAClC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,KAAK,WAAW,GAAG,WAAW,GAC7B,oBAAoB,CAAC,iBAAiB,CAAC,GACvC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAEzC,wBAAgB,MAAM,CAAC,EACtB,EAAE,EAAE,GAAc,EAClB,OAAkB,EAClB,IAAc,EACd,IAAI,EACJ,YAAqB,EACrB,KAAK,EACL,OAAO,EACP,QAAQ,EACR,SAAc,EACd,GAAG,KAAK,EACR,EAAE,WAAW,2CAsCb"}
@@ -1 +1 @@
1
- import{jsx as e,jsxs as r}from"react/jsx-runtime";import{cn as s}from"../../util.js";import a from"../progress-indicator/progress-indicator.js";import i from"./button.styles.module.js";function t({as:t="button",variant:l="filled",size:o="large",icon:n,iconPosition:m="left",label:d,loading:c,disabled:u,className:p="",...g}){let h=(()=>{switch(o){case"small":return"bodyDefaultEmphasis";case"medium":return"bodyLargeEmphasis";case"large":return"bodyXLargeEmphasis";default:return""}})();return r(t,{className:s(i.button,i[l],i[o],h,c&&i.loading,u&&i.disabled,!!n&&i.icon,"right"===m&&i.directionRight,p),disabled:u,...g,children:[e("span",{className:i.indicator,children:c&&e(a,{size:"large"===o||"medium"===o?24:"small"===o?18:16})}),n&&e("span",{className:i.icon,children:n}),e("span",{className:i.label,children:d})]})}export{t as Button};
1
+ import{jsx as e,jsxs as r}from"react/jsx-runtime";import{cn as s}from"../../util.js";import{ProgressIndicator as a}from"../progress-indicator/progress-indicator.js";import i from"./button.styles.module.js";function t({as:t="button",variant:l="filled",size:o="large",icon:n,iconPosition:m="left",label:d,loading:c,disabled:u,className:p="",...g}){let h=(()=>{switch(o){case"small":return"bodyDefaultEmphasis";case"medium":return"bodyLargeEmphasis";case"large":return"bodyXLargeEmphasis";default:return""}})();return r(t,{className:s(i.button,i[l],i[o],h,c&&i.loading,u&&i.disabled,!!n&&i.icon,"right"===m&&i.directionRight,p),disabled:u,...g,children:[e("span",{className:i.indicator,children:c&&e(a,{size:"large"===o||"medium"===o?24:"small"===o?18:16})}),n&&e("span",{className:i.icon,children:n}),e("span",{className:i.label,children:d})]})}export{t as Button};
@@ -1,5 +1,6 @@
1
1
  import { type DrawerInterface } from "./useDrawer";
2
- export interface DrawerProps extends DrawerInterface {
2
+ interface DrawerProps extends DrawerInterface {
3
3
  }
4
4
  export declare const DrawerGallery: ({ open, onOpen, title, className, children, }: DrawerProps) => import("react/jsx-runtime").JSX.Element;
5
+ export {};
5
6
  //# sourceMappingURL=drawer-gallery.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"drawer-gallery.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/drawer-gallery.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,KAAK,eAAe,EAAa,MAAM,aAAa,CAAC;AAE9D,MAAM,WAAW,WAAY,SAAQ,eAAe;CAAG;AAEvD,eAAO,MAAM,aAAa,GAAI,+CAM3B,WAAW,4CA6Cb,CAAC"}
1
+ {"version":3,"file":"drawer-gallery.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/drawer-gallery.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,KAAK,eAAe,EAAa,MAAM,aAAa,CAAC;AAE9D,UAAU,WAAY,SAAQ,eAAe;CAAG;AAEhD,eAAO,MAAM,aAAa,GAAI,+CAM3B,WAAW,4CA6Cb,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { type DrawerInterface } from "./useDrawer";
2
- export interface DrawerProps extends DrawerInterface {
2
+ interface DrawerProps extends DrawerInterface {
3
3
  }
4
4
  export declare const DrawerMenu: ({ open, onOpen, title, className, children, }: DrawerProps) => import("react/jsx-runtime").JSX.Element;
5
+ export {};
5
6
  //# sourceMappingURL=drawer-menu.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"drawer-menu.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/drawer-menu.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,eAAe,EAAa,MAAM,aAAa,CAAC;AAE9D,MAAM,WAAW,WAAY,SAAQ,eAAe;CAAG;AAEvD,eAAO,MAAM,UAAU,GAAI,+CAMxB,WAAW,4CAmDb,CAAC"}
1
+ {"version":3,"file":"drawer-menu.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/drawer-menu.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,eAAe,EAAa,MAAM,aAAa,CAAC;AAE9D,UAAU,WAAY,SAAQ,eAAe;CAAG;AAEhD,eAAO,MAAM,UAAU,GAAI,+CAMxB,WAAW,4CAmDb,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { type DrawerInterface } from "./useDrawer";
2
- export interface DrawerProps extends DrawerInterface {
2
+ interface DrawerProps extends DrawerInterface {
3
3
  nested?: boolean;
4
4
  }
5
5
  export declare const Drawer: ({ open, onOpen, title, className, nested, children, }: DrawerProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
6
7
  //# sourceMappingURL=drawer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/drawer.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,KAAK,eAAe,EAAa,MAAM,aAAa,CAAC;AAE9D,MAAM,WAAW,WAAY,SAAQ,eAAe;IACnD,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,MAAM,GAAI,uDAOpB,WAAW,4CA6Cb,CAAC"}
1
+ {"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/drawer.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,KAAK,eAAe,EAAa,MAAM,aAAa,CAAC;AAE9D,UAAU,WAAY,SAAQ,eAAe;IAC5C,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,MAAM,GAAI,uDAOpB,WAAW,4CA6Cb,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"filter-chip.d.ts","sourceRoot":"","sources":["../../../src/components/filter-chip/filter-chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAGxD,KAAK,IAAI,GAAG,QAAQ,GAA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,EAAE,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACxC,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,eAAe,CAAC,EAC/B,OAAO,EACP,QAAyB,EACzB,QAAQ,EACR,IAAiB,EACjB,IAAe,EACf,SAAc,EACd,GAAG,KAAK,EACR,EAAE,oBAAoB,2CAkDtB"}
@@ -1 +1 @@
1
- import{jsx as e,jsxs as t}from"react/jsx-runtime";import{cn as i}from"../../util.js";import{Badge as r}from"../badge/badge.js";import l from"./filter-chip.styles.module.js";function o({options:o,selected:s=[],onChange:a,mode:d="multiple",size:m="medium",className:u="",...n}){let c="single"===d;return e("fieldset",{"aria-label":"Filters",className:i(l.root,"medium"===m?"bodyLarge":"bodyDefault",u),...n,children:o.map(({value:o,label:d,icon:u,badge:n,disabled:p})=>{let b=s.includes(o),f=!!u||!!n;return t("button",{"aria-disabled":p,"aria-pressed":b,className:i(l.item,l[m],f&&l.hasIcon,b&&l.selected),disabled:p,onClick:()=>{let e,t;return e=s.includes(o),t=c?[o]:e?s.filter(e=>e!==o):[...s,o],void a?.(t)},type:"button",children:[n&&e(r,{...n}),u,d]},o)})})}export{o as FilterChipGroup};
1
+ import{jsx as e,jsxs as t}from"react/jsx-runtime";import{cn as i}from"../../util.js";import{Badge as r}from"../badge/badge.js";import l from"./filter-chip.styles.module.js";let o=[];function s({options:s,selected:a=o,onChange:d,mode:m="multiple",size:u="medium",className:n="",...c}){let p="single"===m;return e("fieldset",{"aria-label":"Filters",className:i(l.root,"medium"===u?"bodyLarge":"bodyDefault",n),...c,children:s.map(({value:o,label:s,icon:m,badge:n,disabled:c})=>{let b=a.includes(o),f=!!m||!!n;return t("button",{"aria-disabled":c,"aria-pressed":b,className:i(l.item,l[u],f&&l.hasIcon,b&&l.selected),disabled:c,onClick:()=>{let e,t;return e=a.includes(o),t=p?[o]:e?a.filter(e=>e!==o):[...a,o],void d?.(t)},type:"button",children:[n&&e(r,{...n}),m,s]},o)})})}export{s as FilterChipGroup};
@@ -1,11 +1,12 @@
1
1
  import type { SVGProps } from "react";
2
- export type Variant = "motif" | "wordmark" | "lockup";
3
- export type Color = "currentColor" | "dark" | "light";
4
- export interface LogoProps extends SVGProps<SVGSVGElement> {
2
+ type Variant = "motif" | "wordmark" | "lockup";
3
+ type Color = "currentColor" | "dark" | "light";
4
+ interface LogoProps extends SVGProps<SVGSVGElement> {
5
5
  size?: number;
6
6
  variant?: Variant;
7
7
  color?: Color;
8
8
  className?: string;
9
9
  }
10
10
  export declare const Logo: ({ size, color, variant, className, ...rest }: LogoProps) => import("react/jsx-runtime").JSX.Element;
11
+ export {};
11
12
  //# sourceMappingURL=logo.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"logo.d.ts","sourceRoot":"","sources":["../../../src/components/logo/logo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEtC,MAAM,MAAM,OAAO,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,CAAC;AACtD,MAAM,MAAM,KAAK,GAAG,cAAc,GAAG,MAAM,GAAG,OAAO,CAAC;AAEtD,MAAM,WAAW,SAAU,SAAQ,QAAQ,CAAC,aAAa,CAAC;IACzD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAaD,eAAO,MAAM,IAAI,GAAI,8CAMlB,SAAS,4CAgEX,CAAC"}
1
+ {"version":3,"file":"logo.d.ts","sourceRoot":"","sources":["../../../src/components/logo/logo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEtC,KAAK,OAAO,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,CAAC;AAC/C,KAAK,KAAK,GAAG,cAAc,GAAG,MAAM,GAAG,OAAO,CAAC;AAE/C,UAAU,SAAU,SAAQ,QAAQ,CAAC,aAAa,CAAC;IAClD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAaD,eAAO,MAAM,IAAI,GAAI,8CAMlB,SAAS,4CAgEX,CAAC"}
@@ -5,7 +5,7 @@ type MapMarkerOwnProps<T extends ElementType> = {
5
5
  alt?: string;
6
6
  className?: string;
7
7
  };
8
- export type MapMarkerProps<T extends ElementType = "img"> = MapMarkerOwnProps<T> & Omit<ComponentPropsWithoutRef<T>, keyof MapMarkerOwnProps<T>>;
8
+ type MapMarkerProps<T extends ElementType = "img"> = MapMarkerOwnProps<T> & Omit<ComponentPropsWithoutRef<T>, keyof MapMarkerOwnProps<T>>;
9
9
  export declare function MapMarker<T extends ElementType = "img">({ as, src, alt, className, ...rest }: MapMarkerProps<T>): import("react/jsx-runtime").JSX.Element;
10
10
  export {};
11
11
  //# sourceMappingURL=map-marker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"map-marker.d.ts","sourceRoot":"","sources":["../../../src/components/map-marker/map-marker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAInE,KAAK,iBAAiB,CAAC,CAAC,SAAS,WAAW,IAAI;IAC/C,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,IACvD,iBAAiB,CAAC,CAAC,CAAC,GACnB,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,MAAM,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC;AAEhE,wBAAgB,SAAS,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,EAAE,EACxD,EAAE,EACF,GAAG,EACH,GAAG,EACH,SAAS,EACT,GAAG,IAAI,EACP,EAAE,cAAc,CAAC,CAAC,CAAC,2CAoBnB"}
1
+ {"version":3,"file":"map-marker.d.ts","sourceRoot":"","sources":["../../../src/components/map-marker/map-marker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAInE,KAAK,iBAAiB,CAAC,CAAC,SAAS,WAAW,IAAI;IAC/C,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,KAAK,cAAc,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,IAAI,iBAAiB,CAAC,CAAC,CAAC,GACxE,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,MAAM,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC;AAE/D,wBAAgB,SAAS,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,EAAE,EACxD,EAAE,EACF,GAAG,EACH,GAAG,EACH,SAAS,EACT,GAAG,IAAI,EACP,EAAE,cAAc,CAAC,CAAC,CAAC,2CAoBnB"}
@@ -1,8 +1,8 @@
1
- export interface ProgressIndicatorProps {
1
+ interface ProgressIndicatorProps {
2
2
  size?: number;
3
3
  className?: string;
4
4
  color?: boolean;
5
5
  }
6
6
  export declare function ProgressIndicator({ size, className, color, }: ProgressIndicatorProps): import("react/jsx-runtime").JSX.Element;
7
- export default ProgressIndicator;
7
+ export {};
8
8
  //# sourceMappingURL=progress-indicator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"progress-indicator.d.ts","sourceRoot":"","sources":["../../../src/components/progress-indicator/progress-indicator.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,sBAAsB;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,wBAAgB,iBAAiB,CAAC,EACjC,IAAS,EACT,SAAS,EACT,KAAa,GACb,EAAE,sBAAsB,2CAqExB;AAED,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"progress-indicator.d.ts","sourceRoot":"","sources":["../../../src/components/progress-indicator/progress-indicator.tsx"],"names":[],"mappings":"AAGA,UAAU,sBAAsB;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,wBAAgB,iBAAiB,CAAC,EACjC,IAAS,EACT,SAAS,EACT,KAAa,GACb,EAAE,sBAAsB,2CAqExB"}
@@ -1 +1 @@
1
- import{jsx as s,jsxs as l}from"react/jsx-runtime";import{cn as c}from"../../util.js";import r from"./progress-indicator.styles.module.js";function a({size:a=24,className:e,color:t=!1}){return s("span",{className:c(r.root,t&&r.color,e),style:{"--pi-size":`${a}px`},children:l("svg",{"aria-hidden":"true",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[s("path",{className:r.bar,d:"M13.25 2.94432v4.4444c0 .33152-.1317.64946-.3661.88388-.2345.23442-.5524.36611-.8839.36611s-.6495-.13169-.8839-.36611c-.2344-.23442-.3661-.55236-.3661-.88388v-4.4444c0-.33151.1317-.64945.3661-.88387.2344-.23442.5524-.36611.8839-.36611s.6494.13169.8839.36611c.2344.23442.3661.55236.3661.88387Z",fill:"currentColor",style:{"--pi-delay":"0s"}}),s("path",{className:r.bar,d:"m19.287 6.48054-3.1427 3.14267c-.2344.23442-.5524.36611-.8839.36611s-.6494-.13169-.8839-.36611c-.2344-.23442-.3661-.55236-.3661-.88388 0-.33151.1317-.64945.3661-.88387l3.1427-3.14267c.2344-.23441.5524-.36611.8839-.36611s.6494.1317.8839.36611c.2344.23442.3661.55236.3661.88388 0 .33151-.1317.64945-.3661.88387Z",fill:"currentColor",opacity:".15",style:{"--pi-delay":`${1/8}s`}}),s("path",{className:r.bar,d:"M21.0552 13.2498h-4.4444c-.3315 0-.6495-.1317-.8839-.3661-.2344-.2344-.3661-.5524-.3661-.8839s.1317-.6495.3661-.8839c.2344-.2344.5524-.3661.8839-.3661h4.4444c.3315 0 .6494.1317.8839.3661.2344.2344.3661.5524.3661.8839s-.1317.6495-.3661.8839c-.2345.2344-.5524.3661-.8839.3661Z",fill:"currentColor",opacity:".27",style:{"--pi-delay":`${2/8}s`}}),s("path",{className:r.bar,d:"m17.5193 19.2869-3.1427-3.1427c-.2344-.2344-.3661-.5523-.3661-.8839 0-.3315.1317-.6494.3661-.8838.2344-.2344.5524-.3661.8839-.3661s.6494.1317.8839.3661l3.1426 3.1426c.2344.2345.3661.5524.3661.8839s-.1317.6495-.3661.8839c-.2344.2344-.5523.3661-.8839.3661-.3315 0-.6494-.1317-.8838-.3661Z",fill:"currentColor",opacity:".39",style:{"--pi-delay":`${3/8}s`}}),s("path",{className:r.bar,d:"M10.75 21.0553v-4.4444c0-.3315.1317-.6494.3661-.8839.2345-.2344.5524-.3661.8839-.3661s.6495.1317.8839.3661c.2344.2345.3661.5524.3661.8839v4.4444c0 .3315-.1317.6495-.3661.8839-.2344.2344-.5524.3661-.8839.3661s-.6494-.1317-.8839-.3661c-.2344-.2344-.3661-.5524-.3661-.8839Z",fill:"currentColor",opacity:".51",style:{"--pi-delay":"0.5s"}}),s("path",{className:r.bar,d:"m4.71281 17.5191 3.14266-3.1427c.23442-.2344.55236-.3661.88388-.3661.33151 0 .64945.1317.88387.3661.23442.2344.36611.5524.36611.8839s-.13169.6495-.36611.8839l-3.14267 3.1426c-.23441.2345-.55235.3662-.88387.3662-.33152 0-.64946-.1317-.88387-.3662-.23442-.2344-.36612-.5523-.36612-.8838 0-.3316.1317-.6495.36612-.8839Z",fill:"currentColor",opacity:".63",style:{"--pi-delay":`${5/8}s`}}),s("path",{className:r.bar,d:"M2.94432 10.7498h4.4444c.33152 0 .64946.1317.88388.3662.23442.2344.36611.5523.36611.8838s-.13169.6495-.36611.8839c-.23442.2344-.55236.3661-.88388.3661h-4.4444c-.33151 0-.64945-.1317-.88387-.3661-.23442-.2344-.36611-.5524-.36611-.8839s.13169-.6494.36611-.8838c.23442-.2345.55236-.3662.88387-.3662Z",fill:"currentColor",opacity:".75",style:{"--pi-delay":`${6/8}s`}}),s("path",{className:r.bar,d:"m6.48048 4.71274 3.14267 3.14267c.23442.23442.36611.55236.36611.88387 0 .33152-.1317.64946-.36611.88388-.23442.23442-.55236.36611-.88388.36611-.33152 0-.64945-.13169-.88387-.36611L4.71273 6.48049c-.23442-.23441-.36611-.55235-.36611-.88387 0-.33152.13169-.64946.36611-.88388.23442-.23441.55236-.36611.88388-.36611.33151 0 .64945.1317.88387.36611Z",fill:"currentColor",opacity:".87",style:{"--pi-delay":`${7/8}s`}})]})})}let e=a;export{a as ProgressIndicator,e as default};
1
+ import{jsx as l,jsxs as s}from"react/jsx-runtime";import{cn as c}from"../../util.js";import r from"./progress-indicator.styles.module.js";function a({size:a=24,className:e,color:t=!1}){return l("span",{className:c(r.root,t&&r.color,e),style:{"--pi-size":`${a}px`},children:s("svg",{"aria-hidden":"true",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[l("path",{className:r.bar,d:"M13.25 2.94432v4.4444c0 .33152-.1317.64946-.3661.88388-.2345.23442-.5524.36611-.8839.36611s-.6495-.13169-.8839-.36611c-.2344-.23442-.3661-.55236-.3661-.88388v-4.4444c0-.33151.1317-.64945.3661-.88387.2344-.23442.5524-.36611.8839-.36611s.6494.13169.8839.36611c.2344.23442.3661.55236.3661.88387Z",fill:"currentColor",style:{"--pi-delay":"0s"}}),l("path",{className:r.bar,d:"m19.287 6.48054-3.1427 3.14267c-.2344.23442-.5524.36611-.8839.36611s-.6494-.13169-.8839-.36611c-.2344-.23442-.3661-.55236-.3661-.88388 0-.33151.1317-.64945.3661-.88387l3.1427-3.14267c.2344-.23441.5524-.36611.8839-.36611s.6494.1317.8839.36611c.2344.23442.3661.55236.3661.88388 0 .33151-.1317.64945-.3661.88387Z",fill:"currentColor",opacity:".15",style:{"--pi-delay":`${1/8}s`}}),l("path",{className:r.bar,d:"M21.0552 13.2498h-4.4444c-.3315 0-.6495-.1317-.8839-.3661-.2344-.2344-.3661-.5524-.3661-.8839s.1317-.6495.3661-.8839c.2344-.2344.5524-.3661.8839-.3661h4.4444c.3315 0 .6494.1317.8839.3661.2344.2344.3661.5524.3661.8839s-.1317.6495-.3661.8839c-.2345.2344-.5524.3661-.8839.3661Z",fill:"currentColor",opacity:".27",style:{"--pi-delay":`${2/8}s`}}),l("path",{className:r.bar,d:"m17.5193 19.2869-3.1427-3.1427c-.2344-.2344-.3661-.5523-.3661-.8839 0-.3315.1317-.6494.3661-.8838.2344-.2344.5524-.3661.8839-.3661s.6494.1317.8839.3661l3.1426 3.1426c.2344.2345.3661.5524.3661.8839s-.1317.6495-.3661.8839c-.2344.2344-.5523.3661-.8839.3661-.3315 0-.6494-.1317-.8838-.3661Z",fill:"currentColor",opacity:".39",style:{"--pi-delay":`${3/8}s`}}),l("path",{className:r.bar,d:"M10.75 21.0553v-4.4444c0-.3315.1317-.6494.3661-.8839.2345-.2344.5524-.3661.8839-.3661s.6495.1317.8839.3661c.2344.2345.3661.5524.3661.8839v4.4444c0 .3315-.1317.6495-.3661.8839-.2344.2344-.5524.3661-.8839.3661s-.6494-.1317-.8839-.3661c-.2344-.2344-.3661-.5524-.3661-.8839Z",fill:"currentColor",opacity:".51",style:{"--pi-delay":"0.5s"}}),l("path",{className:r.bar,d:"m4.71281 17.5191 3.14266-3.1427c.23442-.2344.55236-.3661.88388-.3661.33151 0 .64945.1317.88387.3661.23442.2344.36611.5524.36611.8839s-.13169.6495-.36611.8839l-3.14267 3.1426c-.23441.2345-.55235.3662-.88387.3662-.33152 0-.64946-.1317-.88387-.3662-.23442-.2344-.36612-.5523-.36612-.8838 0-.3316.1317-.6495.36612-.8839Z",fill:"currentColor",opacity:".63",style:{"--pi-delay":`${5/8}s`}}),l("path",{className:r.bar,d:"M2.94432 10.7498h4.4444c.33152 0 .64946.1317.88388.3662.23442.2344.36611.5523.36611.8838s-.13169.6495-.36611.8839c-.23442.2344-.55236.3661-.88388.3661h-4.4444c-.33151 0-.64945-.1317-.88387-.3661-.23442-.2344-.36611-.5524-.36611-.8839s.13169-.6494.36611-.8838c.23442-.2345.55236-.3662.88387-.3662Z",fill:"currentColor",opacity:".75",style:{"--pi-delay":`${6/8}s`}}),l("path",{className:r.bar,d:"m6.48048 4.71274 3.14267 3.14267c.23442.23442.36611.55236.36611.88387 0 .33152-.1317.64946-.36611.88388-.23442.23442-.55236.36611-.88388.36611-.33152 0-.64945-.13169-.88387-.36611L4.71273 6.48049c-.23442-.23441-.36611-.55235-.36611-.88387 0-.33152.13169-.64946.36611-.88388.23442-.23441.55236-.36611.88388-.36611.33151 0 .64945.1317.88387.36611Z",fill:"currentColor",opacity:".87",style:{"--pi-delay":`${7/8}s`}})]})})}export{a as ProgressIndicator};
@@ -1,5 +1,5 @@
1
1
  import type { CSSProperties } from "react";
2
- export interface SkeletonProps {
2
+ interface SkeletonProps {
3
3
  variant?: "text" | "circular" | "rectangular" | "rounded";
4
4
  palette?: "dark" | "light";
5
5
  borderRadius?: number | string;
@@ -9,4 +9,5 @@ export interface SkeletonProps {
9
9
  className?: string;
10
10
  }
11
11
  export declare function Skeleton({ variant, palette, borderRadius, width, height, style, className, }: SkeletonProps): import("react/jsx-runtime").JSX.Element;
12
+ export {};
12
13
  //# sourceMappingURL=skeleton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../../src/components/skeleton/skeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAI3C,MAAM,WAAW,aAAa;IAC7B,OAAO,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,aAAa,GAAG,SAAS,CAAC;IAC1D,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,QAAQ,CAAC,EACxB,OAAgB,EAChB,OAAgB,EAChB,YAAY,EACZ,KAAK,EACL,MAAM,EACN,KAAK,EACL,SAAS,GACT,EAAE,aAAa,2CAef"}
1
+ {"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../../src/components/skeleton/skeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAI3C,UAAU,aAAa;IACtB,OAAO,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,aAAa,GAAG,SAAS,CAAC;IAC1D,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,QAAQ,CAAC,EACxB,OAAgB,EAChB,OAAgB,EAChB,YAAY,EACZ,KAAK,EACL,MAAM,EACN,KAAK,EACL,SAAS,GACT,EAAE,aAAa,2CAef"}
@@ -1,6 +1,5 @@
1
1
  import { type TextareaHTMLAttributes } from "react";
2
- export declare const getCharCount: (value: string | undefined, maxLength: number) => string;
3
- export interface TextAreaProps {
2
+ interface TextAreaProps {
4
3
  name: string;
5
4
  label?: string;
6
5
  error?: boolean;
@@ -10,4 +9,5 @@ export interface TextAreaProps {
10
9
  inputProps?: TextareaHTMLAttributes<HTMLTextAreaElement>;
11
10
  }
12
11
  export declare function TextArea({ name, label, error, className, supportingText, resize, inputProps, }: TextAreaProps): import("react/jsx-runtime").JSX.Element;
12
+ export {};
13
13
  //# sourceMappingURL=text-area.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"text-area.d.ts","sourceRoot":"","sources":["../../../../src/components/text-fields/text-area/text-area.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,sBAAsB,EAAmB,MAAM,OAAO,CAAC;AAUrE,eAAO,MAAM,YAAY,GAAI,OAAO,MAAM,GAAG,SAAS,EAAE,WAAW,MAAM,WAGxE,CAAC;AAEF,MAAM,WAAW,aAAa;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,sBAAsB,CAAC,mBAAmB,CAAC,CAAC;CACzD;AAED,wBAAgB,QAAQ,CAAC,EACxB,IAAI,EACJ,KAAK,EACL,KAAK,EACL,SAAS,EACT,cAAc,EACd,MAAM,EACN,UAAU,GACV,EAAE,aAAa,2CA4Ef"}
1
+ {"version":3,"file":"text-area.d.ts","sourceRoot":"","sources":["../../../../src/components/text-fields/text-area/text-area.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,sBAAsB,EAAmB,MAAM,OAAO,CAAC;AAerE,UAAU,aAAa;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,sBAAsB,CAAC,mBAAmB,CAAC,CAAC;CACzD;AAED,wBAAgB,QAAQ,CAAC,EACxB,IAAI,EACJ,KAAK,EACL,KAAK,EACL,SAAS,EACT,cAAc,EACd,MAAM,EACN,UAAU,GACV,EAAE,aAAa,2CA4Ef"}
@@ -1 +1 @@
1
- import{jsx as e,jsxs as a}from"react/jsx-runtime";import{useId as t,useState as r}from"react";import{cn as s}from"../../../util.js";import l from"../../icons/assets/Info.js";import i from"../../icons/assets/Notches.js";import o from"../../icons/assets/WarningCircleFill.js";import{Typography as n}from"../../typography/typography.js";import m from"../text-fields.styles.module.js";import d from"./text-area.styles.module.js";let c=(e,a)=>{let t=e?.length??0;return`${t}/${a}`};function p({name:p,label:h,error:u,className:f,supportingText:g,resize:y,inputProps:b}){let[N,x]=r("string"==typeof b?.defaultValue?b.defaultValue:""),j=t(),v=N.length>0;return a("div",{className:s(m.root,b?.disabled&&m.disabled,y&&d.resize,u&&m.error,f),children:[a("div",{className:s(m.baseContainer,d.containerArea,!h&&d.containerAreaWithoutLabel,(v||!!b?.placeholder)&&m.filled),children:[h&&e("label",{className:m.label,htmlFor:j,children:h}),e("textarea",{...b,className:`${m.baseInput} ${d.inputArea}`,id:j,name:p,onChange:e=>{x(e.target.value),b?.onChange?.(e)},value:N}),y&&e(i,{className:d.handle,name:"Notches",size:16})]}),a("div",{className:d.supportingTextContainer,children:[g&&a(n,{as:"span",className:m.supportText,palette:"grey",variant:u?"bodySmallEmphasis":"bodySmall",children:[e("span",{children:u?e(o,{"aria-hidden":"true",size:16}):e(l,{"aria-hidden":"true",size:16})}),g]}),e(n,{as:"span",className:d.counter,palette:"grey",variant:"bodySmall",children:c(N,b?.maxLength??250)})]})]})}export{p as TextArea,c as getCharCount};
1
+ import{jsx as e,jsxs as a}from"react/jsx-runtime";import{useId as r,useState as t}from"react";import{cn as s}from"../../../util.js";import l from"../../icons/assets/Info.js";import i from"../../icons/assets/Notches.js";import o from"../../icons/assets/WarningCircleFill.js";import{Typography as n}from"../../typography/typography.js";import m from"../text-fields.styles.module.js";import d from"./text-area.styles.module.js";function c({name:c,label:p,error:h,className:u,supportingText:f,resize:g,inputProps:y}){var b;let N,[x,j]=t("string"==typeof y?.defaultValue?y.defaultValue:""),v=r(),C=x.length>0;return a("div",{className:s(m.root,y?.disabled&&m.disabled,g&&d.resize,h&&m.error,u),children:[a("div",{className:s(m.baseContainer,d.containerArea,!p&&d.containerAreaWithoutLabel,(C||!!y?.placeholder)&&m.filled),children:[p&&e("label",{className:m.label,htmlFor:v,children:p}),e("textarea",{...y,className:`${m.baseInput} ${d.inputArea}`,id:v,name:c,onChange:e=>{j(e.target.value),y?.onChange?.(e)},value:x}),g&&e(i,{className:d.handle,name:"Notches",size:16})]}),a("div",{className:d.supportingTextContainer,children:[f&&a(n,{as:"span",className:m.supportText,palette:"grey",variant:h?"bodySmallEmphasis":"bodySmall",children:[e("span",{children:h?e(o,{"aria-hidden":"true",size:16}):e(l,{"aria-hidden":"true",size:16})}),f]}),e(n,{as:"span",className:d.counter,palette:"grey",variant:"bodySmall",children:(b=y?.maxLength??250,N=x?.length??0,`${N}/${b}`)})]})]})}export{c as TextArea};
@@ -4,12 +4,12 @@ import { type TextFieldPasswordProps } from "../text-field-password/text-field-p
4
4
  type BaseField = {
5
5
  variant?: "text" | "password";
6
6
  };
7
- export type TextFieldGroupItem = (BaseField & {
7
+ type TextFieldGroupItem = (BaseField & {
8
8
  variant?: "text";
9
9
  } & TextFieldProps) | (BaseField & {
10
10
  variant: "password";
11
11
  } & TextFieldPasswordProps);
12
- export type TextFieldGroupProps = {
12
+ type TextFieldGroupProps = {
13
13
  style?: CSSProperties;
14
14
  supportingText?: string;
15
15
  error?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"text-field-group.d.ts","sourceRoot":"","sources":["../../../../src/components/text-fields/text-field-group/text-field-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAI3C,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1E,OAAO,EAEN,KAAK,sBAAsB,EAC3B,MAAM,4CAA4C,CAAC;AAGpD,KAAK,SAAS,GAAG;IAChB,OAAO,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAC3B,CAAC,SAAS,GAAG;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,cAAc,CAAC,GACnD,CAAC,SAAS,GAAG;IAAE,OAAO,EAAE,UAAU,CAAA;CAAE,GAAG,sBAAsB,CAAC,CAAC;AAElE,MAAM,MAAM,mBAAmB,GAAG;IACjC,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,kBAAkB,EAAE,CAAC;CAC7B,CAAC;AAEF,wBAAgB,cAAc,CAAC,EAC9B,KAAK,EACL,cAAc,EACd,KAAK,EACL,MAAM,GACN,EAAE,mBAAmB,2CAoCrB"}
1
+ {"version":3,"file":"text-field-group.d.ts","sourceRoot":"","sources":["../../../../src/components/text-fields/text-field-group/text-field-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAI3C,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1E,OAAO,EAEN,KAAK,sBAAsB,EAC3B,MAAM,4CAA4C,CAAC;AAGpD,KAAK,SAAS,GAAG;IAChB,OAAO,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC;CAC9B,CAAC;AAEF,KAAK,kBAAkB,GACpB,CAAC,SAAS,GAAG;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,cAAc,CAAC,GACnD,CAAC,SAAS,GAAG;IAAE,OAAO,EAAE,UAAU,CAAA;CAAE,GAAG,sBAAsB,CAAC,CAAC;AAElE,KAAK,mBAAmB,GAAG;IAC1B,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,kBAAkB,EAAE,CAAC;CAC7B,CAAC;AAEF,wBAAgB,cAAc,CAAC,EAC9B,KAAK,EACL,cAAc,EACd,KAAK,EACL,MAAM,GACN,EAAE,mBAAmB,2CAoCrB"}
@@ -1 +1 @@
1
- import{jsx as r,jsxs as e}from"react/jsx-runtime";import t from"../../icons/assets/Info.js";import s from"../../icons/assets/WarningCircleFill.js";import{Typography as i}from"../../typography/typography.js";import{TextField as o}from"../text-field/text-field.js";import{TextFieldPassword as a}from"../text-field-password/text-field-password.js";import m from"./text-field-group.styles.module.js";function p({style:p,supportingText:d,error:l,fields:n}){return e("div",{style:p,children:[n.map((e,t)=>"password"===e.variant?r(a,{...e},`${e.name}-${t}`):r(o,{...e},`${e.name}-${t}`)),d&&e(i,{as:"span",className:`${m.supportText} ${l?m.error:""}`,variant:l?"bodySmallEmphasis":"bodySmall",children:[r("span",{children:l?r(s,{"aria-hidden":"true",size:16}):r(t,{"aria-hidden":"true",size:16})}),d]})]})}export{p as TextFieldGroup};
1
+ import{jsx as r,jsxs as e}from"react/jsx-runtime";import t from"../../icons/assets/Info.js";import s from"../../icons/assets/WarningCircleFill.js";import{Typography as i}from"../../typography/typography.js";import{TextField as o}from"../text-field/text-field.js";import{TextFieldPassword as a}from"../text-field-password/text-field-password.js";import p from"./text-field-group.styles.module.js";function m({style:m,supportingText:d,error:l,fields:n}){return e("div",{style:m,children:[n.map(e=>"password"===e.variant?r(a,{...e},`${e.name}-password`):r(o,{...e},`${e.name}-text`)),d&&e(i,{as:"span",className:`${p.supportText} ${l?p.error:""}`,variant:l?"bodySmallEmphasis":"bodySmall",children:[r("span",{children:l?r(s,{"aria-hidden":"true",size:16}):r(t,{"aria-hidden":"true",size:16})}),d]})]})}export{m as TextFieldGroup};
@@ -1 +1 @@
1
- import{jsx as a,jsxs as r}from"react/jsx-runtime";import{cn as e}from"../../../util.js";import{Typography as s}from"../../typography/typography.js";import t from"./password-check.styles.module.js";function o({supportingText:o,style:i,status:c="default"}){return r(s,{as:"span",className:e(i,t.root),"data-status":c,variant:"bodySmall",children:[a("span",{children:r("svg",{"aria-hidden":"true",className:t.svg,height:"16",viewBox:"0 0 24 24",width:"16",children:[a("circle",{className:t.background,cx:"12",cy:"12",r:"11"}),a("path",{className:t.ring,d:"M12 2 a10 10 0 1 1 0 20 a10 10 0 1 1 0 -20",pathLength:"100"}),a("path",{className:t.check,d:"M17.1 8.7L10.8 16.2L7 12.3",fill:"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"})]})}),o]})}export{o as PasswordCheck};
1
+ import{jsx as a,jsxs as r}from"react/jsx-runtime";import{cn as e}from"../../../util.js";import{Typography as s}from"../../typography/typography.js";import t from"./password-check.styles.module.js";function o({supportingText:o,style:i,status:c="default"}){return r(s,{as:"span",className:e(i,t.root),"data-status":c,variant:"bodySmall",children:[a("span",{children:r("svg",{"aria-hidden":"true",className:t.svg,height:"16",viewBox:"0 0 24 24",width:"16",children:[a("circle",{className:t.background,cx:"12",cy:"12",r:"11"}),a("path",{className:t.ring,d:"M12 2 a10 10 0 1 1 0 20 a10 10 0 1 1 0 -20",pathLength:"100"}),a("path",{className:t.check,d:"M17.1 8.7L10.8 16.2L7 12.3",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})]})}),o]})}export{o as PasswordCheck};
@@ -1,5 +1,5 @@
1
1
  import type { InputHTMLAttributes } from "react";
2
- export interface TextFieldProfileProps {
2
+ interface TextFieldProfileProps {
3
3
  name: string;
4
4
  error?: boolean;
5
5
  className?: string;
@@ -9,4 +9,5 @@ export interface TextFieldProfileProps {
9
9
  inputProps?: InputHTMLAttributes<HTMLInputElement>;
10
10
  }
11
11
  export declare function TextFieldProfile({ name, error, className, supportingText, status, prefix, inputProps, }: TextFieldProfileProps): import("react/jsx-runtime").JSX.Element;
12
+ export {};
12
13
  //# sourceMappingURL=text-field-profile.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"text-field-profile.d.ts","sourceRoot":"","sources":["../../../../src/components/text-fields/text-field-profile/text-field-profile.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAWjD,MAAM,WAAW,qBAAqB;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,IAAI,CAAC;IACpC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;CACnD;AAED,wBAAgB,gBAAgB,CAAC,EAChC,IAAI,EACJ,KAAK,EACL,SAAS,EACT,cAAc,EACd,MAAM,EACN,MAAqB,EACrB,UAAU,GACV,EAAE,qBAAqB,2CAqEvB"}
1
+ {"version":3,"file":"text-field-profile.d.ts","sourceRoot":"","sources":["../../../../src/components/text-fields/text-field-profile/text-field-profile.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAWjD,UAAU,qBAAqB;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,IAAI,CAAC;IACpC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;CACnD;AAED,wBAAgB,gBAAgB,CAAC,EAChC,IAAI,EACJ,KAAK,EACL,SAAS,EACT,cAAc,EACd,MAAM,EACN,MAAqB,EACrB,UAAU,GACV,EAAE,qBAAqB,2CAqEvB"}
@@ -1 +1 @@
1
- import{jsx as e,jsxs as i}from"react/jsx-runtime";import{useId as a,useState as r}from"react";import{cn as s}from"../../../util.js";import t from"../../icons/assets/CheckCircleFill.js";import o from"../../icons/assets/Info.js";import l from"../../icons/assets/WarningCircleFill.js";import n from"../../progress-indicator/progress-indicator.js";import{Typography as d}from"../../typography/typography.js";import m from"../text-fields.styles.module.js";import c from"./text-field-profile.styles.module.js";function p({name:p,error:u,className:f,supportingText:h,status:g,prefix:y="sate.menu/",inputProps:j}){let[N,x]=r("string"==typeof j?.defaultValue?j.defaultValue:""),b=a();return i("div",{className:s(m.root,j?.disabled&&m.disabled,u&&m.error,f),children:[i("div",{className:s(m.baseContainer,c.container),children:[e("span",{className:c.prefix,children:y}),e("input",{...j,className:s(m.baseInput,c.input),id:b,name:p,onChange:e=>{x(e.target.value),j?.onChange?.(e)},value:N}),i("div",{className:c.tailingIcon,"data-status":g??"idle",children:[e("span",{"aria-hidden":"true",className:c.iconValid,children:e(t,{size:18})}),e("span",{"aria-hidden":"true",className:c.iconLoading,children:e(n,{color:!0,size:18})})]})]}),h&&i(d,{as:"span",className:m.supportText,palette:"grey",variant:u?"bodySmallEmphasis":"bodySmall",children:[e("span",{children:u?e(l,{"aria-hidden":"true",size:16}):e(o,{"aria-hidden":"true",size:16})}),h]})]})}export{p as TextFieldProfile};
1
+ import{jsx as e,jsxs as i}from"react/jsx-runtime";import{useId as a,useState as r}from"react";import{cn as s}from"../../../util.js";import t from"../../icons/assets/CheckCircleFill.js";import o from"../../icons/assets/Info.js";import l from"../../icons/assets/WarningCircleFill.js";import{ProgressIndicator as n}from"../../progress-indicator/progress-indicator.js";import{Typography as d}from"../../typography/typography.js";import m from"../text-fields.styles.module.js";import c from"./text-field-profile.styles.module.js";function p({name:p,error:u,className:f,supportingText:h,status:g,prefix:y="sate.menu/",inputProps:j}){let[N,x]=r("string"==typeof j?.defaultValue?j.defaultValue:""),b=a();return i("div",{className:s(m.root,j?.disabled&&m.disabled,u&&m.error,f),children:[i("div",{className:s(m.baseContainer,c.container),children:[e("span",{className:c.prefix,children:y}),e("input",{...j,className:s(m.baseInput,c.input),id:b,name:p,onChange:e=>{x(e.target.value),j?.onChange?.(e)},value:N}),i("div",{className:c.tailingIcon,"data-status":g??"idle",children:[e("span",{"aria-hidden":"true",className:c.iconValid,children:e(t,{size:18})}),e("span",{"aria-hidden":"true",className:c.iconLoading,children:e(n,{color:!0,size:18})})]})]}),h&&i(d,{as:"span",className:m.supportText,palette:"grey",variant:u?"bodySmallEmphasis":"bodySmall",children:[e("span",{children:u?e(l,{"aria-hidden":"true",size:16}):e(o,{"aria-hidden":"true",size:16})}),h]})]})}export{p as TextFieldProfile};
@@ -1,6 +1,6 @@
1
1
  import type { HTMLAttributes, ReactNode } from "react";
2
- export type Variant = "displayLarge" | "displayMedium" | "displaySmall" | "titleScreen" | "titleSection" | "titleSubsection" | "titleBody" | "titleGroup" | "bodyXLargeEmphasis" | "bodyXLarge" | "bodyLargeEmphasis" | "bodyLarge" | "bodyDefaultEmphasis" | "bodyDefault" | "bodySmallEmphasis" | "bodySmall" | "linkLarge" | "linkDefault" | "linkSmall";
3
- export interface TypographyProps extends HTMLAttributes<HTMLParagraphElement> {
2
+ type Variant = "displayLarge" | "displayMedium" | "displaySmall" | "titleScreen" | "titleSection" | "titleSubsection" | "titleBody" | "titleGroup" | "bodyXLargeEmphasis" | "bodyXLarge" | "bodyLargeEmphasis" | "bodyLarge" | "bodyDefaultEmphasis" | "bodyDefault" | "bodySmallEmphasis" | "bodySmall" | "linkLarge" | "linkDefault" | "linkSmall";
3
+ interface TypographyProps extends HTMLAttributes<HTMLParagraphElement> {
4
4
  className?: string;
5
5
  children?: ReactNode;
6
6
  as?: "p" | "span" | "h1" | "h2" | "h3" | "h4";
@@ -8,4 +8,5 @@ export interface TypographyProps extends HTMLAttributes<HTMLParagraphElement> {
8
8
  palette?: "dark" | "light" | "grey";
9
9
  }
10
10
  export declare const Typography: ({ as: Tag, variant, className, palette, children, ...rest }: TypographyProps) => import("react/jsx-runtime").JSX.Element;
11
+ export {};
11
12
  //# sourceMappingURL=typography.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../src/components/typography/typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvD,MAAM,MAAM,OAAO,GAChB,cAAc,GACd,eAAe,GACf,cAAc,GACd,aAAa,GACb,cAAc,GACd,iBAAiB,GACjB,WAAW,GACX,YAAY,GACZ,oBAAoB,GACpB,YAAY,GACZ,mBAAmB,GACnB,WAAW,GACX,qBAAqB,GACrB,aAAa,GACb,mBAAmB,GACnB,WAAW,GACX,WAAW,GACX,aAAa,GACb,WAAW,CAAC;AAEf,MAAM,WAAW,eAAgB,SAAQ,cAAc,CAAC,oBAAoB,CAAC;IAC5E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,EAAE,CAAC,EAAE,GAAG,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;CACpC;AAED,eAAO,MAAM,UAAU,GAAI,6DAOxB,eAAe,4CAajB,CAAC"}
1
+ {"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../src/components/typography/typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvD,KAAK,OAAO,GACT,cAAc,GACd,eAAe,GACf,cAAc,GACd,aAAa,GACb,cAAc,GACd,iBAAiB,GACjB,WAAW,GACX,YAAY,GACZ,oBAAoB,GACpB,YAAY,GACZ,mBAAmB,GACnB,WAAW,GACX,qBAAqB,GACrB,aAAa,GACb,mBAAmB,GACnB,WAAW,GACX,WAAW,GACX,aAAa,GACb,WAAW,CAAC;AAEf,UAAU,eAAgB,SAAQ,cAAc,CAAC,oBAAoB,CAAC;IACrE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,EAAE,CAAC,EAAE,GAAG,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;CACpC;AAED,eAAO,MAAM,UAAU,GAAI,6DAOxB,eAAe,4CAajB,CAAC"}
package/lib/index.d.ts CHANGED
@@ -7,6 +7,7 @@ export { Drawer, DrawerGallery, DrawerMenu } from "./components/drawer/index";
7
7
  export { FilterChipGroup } from "./components/filter-chip/filter-chip";
8
8
  export { Logo } from "./components/logo/logo";
9
9
  export { MapMarker } from "./components/map-marker/map-marker";
10
+ export type { MenuItemProps } from "./components/menu-item/menu-item";
10
11
  export { MenuItem } from "./components/menu-item/menu-item";
11
12
  export { Notification } from "./components/notification/notification";
12
13
  export { ProgressIndicator } from "./components/progress-indicator/progress-indicator";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["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export declare function cn(...classes: ClassValue[]): string;
3
+ export {};
3
4
  //# sourceMappingURL=util.d.ts.map
package/lib/util.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../src/util.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC;AAE3D,wBAAgB,EAAE,CAAC,GAAG,OAAO,EAAE,UAAU,EAAE,UAE1C"}
1
+ {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../src/util.ts"],"names":[],"mappings":"AAAA,KAAK,UAAU,GAAG,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC;AAEpD,wBAAgB,EAAE,CAAC,GAAG,OAAO,EAAE,UAAU,EAAE,UAE1C"}
package/package.json CHANGED
@@ -1,188 +1,190 @@
1
1
  {
2
- "name": "sate-lib",
3
- "version": "2.8.0",
4
- "type": "module",
5
- "private": false,
6
- "keywords": [
7
- "react",
8
- "component-library",
9
- "design-system",
10
- "storybook",
11
- "rsbuild",
12
- "rslib",
13
- "biome",
14
- "typescript",
15
- "ui-library",
16
- "react-components",
17
- "frontend"
18
- ],
19
- "exports": {
20
- ".": {
21
- "import": "./lib/index.js",
22
- "types": "./lib/index.d.ts"
23
- },
24
- "./skeleton": {
25
- "import": "./lib/components/skeleton/skeleton.js",
26
- "types": "./lib/components/skeleton/skeleton.d.ts"
27
- },
28
- "./button": {
29
- "import": "./lib/components/button/button.js",
30
- "types": "./lib/components/button/button.d.ts"
31
- },
32
- "./buttonIcon": {
33
- "import": "./lib/components/button/button-icon.js",
34
- "types": "./lib/components/button/button-icon.d.ts"
35
- },
36
- "./buttonLink": {
37
- "import": "./lib/components/button/button-link.js",
38
- "types": "./lib/components/button/button-link.d.ts"
39
- },
40
- "./drawer": {
41
- "import": "./lib/components/drawer/index.js",
42
- "types": "./lib/components/drawer/index.d.ts"
43
- },
44
- "./drawerGallery": {
45
- "import": "./lib/components/drawer/drawerGallery.js",
46
- "types": "./lib/components/drawer/drawerGallery.d.ts"
47
- },
48
- "./drawerMenu": {
49
- "import": "./lib/components/drawer/drawerMenu.js",
50
- "types": "./lib/components/drawer/drawerMenu.d.ts"
51
- },
52
- "./badge": {
53
- "import": "./lib/components/badge/badge.js",
54
- "types": "./lib/components/badge/badge.d.ts"
55
- },
56
- "./typography": {
57
- "import": "./lib/components/typography/typography.js",
58
- "types": "./lib/components/typography/typography.d.ts"
59
- },
60
- "./icons/*": {
61
- "import": "./lib/components/icons/assets/*.js",
62
- "types": "./lib/components/icons/assets/*.d.ts"
63
- },
64
- "./tabs": {
65
- "import": "./lib/components/tabs/tabs.js",
66
- "types": "./lib/components/tabs/tabs.d.ts"
67
- },
68
- "./segmented-control": {
69
- "import": "./lib/components/segmented-control/segmented-control.js",
70
- "types": "./lib/components/segmented-control/segmented-control.d.ts"
71
- },
72
- "./progress-indicator": {
73
- "import": "./lib/components/progress-indicator/progress-indicator.js",
74
- "types": "./lib/components/progress-indicator/progress-indicator.d.ts"
75
- },
76
- "./filter-chip": {
77
- "import": "./lib/components/filter-chip/filter-chip.js",
78
- "types": "./lib/components/filter-chip/filter-chip.d.ts"
79
- },
80
- "./notification": {
81
- "import": "./lib/components/notification/notification.js",
82
- "types": "./lib/components/notification/notification.d.ts"
83
- },
84
- "./menu-item": {
85
- "import": "./lib/components/menu-item/menu-item.js",
86
- "types": "./lib/components/menu-item/menu-item.d.ts"
87
- },
88
- "./avatar": {
89
- "import": "./lib/components/avatar/avatar.js",
90
- "types": "./lib/components/avatar/avatar.d.ts"
91
- },
92
- "./search-input": {
93
- "import": "./lib/components/search-input/search-input.js",
94
- "types": "./lib/components/search-input/search-input.d.ts"
95
- },
96
- "./text-area": {
97
- "import": "./lib/components/text-fields/text-area/text-area.js",
98
- "types": "./lib/components/text-fields/text-area/text-area.d.ts"
99
- },
100
- "./text-field": {
101
- "import": "./lib/components/text-fields/text-field/text-field.js",
102
- "types": "./lib/components/text-fields/text-field/text-field.d.ts"
103
- },
104
- "./text-field-password": {
105
- "import": "./lib/components/text-fields/text-field-password/text-field-password.js",
106
- "types": "./lib/components/text-fields/text-field-password/text-field-password.d.ts"
107
- },
108
- "./text-field-profile": {
109
- "import": "./lib/components/text-fields/text-field-profile/text-field-profile.js",
110
- "types": "./lib/components/text-fields/text-field-profile/text-field-profile.d.ts"
111
- },
112
- "./logo": {
113
- "import": "./lib/components/logo/logo.js",
114
- "types": "./lib/components/logo/logo.d.ts"
115
- },
116
- "./map-marker": {
117
- "import": "./lib/components/map-marker/map-marker.js",
118
- "types": "./lib/components/map-marker/map-marker.d.ts"
119
- },
120
- "./tokens.css": "./lib/assets/styles/tokens.css",
121
- "./reset.css": "./lib/assets/styles/reset.css",
122
- "./typography.css": "./lib/assets/styles/typography.css"
123
- },
124
- "types": "./lib/index.d.ts",
125
- "files": [
126
- "lib"
127
- ],
128
- "scripts": {
129
- "build": "rslib build",
130
- "build:full": "pnpm optimize:fonts && pnpm build",
131
- "build:storybook": "storybook build",
132
- "build:icons": "node --env-file=.env.local ./src/scripts/download-figma-icons.js && node ./src/scripts/optimize-svgs.js && node ./src/scripts/generate-icon-component.js && pnpm format",
133
- "optimize:fonts": "node ./src/scripts/subset-fonts.js",
134
- "storybook": "storybook dev",
135
- "test": "rstest --coverage",
136
- "lint": "biome check",
137
- "format": "biome format --write",
138
- "release": "HUSKY=0 semantic-release",
139
- "prepare": "husky",
140
- "chromatic": "chromatic --exit-zero-on-changes",
141
- "dev:rsdoctor": "RSDOCTOR=true rsbuild dev",
142
- "build:rsdoctor": "RSDOCTOR=true rsbuild build"
143
- },
144
- "devDependencies": {
145
- "@biomejs/biome": "2.3.15",
146
- "@chromatic-com/storybook": "^5.0.1",
147
- "@commitlint/cli": "20.4.1",
148
- "@commitlint/config-conventional": "20.4.1",
149
- "@rsbuild/core": "1.7.3",
150
- "@rsbuild/plugin-react": "1.4.5",
151
- "@rsbuild/plugin-svgr": "1.3.0",
152
- "@rsdoctor/rspack-plugin": "^1.5.2",
153
- "@rslib/core": "0.19.5",
154
- "@rstest/core": "^0.8.4",
155
- "@rstest/coverage-istanbul": "^0.2.1",
156
- "@semantic-release/changelog": "6.0.3",
157
- "@semantic-release/git": "10.0.1",
158
- "@semantic-release/npm": "13.1.4",
159
- "@storybook/addon-a11y": "10.2.8",
160
- "@storybook/addon-designs": "11.1.2",
161
- "@storybook/addon-docs": "10.2.8",
162
- "@storybook/addon-links": "10.2.8",
163
- "@testing-library/dom": "^10.4.1",
164
- "@testing-library/react": "^16.3.2",
165
- "@types/node": "25.2.3",
166
- "@types/react": "19.2.14",
167
- "@types/react-dom": "19.2.3",
168
- "chromatic": "^15.1.0",
169
- "husky": "9.1.7",
170
- "jsdom": "^28.0.0",
171
- "react": "19.2.4",
172
- "semantic-release": "25.0.3",
173
- "storybook": "10.2.8",
174
- "storybook-addon-rslib": "3.2.2",
175
- "storybook-react-rsbuild": "3.2.2",
176
- "subset-font": "2.4.0",
177
- "svgo": "4.0.0",
178
- "typescript": "5.9.3"
179
- },
180
- "peerDependencies": {
181
- "react": ">=19.2.4",
182
- "react-dom": ">=19.2.4"
183
- },
184
- "dependencies": {
185
- "@radix-ui/react-portal": "1.1.10",
186
- "react-remove-scroll": "2.7.2"
187
- }
2
+ "name": "sate-lib",
3
+ "version": "2.9.0",
4
+ "type": "module",
5
+ "private": false,
6
+ "keywords": [
7
+ "react",
8
+ "component-library",
9
+ "design-system",
10
+ "storybook",
11
+ "rsbuild",
12
+ "rslib",
13
+ "biome",
14
+ "typescript",
15
+ "ui-library",
16
+ "react-components",
17
+ "frontend"
18
+ ],
19
+ "exports": {
20
+ ".": {
21
+ "import": "./lib/index.js",
22
+ "types": "./lib/index.d.ts"
23
+ },
24
+ "./skeleton": {
25
+ "import": "./lib/components/skeleton/skeleton.js",
26
+ "types": "./lib/components/skeleton/skeleton.d.ts"
27
+ },
28
+ "./button": {
29
+ "import": "./lib/components/button/button.js",
30
+ "types": "./lib/components/button/button.d.ts"
31
+ },
32
+ "./buttonIcon": {
33
+ "import": "./lib/components/button/button-icon.js",
34
+ "types": "./lib/components/button/button-icon.d.ts"
35
+ },
36
+ "./buttonLink": {
37
+ "import": "./lib/components/button/button-link.js",
38
+ "types": "./lib/components/button/button-link.d.ts"
39
+ },
40
+ "./drawer": {
41
+ "import": "./lib/components/drawer/index.js",
42
+ "types": "./lib/components/drawer/index.d.ts"
43
+ },
44
+ "./drawerGallery": {
45
+ "import": "./lib/components/drawer/drawerGallery.js",
46
+ "types": "./lib/components/drawer/drawerGallery.d.ts"
47
+ },
48
+ "./drawerMenu": {
49
+ "import": "./lib/components/drawer/drawerMenu.js",
50
+ "types": "./lib/components/drawer/drawerMenu.d.ts"
51
+ },
52
+ "./badge": {
53
+ "import": "./lib/components/badge/badge.js",
54
+ "types": "./lib/components/badge/badge.d.ts"
55
+ },
56
+ "./typography": {
57
+ "import": "./lib/components/typography/typography.js",
58
+ "types": "./lib/components/typography/typography.d.ts"
59
+ },
60
+ "./icons/*": {
61
+ "import": "./lib/components/icons/assets/*.js",
62
+ "types": "./lib/components/icons/assets/*.d.ts"
63
+ },
64
+ "./tabs": {
65
+ "import": "./lib/components/tabs/tabs.js",
66
+ "types": "./lib/components/tabs/tabs.d.ts"
67
+ },
68
+ "./segmented-control": {
69
+ "import": "./lib/components/segmented-control/segmented-control.js",
70
+ "types": "./lib/components/segmented-control/segmented-control.d.ts"
71
+ },
72
+ "./progress-indicator": {
73
+ "import": "./lib/components/progress-indicator/progress-indicator.js",
74
+ "types": "./lib/components/progress-indicator/progress-indicator.d.ts"
75
+ },
76
+ "./filter-chip": {
77
+ "import": "./lib/components/filter-chip/filter-chip.js",
78
+ "types": "./lib/components/filter-chip/filter-chip.d.ts"
79
+ },
80
+ "./notification": {
81
+ "import": "./lib/components/notification/notification.js",
82
+ "types": "./lib/components/notification/notification.d.ts"
83
+ },
84
+ "./menu-item": {
85
+ "import": "./lib/components/menu-item/menu-item.js",
86
+ "types": "./lib/components/menu-item/menu-item.d.ts"
87
+ },
88
+ "./avatar": {
89
+ "import": "./lib/components/avatar/avatar.js",
90
+ "types": "./lib/components/avatar/avatar.d.ts"
91
+ },
92
+ "./search-input": {
93
+ "import": "./lib/components/search-input/search-input.js",
94
+ "types": "./lib/components/search-input/search-input.d.ts"
95
+ },
96
+ "./text-area": {
97
+ "import": "./lib/components/text-fields/text-area/text-area.js",
98
+ "types": "./lib/components/text-fields/text-area/text-area.d.ts"
99
+ },
100
+ "./text-field": {
101
+ "import": "./lib/components/text-fields/text-field/text-field.js",
102
+ "types": "./lib/components/text-fields/text-field/text-field.d.ts"
103
+ },
104
+ "./text-field-password": {
105
+ "import": "./lib/components/text-fields/text-field-password/text-field-password.js",
106
+ "types": "./lib/components/text-fields/text-field-password/text-field-password.d.ts"
107
+ },
108
+ "./text-field-profile": {
109
+ "import": "./lib/components/text-fields/text-field-profile/text-field-profile.js",
110
+ "types": "./lib/components/text-fields/text-field-profile/text-field-profile.d.ts"
111
+ },
112
+ "./logo": {
113
+ "import": "./lib/components/logo/logo.js",
114
+ "types": "./lib/components/logo/logo.d.ts"
115
+ },
116
+ "./map-marker": {
117
+ "import": "./lib/components/map-marker/map-marker.js",
118
+ "types": "./lib/components/map-marker/map-marker.d.ts"
119
+ },
120
+ "./tokens.css": "./lib/assets/styles/tokens.css",
121
+ "./reset.css": "./lib/assets/styles/reset.css",
122
+ "./typography.css": "./lib/assets/styles/typography.css"
123
+ },
124
+ "types": "./lib/index.d.ts",
125
+ "files": [
126
+ "lib"
127
+ ],
128
+ "scripts": {
129
+ "build": "rslib build",
130
+ "build:full": "pnpm optimize:fonts && pnpm build",
131
+ "build:storybook": "storybook build",
132
+ "build:icons": "node --env-file=.env.local ./src/scripts/download-figma-icons.js && node ./src/scripts/optimize-svgs.js && node ./src/scripts/generate-icon-component.js && pnpm format",
133
+ "optimize:fonts": "node ./src/scripts/subset-fonts.js",
134
+ "storybook": "storybook dev",
135
+ "test": "rstest --coverage",
136
+ "lint:check": "biome check",
137
+ "lint:fix": "biome check --write",
138
+ "doctor": "react-doctor . --verbose",
139
+ "release": "HUSKY=0 semantic-release",
140
+ "prepare": "husky",
141
+ "chromatic": "chromatic --exit-zero-on-changes",
142
+ "dev:rsdoctor": "RSDOCTOR=true rsbuild dev",
143
+ "build:rsdoctor": "RSDOCTOR=true rsbuild build"
144
+ },
145
+ "devDependencies": {
146
+ "@biomejs/biome": "2.4.2",
147
+ "@chromatic-com/storybook": "^5.0.1",
148
+ "@commitlint/cli": "20.4.1",
149
+ "@commitlint/config-conventional": "20.4.1",
150
+ "@rsbuild/core": "1.7.3",
151
+ "@rsbuild/plugin-react": "1.4.5",
152
+ "@rsbuild/plugin-svgr": "1.3.0",
153
+ "@rsdoctor/rspack-plugin": "^1.5.2",
154
+ "@rslib/core": "0.19.5",
155
+ "@rstest/core": "^0.8.4",
156
+ "@rstest/coverage-istanbul": "^0.2.1",
157
+ "@semantic-release/changelog": "6.0.3",
158
+ "@semantic-release/git": "10.0.1",
159
+ "@semantic-release/npm": "13.1.4",
160
+ "@storybook/addon-a11y": "10.2.8",
161
+ "@storybook/addon-designs": "11.1.2",
162
+ "@storybook/addon-docs": "10.2.8",
163
+ "@storybook/addon-links": "10.2.8",
164
+ "@testing-library/dom": "^10.4.1",
165
+ "@testing-library/react": "^16.3.2",
166
+ "@types/node": "25.2.3",
167
+ "@types/react": "19.2.14",
168
+ "@types/react-dom": "19.2.3",
169
+ "chromatic": "^15.1.0",
170
+ "husky": "9.1.7",
171
+ "jsdom": "^28.0.0",
172
+ "react": "19.2.4",
173
+ "react-doctor": "^0.0.28",
174
+ "semantic-release": "25.0.3",
175
+ "storybook": "10.2.8",
176
+ "storybook-addon-rslib": "3.2.2",
177
+ "storybook-react-rsbuild": "3.2.2",
178
+ "subset-font": "2.4.0",
179
+ "svgo": "4.0.0",
180
+ "typescript": "5.9.3"
181
+ },
182
+ "peerDependencies": {
183
+ "react": ">=19.2.4",
184
+ "react-dom": ">=19.2.4"
185
+ },
186
+ "dependencies": {
187
+ "@radix-ui/react-portal": "1.1.10",
188
+ "react-remove-scroll": "2.7.2"
189
+ }
188
190
  }