sate-lib 1.35.0 → 1.37.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.
- package/lib/assets/fonts/golos-ui-medium.woff2 +0 -0
- package/lib/assets/fonts/golos-ui-regular.woff2 +0 -0
- package/lib/assets/icons/ArrowsOutSimple.js +1 -0
- package/lib/assets/icons/DotsNine.js +1 -0
- package/lib/assets/icons/SquaresFour.js +1 -0
- package/lib/components/avatar/avatar.d.ts.map +1 -1
- package/lib/components/badge/badge.d.ts +1 -1
- package/lib/components/badge/badge.d.ts.map +1 -1
- package/lib/components/button/button.d.ts +1 -1
- package/lib/components/button/button.d.ts.map +1 -1
- package/lib/components/button/button.js +1 -1
- package/lib/components/button/noise.d.ts +2 -0
- package/lib/components/button/noise.d.ts.map +1 -1
- package/lib/components/filter-chip/filter-chip.d.ts +2 -2
- package/lib/components/filter-chip/filter-chip.d.ts.map +1 -1
- package/lib/components/filter-chip/filter-chip.js +1 -1
- package/lib/components/icon/icon.d.ts +4 -1
- package/lib/components/icon/icon.d.ts.map +1 -1
- package/lib/components/icon/icon.js +1 -1
- package/lib/components/logo/logo.d.ts +3 -1
- package/lib/components/logo/logo.d.ts.map +1 -1
- package/lib/components/map-marker/map-marker.d.ts.map +1 -1
- package/lib/components/menu-item/menu-item.d.ts +1 -1
- package/lib/components/menu-item/menu-item.d.ts.map +1 -1
- package/lib/components/menu-item/menu-item.js +1 -1
- package/lib/components/notification/notification.d.ts.map +1 -1
- package/lib/components/progress-indicator/progress-indicator.d.ts.map +1 -1
- package/lib/components/search-input/search-input.d.ts +2 -1
- package/lib/components/search-input/search-input.d.ts.map +1 -1
- package/lib/components/search-input/search-input.js +1 -1
- package/lib/components/search-input/search-input.styles.module.js +1 -1
- package/lib/components/search-input/search-input.styles_module.css +1 -1
- package/lib/components/segmented-control/segmented-control.d.ts +2 -1
- package/lib/components/segmented-control/segmented-control.d.ts.map +1 -1
- package/lib/components/segmented-control/segmented-control.js +2 -2
- package/lib/components/shadow-box/shadow-box.d.ts.map +1 -1
- package/lib/components/shadow-box/shadow-box.js +1 -1
- package/lib/components/tabs/tabs.d.ts.map +1 -1
- package/lib/components/typography/typography.d.ts +1 -1
- package/lib/components/typography/typography.d.ts.map +1 -1
- package/lib/index.d.ts +10 -10
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -1
- package/package.json +136 -135
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as a}from"react/jsx-runtime";import"react";let t=t=>a("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...t,children:a("path",{d:"M20.25 4.5V9a.75.75 0 1 1-1.5 0V6.31l-4.72 4.72a.75.75 0 1 1-1.06-1.06l4.72-4.72H15a.75.75 0 1 1 0-1.5h4.5a.75.75 0 0 1 .75.75M9.97 12.97l-4.72 4.72V15a.75.75 0 1 0-1.5 0v4.5a.75.75 0 0 0 .75.75H9a.75.75 0 1 0 0-1.5H6.31l4.72-4.72a.75.75 0 1 0-1.06-1.06"})});export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as a}from"react/jsx-runtime";import"react";let t=t=>a("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...t,children:a("path",{d:"M6.75 5.625a1.125 1.125 0 1 1-2.25 0 1.125 1.125 0 0 1 2.25 0M12 4.5a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25m6.375 2.25a1.125 1.125 0 1 0 0-2.25 1.125 1.125 0 0 0 0 2.25m-12.75 4.125a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25m6.375 0a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25m6.375 0a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25M5.625 17.25a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25m6.375 0a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25m6.375 0a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25"})});export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as a}from"react/jsx-runtime";import"react";let h=h=>a("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...h,children:a("path",{d:"M9.75 3.75h-4.5a1.5 1.5 0 0 0-1.5 1.5v4.5a1.5 1.5 0 0 0 1.5 1.5h4.5a1.5 1.5 0 0 0 1.5-1.5v-4.5a1.5 1.5 0 0 0-1.5-1.5m0 6h-4.5v-4.5h4.5zm9-6h-4.5a1.5 1.5 0 0 0-1.5 1.5v4.5a1.5 1.5 0 0 0 1.5 1.5h4.5a1.5 1.5 0 0 0 1.5-1.5v-4.5a1.5 1.5 0 0 0-1.5-1.5m0 6h-4.5v-4.5h4.5zm-9 3h-4.5a1.5 1.5 0 0 0-1.5 1.5v4.5a1.5 1.5 0 0 0 1.5 1.5h4.5a1.5 1.5 0 0 0 1.5-1.5v-4.5a1.5 1.5 0 0 0-1.5-1.5m0 6h-4.5v-4.5h4.5zm9-6h-4.5a1.5 1.5 0 0 0-1.5 1.5v4.5a1.5 1.5 0 0 0 1.5 1.5h4.5a1.5 1.5 0 0 0 1.5-1.5v-4.5a1.5 1.5 0 0 0-1.5-1.5m0 6h-4.5v-4.5h4.5z"})});export{h as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../src/components/avatar/avatar.tsx"],"names":[],"mappings":"AAEA,wBAAgB,WAAW,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAkBjD;AAED,KAAK,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAC/C,KAAK,WAAW,GAAG,QAAQ,GAAG,SAAS,CAAC;AAExC,MAAM,WAAW,WAAW;
|
|
1
|
+
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../src/components/avatar/avatar.tsx"],"names":[],"mappings":"AAEA,wBAAgB,WAAW,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAkBjD;AAED,KAAK,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAC/C,KAAK,WAAW,GAAG,QAAQ,GAAG,SAAS,CAAC;AAExC,MAAM,WAAW,WAAW;IAC3B,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,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,MAAM,CAAC,EACtB,GAAG,EACH,GAAG,EACH,IAAI,EACJ,IAAe,EACf,KAAgB,EAChB,MAAc,EACd,SAAS,EACT,GAAG,IAAI,EACP,EAAE,WAAW,2CAoBb"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { HTMLAttributes } from "react";
|
|
2
|
-
import { IconName } from "../icon/icon";
|
|
2
|
+
import { type IconName } from "../icon/icon";
|
|
3
3
|
export type BadgeVariant = "default" | "new";
|
|
4
4
|
export interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {
|
|
5
5
|
label?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../src/components/badge/badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAQ,QAAQ,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../src/components/badge/badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAQ,KAAK,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGnD,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,KAAK,CAAC;AAE7C,MAAM,WAAW,UAAW,SAAQ,cAAc,CAAC,eAAe,CAAC;IAClE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,KAAK,CAAC,EACrB,KAAU,EACV,OAAmB,EACnB,IAAI,EACJ,QAAa,EACb,SAAc,EACd,GAAG,KAAK,EACR,EAAE,UAAU,2CAkBZ"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AnchorHTMLAttributes, ButtonHTMLAttributes } from "react";
|
|
2
|
-
import { IconName } from "../icon/icon";
|
|
2
|
+
import { type IconName } from "../icon/icon";
|
|
3
3
|
type Variant = "filled" | "outlined" | "text" | "toned" | "lightOnContent" | "darkOnContent";
|
|
4
4
|
type Size = "xSmall" | "small" | "medium" | "large";
|
|
5
5
|
type ButtonAsButton = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/button/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AACxE,OAAO,EAAQ,QAAQ,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/button/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AACxE,OAAO,EAAQ,KAAK,QAAQ,EAAE,MAAM,cAAc,CAAC;AAInD,KAAK,OAAO,GACT,QAAQ,GACR,UAAU,GACV,MAAM,GACN,OAAO,GACP,gBAAgB,GAChB,eAAe,CAAC;AACnB,KAAK,IAAI,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEpD,KAAK,cAAc,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,GAAG;IAC/D,IAAI,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AACF,KAAK,YAAY,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,GAAG;IAC7D,IAAI,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,UAAU,WAAW;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,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,GAAG,CAAC,cAAc,GAAG,YAAY,CAAC,CAAC;AAEjE,wBAAgB,MAAM,CAAC,EACtB,IAAI,EACJ,OAAkB,EAClB,IAAc,EACd,IAAI,EACJ,YAAqB,EACrB,KAAK,EACL,OAAO,EACP,QAAQ,EACR,SAAc,EACd,GAAG,KAAK,EACR,EAAE,WAAW,2CA4Cb"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as e,jsxs as i}from"react/jsx-runtime";import{Icon as o}from"../icon/icon.js";import
|
|
1
|
+
import{jsx as e,jsxs as i}from"react/jsx-runtime";import{Icon as o}from"../icon/icon.js";import l from"./button.styles.module.js";import{Noise as n}from"./noise.js";function t({href:t,variant:r="filled",size:m="large",icon:s,iconPosition:a="left",label:c,loading:d,disabled:f,className:u="",...g}){let h=!!s&&!c,j=h&&"large"===m?"medium":m,p="large"===m||"medium"===m?24:"small"===m?18:16,b=[l.button,l[r],l[j],h&&l.iconOnly,d&&l.loading,s&&l.icon,"right"===a&&l.directionRight,u].filter(Boolean).join(" ");return t?i("a",{className:b,href:t,...g,children:[s&&e(o,{name:s,size:p}),c,"filled"===r&&e(n,{className:l.noise})]}):i("button",{className:b,disabled:f,...g,children:[s&&e(o,{name:s,size:p}),c,"filled"===r&&e(n,{className:l.noise})]})}export{t as Button};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"noise.d.ts","sourceRoot":"","sources":["../../../src/components/button/noise.tsx"],"names":[],"mappings":"AAAA,KAAK,UAAU,GAAG;
|
|
1
|
+
{"version":3,"file":"noise.d.ts","sourceRoot":"","sources":["../../../src/components/button/noise.tsx"],"names":[],"mappings":"AAAA,mEAAmE;AACnE,0DAA0D;AAC1D,KAAK,UAAU,GAAG;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,wBAAgB,KAAK,CAAC,EAAE,SAAS,EAAE,EAAE,UAAU,2CAwF9C"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { type BadgeProps } from "../badge/badge";
|
|
2
|
+
import { type IconName } from "../icon/icon";
|
|
3
3
|
type Mode = "single" | "multiple";
|
|
4
4
|
type Size = "medium" | "small";
|
|
5
5
|
interface Option {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter-chip.d.ts","sourceRoot":"","sources":["../../../src/components/filter-chip/filter-chip.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"filter-chip.d.ts","sourceRoot":"","sources":["../../../src/components/filter-chip/filter-chip.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAQ,KAAK,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGnD,KAAK,IAAI,GAAG,QAAQ,GAAG,UAAU,CAAC;AAClC,KAAK,IAAI,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE/B,UAAU,MAAM;IACf,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,UAAU,oBAAoB;IAC7B,OAAO,EAAE,MAAM,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,QAAQ,EACR,QAAQ,EACR,IAAiB,EACjB,IAAe,EACf,SAAc,GACd,EAAE,oBAAoB,2CA0DtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as e,jsxs as i}from"react/jsx-runtime";import{useState as o}from"react";import{
|
|
1
|
+
import{jsx as e,jsxs as i}from"react/jsx-runtime";import{useState as o}from"react";import{Badge as r}from"../badge/badge.js";import{Icon as t}from"../icon/icon.js";import l from"./filter-chip.styles.module.js";function n({options:n,selected:m,onChange:s,mode:a="multiple",size:d="medium",className:c=""}){let u=void 0!==m,[p,f]=o([]),b=u?m:p;return e("div",{className:[l.root,c].filter(Boolean).join(" "),role:"single"===a?"radiogroup":"group",children:n.map(({value:o,label:n,icon:m,badge:c,disabled:p})=>{let g=b.includes(o),h=m||c;return i("button",{type:"button",role:"single"===a?"radio":"checkbox","aria-disabled":p,disabled:p,onClick:()=>{let e;e="single"===a?[o]:b.includes(o)?b.filter(e=>e!==o):[...b,o],!u&&f(e),s?.(e)},className:[l.item,l[d],h&&l.hasIcon,g&&l.selected].filter(Boolean).join(" "),children:[c&&e(r,{...c}),m&&e(t,{name:m,size:"medium"===d?24:20}),n]},o)})})}export{n as FilterChipGroup};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SVGProps } from "react";
|
|
1
|
+
import type { SVGProps } from "react";
|
|
2
2
|
export declare const Icons: {
|
|
3
3
|
readonly CaretDown: string;
|
|
4
4
|
readonly CaretLeft: string;
|
|
@@ -30,6 +30,9 @@ export declare const Icons: {
|
|
|
30
30
|
readonly GoogleFill: string;
|
|
31
31
|
readonly SlidersHorizontal: string;
|
|
32
32
|
readonly StarFill: string;
|
|
33
|
+
readonly ArrowsOutSimple: string;
|
|
34
|
+
readonly DotsNine: string;
|
|
35
|
+
readonly SquaresFour: string;
|
|
33
36
|
};
|
|
34
37
|
export type IconName = keyof typeof Icons;
|
|
35
38
|
export declare const iconNames: IconName[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../src/components/icon/icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../src/components/icon/icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAmCtC,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCR,CAAC;AAEX,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,KAAK,CAAC;AAE1C,eAAO,MAAM,SAAS,EAAyB,QAAQ,EAAE,CAAC;AAE1D,MAAM,WAAW,SAAU,SAAQ,QAAQ,CAAC,aAAa,CAAC;IACzD;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,IAAI,CAAC,EACpB,IAAI,EACJ,IAAS,EACT,KAAsB,EACtB,GAAG,IAAI,EACP,EAAE,SAAS,kDAMX"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as s}from"react/jsx-runtime";import o from"../../assets/icons/
|
|
1
|
+
import{jsx as s}from"react/jsx-runtime";import o from"../../assets/icons/ArrowsOutSimple.js";import i from"../../assets/icons/ArrowUpRight.js";import r from"../../assets/icons/CaretDown.js";import e from"../../assets/icons/CaretLeft.js";import t from"../../assets/icons/CaretRight.js";import m from"../../assets/icons/CaretUp.js";import l from"../../assets/icons/CheckboxChecked.js";import n from"../../assets/icons/CheckCircle.js";import a from"../../assets/icons/CheckCircle-fill.js";import c from"../../assets/icons/DotsNine.js";import f from"../../assets/icons/Export.js";import p from"../../assets/icons/Eye-fill.js";import j from"../../assets/icons/GlobeSimple.js";import C from"../../assets/icons/Google-fill.js";import g from"../../assets/icons/Info.js";import h from"../../assets/icons/Instagram.js";import S from"../../assets/icons/List-bullet.js";import k from"../../assets/icons/MagnifyingGlass.js";import u from"../../assets/icons/Notches.js";import T from"../../assets/icons/Pepper-fill.js";import b from"../../assets/icons/Phone.js";import d from"../../assets/icons/Placeholder.js";import w from"../../assets/icons/SealCheck.js";import x from"../../assets/icons/SealWarning.js";import G from"../../assets/icons/SlidersHorizontal.js";import I from"../../assets/icons/SquaresFour.js";import P from"../../assets/icons/Star-fill.js";import W from"../../assets/icons/TikTok.js";import y from"../../assets/icons/TrafficSign.js";import N from"../../assets/icons/WarningCircle-fill.js";import A from"../../assets/icons/WarningTriangle-fill.js";import D from"../../assets/icons/X.js";import E from"../../assets/icons/XCircle-fill.js";let F={CaretDown:r,CaretLeft:e,CaretRight:t,CaretUp:m,CheckboxChecked:l,"CheckCircle-fill":a,CheckCircle:n,Export:f,"Eye-fill":p,GlobeSimple:j,Info:g,Instagram:h,"List-bullet":S,MagnifyingGlass:k,Notches:u,"Pepper-fill":T,Phone:b,Placeholder:d,SealCheck:w,SealWarning:x,TikTok:W,TrafficSign:y,"WarningCircle-fill":N,"WarningTriangle-fill":A,X:D,"XCircle-fill":E,ArrowUpRight:i,GoogleFill:C,SlidersHorizontal:G,StarFill:P,ArrowsOutSimple:o,DotsNine:c,SquaresFour:I},L=Object.keys(F);function R({name:o,size:i=24,color:r="currentColor",...e}){let t=F[o];return t?s(t,{width:i,height:i,fill:r,...e}):null}export{R as Icon,F as Icons,L as iconNames};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
/** biome-ignore-all lint/a11y/noSvgWithoutTitle: <TBD> */
|
|
2
|
+
/** biome-ignore-all lint/correctness/useUniqueElementIds: <TBD> */
|
|
3
|
+
import { type SVGProps } from "react";
|
|
2
4
|
export type Variant = "wordmark" | "tileDark" | "tileLight";
|
|
3
5
|
export type Color = "currentColor" | "dark" | "light";
|
|
4
6
|
export interface LogoProps extends SVGProps<SVGSVGElement> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logo.d.ts","sourceRoot":"","sources":["../../../src/components/logo/logo.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,QAAQ,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"logo.d.ts","sourceRoot":"","sources":["../../../src/components/logo/logo.tsx"],"names":[],"mappings":"AAAA,0DAA0D;AAC1D,mEAAmE;AACnE,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,OAAO,CAAC;AAElD,MAAM,MAAM,OAAO,GAAG,UAAU,GAAG,UAAU,GAAG,WAAW,CAAC;AAC5D,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,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,YAAY,CAAC,EAC5B,SAAc,EACd,IAAS,EACT,KAAsB,EACtB,KAAc,EACd,GAAG,IAAI,EACP,EAAE,SAAS,2CAsBX;AAED,wBAAgB,YAAY,CAAC,EAC5B,SAAc,EACd,IAAS,EACT,KAAK,EACL,KAAc,EACd,GAAG,IAAI,EACP,EAAE,SAAS,2CA8BX;AAED,wBAAgB,aAAa,CAAC,EAC7B,SAAc,EACd,IAAS,EACT,KAAK,EACL,KAAc,EACd,GAAG,IAAI,EACP,EAAE,SAAS,2CAuBX;AAED,eAAO,MAAM,IAAI,kHAwBf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-marker.d.ts","sourceRoot":"","sources":["../../../src/components/map-marker/map-marker.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"map-marker.d.ts","sourceRoot":"","sources":["../../../src/components/map-marker/map-marker.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,cAAc;IAC9B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,SAAS,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,EAAE,cAAc,2CAkBhE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu-item.d.ts","sourceRoot":"","sources":["../../../src/components/menu-item/menu-item.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"menu-item.d.ts","sourceRoot":"","sources":["../../../src/components/menu-item/menu-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAcxD,UAAU,MAAM;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,aAAa;IAC7B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,UAAU,EAAE,CAAC;IACtB,MAAM,EAAE,MAAM,EAAE,CAAC;CACjB;AAED,wBAAgB,QAAQ,CAAC,EACxB,MAAM,EACN,KAAK,EACL,IAAI,EACJ,WAAW,EACX,MAAM,EACN,MAAM,GACN,EAAE,aAAa,2CAsCf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as e,jsxs as i}from"react/jsx-runtime";import{
|
|
1
|
+
import{jsx as e,jsxs as i}from"react/jsx-runtime";import{Badge as a}from"../badge/badge.js";import{Icon as r}from"../icon/icon.js";import c from"./menu-item.styles.module.js";function s({active:s,photo:n,name:l,description:m,badges:t,prices:o}){return i("div",{className:[c.root,s&&c.active].filter(Boolean).join(" "),children:[i("div",{className:c.content,children:[n&&e(r,{className:c.icon,name:"Eye-fill",size:12}),i("div",{className:c.header,children:[e("div",{className:c.name,children:l}),e("div",{className:c.badges,children:t?.map((i,r)=>e(a,{...i},`badge-${i.label??i.icon??r}-${r}`))}),e("span",{className:c.dots})]}),e("div",{className:c.description,children:m})]}),e("div",{className:c.prices,children:o?.map(({label:a,value:r},s)=>i("div",{className:c.priceItem,children:[a&&e("span",{className:c.priceLabel,children:a}),e("span",{className:c.priceValue,children:function(e){let i="string"==typeof e?parseFloat(e):e;return new Intl.NumberFormat("en-GB",{style:"currency",currency:"GBP",minimumFractionDigits:2}).format(i)}(r)})]},`price-${a??r}-${s}`))})]})}export{s as MenuItem};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../src/components/notification/notification.tsx"],"names":[],"mappings":"AAEA,UAAU,iBAAiB;
|
|
1
|
+
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../src/components/notification/notification.tsx"],"names":[],"mappings":"AAEA,UAAU,iBAAiB;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,YAAY,CAAC,EAAE,MAAM,EAAE,SAAc,EAAE,EAAE,iBAAiB,2CAMzE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress-indicator.d.ts","sourceRoot":"","sources":["../../../src/components/progress-indicator/progress-indicator.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"progress-indicator.d.ts","sourceRoot":"","sources":["../../../src/components/progress-indicator/progress-indicator.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,sBAAsB;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;CACd;AAED,wBAAgB,iBAAiB,CAChC,EAAE,IAAS,EAAE,EAAE,sBAAsB,EACrC,GAAG,EAAE,KAAK,CAAC,YAAY,CAAC,aAAa,CAAC,2CAmDtC;;AAED,wBAA6C"}
|
|
@@ -9,8 +9,9 @@ interface SearchInputProps {
|
|
|
9
9
|
defaultValue?: string;
|
|
10
10
|
variant?: Variant;
|
|
11
11
|
inputSize?: Size;
|
|
12
|
+
info?: boolean;
|
|
12
13
|
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
13
14
|
}
|
|
14
|
-
export declare function SearchInput({ placeholder, variant, inputSize, name, onChange, supportingText, disabled, className, defaultValue, ...rest }: SearchInputProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare function SearchInput({ placeholder, variant, inputSize, name, onChange, supportingText, disabled, className, info, defaultValue, ...rest }: SearchInputProps): import("react/jsx-runtime").JSX.Element;
|
|
15
16
|
export {};
|
|
16
17
|
//# sourceMappingURL=search-input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-input.d.ts","sourceRoot":"","sources":["../../../src/components/search-input/search-input.tsx"],"names":[],"mappings":"AAIA,KAAK,OAAO,GAAG,UAAU,GAAG,QAAQ,CAAC;AACrC,KAAK,IAAI,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEzC,UAAU,gBAAgB;
|
|
1
|
+
{"version":3,"file":"search-input.d.ts","sourceRoot":"","sources":["../../../src/components/search-input/search-input.tsx"],"names":[],"mappings":"AAIA,KAAK,OAAO,GAAG,UAAU,GAAG,QAAQ,CAAC;AACrC,KAAK,IAAI,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEzC,UAAU,gBAAgB;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CAC5D;AAED,wBAAgB,WAAW,CAAC,EAC3B,WAAsB,EACtB,OAAoB,EACpB,SAAmB,EACnB,IAAI,EACJ,QAAQ,EACR,cAAc,EACd,QAAQ,EACR,SAAS,EACT,IAAI,EACJ,YAAY,EACZ,GAAG,IAAI,EACP,EAAE,gBAAgB,2CAwElB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as e,jsxs as a}from"react/jsx-runtime";import{useState as i}from"react";import{Icon as
|
|
1
|
+
import{jsx as e,jsxs as a}from"react/jsx-runtime";import{useState as i}from"react";import{Icon as n}from"../icon/icon.js";import l from"./search-input.styles.module.js";function r({placeholder:r="Search",variant:t="outlined",inputSize:s="large",name:o,onChange:c,supportingText:m,disabled:d,className:u,info:h,defaultValue:p,...f}){let[g,v]=i(p??"");return a("div",{className:[l.root,l[s],d&&l.disabled,u].filter(Boolean).join(" "),children:[a("div",{className:l.container,children:[e(n,{className:l.leftIcon,name:"MagnifyingGlass",size:"large"===s?24:"medium"===s?20:16,"aria-hidden":"true"}),e("input",{name:o,type:"text",placeholder:r,value:g,onChange:e=>{v(e.target.value),c?.(e)},className:`${l.input} ${l[t]}`,disabled:d,...f}),a("div",{className:l.actionIcons,children:[e("button",{type:"button",className:l.clearButton,"data-visible":g?"true":"false",onClick:()=>{v("")},"aria-label":"Clear search","aria-hidden":!g||void 0,tabIndex:g?0:-1,children:e(n,{name:"XCircle-fill",size:"small"===s?16:18})}),h&&e(n,{className:l.rightIcon,name:"Info",size:"small"===s?16:18})]})]}),m&&a("div",{className:l.supportingText,children:[e(n,{name:"Info",size:16,"aria-hidden":"true"}),m]})]})}export{r as SearchInput};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./search-input.styles_module.css";let e={root:"root-pyZY98",container:"container-lbapOX",input:"input-qIobsm",outlined:"outlined-BYG0l6",filled:"filled-MMj8V_",clearButton:"clearButton-nSejyH",leftIcon:"leftIcon-YsP8Ve",
|
|
1
|
+
import"./search-input.styles_module.css";let e={root:"root-pyZY98",container:"container-lbapOX",input:"input-qIobsm",outlined:"outlined-BYG0l6",filled:"filled-MMj8V_",clearButton:"clearButton-nSejyH",leftIcon:"leftIcon-YsP8Ve",actionIcons:"actionIcons-wBcM6V",supportingText:"supportingText-uTaQfI",disabled:"disabled-xFBfue",small:"small-klP5_W",medium:"medium-tXvZs0",large:"large-i1pgMt"};export{e as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.root-pyZY98{gap:var(--spacing-size-8,.5rem);flex-direction:column;display:flex}.container-lbapOX{display:flex;position:relative}.container-lbapOX svg{color:var(--color-content-secondary,#646464)}.input-qIobsm{all:unset;border-radius:var(--radius-radii-12,.75rem);outline-offset:-2px;width:100%;color:var(--color-content-primary,#202020);outline:2px solid #0000;transition:background .2s,box-shadow .2s,border .2s,outline .2s}.input-qIobsm:focus-visible{outline:2px solid var(--color-interactive-primary,#646464)}.input-qIobsm::placeholder{color:var(--color-content-tertiary,gray)}.outlined-BYG0l6{background:var(--color-background-input-primary,#fff);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--color-interactive-secondary,#0000002b)17%,transparent)}.outlined-BYG0l6:hover{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--color-interactive-secondary-hover,#00000073)45%,transparent)}.filled-MMj8V_{background:color-mix(in srgb,var(--color-background-neutral,#0000000a)4%,transparent);box-shadow:inset 0 0 0 1px #0000}.filled-MMj8V_:hover{background:color-mix(in srgb,var(--color-background-neutral-hover,#00000014)8%,transparent)}.clearButton-nSejyH{all:unset;cursor:pointer;
|
|
1
|
+
.root-pyZY98{gap:var(--spacing-size-8,.5rem);flex-direction:column;display:flex}.container-lbapOX{display:flex;position:relative}.container-lbapOX svg{color:var(--color-content-secondary,#646464)}.input-qIobsm{all:unset;border-radius:var(--radius-radii-12,.75rem);outline-offset:-2px;width:100%;color:var(--color-content-primary,#202020);outline:2px solid #0000;transition:background .2s,box-shadow .2s,border .2s,outline .2s}.input-qIobsm:focus-visible{outline:2px solid var(--color-interactive-primary,#646464)}.input-qIobsm::placeholder{color:var(--color-content-tertiary,gray)}.outlined-BYG0l6{background:var(--color-background-input-primary,#fff);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--color-interactive-secondary,#0000002b)17%,transparent)}.outlined-BYG0l6:hover{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--color-interactive-secondary-hover,#00000073)45%,transparent)}.filled-MMj8V_{background:color-mix(in srgb,var(--color-background-neutral,#0000000a)4%,transparent);box-shadow:inset 0 0 0 1px #0000}.filled-MMj8V_:hover{background:color-mix(in srgb,var(--color-background-neutral-hover,#00000014)8%,transparent)}.clearButton-nSejyH{all:unset;cursor:pointer;pointer-events:none;opacity:0;transition:opacity .2s,transform .2s;display:flex;transform:scale(.8)}.clearButton-nSejyH[data-visible=true]{opacity:1;pointer-events:auto;transform:scale(1)}.leftIcon-YsP8Ve,.actionIcons-wBcM6V{position:absolute;top:50%;transform:translateY(-50%)}.actionIcons-wBcM6V{right:calc(var(--spacing-size-8,.5rem) + .5rem);gap:.5rem;display:flex}.leftIcon-YsP8Ve{left:var(--spacing-size-8,.5rem)}.supportingText-uTaQfI{gap:var(--spacing-size-8,.5rem);padding-left:var(--spacing-size-8,.5rem);color:var(--color-content-secondary,#646464);font-family:var(--typescale-display-font-secondary,"Golos UI");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);display:flex}.disabled-xFBfue{opacity:.38;pointer-events:none}.small-klP5_W input{height:2rem;font-family:var(--typescale-display-font-secondary,"Golos UI");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);padding:0 2.17rem 0 2rem}.small-klP5_W .actionIcons-wBcM6V{right:calc(var(--spacing-size-6,.375rem) + .3rem)}.medium-tXvZs0 input{height:2.5rem;font-family:var(--typescale-display-font-secondary,"Golos UI");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);padding:0 2.7rem 0 2.13rem}.large-i1pgMt input{height:3.5rem;font-family:var(--typescale-display-font-secondary,"Golos UI");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);padding:0 2.7rem 0 2.5rem}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"segmented-control.d.ts","sourceRoot":"","sources":["../../../src/components/segmented-control/segmented-control.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"segmented-control.d.ts","sourceRoot":"","sources":["../../../src/components/segmented-control/segmented-control.tsx"],"names":[],"mappings":"AAAA,yEAAyE;AAIzE,OAAO,EAAQ,KAAK,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGnD,UAAU,MAAM;IACf,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,UAAU,qBAAqB;IAC9B,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,gBAAgB,CAAC,EAChC,OAAO,EACP,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,SAAc,GACd,EAAE,qBAAqB,2CA8EvB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{jsx as e,jsxs as t}from"react/jsx-runtime";import{
|
|
1
|
+
import{jsx as e,jsxs as t}from"react/jsx-runtime";import{Item as r,Root as l}from"@radix-ui/react-radio-group";import{Fragment as i,useEffect as n,useRef as o,useState as a}from"react";import{Icon as d}from"../icon/icon.js";import c from"./segmented-control.styles.module.js";function u({options:u,value:s,defaultValue:m,onChange:f,className:h=""}){let p=o(null),g=o([]),[x,$]=a(u.findIndex(e=>e.value===s||e.value===m)),v=e=>{let t=u.findIndex(t=>t.value===e);$(t);let r=g.current[t],l=p.current;if(r&&l){let e=r.getBoundingClientRect(),t=l.getBoundingClientRect();l.style.cssText=`
|
|
2
2
|
--slider-x: ${e.left-t.left+l.scrollLeft}px;
|
|
3
3
|
--slider-width: ${e.width}px;
|
|
4
4
|
--slider-height: ${e.height}px;
|
|
5
|
-
`}};return
|
|
5
|
+
`}};return n(()=>{let e=setTimeout(()=>{v(s||m)},20);return()=>clearTimeout(e)},[s,m,u]),e(l,{ref:p,className:`${c.root} ${h}`.trim(),value:s,defaultValue:m,onValueChange:e=>{v(e),f?.(e)},children:u.map((l,n)=>t(i,{children:[t(r,{ref:e=>{g.current[n]=e},className:`${c.item} ${l.icon?c.withIcon:""}`,value:l.value,disabled:l.disabled,children:[l.icon&&e(d,{name:l.icon,size:18}),l.label]}),n<u.length-1&&e("div",{className:`${c.separator} ${n===x-1||n===x?c.hide:""}`})]},l.value))})}export{u as SegmentedControl};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shadow-box.d.ts","sourceRoot":"","sources":["../../../src/components/shadow-box/shadow-box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,MAAM,WAAW,kBAAmB,SAAQ,cAAc,CAAC,cAAc,CAAC;CAAG;AAE7E,wBAAgB,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"shadow-box.d.ts","sourceRoot":"","sources":["../../../src/components/shadow-box/shadow-box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,MAAM,WAAW,kBAAmB,SAAQ,cAAc,CAAC,cAAc,CAAC;CAAG;AAE7E,wBAAgB,aAAa,CAAC,EAC7B,SAAc,EACd,GAAG,KAAK,EACR,EAAE,kBAAkB,2CAcpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as o,jsxs as r}from"react/jsx-runtime";import a from"./shadow-box.styles.module.js";function d({className:d="",...e}){return o("div",{className:`${a.grid} ${d}`.trim(),...e,children:Array.from({length:8},(d,e)=>o("div",{className:a.box,style:{boxShadow:`var(--box-shadow-${e+1})`},children:r("span",{children:["Shadow ",e+1]})},`shadow-${e+1}`))})}export{d as ShadowBoxGrid};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../src/components/tabs/tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC;AAGlD,KAAK,IAAI,GAAG,QAAQ,GAAG,OAAO,CAAC;AAC/B,UAAU,aAAc,SAAQ,SAAS,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../src/components/tabs/tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC;AAGlD,KAAK,IAAI,GAAG,QAAQ,GAAG,OAAO,CAAC;AAC/B,UAAU,aAAc,SAAQ,SAAS,CAAC,SAAS;IAClD,IAAI,CAAC,EAAE,IAAI,CAAC;CACZ;AAED,wBAAgB,QAAQ,CAAC,EACxB,SAAc,EACd,IAAe,EACf,GAAG,KAAK,EACR,EAAE,aAAa,2CAQf;AAED,wBAAgB,QAAQ,CAAC,EACxB,SAAc,EACd,GAAG,KAAK,EACR,EAAE,SAAS,CAAC,aAAa,2CAOzB;AAED,wBAAgB,WAAW,CAAC,EAC3B,SAAc,EACd,QAAQ,EACR,GAAG,KAAK,EACR,EAAE,SAAS,CAAC,gBAAgB,2CAS5B;AAED,wBAAgB,WAAW,CAAC,EAC3B,SAAc,EACd,GAAG,KAAK,EACR,EAAE,SAAS,CAAC,gBAAgB,2CAO5B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HTMLAttributes } from "react";
|
|
1
|
+
import type { HTMLAttributes } from "react";
|
|
2
2
|
export type Variant = "displayLarge" | "displayMedium" | "displaySmall" | "titleScreen" | "titleSection" | "titleSubsection" | "titleBody" | "titleGroup" | "bodyXLargeEmphasis" | "bodyXLarge" | "bodyLargeEmphasis" | "bodyLarge" | "bodyDefaultEmphasis" | "bodyDefault" | "bodySmallEmphasis" | "bodySmall" | "linkLarge" | "linkDefault" | "linkSmall";
|
|
3
3
|
export interface TypographyProps extends HTMLAttributes<HTMLParagraphElement> {
|
|
4
4
|
as?: "p" | "span" | "h1" | "h2" | "h3" | "h4";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../src/components/typography/typography.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../src/components/typography/typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,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,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,4CAejB,CAAC"}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { Avatar } from "./components/avatar/avatar";
|
|
2
2
|
export { Badge } from "./components/badge/badge";
|
|
3
|
-
export {
|
|
4
|
-
export { Icon } from "./components/icon/icon";
|
|
5
|
-
export { TabsRoot, TabsContent, TabsList, TabsTrigger, } from "./components/tabs/tabs";
|
|
6
|
-
export { SegmentedControl } from "./components/segmented-control/segmented-control";
|
|
7
|
-
export { ProgressIndicator } from "./components/progress-indicator/progress-indicator";
|
|
3
|
+
export { Button } from "./components/button/button";
|
|
8
4
|
export { FilterChipGroup } from "./components/filter-chip/filter-chip";
|
|
9
|
-
export {
|
|
10
|
-
export { MenuItem } from "./components/menu-item/menu-item";
|
|
11
|
-
export { Avatar } from "./components/avatar/avatar";
|
|
12
|
-
export { SearchInput } from "./components/search-input/search-input";
|
|
5
|
+
export { Icon } from "./components/icon/icon";
|
|
13
6
|
export { Logo } from "./components/logo/logo";
|
|
14
7
|
export { MapMarker } from "./components/map-marker/map-marker";
|
|
8
|
+
export { MenuItem } from "./components/menu-item/menu-item";
|
|
9
|
+
export { Notification } from "./components/notification/notification";
|
|
10
|
+
export { ProgressIndicator } from "./components/progress-indicator/progress-indicator";
|
|
11
|
+
export { SearchInput } from "./components/search-input/search-input";
|
|
12
|
+
export { SegmentedControl } from "./components/segmented-control/segmented-control";
|
|
13
|
+
export { TabsContent, TabsList, TabsRoot, TabsTrigger, } from "./components/tabs/tabs";
|
|
14
|
+
export { Typography } from "./components/typography/typography";
|
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC;AACpF,OAAO,EACN,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,WAAW,GACX,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Avatar as o}from"./components/avatar/avatar.js";import{Badge as t}from"./components/badge/badge.js";import{Button as r}from"./components/button/button.js";import{FilterChipGroup as n}from"./components/filter-chip/filter-chip.js";import{Icon as m}from"./components/icon/icon.js";import{Logo as e}from"./components/logo/logo.js";import{MapMarker as p}from"./components/map-marker/map-marker.js";import{MenuItem as s}from"./components/menu-item/menu-item.js";import{Notification as i}from"./components/notification/notification.js";import{ProgressIndicator as a}from"./components/progress-indicator/progress-indicator.js";import{SearchInput as c}from"./components/search-input/search-input.js";import{SegmentedControl as f}from"./components/segmented-control/segmented-control.js";import{TabsContent as g,TabsList as j,TabsRoot as b,TabsTrigger as u}from"./components/tabs/tabs.js";import{Typography as d}from"./components/typography/typography.js";export{o as Avatar,t as Badge,r as Button,n as FilterChipGroup,m as Icon,e as Logo,p as MapMarker,s as MenuItem,i as Notification,a as ProgressIndicator,c as SearchInput,f as SegmentedControl,g as TabsContent,j as TabsList,b as TabsRoot,u as TabsTrigger,d as Typography};
|
package/package.json
CHANGED
|
@@ -1,137 +1,138 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
2
|
+
"name": "sate-lib",
|
|
3
|
+
"version": "1.37.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"exports": {
|
|
6
|
+
".": {
|
|
7
|
+
"import": "./lib/index.js",
|
|
8
|
+
"types": "./lib/index.d.ts"
|
|
9
|
+
},
|
|
10
|
+
"./button": {
|
|
11
|
+
"import": "./lib/components/button/button.js",
|
|
12
|
+
"types": "./lib/components/button/button.d.ts"
|
|
13
|
+
},
|
|
14
|
+
"./badge": {
|
|
15
|
+
"import": "./lib/components/badge/badge.js",
|
|
16
|
+
"types": "./lib/components/badge/badge.d.ts"
|
|
17
|
+
},
|
|
18
|
+
"./typography": {
|
|
19
|
+
"import": "./lib/components/typography/typography.js",
|
|
20
|
+
"types": "./lib/components/typography/typography.d.ts"
|
|
21
|
+
},
|
|
22
|
+
"./icon": {
|
|
23
|
+
"import": "./lib/components/icon/icon.js",
|
|
24
|
+
"types": "./lib/components/icon/icon.d.ts"
|
|
25
|
+
},
|
|
26
|
+
"./tabs": {
|
|
27
|
+
"import": "./lib/components/tabs/tabs.js",
|
|
28
|
+
"types": "./lib/components/tabs/tabs.d.ts"
|
|
29
|
+
},
|
|
30
|
+
"./segmented-control": {
|
|
31
|
+
"import": "./lib/components/segmented-control/segmented-control.js",
|
|
32
|
+
"types": "./lib/components/segmented-control/segmented-control.d.ts"
|
|
33
|
+
},
|
|
34
|
+
"./progress-indicator": {
|
|
35
|
+
"import": "./lib/components/progress-indicator/progress-indicator.js",
|
|
36
|
+
"types": "./lib/components/progress-indicator/progress-indicator.d.ts"
|
|
37
|
+
},
|
|
38
|
+
"./filter-chip": {
|
|
39
|
+
"import": "./lib/components/filter-chip/filter-chip.js",
|
|
40
|
+
"types": "./lib/components/filter-chip/filter-chip.d.ts"
|
|
41
|
+
},
|
|
42
|
+
"./notification": {
|
|
43
|
+
"import": "./lib/components/notification/notification.js",
|
|
44
|
+
"types": "./lib/components/notification/notification.d.ts"
|
|
45
|
+
},
|
|
46
|
+
"./menu-item": {
|
|
47
|
+
"import": "./lib/components/menu-item/menu-item.js",
|
|
48
|
+
"types": "./lib/components/menu-item/menu-item.d.ts"
|
|
49
|
+
},
|
|
50
|
+
"./avatar": {
|
|
51
|
+
"import": "./lib/components/avatar/avatar.js",
|
|
52
|
+
"types": "./lib/components/avatar/avatar.d.ts"
|
|
53
|
+
},
|
|
54
|
+
"./search-input": {
|
|
55
|
+
"import": "./lib/components/search-input/search-input.js",
|
|
56
|
+
"types": "./lib/components/search-input/search-input.d.ts"
|
|
57
|
+
},
|
|
58
|
+
"./logo": {
|
|
59
|
+
"import": "./lib/components/logo/logo.js",
|
|
60
|
+
"types": "./lib/components/logo/logo.d.ts"
|
|
61
|
+
},
|
|
62
|
+
"./map-marker": {
|
|
63
|
+
"import": "./lib/components/map-marker/map-marker.js",
|
|
64
|
+
"types": "./lib/components/map-marker/map-marker.d.ts"
|
|
65
|
+
},
|
|
66
|
+
"./tokens.css": "./lib/assets/styles/tokens.css",
|
|
67
|
+
"./reset.css": "./lib/assets/styles/reset.css",
|
|
68
|
+
"./fonts.css": "./lib/assets/styles/fonts.css"
|
|
69
|
+
},
|
|
70
|
+
"types": "./lib/index.d.ts",
|
|
71
|
+
"files": [
|
|
72
|
+
"lib"
|
|
73
|
+
],
|
|
74
|
+
"scripts": {
|
|
75
|
+
"build": "rslib build",
|
|
76
|
+
"build:full": "pnpm optimize:fonts && pnpm optimize:svg && pnpm build",
|
|
77
|
+
"build:storybook": "storybook build",
|
|
78
|
+
"optimize:fonts": "node ./subset-fonts.js",
|
|
79
|
+
"optimize:svg": "node ./optimize-svgs.js",
|
|
80
|
+
"storybook": "storybook dev",
|
|
81
|
+
"format": "biome format --write src/",
|
|
82
|
+
"format:check": "biome format src/",
|
|
83
|
+
"lint:check": "biome check src/",
|
|
84
|
+
"release": "HUSKY=0 semantic-release",
|
|
85
|
+
"prepare": "husky"
|
|
86
|
+
},
|
|
87
|
+
"devDependencies": {
|
|
88
|
+
"@biomejs/biome": "2.2.4",
|
|
89
|
+
"@commitlint/cli": "19.8.1",
|
|
90
|
+
"@commitlint/config-conventional": "19.8.1",
|
|
91
|
+
"@rsbuild/core": "1.5.6",
|
|
92
|
+
"@rsbuild/plugin-react": "1.4.0",
|
|
93
|
+
"@rsbuild/plugin-sass": "1.4.0",
|
|
94
|
+
"@rsbuild/plugin-svgr": "1.2.2",
|
|
95
|
+
"@rslib/core": "0.13.2",
|
|
96
|
+
"@semantic-release/changelog": "6.0.3",
|
|
97
|
+
"@semantic-release/git": "10.0.1",
|
|
98
|
+
"@semantic-release/npm": "12.0.2",
|
|
99
|
+
"@storybook/addon-a11y": "9.1.7",
|
|
100
|
+
"@storybook/addon-designs": "10.0.2",
|
|
101
|
+
"@storybook/addon-docs": "9.1.7",
|
|
102
|
+
"@storybook/addon-links": "9.1.7",
|
|
103
|
+
"@types/node": "24.3.3",
|
|
104
|
+
"@types/react": "19.1.13",
|
|
105
|
+
"husky": "9.1.7",
|
|
106
|
+
"react": "19.1.1",
|
|
107
|
+
"sass": "1.92.1",
|
|
108
|
+
"semantic-release": "24.2.8",
|
|
109
|
+
"storybook": "9.1.7",
|
|
110
|
+
"storybook-addon-rslib": "^2.1.1",
|
|
111
|
+
"storybook-react-rsbuild": "^2.1.1",
|
|
112
|
+
"subset-font": "2.4.0",
|
|
113
|
+
"svgo": "4.0.0",
|
|
114
|
+
"typescript": "5.9.2"
|
|
115
|
+
},
|
|
116
|
+
"peerDependencies": {
|
|
117
|
+
"react": ">=16.9.0",
|
|
118
|
+
"react-dom": ">=16.9.0"
|
|
119
|
+
},
|
|
120
|
+
"private": false,
|
|
121
|
+
"keywords": [
|
|
122
|
+
"react",
|
|
123
|
+
"component-library",
|
|
124
|
+
"design-system",
|
|
125
|
+
"storybook",
|
|
126
|
+
"rsbuild",
|
|
127
|
+
"rslib",
|
|
128
|
+
"biome",
|
|
129
|
+
"typescript",
|
|
130
|
+
"ui-library",
|
|
131
|
+
"react-components",
|
|
132
|
+
"frontend"
|
|
133
|
+
],
|
|
134
|
+
"dependencies": {
|
|
135
|
+
"@radix-ui/react-radio-group": "1.3.8",
|
|
136
|
+
"@radix-ui/react-tabs": "1.1.13"
|
|
137
|
+
}
|
|
137
138
|
}
|