@mage-ui/preset 0.0.59 → 0.0.61

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.
@@ -0,0 +1,2 @@
1
+ import{tooltip as e}from"./tooltip.js";import{tooltipArrow as t}from"./tooltip-arrow.js";import{tooltipRoot as n}from"./tooltip-root.js";const r={tooltip:e,tooltipRoot:n,tooltipArrow:t};export{r as tooltips};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../../src/recipes/atoms/tooltip/index.ts"],"sourcesContent":["import { tooltip } from './tooltip';\nimport { tooltipArrow } from './tooltip-arrow';\nimport { tooltipRoot } from './tooltip-root';\n\nexport const tooltips = {\n tooltip,\n tooltipRoot,\n tooltipArrow,\n};\n"],"mappings":"yIAIA,MAAa,EAAW,CACtB,UACA,cACA,eACD"}
@@ -0,0 +1,2 @@
1
+ import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`tooltip__arrow`,jsx:[`Tooltip`],base:{}});export{t as tooltipArrow};
2
+ //# sourceMappingURL=tooltip-arrow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tooltip-arrow.js","names":[],"sources":["../../../../src/recipes/atoms/tooltip/tooltip-arrow.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const tooltipArrow = defineRecipe({\n className: 'tooltip__arrow',\n jsx: ['Tooltip'],\n base: {},\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAMA,MAAa,EAAe,EAAa,CACvC,UAAW,iBACX,IAAK,CAAC,UAAU,CAChB,KAAM,EAAE,CACT,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`tooltip__root`,jsx:[`Tooltip`],base:{backgroundColor:`var(--tooltip-bg)`,color:`var(--tooltip-color)`,fontSize:`var(--tooltip-font-size)`,fontWeight:`var(--tooltip-font-weight)`,display:`block`,textWrap:`wrap`,whiteSpace:`normal`,lineHeight:`var(--tooltip-line-height)`,position:`absolute`,borderRadius:`var(--tooltip-radius)`,paddingInline:`var(--tooltip-padding-inline)`,paddingBlock:`var(--tooltip-padding-inline)`,height:`var(--tooltip-height)`,minHeight:`var(--tooltip-min-height)`,width:`var(--tooltip-width)`,maxWidth:`var(--tooltip-max-width)`,zIndex:`var(--tooltip-zindex)!`}});export{t as tooltipRoot};
2
+ //# sourceMappingURL=tooltip-root.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tooltip-root.js","names":[],"sources":["../../../../src/recipes/atoms/tooltip/tooltip-root.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const tooltipRoot = defineRecipe({\n className: 'tooltip__root',\n jsx: ['Tooltip'],\n base: {\n backgroundColor: 'var(--tooltip-bg)',\n color: 'var(--tooltip-color)',\n fontSize: 'var(--tooltip-font-size)',\n fontWeight: 'var(--tooltip-font-weight)',\n display: 'block',\n textWrap: 'wrap',\n whiteSpace: 'normal',\n lineHeight: 'var(--tooltip-line-height)',\n position: 'absolute',\n borderRadius: 'var(--tooltip-radius)',\n paddingInline: 'var(--tooltip-padding-inline)',\n paddingBlock: 'var(--tooltip-padding-inline)',\n height: 'var(--tooltip-height)',\n minHeight: 'var(--tooltip-min-height)',\n width: 'var(--tooltip-width)',\n maxWidth: 'var(--tooltip-max-width)',\n zIndex: 'var(--tooltip-zindex)!',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAMA,MAAa,EAAc,EAAa,CACtC,UAAW,gBACX,IAAK,CAAC,UAAU,CAChB,KAAM,CACJ,gBAAiB,oBACjB,MAAO,uBACP,SAAU,2BACV,WAAY,6BACZ,QAAS,QACT,SAAU,OACV,WAAY,SACZ,WAAY,6BACZ,SAAU,WACV,aAAc,wBACd,cAAe,gCACf,aAAc,gCACd,OAAQ,wBACR,UAAW,4BACX,MAAO,uBACP,SAAU,2BACV,OAAQ,yBACT,CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`tooltip`,jsx:[`Tooltip`],base:{"--tooltip-bg":`#000`,"--tooltip-color":`#fff`,"--tooltip-radius":`6px`,"--tooltip-padding-inline":`1rem`,"--tooltip-padding-block":`0.5rem`,"--tooltip-height":`auto`,"--tooltip-min-height":`2rem`,"--tooltip-width":`auto`,"--tooltip-max-width":`12.5rem`,"--tooltip-font-size":`0.875rem`,"--tooltip-font-weight":`400`,"--tooltip-line-height":`1.3`,"--tooltip-zindex":`1010`}});export{t as tooltip};
2
+ //# sourceMappingURL=tooltip.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tooltip.js","names":[],"sources":["../../../../src/recipes/atoms/tooltip/tooltip.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const tooltip = defineRecipe({\n className: 'tooltip',\n jsx: ['Tooltip'],\n base: {\n // '--tooltip-bg': '{colors.neutral.background.static.enabled}',\n // '--tooltip-color': '{neutral.foreground.static.inverted.enabled}',\n // '--tooltip-radius': '{radii.200}',\n // '--tooltip-padding-inline': '{spacing.300}',\n // '--tooltip-padding-block': '{spacing.100}',\n // '--tooltip-height': 'auto',\n // '--tooltip-min-height': '{sizes.navItem.s.height}',\n // '--tooltip-width': 'auto',\n // '--tooltip-max-width': '',\n // '--tooltip-font-size': '{fontSizes.200}',\n // '--tooltip-font-weight': '{fontWeights.medium}',\n // '--tooltip-line-height': '1.3',\n // '--tooltip-zindex': '{zIndex.tooltip}',\n\n '--tooltip-bg': '#000',\n '--tooltip-color': '#fff',\n '--tooltip-radius': '6px',\n '--tooltip-padding-inline': '1rem',\n '--tooltip-padding-block': '0.5rem',\n '--tooltip-height': 'auto',\n '--tooltip-min-height': '2rem',\n '--tooltip-width': 'auto',\n '--tooltip-max-width': '12.5rem',\n '--tooltip-font-size': '0.875rem',\n '--tooltip-font-weight': '400',\n '--tooltip-line-height': '1.3',\n '--tooltip-zindex': '1010',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAMA,MAAa,EAAU,EAAa,CAClC,UAAW,UACX,IAAK,CAAC,UAAU,CAChB,KAAM,CAeJ,eAAgB,OAChB,kBAAmB,OACnB,mBAAoB,MACpB,2BAA4B,OAC5B,0BAA2B,SAC3B,mBAAoB,OACpB,uBAAwB,OACxB,kBAAmB,OACnB,sBAAuB,UACvB,sBAAuB,WACvB,wBAAyB,MACzB,wBAAyB,MACzB,mBAAoB,OACrB,CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/recipes/index.ts"],"sourcesContent":[],"mappings":";;;cAqBa,SAkBR,eAAe,QAAQ;cAEf,aAGR,eAAe,QAAQ"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/recipes/index.ts"],"sourcesContent":[],"mappings":";;;cAsBa,SAmBR,eAAe,QAAQ;cAEf,aAGR,eAAe,QAAQ"}
@@ -1,2 +1,2 @@
1
- import{avatar as e}from"./atoms/avatar/avatar.js";import{avatarImage as t}from"./atoms/avatar/avatar-image.js";import{avatarPlaceholder as n}from"./atoms/avatar/avatar-placeholder.js";import{badge as r}from"./atoms/badges/badge.js";import{badgeSection as i}from"./atoms/badges/badge-section.js";import{focus as a}from"./shared/focus.js";import{breadcrumbs as o}from"./atoms/breadcrumbs/index.js";import{iconWrapped as s}from"./atoms/icon-wrapped/icon-wrapped.js";import{bubble as c}from"./atoms/bubble/bubble.js";import{buttons as l}from"./atoms/buttons/index.js";import{carousels as u}from"./atoms/carousel/index.js";import{dropdown as d}from"./atoms/dropdown/dropdown.js";import{icon as f}from"./atoms/icon/icon.js";import{inputs as p}from"./atoms/inputs/index.js";import{scroll as m}from"./atoms/scroll/index.js";import{tabs as h}from"./atoms/tabs/index.js";import{components as g}from"./components/index.js";import{calendar as _}from"./molecules/calendar/index.js";const v={avatar:e,avatarImage:t,avatarPlaceholder:n,badge:r,badgeSection:i,dropdown:d,focus:a,iconWrapped:s,bubble:c,scroll:m,...h,...o,...l,...u,...p,..._,...g},y={calendar:_,icon:f};export{v as recipes,y as slotRecipes};
1
+ import{avatar as e}from"./atoms/avatar/avatar.js";import{avatarImage as t}from"./atoms/avatar/avatar-image.js";import{avatarPlaceholder as n}from"./atoms/avatar/avatar-placeholder.js";import{badge as r}from"./atoms/badges/badge.js";import{badgeSection as i}from"./atoms/badges/badge-section.js";import{focus as a}from"./shared/focus.js";import{breadcrumbs as o}from"./atoms/breadcrumbs/index.js";import{iconWrapped as s}from"./atoms/icon-wrapped/icon-wrapped.js";import{bubble as c}from"./atoms/bubble/bubble.js";import{buttons as l}from"./atoms/buttons/index.js";import{carousels as u}from"./atoms/carousel/index.js";import{dropdown as d}from"./atoms/dropdown/dropdown.js";import{icon as f}from"./atoms/icon/icon.js";import{inputs as p}from"./atoms/inputs/index.js";import{scroll as m}from"./atoms/scroll/index.js";import{tabs as h}from"./atoms/tabs/index.js";import{tooltips as g}from"./atoms/tooltip/index.js";import{components as _}from"./components/index.js";import{calendar as v}from"./molecules/calendar/index.js";const y={avatar:e,avatarImage:t,avatarPlaceholder:n,badge:r,badgeSection:i,dropdown:d,focus:a,iconWrapped:s,bubble:c,scroll:m,...h,...o,...l,...u,...p,...v,..._,...g},b={calendar:v,icon:f};export{y as recipes,b as slotRecipes};
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/recipes/index.ts"],"sourcesContent":["import type { RecipeConfig, SlotRecipeConfig } from '@pandacss/dev';\n\nimport { avatar } from './atoms/avatar/avatar';\nimport { avatarImage } from './atoms/avatar/avatar-image';\nimport { avatarPlaceholder } from './atoms/avatar/avatar-placeholder';\nimport { badge } from './atoms/badges/badge';\nimport { badgeSection } from './atoms/badges/badge-section';\nimport { breadcrumbs } from './atoms/breadcrumbs';\nimport { bubble } from './atoms/bubble/bubble';\nimport { buttons } from './atoms/buttons/index';\nimport { carousels } from './atoms/carousel';\nimport { dropdown } from './atoms/dropdown/dropdown';\nimport { icon } from './atoms/icon/icon';\nimport { iconWrapped } from './atoms/icon-wrapped/icon-wrapped';\nimport { inputs } from './atoms/inputs/index';\nimport { scroll } from './atoms/scroll';\nimport { tabs } from './atoms/tabs';\nimport { components } from './components';\nimport { calendar } from './molecules/calendar/index';\nimport { focus } from './shared/focus';\n\nexport const recipes = {\n avatar,\n avatarImage,\n avatarPlaceholder,\n badge,\n badgeSection,\n dropdown,\n focus,\n iconWrapped,\n bubble,\n scroll,\n ...tabs,\n ...breadcrumbs,\n ...buttons,\n ...carousels,\n ...inputs,\n ...calendar,\n ...components,\n} as Record<string, Partial<RecipeConfig>>;\n\nexport const slotRecipes = {\n calendar,\n icon,\n} as Record<string, Partial<SlotRecipeConfig>>;\n"],"mappings":"y8BAqBA,MAAa,EAAU,CACrB,SACA,cACA,oBACA,QACA,eACA,WACA,QACA,cACA,SACA,SACA,GAAG,EACH,GAAG,EACH,GAAG,EACH,GAAG,EACH,GAAG,EACH,GAAG,EACH,GAAG,EACJ,CAEY,EAAc,CACzB,WACA,OACD"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/recipes/index.ts"],"sourcesContent":["import type { RecipeConfig, SlotRecipeConfig } from '@pandacss/dev';\n\nimport { avatar } from './atoms/avatar/avatar';\nimport { avatarImage } from './atoms/avatar/avatar-image';\nimport { avatarPlaceholder } from './atoms/avatar/avatar-placeholder';\nimport { badge } from './atoms/badges/badge';\nimport { badgeSection } from './atoms/badges/badge-section';\nimport { breadcrumbs } from './atoms/breadcrumbs';\nimport { bubble } from './atoms/bubble/bubble';\nimport { buttons } from './atoms/buttons/index';\nimport { carousels } from './atoms/carousel';\nimport { dropdown } from './atoms/dropdown/dropdown';\nimport { icon } from './atoms/icon/icon';\nimport { iconWrapped } from './atoms/icon-wrapped/icon-wrapped';\nimport { inputs } from './atoms/inputs/index';\nimport { scroll } from './atoms/scroll';\nimport { tabs } from './atoms/tabs';\nimport { tooltips } from './atoms/tooltip/index';\nimport { components } from './components';\nimport { calendar } from './molecules/calendar/index';\nimport { focus } from './shared/focus';\n\nexport const recipes = {\n avatar,\n avatarImage,\n avatarPlaceholder,\n badge,\n badgeSection,\n dropdown,\n focus,\n iconWrapped,\n bubble,\n scroll,\n ...tabs,\n ...breadcrumbs,\n ...buttons,\n ...carousels,\n ...inputs,\n ...calendar,\n ...components,\n ...tooltips,\n} as Record<string, Partial<RecipeConfig>>;\n\nexport const slotRecipes = {\n calendar,\n icon,\n} as Record<string, Partial<SlotRecipeConfig>>;\n"],"mappings":"6/BAsBA,MAAa,EAAU,CACrB,SACA,cACA,oBACA,QACA,eACA,WACA,QACA,cACA,SACA,SACA,GAAG,EACH,GAAG,EACH,GAAG,EACH,GAAG,EACH,GAAG,EACH,GAAG,EACH,GAAG,EACH,GAAG,EACJ,CAEY,EAAc,CACzB,WACA,OACD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mage-ui/preset",
3
- "version": "0.0.59",
3
+ "version": "0.0.61",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [],