@stokelp/ui 2.98.0 → 2.99.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/dist/components/app/index.d.ts +1 -0
- package/dist/components/app/mobile-navigation/MobileNavigation.cjs +2 -0
- package/dist/components/app/mobile-navigation/MobileNavigation.cjs.map +1 -0
- package/dist/components/app/mobile-navigation/MobileNavigation.d.ts +17 -0
- package/dist/components/app/mobile-navigation/MobileNavigation.js +19 -0
- package/dist/components/app/mobile-navigation/MobileNavigation.js.map +1 -0
- package/dist/components/app/mobile-navigation/index.d.ts +2 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +156 -154
- package/dist/index.js.map +1 -1
- package/dist/theme/recipes/app/mobile-navigation.cjs +2 -0
- package/dist/theme/recipes/app/mobile-navigation.cjs.map +1 -0
- package/dist/theme/recipes/app/mobile-navigation.d.ts +2 -0
- package/dist/theme/recipes/app/mobile-navigation.js +110 -0
- package/dist/theme/recipes/app/mobile-navigation.js.map +1 -0
- package/dist/theme/recipes/index.cjs +1 -1
- package/dist/theme/recipes/index.cjs.map +1 -1
- package/dist/theme/recipes/index.d.ts +1 -0
- package/dist/theme/recipes/index.js +60 -58
- package/dist/theme/recipes/index.js.map +1 -1
- package/dist/ui.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@stokelp/styled-system/jsx"),o=require("@stokelp/styled-system/recipes"),s=require("../../../utils/slots.cjs"),n=require("../../icon/Icon.cjs"),{withProvider:r,withContext:e}=s.createStyleContext(o.mobileNavigation,{dataAttr:!0}),c=r(t.styled("nav"),"root"),i=e(t.styled("a"),"item"),a=e(n.Icon,"itemIcon",{defaultProps:{size:"sm"}}),l=e(t.styled("span"),"itemLabel");exports.Item=i;exports.ItemIcon=a;exports.ItemLabel=l;exports.Root=c;
|
|
2
|
+
//# sourceMappingURL=MobileNavigation.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MobileNavigation.cjs","sources":["../../../../src/components/app/mobile-navigation/MobileNavigation.tsx"],"sourcesContent":["import { styled } from '@stokelp/styled-system/jsx'\nimport { mobileNavigation } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots'\nimport { Icon } from '~/components/icon/Icon'\nimport { ComponentProps } from 'react'\n\nconst { withProvider, withContext } = createStyleContext(mobileNavigation, {\n dataAttr: true,\n})\n\nexport const Root = withProvider(styled('nav'), 'root')\nexport const Item = withContext(styled('a'), 'item')\nexport const ItemIcon = withContext(Icon, 'itemIcon', {\n defaultProps: {\n size: 'sm',\n },\n})\nexport const ItemLabel = withContext(styled('span'), 'itemLabel')\n\nexport interface MobileNavigationProps extends ComponentProps<typeof Root> {}\nexport interface MobileNavigationItemProps extends ComponentProps<typeof Item> {}\nexport interface MobileNavigationItemIconProps extends ComponentProps<typeof ItemIcon> {}\nexport interface MobileNavigationItemLabelProps extends ComponentProps<typeof ItemLabel> {}\n"],"names":["withProvider","withContext","createStyleContext","mobileNavigation","Root","styled","Item","ItemIcon","Icon","ItemLabel"],"mappings":"8PAMM,CAAE,aAAAA,EAAc,YAAAC,GAAgBC,EAAAA,mBAAmBC,EAAAA,iBAAkB,CACzE,SAAU,EACZ,CAAC,EAEYC,EAAOJ,EAAaK,SAAO,KAAK,EAAG,MAAM,EACzCC,EAAOL,EAAYI,SAAO,GAAG,EAAG,MAAM,EACtCE,EAAWN,EAAYO,EAAAA,KAAM,WAAY,CACpD,aAAc,CACZ,KAAM,IAAA,CAEV,CAAC,EACYC,EAAYR,EAAYI,SAAO,MAAM,EAAG,WAAW"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ComponentProps, FC } from 'react';
|
|
2
|
+
import { ComponentVariants } from '../../../utils/slots';
|
|
3
|
+
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
4
|
+
import { MobileNavigationRecipe } from '@stokelp/styled-system/recipes';
|
|
5
|
+
import { IconProps } from '../../icon/Icon';
|
|
6
|
+
export declare const Root: ComponentVariants<StyledComponent<"nav", {}>, MobileNavigationRecipe>;
|
|
7
|
+
export declare const Item: StyledComponent<"a", {}>;
|
|
8
|
+
export declare const ItemIcon: FC<IconProps>;
|
|
9
|
+
export declare const ItemLabel: StyledComponent<"span", {}>;
|
|
10
|
+
export interface MobileNavigationProps extends ComponentProps<typeof Root> {
|
|
11
|
+
}
|
|
12
|
+
export interface MobileNavigationItemProps extends ComponentProps<typeof Item> {
|
|
13
|
+
}
|
|
14
|
+
export interface MobileNavigationItemIconProps extends ComponentProps<typeof ItemIcon> {
|
|
15
|
+
}
|
|
16
|
+
export interface MobileNavigationItemLabelProps extends ComponentProps<typeof ItemLabel> {
|
|
17
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { styled as t } from "@stokelp/styled-system/jsx";
|
|
3
|
+
import { mobileNavigation as e } from "@stokelp/styled-system/recipes";
|
|
4
|
+
import { createStyleContext as m } from "../../../utils/slots.js";
|
|
5
|
+
import { Icon as r } from "../../icon/Icon.js";
|
|
6
|
+
const { withProvider: i, withContext: o } = m(e, {
|
|
7
|
+
dataAttr: !0
|
|
8
|
+
}), l = i(t("nav"), "root"), p = o(t("a"), "item"), I = o(r, "itemIcon", {
|
|
9
|
+
defaultProps: {
|
|
10
|
+
size: "sm"
|
|
11
|
+
}
|
|
12
|
+
}), f = o(t("span"), "itemLabel");
|
|
13
|
+
export {
|
|
14
|
+
p as Item,
|
|
15
|
+
I as ItemIcon,
|
|
16
|
+
f as ItemLabel,
|
|
17
|
+
l as Root
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=MobileNavigation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MobileNavigation.js","sources":["../../../../src/components/app/mobile-navigation/MobileNavigation.tsx"],"sourcesContent":["import { styled } from '@stokelp/styled-system/jsx'\nimport { mobileNavigation } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots'\nimport { Icon } from '~/components/icon/Icon'\nimport { ComponentProps } from 'react'\n\nconst { withProvider, withContext } = createStyleContext(mobileNavigation, {\n dataAttr: true,\n})\n\nexport const Root = withProvider(styled('nav'), 'root')\nexport const Item = withContext(styled('a'), 'item')\nexport const ItemIcon = withContext(Icon, 'itemIcon', {\n defaultProps: {\n size: 'sm',\n },\n})\nexport const ItemLabel = withContext(styled('span'), 'itemLabel')\n\nexport interface MobileNavigationProps extends ComponentProps<typeof Root> {}\nexport interface MobileNavigationItemProps extends ComponentProps<typeof Item> {}\nexport interface MobileNavigationItemIconProps extends ComponentProps<typeof ItemIcon> {}\nexport interface MobileNavigationItemLabelProps extends ComponentProps<typeof ItemLabel> {}\n"],"names":["withProvider","withContext","createStyleContext","mobileNavigation","Root","styled","Item","ItemIcon","Icon","ItemLabel"],"mappings":";;;;;AAMA,MAAM,EAAE,cAAAA,GAAc,aAAAC,MAAgBC,EAAmBC,GAAkB;AAAA,EACzE,UAAU;AACZ,CAAC,GAEYC,IAAOJ,EAAaK,EAAO,KAAK,GAAG,MAAM,GACzCC,IAAOL,EAAYI,EAAO,GAAG,GAAG,MAAM,GACtCE,IAAWN,EAAYO,GAAM,YAAY;AAAA,EACpD,cAAc;AAAA,IACZ,MAAM;AAAA,EAAA;AAEV,CAAC,GACYC,IAAYR,EAAYI,EAAO,MAAM,GAAG,WAAW;"}
|
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("@ark-ui/react"),t=require("react-phone-number-input");;/* empty css */const C=require("./preset.cjs"),a=require("./components/accordion/Accordion.cjs"),s=require("./components/action-card/ActionCard.cjs"),T=require("./components/alert/Alert.cjs"),m=require("./components/app/navigation/AppNavigation.cjs"),h=require("./components/app/navigation/language-select/AppNavigationLanguageSelect.cjs"),q=require("./components/avatar/styled.cjs"),P=require("./components/box/Box.cjs"),l=require("./components/breadcrumb/Breadcrumb.cjs"),I=require("./components/button/Button.cjs"),A=require("./components/button-filter/ButtonFilter.cjs"),y=require("./components/chat/Chat.cjs"),D=require("./components/chat/ChatDocumentMessage.cjs"),x=require("./components/chat/ChatMessage.cjs"),B=require("./components/chat/ChatProfileAvatar.cjs"),v=require("./components/chat/ChatTextInput.cjs"),d=require("./components/checkbox/Checkbox.cjs"),w=require("./components/checkbox-card/namespace.cjs"),c=require("./components/chip/Chip.cjs"),S=require("./components/collapsible/styled.cjs"),G=require("./components/combobox/Combobox.cjs"),f=require("./components/date-picker/DatePicker.cjs"),L=require("./components/dialog/styled.cjs"),e=require("./components/drawer/Drawer.cjs"),b=require("./components/flag/styled.cjs"),
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("@ark-ui/react"),t=require("react-phone-number-input");;/* empty css */const C=require("./preset.cjs"),a=require("./components/accordion/Accordion.cjs"),s=require("./components/action-card/ActionCard.cjs"),T=require("./components/alert/Alert.cjs"),m=require("./components/app/navigation/AppNavigation.cjs"),h=require("./components/app/navigation/language-select/AppNavigationLanguageSelect.cjs"),q=require("./components/avatar/styled.cjs"),P=require("./components/box/Box.cjs"),l=require("./components/breadcrumb/Breadcrumb.cjs"),I=require("./components/button/Button.cjs"),A=require("./components/button-filter/ButtonFilter.cjs"),y=require("./components/chat/Chat.cjs"),D=require("./components/chat/ChatDocumentMessage.cjs"),x=require("./components/chat/ChatMessage.cjs"),B=require("./components/chat/ChatProfileAvatar.cjs"),v=require("./components/chat/ChatTextInput.cjs"),d=require("./components/checkbox/Checkbox.cjs"),w=require("./components/checkbox-card/namespace.cjs"),c=require("./components/chip/Chip.cjs"),S=require("./components/collapsible/styled.cjs"),G=require("./components/combobox/Combobox.cjs"),f=require("./components/date-picker/DatePicker.cjs"),L=require("./components/dialog/styled.cjs"),e=require("./components/drawer/Drawer.cjs"),b=require("./components/flag/styled.cjs"),N=require("./components/form/FormControl.cjs"),R=require("./components/form/FormHelperText.cjs"),F=require("./components/form/FormLabel.cjs"),j=require("./components/heading/Heading.cjs"),i=require("./components/input/HighlightedInput.cjs"),O=require("./components/icon/Icon.cjs"),H=require("./components/icon-button/IconButton.cjs"),k=require("./components/illustration/Illustration.cjs"),M=require("./components/input/Input.cjs"),$=require("./components/input/InputAddon.cjs"),E=require("./components/input/InputGroup.cjs"),V=require("./components/menu/Menu.cjs"),z=require("./components/app/mobile-navigation/MobileNavigation.cjs"),J=require("./components/pagination/Pagination.cjs"),K=require("./components/input/PhoneNumberInput.cjs"),o=require("./components/popover/Popover.cjs"),Q=require("./components/app/price-tag/PriceTag.cjs"),U=require("./components/app/product-card-catalog/styled.cjs"),p=require("./components/radio-button-group/RadioButtonGroup.cjs"),W=require("./components/radio-card-group/namespace.cjs"),g=require("./components/radio-group/RadioGroup.cjs"),X=require("./components/select/Select.cjs"),Y=require("./components/select-language/SelectLanguage.cjs"),Z=require("./components/status-tag-select/StatusTagSelect.cjs"),_=require("./components/switch/Switch.cjs"),ee=require("./components/switch-card/namespace.cjs"),r=require("./components/table/Table.cjs"),u=require("./components/tabs/Tabs.cjs"),re=require("./components/tag/Tag.cjs"),te=require("./components/text/Text.cjs"),oe=require("./components/textarea/Textarea.cjs"),ne=require("./components/tooltip/Tooltip.cjs");Object.defineProperty(exports,"createListCollection",{enumerable:!0,get:()=>n.createListCollection});Object.defineProperty(exports,"createToaster",{enumerable:!0,get:()=>n.createToaster});Object.defineProperty(exports,"parseColor",{enumerable:!0,get:()=>n.parseColor});Object.defineProperty(exports,"parseDate",{enumerable:!0,get:()=>n.parseDate});Object.defineProperty(exports,"useAccordion",{enumerable:!0,get:()=>n.useAccordion});Object.defineProperty(exports,"formatPhoneNumber",{enumerable:!0,get:()=>t.formatPhoneNumber});Object.defineProperty(exports,"formatPhoneNumberIntl",{enumerable:!0,get:()=>t.formatPhoneNumberIntl});Object.defineProperty(exports,"getCountries",{enumerable:!0,get:()=>t.getCountries});Object.defineProperty(exports,"getCountryCallingCode",{enumerable:!0,get:()=>t.getCountryCallingCode});Object.defineProperty(exports,"isPossiblePhoneNumber",{enumerable:!0,get:()=>t.isPossiblePhoneNumber});Object.defineProperty(exports,"isSupportedCountry",{enumerable:!0,get:()=>t.isSupportedCountry});Object.defineProperty(exports,"isValidPhoneNumber",{enumerable:!0,get:()=>t.isValidPhoneNumber});Object.defineProperty(exports,"parsePhoneNumber",{enumerable:!0,get:()=>t.parsePhoneNumber});exports.preset=C.preset;exports.Accordion=a.Accordion;exports.AccordionItem=a.AccordionItem;exports.AccordionItemContent=a.AccordionItemContent;exports.AccordionItemIndicator=a.AccordionItemIndicator;exports.AccordionItemTrigger=a.AccordionItemTrigger;exports.ActionCard=s.ActionCard;exports.ActionCardDescription=s.ActionCardDescription;exports.ActionCardTitle=s.ActionCardTitle;exports.Alert=T.Alert;exports.AppNavigation=m;exports.AppNavigationLanguageSelect=h.AppNavigationLanguageSelect;exports.Avatar=q;exports.Box=P.Box;exports.Breadcrumb=l.Breadcrumb;exports.BreadcrumbItem=l.BreadcrumbItem;exports.BreadcrumbLink=l.BreadcrumbLink;exports.Button=I.Button;exports.ButtonFilter=A.ButtonFilter;exports.Chat=y;exports.ChatDocumentMessage=D.ChatDocumentMessage;exports.ChatMessage=x.ChatMessage;exports.ChatProfileAvatar=B.ChatProfileAvatar;exports.ChatTextInput=v.ChatTextInput;exports.Checkbox=d.Checkbox;exports.CheckboxGroup=d.CheckboxGroup;exports.CheckboxCard=w;exports.Chip=c.Chip;exports.ChipAvatar=c.ChipAvatar;exports.ChipClearTrigger=c.ChipClearTrigger;exports.ChipLabel=c.ChipLabel;exports.Collapsible=S;exports.Combobox=G.Combobox;exports.DatePicker=f.DatePicker;exports.Dialog=L;exports.Drawer=e.Drawer;exports.DrawerBody=e.DrawerBody;exports.DrawerCloseTrigger=e.DrawerCloseTrigger;exports.DrawerContent=e.DrawerContent;exports.DrawerContext=e.DrawerContext;exports.DrawerFooter=e.DrawerFooter;exports.DrawerHeader=e.DrawerHeader;exports.DrawerTitle=e.DrawerTitle;exports.DrawerTrigger=e.DrawerTrigger;exports.Flag=b.Flag;exports.FlagCountryCodes=b.FlagCountryCodes;exports.FormControl=N.FormControl;exports.FormHelperText=R.FormHelperText;exports.FormLabel=F.FormLabel;exports.Heading=j.Heading;exports.Highlight=i.Highlight;exports.HighlightedInput=i.HighlightedInput;exports.InputSlot=i.InputSlot;exports.Renderer=i.Renderer;exports.Root=i.Root;exports.Icon=O.Icon;exports.IconButton=H.IconButton;exports.Illustration=k.Illustration;exports.Input=M.Input;exports.InputAddon=$.InputAddon;exports.InputGroup=E.InputGroup;exports.Menu=V;exports.MobileNavigation=z;exports.Pagination=J.Pagination;exports.PhoneNumberInput=K.PhoneNumberInput;exports.Popover=o.Popover;exports.PopoverAnchor=o.PopoverAnchor;exports.PopoverCloseTrigger=o.PopoverCloseTrigger;exports.PopoverContent=o.PopoverContent;exports.PopoverContext=o.PopoverContext;exports.PopoverTrigger=o.PopoverTrigger;exports.PriceTag=Q.PriceTag;exports.ProductCardCatalog=U;exports.RadioButtonGroup=p.RadioButtonGroup;exports.RadioButtonGroupItem=p.RadioButtonGroupItem;exports.RadioButtonGroupLabel=p.RadioButtonGroupLabel;exports.RadioCardGroup=W;exports.RadioGroup=g.RadioGroup;exports.RadioGroupItem=g.RadioGroupItem;exports.RadioGroupLabel=g.RadioGroupLabel;exports.Select=X.Select;exports.SelectLanguage=Y.SelectLanguage;exports.StatusTagSelect=Z.StatusTagSelect;exports.Switch=_.Switch;exports.SwitchCard=ee;exports.Table=r.Table;exports.TableContainer=r.TableContainer;exports.TableEmptyRow=r.TableEmptyRow;exports.TableGroupTitle=r.TableGroupTitle;exports.Tbody=r.Tbody;exports.Td=r.Td;exports.Th=r.Th;exports.Thead=r.Thead;exports.Tr=r.Tr;exports.Tabs=u.Tabs;exports.TabsChip=u.TabsChip;exports.TabsContent=u.TabsContent;exports.TabsList=u.TabsList;exports.TabsTrigger=u.TabsTrigger;exports.Tag=re.Tag;exports.Text=te.Text;exports.Textarea=oe.Textarea;exports.Tooltip=ne.Tooltip;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.js
CHANGED
|
@@ -1,178 +1,180 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { createListCollection as
|
|
3
|
-
import { formatPhoneNumber as
|
|
2
|
+
import { createListCollection as c, createToaster as d, parseColor as C, parseDate as g, useAccordion as T } from "@ark-ui/react";
|
|
3
|
+
import { formatPhoneNumber as h, formatPhoneNumberIntl as I, getCountries as P, getCountryCallingCode as A, isPossiblePhoneNumber as D, isSupportedCountry as v, isValidPhoneNumber as w, parsePhoneNumber as B } from "react-phone-number-input";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import { preset as
|
|
6
|
-
import { Accordion as
|
|
7
|
-
import { ActionCard as
|
|
8
|
-
import { Alert as
|
|
5
|
+
import { preset as G } from "./preset.js";
|
|
6
|
+
import { Accordion as L, AccordionItem as N, AccordionItemContent as S, AccordionItemIndicator as F, AccordionItemTrigger as k } from "./components/accordion/Accordion.js";
|
|
7
|
+
import { ActionCard as $, ActionCardDescription as M, ActionCardTitle as E } from "./components/action-card/ActionCard.js";
|
|
8
|
+
import { Alert as j } from "./components/alert/Alert.js";
|
|
9
9
|
import * as r from "./components/app/navigation/AppNavigation.js";
|
|
10
|
-
import { AppNavigationLanguageSelect as
|
|
10
|
+
import { AppNavigationLanguageSelect as z } from "./components/app/navigation/language-select/AppNavigationLanguageSelect.js";
|
|
11
11
|
import * as e from "./components/avatar/styled.js";
|
|
12
|
-
import { Box as
|
|
13
|
-
import { Breadcrumb as
|
|
14
|
-
import { Button as
|
|
15
|
-
import { ButtonFilter as
|
|
12
|
+
import { Box as K } from "./components/box/Box.js";
|
|
13
|
+
import { Breadcrumb as Q, BreadcrumbItem as U, BreadcrumbLink as W } from "./components/breadcrumb/Breadcrumb.js";
|
|
14
|
+
import { Button as Y } from "./components/button/Button.js";
|
|
15
|
+
import { ButtonFilter as _ } from "./components/button-filter/ButtonFilter.js";
|
|
16
16
|
import * as t from "./components/chat/Chat.js";
|
|
17
|
-
import { ChatDocumentMessage as
|
|
18
|
-
import { ChatMessage as
|
|
19
|
-
import { ChatProfileAvatar as
|
|
20
|
-
import { ChatTextInput as
|
|
21
|
-
import { Checkbox as
|
|
17
|
+
import { ChatDocumentMessage as ro } from "./components/chat/ChatDocumentMessage.js";
|
|
18
|
+
import { ChatMessage as to } from "./components/chat/ChatMessage.js";
|
|
19
|
+
import { ChatProfileAvatar as po } from "./components/chat/ChatProfileAvatar.js";
|
|
20
|
+
import { ChatTextInput as io } from "./components/chat/ChatTextInput.js";
|
|
21
|
+
import { Checkbox as xo, CheckboxGroup as fo } from "./components/checkbox/Checkbox.js";
|
|
22
22
|
import * as a from "./components/checkbox-card/namespace.js";
|
|
23
|
-
import { Chip as
|
|
23
|
+
import { Chip as lo, ChipAvatar as uo, ChipClearTrigger as co, ChipLabel as Co } from "./components/chip/Chip.js";
|
|
24
24
|
import * as p from "./components/collapsible/styled.js";
|
|
25
|
-
import { Combobox as
|
|
26
|
-
import { DatePicker as
|
|
25
|
+
import { Combobox as To } from "./components/combobox/Combobox.js";
|
|
26
|
+
import { DatePicker as ho } from "./components/date-picker/DatePicker.js";
|
|
27
27
|
import * as m from "./components/dialog/styled.js";
|
|
28
|
-
import { Drawer as
|
|
29
|
-
import { Flag as
|
|
30
|
-
import { FormControl as
|
|
31
|
-
import { FormHelperText as
|
|
32
|
-
import { FormLabel as
|
|
33
|
-
import { Heading as
|
|
34
|
-
import { Highlight as
|
|
35
|
-
import { Icon as
|
|
36
|
-
import { IconButton as
|
|
37
|
-
import { Illustration as
|
|
38
|
-
import { Input as
|
|
39
|
-
import { InputAddon as
|
|
40
|
-
import { InputGroup as
|
|
28
|
+
import { Drawer as Po, DrawerBody as Ao, DrawerCloseTrigger as Do, DrawerContent as vo, DrawerContext as wo, DrawerFooter as Bo, DrawerHeader as yo, DrawerTitle as Go, DrawerTrigger as Ro } from "./components/drawer/Drawer.js";
|
|
29
|
+
import { Flag as No, FlagCountryCodes as So } from "./components/flag/styled.js";
|
|
30
|
+
import { FormControl as ko } from "./components/form/FormControl.js";
|
|
31
|
+
import { FormHelperText as $o } from "./components/form/FormHelperText.js";
|
|
32
|
+
import { FormLabel as Eo } from "./components/form/FormLabel.js";
|
|
33
|
+
import { Heading as jo } from "./components/heading/Heading.js";
|
|
34
|
+
import { Highlight as zo, HighlightedInput as Jo, InputSlot as Ko, Renderer as Oo, Root as Qo } from "./components/input/HighlightedInput.js";
|
|
35
|
+
import { Icon as Wo } from "./components/icon/Icon.js";
|
|
36
|
+
import { IconButton as Yo } from "./components/icon-button/IconButton.js";
|
|
37
|
+
import { Illustration as _o } from "./components/illustration/Illustration.js";
|
|
38
|
+
import { Input as rr } from "./components/input/Input.js";
|
|
39
|
+
import { InputAddon as tr } from "./components/input/InputAddon.js";
|
|
40
|
+
import { InputGroup as pr } from "./components/input/InputGroup.js";
|
|
41
41
|
import * as i from "./components/menu/Menu.js";
|
|
42
|
-
import
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import
|
|
47
|
-
import
|
|
48
|
-
import
|
|
49
|
-
import
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import
|
|
55
|
-
import
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
42
|
+
import * as n from "./components/app/mobile-navigation/MobileNavigation.js";
|
|
43
|
+
import { Pagination as ir } from "./components/pagination/Pagination.js";
|
|
44
|
+
import { PhoneNumberInput as xr } from "./components/input/PhoneNumberInput.js";
|
|
45
|
+
import { Popover as sr, PopoverAnchor as lr, PopoverCloseTrigger as ur, PopoverContent as cr, PopoverContext as dr, PopoverTrigger as Cr } from "./components/popover/Popover.js";
|
|
46
|
+
import { PriceTag as Tr } from "./components/app/price-tag/PriceTag.js";
|
|
47
|
+
import * as x from "./components/app/product-card-catalog/styled.js";
|
|
48
|
+
import { RadioButtonGroup as hr, RadioButtonGroupItem as Ir, RadioButtonGroupLabel as Pr } from "./components/radio-button-group/RadioButtonGroup.js";
|
|
49
|
+
import * as f from "./components/radio-card-group/namespace.js";
|
|
50
|
+
import { RadioGroup as Dr, RadioGroupItem as vr, RadioGroupLabel as wr } from "./components/radio-group/RadioGroup.js";
|
|
51
|
+
import { Select as yr } from "./components/select/Select.js";
|
|
52
|
+
import { SelectLanguage as Rr } from "./components/select-language/SelectLanguage.js";
|
|
53
|
+
import { StatusTagSelect as Nr } from "./components/status-tag-select/StatusTagSelect.js";
|
|
54
|
+
import { Switch as Fr } from "./components/switch/Switch.js";
|
|
55
|
+
import * as s from "./components/switch-card/namespace.js";
|
|
56
|
+
import { Table as Hr, TableContainer as $r, TableEmptyRow as Mr, TableGroupTitle as Er, Tbody as Vr, Td as jr, Th as qr, Thead as zr, Tr as Jr } from "./components/table/Table.js";
|
|
57
|
+
import { Tabs as Or, TabsChip as Qr, TabsContent as Ur, TabsList as Wr, TabsTrigger as Xr } from "./components/tabs/Tabs.js";
|
|
58
|
+
import { Tag as Zr } from "./components/tag/Tag.js";
|
|
59
|
+
import { Text as oe } from "./components/text/Text.js";
|
|
60
|
+
import { Textarea as ee } from "./components/textarea/Textarea.js";
|
|
61
|
+
import { Tooltip as ae } from "./components/tooltip/Tooltip.js";
|
|
61
62
|
export {
|
|
62
|
-
|
|
63
|
-
|
|
63
|
+
L as Accordion,
|
|
64
|
+
N as AccordionItem,
|
|
64
65
|
S as AccordionItemContent,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
66
|
+
F as AccordionItemIndicator,
|
|
67
|
+
k as AccordionItemTrigger,
|
|
68
|
+
$ as ActionCard,
|
|
69
|
+
M as ActionCardDescription,
|
|
70
|
+
E as ActionCardTitle,
|
|
71
|
+
j as Alert,
|
|
71
72
|
r as AppNavigation,
|
|
72
|
-
|
|
73
|
+
z as AppNavigationLanguageSelect,
|
|
73
74
|
e as Avatar,
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
75
|
+
K as Box,
|
|
76
|
+
Q as Breadcrumb,
|
|
77
|
+
U as BreadcrumbItem,
|
|
78
|
+
W as BreadcrumbLink,
|
|
79
|
+
Y as Button,
|
|
80
|
+
_ as ButtonFilter,
|
|
80
81
|
t as Chat,
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
82
|
+
ro as ChatDocumentMessage,
|
|
83
|
+
to as ChatMessage,
|
|
84
|
+
po as ChatProfileAvatar,
|
|
85
|
+
io as ChatTextInput,
|
|
86
|
+
xo as Checkbox,
|
|
86
87
|
a as CheckboxCard,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
88
|
+
fo as CheckboxGroup,
|
|
89
|
+
lo as Chip,
|
|
90
|
+
uo as ChipAvatar,
|
|
91
|
+
co as ChipClearTrigger,
|
|
92
|
+
Co as ChipLabel,
|
|
92
93
|
p as Collapsible,
|
|
93
|
-
|
|
94
|
-
|
|
94
|
+
To as Combobox,
|
|
95
|
+
ho as DatePicker,
|
|
95
96
|
m as Dialog,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
97
|
+
Po as Drawer,
|
|
98
|
+
Ao as DrawerBody,
|
|
99
|
+
Do as DrawerCloseTrigger,
|
|
100
|
+
vo as DrawerContent,
|
|
100
101
|
wo as DrawerContext,
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
102
|
+
Bo as DrawerFooter,
|
|
103
|
+
yo as DrawerHeader,
|
|
104
|
+
Go as DrawerTitle,
|
|
105
|
+
Ro as DrawerTrigger,
|
|
106
|
+
No as Flag,
|
|
106
107
|
So as FlagCountryCodes,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
108
|
+
ko as FormControl,
|
|
109
|
+
$o as FormHelperText,
|
|
110
|
+
Eo as FormLabel,
|
|
111
|
+
jo as Heading,
|
|
112
|
+
zo as Highlight,
|
|
113
|
+
Jo as HighlightedInput,
|
|
114
|
+
Wo as Icon,
|
|
115
|
+
Yo as IconButton,
|
|
116
|
+
_o as Illustration,
|
|
117
|
+
rr as Input,
|
|
118
|
+
tr as InputAddon,
|
|
119
|
+
pr as InputGroup,
|
|
120
|
+
Ko as InputSlot,
|
|
120
121
|
i as Menu,
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
sr as
|
|
125
|
-
lr as
|
|
126
|
-
ur as
|
|
127
|
-
cr as
|
|
128
|
-
dr as
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
hr as
|
|
133
|
-
Ir as
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
Dr as
|
|
122
|
+
n as MobileNavigation,
|
|
123
|
+
ir as Pagination,
|
|
124
|
+
xr as PhoneNumberInput,
|
|
125
|
+
sr as Popover,
|
|
126
|
+
lr as PopoverAnchor,
|
|
127
|
+
ur as PopoverCloseTrigger,
|
|
128
|
+
cr as PopoverContent,
|
|
129
|
+
dr as PopoverContext,
|
|
130
|
+
Cr as PopoverTrigger,
|
|
131
|
+
Tr as PriceTag,
|
|
132
|
+
x as ProductCardCatalog,
|
|
133
|
+
hr as RadioButtonGroup,
|
|
134
|
+
Ir as RadioButtonGroupItem,
|
|
135
|
+
Pr as RadioButtonGroupLabel,
|
|
136
|
+
f as RadioCardGroup,
|
|
137
|
+
Dr as RadioGroup,
|
|
138
|
+
vr as RadioGroupItem,
|
|
137
139
|
wr as RadioGroupLabel,
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
140
|
+
Oo as Renderer,
|
|
141
|
+
Qo as Root,
|
|
142
|
+
yr as Select,
|
|
143
|
+
Rr as SelectLanguage,
|
|
144
|
+
Nr as StatusTagSelect,
|
|
145
|
+
Fr as Switch,
|
|
146
|
+
s as SwitchCard,
|
|
147
|
+
Hr as Table,
|
|
148
|
+
$r as TableContainer,
|
|
149
|
+
Mr as TableEmptyRow,
|
|
150
|
+
Er as TableGroupTitle,
|
|
151
|
+
Or as Tabs,
|
|
152
|
+
Qr as TabsChip,
|
|
153
|
+
Ur as TabsContent,
|
|
154
|
+
Wr as TabsList,
|
|
155
|
+
Xr as TabsTrigger,
|
|
156
|
+
Zr as Tag,
|
|
157
|
+
Vr as Tbody,
|
|
158
|
+
jr as Td,
|
|
159
|
+
oe as Text,
|
|
160
|
+
ee as Textarea,
|
|
161
|
+
qr as Th,
|
|
162
|
+
zr as Thead,
|
|
163
|
+
ae as Tooltip,
|
|
164
|
+
Jr as Tr,
|
|
165
|
+
c as createListCollection,
|
|
166
|
+
d as createToaster,
|
|
167
|
+
h as formatPhoneNumber,
|
|
168
|
+
I as formatPhoneNumberIntl,
|
|
169
|
+
P as getCountries,
|
|
170
|
+
A as getCountryCallingCode,
|
|
171
|
+
D as isPossiblePhoneNumber,
|
|
172
|
+
v as isSupportedCountry,
|
|
171
173
|
w as isValidPhoneNumber,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
174
|
+
C as parseColor,
|
|
175
|
+
g as parseDate,
|
|
176
|
+
B as parsePhoneNumber,
|
|
177
|
+
G as preset,
|
|
178
|
+
T as useAccordion
|
|
177
179
|
};
|
|
178
180
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@pandacss/dev"),o=e.defineSlotRecipe({base:{root:{display:"flex",position:"fixed",bottom:0,left:0,right:0,zIndex:"sticky",height:"56px",alignItems:"stretch",overflow:"hidden"},item:{display:"flex",flex:1,flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"space-2",py:"space-4",cursor:"pointer",color:"white",textDecoration:"none"},itemIcon:{color:"inherit"},itemLabel:{fontFamily:"satoshi",fontSize:"10px",lineHeight:"1.2",color:"inherit",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"64px",textAlign:"center"}},variants:{variant:{prod:{root:{bg:"primary.900",borderTop:"1px solid {colors.primary.800}"},item:{_currentPage:{color:"secondary.500"}}},staging:{root:{bg:"warning.500",borderTop:"1px solid {colors.warning.300}"},item:{_currentPage:{color:"secondary.500"}}},dev:{root:{bg:"error.900",borderTop:"1px solid {colors.error.700}"},item:{_currentPage:{color:"secondary.500"}}},neutral:{root:{bg:"white",borderTop:"1px solid {colors.primary.100}",color:"primary.900"},item:{color:"grey.400",_currentPage:{color:"secondary.500"}}}}},defaultVariants:{variant:"prod"},slots:["root","item","itemIcon","itemLabel"],className:"mobile-navigation",description:"The styles for the MobileNavigation component",jsx:["MobileNavigation","MobileNavigation.Root","MobileNavigation.Item","MobileNavigation.ItemIcon","MobileNavigation.ItemLabel"]});exports.mobileNavigationRecipe=o;
|
|
2
|
+
//# sourceMappingURL=mobile-navigation.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mobile-navigation.cjs","sources":["../../../../src/theme/recipes/app/mobile-navigation.ts"],"sourcesContent":["import { defineSlotRecipe } from '@pandacss/dev'\n\nexport const mobileNavigationRecipe = defineSlotRecipe({\n base: {\n root: {\n display: 'flex',\n position: 'fixed',\n bottom: 0,\n left: 0,\n right: 0,\n zIndex: 'sticky',\n height: '56px',\n alignItems: 'stretch',\n overflow: 'hidden',\n },\n item: {\n display: 'flex',\n flex: 1,\n flexDirection: 'column',\n alignItems: 'center',\n justifyContent: 'center',\n gap: 'space-2',\n py: 'space-4',\n cursor: 'pointer',\n color: 'white',\n textDecoration: 'none',\n },\n itemIcon: {\n color: 'inherit',\n },\n itemLabel: {\n fontFamily: 'satoshi',\n fontSize: '10px',\n lineHeight: '1.2',\n color: 'inherit',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n maxWidth: '64px',\n textAlign: 'center',\n },\n },\n variants: {\n variant: {\n prod: {\n root: {\n bg: 'primary.900',\n borderTop: '1px solid {colors.primary.800}',\n },\n item: {\n _currentPage: {\n color: 'secondary.500',\n },\n },\n },\n staging: {\n root: {\n bg: 'warning.500',\n borderTop: '1px solid {colors.warning.300}',\n },\n item: {\n _currentPage: {\n color: 'secondary.500',\n },\n },\n },\n dev: {\n root: {\n bg: 'error.900',\n borderTop: '1px solid {colors.error.700}',\n },\n item: {\n _currentPage: {\n color: 'secondary.500',\n },\n },\n },\n neutral: {\n root: {\n bg: 'white',\n borderTop: '1px solid {colors.primary.100}',\n color: 'primary.900',\n },\n item: {\n color: 'grey.400',\n _currentPage: {\n color: 'secondary.500',\n },\n },\n },\n },\n },\n defaultVariants: {\n variant: 'prod',\n },\n slots: ['root', 'item', 'itemIcon', 'itemLabel'],\n className: 'mobile-navigation',\n description: 'The styles for the MobileNavigation component',\n jsx: [\n 'MobileNavigation',\n 'MobileNavigation.Root',\n 'MobileNavigation.Item',\n 'MobileNavigation.ItemIcon',\n 'MobileNavigation.ItemLabel',\n ],\n})\n"],"names":["mobileNavigationRecipe","defineSlotRecipe"],"mappings":"8HAEaA,EAAyBC,EAAAA,iBAAiB,CACrD,KAAM,CACJ,KAAM,CACJ,QAAS,OACT,SAAU,QACV,OAAQ,EACR,KAAM,EACN,MAAO,EACP,OAAQ,SACR,OAAQ,OACR,WAAY,UACZ,SAAU,QAAA,EAEZ,KAAM,CACJ,QAAS,OACT,KAAM,EACN,cAAe,SACf,WAAY,SACZ,eAAgB,SAChB,IAAK,UACL,GAAI,UACJ,OAAQ,UACR,MAAO,QACP,eAAgB,MAAA,EAElB,SAAU,CACR,MAAO,SAAA,EAET,UAAW,CACT,WAAY,UACZ,SAAU,OACV,WAAY,MACZ,MAAO,UACP,WAAY,SACZ,SAAU,SACV,aAAc,WACd,SAAU,OACV,UAAW,QAAA,CACb,EAEF,SAAU,CACR,QAAS,CACP,KAAM,CACJ,KAAM,CACJ,GAAI,cACJ,UAAW,gCAAA,EAEb,KAAM,CACJ,aAAc,CACZ,MAAO,eAAA,CACT,CACF,EAEF,QAAS,CACP,KAAM,CACJ,GAAI,cACJ,UAAW,gCAAA,EAEb,KAAM,CACJ,aAAc,CACZ,MAAO,eAAA,CACT,CACF,EAEF,IAAK,CACH,KAAM,CACJ,GAAI,YACJ,UAAW,8BAAA,EAEb,KAAM,CACJ,aAAc,CACZ,MAAO,eAAA,CACT,CACF,EAEF,QAAS,CACP,KAAM,CACJ,GAAI,QACJ,UAAW,iCACX,MAAO,aAAA,EAET,KAAM,CACJ,MAAO,WACP,aAAc,CACZ,MAAO,eAAA,CACT,CACF,CACF,CACF,EAEF,gBAAiB,CACf,QAAS,MAAA,EAEX,MAAO,CAAC,OAAQ,OAAQ,WAAY,WAAW,EAC/C,UAAW,oBACX,YAAa,gDACb,IAAK,CACH,mBACA,wBACA,wBACA,4BACA,4BAAA,CAEJ,CAAC"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { defineSlotRecipe as o } from "@pandacss/dev";
|
|
3
|
+
const i = o({
|
|
4
|
+
base: {
|
|
5
|
+
root: {
|
|
6
|
+
display: "flex",
|
|
7
|
+
position: "fixed",
|
|
8
|
+
bottom: 0,
|
|
9
|
+
left: 0,
|
|
10
|
+
right: 0,
|
|
11
|
+
zIndex: "sticky",
|
|
12
|
+
height: "56px",
|
|
13
|
+
alignItems: "stretch",
|
|
14
|
+
overflow: "hidden"
|
|
15
|
+
},
|
|
16
|
+
item: {
|
|
17
|
+
display: "flex",
|
|
18
|
+
flex: 1,
|
|
19
|
+
flexDirection: "column",
|
|
20
|
+
alignItems: "center",
|
|
21
|
+
justifyContent: "center",
|
|
22
|
+
gap: "space-2",
|
|
23
|
+
py: "space-4",
|
|
24
|
+
cursor: "pointer",
|
|
25
|
+
color: "white",
|
|
26
|
+
textDecoration: "none"
|
|
27
|
+
},
|
|
28
|
+
itemIcon: {
|
|
29
|
+
color: "inherit"
|
|
30
|
+
},
|
|
31
|
+
itemLabel: {
|
|
32
|
+
fontFamily: "satoshi",
|
|
33
|
+
fontSize: "10px",
|
|
34
|
+
lineHeight: "1.2",
|
|
35
|
+
color: "inherit",
|
|
36
|
+
whiteSpace: "nowrap",
|
|
37
|
+
overflow: "hidden",
|
|
38
|
+
textOverflow: "ellipsis",
|
|
39
|
+
maxWidth: "64px",
|
|
40
|
+
textAlign: "center"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
variants: {
|
|
44
|
+
variant: {
|
|
45
|
+
prod: {
|
|
46
|
+
root: {
|
|
47
|
+
bg: "primary.900",
|
|
48
|
+
borderTop: "1px solid {colors.primary.800}"
|
|
49
|
+
},
|
|
50
|
+
item: {
|
|
51
|
+
_currentPage: {
|
|
52
|
+
color: "secondary.500"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
staging: {
|
|
57
|
+
root: {
|
|
58
|
+
bg: "warning.500",
|
|
59
|
+
borderTop: "1px solid {colors.warning.300}"
|
|
60
|
+
},
|
|
61
|
+
item: {
|
|
62
|
+
_currentPage: {
|
|
63
|
+
color: "secondary.500"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
dev: {
|
|
68
|
+
root: {
|
|
69
|
+
bg: "error.900",
|
|
70
|
+
borderTop: "1px solid {colors.error.700}"
|
|
71
|
+
},
|
|
72
|
+
item: {
|
|
73
|
+
_currentPage: {
|
|
74
|
+
color: "secondary.500"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
neutral: {
|
|
79
|
+
root: {
|
|
80
|
+
bg: "white",
|
|
81
|
+
borderTop: "1px solid {colors.primary.100}",
|
|
82
|
+
color: "primary.900"
|
|
83
|
+
},
|
|
84
|
+
item: {
|
|
85
|
+
color: "grey.400",
|
|
86
|
+
_currentPage: {
|
|
87
|
+
color: "secondary.500"
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
defaultVariants: {
|
|
94
|
+
variant: "prod"
|
|
95
|
+
},
|
|
96
|
+
slots: ["root", "item", "itemIcon", "itemLabel"],
|
|
97
|
+
className: "mobile-navigation",
|
|
98
|
+
description: "The styles for the MobileNavigation component",
|
|
99
|
+
jsx: [
|
|
100
|
+
"MobileNavigation",
|
|
101
|
+
"MobileNavigation.Root",
|
|
102
|
+
"MobileNavigation.Item",
|
|
103
|
+
"MobileNavigation.ItemIcon",
|
|
104
|
+
"MobileNavigation.ItemLabel"
|
|
105
|
+
]
|
|
106
|
+
});
|
|
107
|
+
export {
|
|
108
|
+
i as mobileNavigationRecipe
|
|
109
|
+
};
|
|
110
|
+
//# sourceMappingURL=mobile-navigation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mobile-navigation.js","sources":["../../../../src/theme/recipes/app/mobile-navigation.ts"],"sourcesContent":["import { defineSlotRecipe } from '@pandacss/dev'\n\nexport const mobileNavigationRecipe = defineSlotRecipe({\n base: {\n root: {\n display: 'flex',\n position: 'fixed',\n bottom: 0,\n left: 0,\n right: 0,\n zIndex: 'sticky',\n height: '56px',\n alignItems: 'stretch',\n overflow: 'hidden',\n },\n item: {\n display: 'flex',\n flex: 1,\n flexDirection: 'column',\n alignItems: 'center',\n justifyContent: 'center',\n gap: 'space-2',\n py: 'space-4',\n cursor: 'pointer',\n color: 'white',\n textDecoration: 'none',\n },\n itemIcon: {\n color: 'inherit',\n },\n itemLabel: {\n fontFamily: 'satoshi',\n fontSize: '10px',\n lineHeight: '1.2',\n color: 'inherit',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n maxWidth: '64px',\n textAlign: 'center',\n },\n },\n variants: {\n variant: {\n prod: {\n root: {\n bg: 'primary.900',\n borderTop: '1px solid {colors.primary.800}',\n },\n item: {\n _currentPage: {\n color: 'secondary.500',\n },\n },\n },\n staging: {\n root: {\n bg: 'warning.500',\n borderTop: '1px solid {colors.warning.300}',\n },\n item: {\n _currentPage: {\n color: 'secondary.500',\n },\n },\n },\n dev: {\n root: {\n bg: 'error.900',\n borderTop: '1px solid {colors.error.700}',\n },\n item: {\n _currentPage: {\n color: 'secondary.500',\n },\n },\n },\n neutral: {\n root: {\n bg: 'white',\n borderTop: '1px solid {colors.primary.100}',\n color: 'primary.900',\n },\n item: {\n color: 'grey.400',\n _currentPage: {\n color: 'secondary.500',\n },\n },\n },\n },\n },\n defaultVariants: {\n variant: 'prod',\n },\n slots: ['root', 'item', 'itemIcon', 'itemLabel'],\n className: 'mobile-navigation',\n description: 'The styles for the MobileNavigation component',\n jsx: [\n 'MobileNavigation',\n 'MobileNavigation.Root',\n 'MobileNavigation.Item',\n 'MobileNavigation.ItemIcon',\n 'MobileNavigation.ItemLabel',\n ],\n})\n"],"names":["mobileNavigationRecipe","defineSlotRecipe"],"mappings":";;AAEO,MAAMA,IAAyBC,EAAiB;AAAA,EACrD,MAAM;AAAA,IACJ,MAAM;AAAA,MACJ,SAAS;AAAA,MACT,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,MAAM;AAAA,MACN,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,QAAQ;AAAA,MACR,YAAY;AAAA,MACZ,UAAU;AAAA,IAAA;AAAA,IAEZ,MAAM;AAAA,MACJ,SAAS;AAAA,MACT,MAAM;AAAA,MACN,eAAe;AAAA,MACf,YAAY;AAAA,MACZ,gBAAgB;AAAA,MAChB,KAAK;AAAA,MACL,IAAI;AAAA,MACJ,QAAQ;AAAA,MACR,OAAO;AAAA,MACP,gBAAgB;AAAA,IAAA;AAAA,IAElB,UAAU;AAAA,MACR,OAAO;AAAA,IAAA;AAAA,IAET,WAAW;AAAA,MACT,YAAY;AAAA,MACZ,UAAU;AAAA,MACV,YAAY;AAAA,MACZ,OAAO;AAAA,MACP,YAAY;AAAA,MACZ,UAAU;AAAA,MACV,cAAc;AAAA,MACd,UAAU;AAAA,MACV,WAAW;AAAA,IAAA;AAAA,EACb;AAAA,EAEF,UAAU;AAAA,IACR,SAAS;AAAA,MACP,MAAM;AAAA,QACJ,MAAM;AAAA,UACJ,IAAI;AAAA,UACJ,WAAW;AAAA,QAAA;AAAA,QAEb,MAAM;AAAA,UACJ,cAAc;AAAA,YACZ,OAAO;AAAA,UAAA;AAAA,QACT;AAAA,MACF;AAAA,MAEF,SAAS;AAAA,QACP,MAAM;AAAA,UACJ,IAAI;AAAA,UACJ,WAAW;AAAA,QAAA;AAAA,QAEb,MAAM;AAAA,UACJ,cAAc;AAAA,YACZ,OAAO;AAAA,UAAA;AAAA,QACT;AAAA,MACF;AAAA,MAEF,KAAK;AAAA,QACH,MAAM;AAAA,UACJ,IAAI;AAAA,UACJ,WAAW;AAAA,QAAA;AAAA,QAEb,MAAM;AAAA,UACJ,cAAc;AAAA,YACZ,OAAO;AAAA,UAAA;AAAA,QACT;AAAA,MACF;AAAA,MAEF,SAAS;AAAA,QACP,MAAM;AAAA,UACJ,IAAI;AAAA,UACJ,WAAW;AAAA,UACX,OAAO;AAAA,QAAA;AAAA,QAET,MAAM;AAAA,UACJ,OAAO;AAAA,UACP,cAAc;AAAA,YACZ,OAAO;AAAA,UAAA;AAAA,QACT;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAAA,EAEF,iBAAiB;AAAA,IACf,SAAS;AAAA,EAAA;AAAA,EAEX,OAAO,CAAC,QAAQ,QAAQ,YAAY,WAAW;AAAA,EAC/C,WAAW;AAAA,EACX,aAAa;AAAA,EACb,KAAK;AAAA,IACH;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAAA;AAEJ,CAAC;"}
|